# Matrix representation of conic sections

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

vector:

And a

matrix:

Regular and degenerated conic sections can be distinguished based on the determinant of A_{Q}.

Iff , the conic is degenerate.

If Q isn't degenerate, we can see what type of conic section it is by computing the subdeterminant resulting from removing the first row and the first column of A_{Q} (ie the minor A_{11}).

In the case of an elipse, we can make a futher distinction between an ellipse and a circle by comparing the last two diagonal elements corresponding to x^{2} and y^{2}.

If the conic section is degenerate (), still allows us to distinguish its form:

Iff , it is two intersecting lines.

Iff , it is two (possibly coincident) parallel straight lines.
Iff , it is empty.

## Center

We can calculate the center by taking the last two rows of the associated
matrix, set them equal to 0 and solve the system.

## Axes

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 3x3 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#&8212;in other words, by solving the system:

## Reduced equation

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.

If and are the eigenvalues
of the matrix A, the reduced equation can be written as:

Dividing between 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: