Prerequisites : Coordinate Geometry I and Coordinate Geometry II
A cone is a 3D geometrical shape, formed by a set of lines connecting a common point (the vertex or the apex) to all of the points on a base, which is in a plane not containing the vertex.
Note : The last line is important. If the apex and the base are coplanar, we will get a family of straight lines.
The border of the base is known as the guiding curve of the cone and any line joining the apex and a point on the guiding curve is known as the generator.
When the guiding curve is a circle and the normal to the circle from apex passes through the center of the circle, the cone is known as right circular cone.
If the lines joining the guiding curve and apex are extended in both the directions, then the cone is known as double cone and each portion is known as a nappe.
When a plane intersects a double right circular cone, we get the conic sections, the parabola, the hyperbola and the ellipse.

Equation of a Cone with Vertex at Origin
Equation of a cone, whose vertex is at origin is a homogeneous equation of 2nd degree in and .
When asked to find equation of such a cone, we use the 1st degree equation to make the 2nd degree equation homogeneous.
Note : The direction ratios (and the direction cosines) of a generator satisfy the equation of cone. This fact will be widely used to solve the problems on cone.

Equation of a Cone passing through 3 Axes
The general equation of a cone through axes is given by

Equation of a Right Circular Cone
Let be the direction cosines of the axis of cone and be the vertex. Let be the semivertical angle, which is the angle made by any line on the surface of cone and passing through the vertex.
Thus, becomes the unit vector along the axis. Let the unit vector along the line joining and be . Then
The equation of cone is then given by
because as well as .

General Equation of Cone and Coordinates of Vertex
This is the general equation in 2nd degree. All terms except and are constants for a fixed shape.
Idea is, we shift the origin to a point so that above equation becomes homogeneous in 2nd degree.
New Coordinates :
The single order terms are to be eliminated in order to get the homogeneous equation of 2nd degree.

Enveloping Cone
Imagine a point source of light kept at . Let there be a ball, whose center is at origin and radius equal to . Then its equation becomes . The rays coming out from point source are blocked by the ball. In other words, the ball forms an enveloping cone.
Let
and
Then, the equation of enveloping cone is given by
The equation holds even if the center of the sphere is not at the origin.