Matrix representation of conic sections
|This article needs additional citations for verification. (March 2011)|
In mathematics, the matrix representation of conic sections is one way of studying a conic section, its axis, vertices, foci, tangents, and the relative position of a given point. We can also study conic sections whose axes aren't parallel to our coordinate system.
Conic sections have the form of a second-degree polynomial:
That can be written as:
Where is the homogeneous coordinate vector:
And a matrix:
If , the conic is degenerate.
If Q is not degenerate, we can see what type of conic section it is by computing the minor (that is, the determinant of the submatrix resulting from removing the last row and the last column of AQ):
- If and only if , it is a hyperbola.
- If and only if , it is a parabola.
- If and only if , it is an ellipse.
In the case of an ellipse, we can make a further distinction between an ellipse and a circle by comparing the last two diagonal elements corresponding to x2 and y2.
- If and , it is a circle.
Moreover, in the case of a non-degenerate ellipse (with and ), we have a real ellipse if but an imaginary ellipse if . An example of the latter is , which has no real-valued solutions.
If the conic section is degenerate (), still allows us to distinguish its form:
- If and only if , it is two intersecting lines.
- If and only if , it is two parallel straight lines. These lines are distinct and real if , coincident if , and distinct and imaginary if .
- If and only if , it is a single point.
In the center of the conic, the gradient of the quadratic form Q vanishes, so:
We can calculate the center by taking the first two rows of the associated matrix , multiplying each by (x, y, 1)T, setting both inner products equal to 0, and solving the system.
Note that in the case of a parabola, defined by (4AC-B2) = 0, there is no center since the above denominators become zero.
The major and minor axes are two lines determined by the center of the conic as a point and eigenvectors of the associated matrix as vectors of direction.
So we can write a canonical equation:
Because a 2x2 matrix has 2 eigenvectors, we obtain 2 axes.
For a general conic we can determine its vertices by calculating the intersection of the conic and its axes — in other words, by solving the system:
Through a given point, P, there are generally two lines tangent to a conic. Expressing P as a column vector, p, the two points of tangency are the intersections of the conic with the line whose equation is
When P is on the conic, the line is the tangent there. When P is inside an ellipse, the line is the set of all points whose own associated line passes through P. This line is called the polar of the pole P with respect to the conic.
Just as P uniquely determines its polar line (with respect to a given conic), so each line determines a unique P. This is thus an expression of geometric duality between points and lines in the plane.
As special cases, the center of a conic is the pole of the line at infinity, and each asymptote of a hyperbola is a polar (a tangent) to one of its points at infinity.
Using the theory of poles and polars, the problem of finding the four mutual tangents of two conics reduces to finding the intersection of two conics.
The reduced equation of a conic section is the equation of a conic section translated and rotated so that its center lies in the center of the coordinate system and its axes are parallel to the coordinate axes. This is equivalent to saying that the coordinates are moved to satisfy these properties. See the figure.
Dividing by we obtain a reduced canonical equation. For example, for an ellipse:
From here we get a and b.
The transformation of coordinates is given by:
- Lawrence, J. Dennis, A Catalog of Special Plane Curves, Dover Publ., 1972.
- Spain, Barry, Analytical Conics, Dover, 2007.
- Pettofrezzo, Anthony, Matrices and Transformations, Dover, 1966.
- Ayoub, A. B., "The central conic sections revisited", Mathematics Magazine 66(5), 1993, 322-325.