Matrix representation of conic sections
In mathematics, the matrix representation of conic sections permits the tools of linear algebra to be used in the study of conic sections. It provides easy ways to calculate a conic section's axis, vertices, tangents and the pole and polar relationship between points and lines of the plane determined by the conic. The technique does not require putting the equation of a conic section into a standard form, thus making it easier to investigate those conic sections whose axes are not parallel to the coordinate system.
Conic sections (including degenerate ones) are the sets of points whose coordinates satisfy a second-degree polynomial equation in two variables,
This equation can be written in matrix notation, in terms of a symmetric matrix to simplify some subsequent formulae, as[1]
The sum of the first three terms of this equation, namely
The quadratic equation can also be written as
where is the homogeneous coordinate vector in three variables restricted so that the last variable is 1, i.e.,
and where is the matrix
The 2 × 2 upper left submatrix (a matrix of order 2) of AQ, obtained by removing the third (last) row and third (last) column from AQ is the matrix of the quadratic form. The above notation A33 is used in this article to emphasize this relationship.
Proper (non-degenerate) and degenerate conic sections can be distinguished[5][6] based on the determinant of AQ:
If , the conic is degenerate.
If so that Q is not degenerate, we can see what type of conic section it is by computing the minor, :
In the case of an ellipse, we can distinguish the special case of a circle by comparing the last two diagonal elements corresponding to the coefficients of x2 and y2:
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:
The case of coincident lines occurs if and only if the rank of the 3 × 3 matrix is 1; in all other degenerate cases its rank is 2.[2]