Conic sections are formed by a double right circular cone that is intersected by a plane. A double right cone is essentially a right cone that has a congruent right cone extending upwards from the first one.
When a plane is passed through these cones, one of seven things will happen, depending on the (smallest) angle the plane makes with the axis of the cone and whether the plane passes through the vertex of the cone:
- If the plane intersects the axis of the cone at a right angle, the intersection will form a circle.
- If the plane intersects the axis at an angle larger than the angle the cone makes with the axis, the intersection will form an ellipse.
- If the plane intersects the axis at an angle equal to the angle the cone makes with the axis, the intersection will form a parabola.
- If the plane intersects the axis at an angle smaller than the angle the cone makes with the axis, the intersection will form a hyperbola.
- A point (degenerate circle or ellipse) is formed when the plane passes through the vertex at an angle greater than that of the cone.
- A line (degenerate parabola) is formed when the plane passes through the vertex and along the sides of the two cones.
- Intersecting lines (degenerate hyperbola) will form when a plane passes through the vertex of the the two cones at an angle less than the angle of the cones.
Without loss of generality, place vertex of the cone at the origin and assume the cone makes an angle α with the z axis. The locus of points is
x² + y² - (tan(α)*z)² = 0.
Assume that the plane, P, intersects the z axis at z0, is parallel with the x axis, and makes an angle β with the y axis. The locus of points is
z = z0 + cot(β)*y.
Combining the two equations will give the locus of points of the intersection, the conic section.
For the circle, the plane P is parallel to the x-y plane β =π/2, so z = z0 and
x² + y² - (tan(α)*z0)² = 0
which is the standard formula for a circle with a radius tan(α)*z0.
For the parabola, the plane P is parallel with the edge of the cone, α = β and z = z0 + cot(α)*y. Substituting this expression for z in the formula for the cone gives
x² + y² - (tan(α)*(z0 + cot(β)*y))² = 0. which simplifies to
2*a*tan(α))*y + a²*tan(α)² = x², one of the formulas for a parabola.
We would like to have the formula expressed in the coordinate system of the plane P which to avoid y' I'll refer to as (x,w). Substitute w * csc(α) for y to get
2*a*sec(α))*w + a²*tan(α)² = x².
For the ellipse, the angle of the plane P is α < β < π/2. Again, substitute for z to give
x² + y² - (tan(α)*(z0+y*cot(β))² = 0
The rest of the math for this and the hyperbola is, as they say, left as an exercise. (exercise, left as an)