Conics are reasonably easy to graph if they are given in their standard form. Unfortunately, this is often not the case. Conics can be represented by polynomials of the form: , and to graph these it is necessary to convert them back to their standard form. Before you do this, though, the formula: can be used to determine the type of conic from the original equation before you start graphing:
: Parabola
: Ellipse
: Hyperbola
Firstly, if B is not zero then the graph represents a rotated conic. Follow the instructions given on Rotation of Axes to determine how to convert this to a non-rotated form. Then convert this to the standard form of a conic as detailed later in this section, and graph it on a set of axes at the appropriate angle to the x- and y- axes.
If B is equal to zero, then use completing the square and algebraic manipulation to obtain standard forms of the conics.
It is first necessary to complete the square for the x and y terms. First we will start with x. While it appears that in this case b is , you must remember that the coefficient of must be equal to 1. Therefore:
Now, b = -6. . Therefore:
Doing the same for the y:
Now, b = -8. . Therefore:
These can then be placed back into the original equation:
Which simplifies to Which is the standard form for an ellipse. To check our answer, we can use the formula getting the values from the original equation. Substituting these in gives: which is less than zero. Therefore the conic is an ellipse, confirming our previous answer.
The fact that it has an xy term means that this is a rotated conic. The angle that it has been rotated is given by:
Therefore
This tells you that the conic has been rotated radians, or -30°, anticlockwise, which is the same as radians or 30° clockwise about the origin.
You can then make the following substitutions to obtain the polynomial for an identical, non-rotated conic:
In this case, is . Make sure you do not confuse the sign as this will make further calculations invalid. the value for the angle used is always the amount anti-clockwise. Therefore, substituting into the previous will give you:
Which simplifies to
When these are substituted into the rotated equation, you get:
Expanding the brackets gives:
When you expand the brackets and collect like terms, you end up with:
Which simplifies to:
The fact that there is now no XY term means that this is an equation for a non-rotated conic. Now all that remains is a little algebraic manipulation to get it into its standard form:
Which is the standard form of an ellipse which you can use to find the axis lengths, eccentricity, foci and anything else. Remember though that this must be graphed at the angle found earlier of to the x-axis. You can use the same formulae from above to find the rotated location of points from the non-rotated ellipse:
The point (x,y) when rotated by an angle of about the origin becomes (X,Y) where: