Currently my favorite YouTube channel is “3Blue1Brown“, created by Grant Sanderson.
With excellent visuals and high production quality, Grant both shows and explains mathematics in a way that truly displays its beauty and intrigue, as well giving deep insight to those learning the subject. His 3Blue1Brown videos are also great starting points for further exploration.
I would like to write blog posts where I delve into the mathematical details found in some of these videos. For each such post, I will then make my own YouTube video on my channel, BillKinneyMath, where I explain some of these details while using the computer algebra program Mathematica to illustrate them. This is one of my favorite types of things to do, and I thank God for giving me the opportunity to do it.
This is the first of these posts. In it, I look at the details of a video Grant posted on August 1, 2018, titled “Ever wondered why slicing a cone gives an ellipse? It’s wonderfully clever!“, which is embedded below. Grant takes a geometric approach to the problem (briefly described below). I want to look at the problem from the perspective of analytic geometry — i.e., I want to use coordinates and equations. This ends up being more complicated than the purely geometric approach, but I think the complication is worth it as a way to double-check the geometric reasoning. It is also necessary for the Mathematica programming of appropriate visuals.
My YouTube video getting into both the mathematical and the Mathematica details is embedded next.
The goal of these videos, as well as this post, is to understand why the definition of an ellipse as a “conic section” (the intersection of a certain plane with a cone) is the same as the “sum of distances” definition (the locus of points, the sum of whose distances to two points (foci) is constant).
Grant uses an ingenious method, developed by Germinal Pierre Dandelin, involving the use of so-called Dandelin spheres. These are spheres inside the cone that are tangent both to the cone and to the plane that is intersecting the cone. One Dandelin sphere is above the plane, and the other is below it. The points of tangency between the spheres and the plane turn out to be the foci of the ellipse that is the intersection of the cone and the plane.
If we are going to understand this and be able to deal with the resulting algebra, it might be best to use a standard problem-solving technique: solve a simpler problem first.
A Simpler Problem: Lower the Dimension
Grant’s video on this subject is full of beautiful visuals showing cones, spheres, planes, ellipses, and lines in three dimensions. To help us “warm up” to this in relation to Dandelin spheres, we consider the analogous situation in two dimensions. The goal is not to prove the equivalence of the conic section and locus of points definitions of an ellipse. Rather, it is a warm up with regard to understanding how to represent the problem analytically. It will also help to solve the three-dimensional problem because we will essentially be looking at a two-dimensional “slice” of that problem.
The analog of a cone in two dimensions is just an upside-down “V-shape”, the analog of a sphere is a circle, and the analog of a plane is a line. It will also be simplest to put the vertex of the cone at the origin and situate the cone to be symmetric with respect to the vertical axis. The two-dimensional picture that corresponds to the three-dimensional visuals in Grant’s video is shown below. It will be beneficial to label the horizontal axis with x and the vertical axis with z.
The algebra we are about to do will get complicated and will involve using the quadratic formula multiple times. To keep things as simple as possible, let us assume that the blue lines have slopes making their equations be (or just as the graph of one function). On the other hand, we will allow for the red line to have an arbitrary slope and an arbitrary z-intercept (take note of the sign of ). The equation of the red line under these conditions is then
The equations of the green circles will both be of the form for some The smaller circle on the top will have smaller values for both and than the bigger circle on the bottom.
Our main goals are: 1) to determine how and are related so that the green circles are tangent to the blue lines (we will determine as a function of ), 2) to determine how the points of intersection of the green circles and the blue lines depend on , 3) to determine how , for both circles, depends on and so that both circles are tangent to the red line, and 4) to determine how the points of tangency of the green circles with the red line depend on and
The equation of the circles can be solved for as two functions of to get For the purpose of finding the points of tangency with the blue lines, it will be sufficient to use the upper half of each circle, so .
If we set to find an intersection point with the left-most blue line, then after adding to both sides and squaring, we get so that The quadratic formula now tells us that
On the other hand, setting to find an intersection point with the right-most blue line results in the equation so that and
In both cases, we get two real solutions when and one real solution when It is this second case that results in having points of tangency with the blue lines. In this case, the -coordinates of these intersection points simplifies to
There are infinitely many circles that satisfy the condition for (all those with equation of the form ). We are seeking just two circles from this infinite family: those that are also tangent to the red line.
For such a circle, if we set equal to we can solve for to obtain the points of tangency between the circles and the red line.
The equation to solve can be written as After squaring both sides, we get This can then be rearranged to
Using the quadratic formula here gives:
There will therefore be exactly one point of tangency for each circle when If we think of and as given, we can solve this equation for the required radius with the quadratic formula yet again to get
(again, where and ).
Since and it follows that and so that both solutions for are positive. The value is the radius of the larger (lower) circle and the value is the radius of the smaller (upper) circle.
Based on what we found above, we can then also say that the -coordinates of the points of intersection of the green circles and blue lines are for the large circle and for the small circle.
We can also find the points of intersection between the red and blue lines. Setting gives as the -coordinate of the crossing point with the left-most blue line. Setting gives as the -coordinate of the crossing point with the right-most blue line. The coordinates themselves are and respectively.
Generalizing to Three Dimensions
Because the two-dimensional picture is a vertical slice of the three-dimensional picture where , everything we have done in the previous section is valid if we assume that our cone has equation (which reduces to when ), our spheres have equations of the form (which reduces to when ), and our plane has equation just as before, but now we allow to be anything (so the line becomes a plane). Any given plane slicing such a cone at a slope between 0 and 1 can be thought of in such a way by an appropriate change of coordinates.
The -coordinates and -coordinates of all the orange and pink points of tangency in the three-dimensional picture are all the same as in the two-dimensional picture. Their -coordinates in three dimensions are all zero.
The only analytic representation that is truly “new” in three-dimensions is how we represent the ellipse of intersection between the plane and the cone. The slice of this ellipse in three dimensions consists of the two black points in the two-dimensional picture. But this would need to be “rotated” (almost) in some way to form the ellipse we seek.
What is probably best is to construct a parametric representation of the ellipse. One way to do so would be to try to solve the equation for as two functions of . Squaring both sides, rearranging, and using the quadratic formula yields the answers This then gives the following parameterizations: The plus sign corresponds to a parameterization where and the minus sign corresponds to a parameterization where For both parameterizations, we have which are the -coordinates of the black dots in the two-dimensional picture.
What are the coordinates of the foci? From the two-dimensional picture, use the coordinates of the pink intersection points of the green circles and the red lines to help, then just set the -coordinates equal to zero.
and
What’s left to do? It would be good enough to just consider one half of the ellipse, say where The other half would be similar. We would need to show that the distance from to plus the distance from to is constant (independent of ).
Suffice it to say that this is one big mess to do symbolically. I think we will all be happy to confirm it graphically using technology. This is what I do near the end of my video embedded above.
For any given values of and , I graph the resulting function of and see that it is a horizontal line (constant function). In other words, the sum of distances is independent of , which is what we want to show.