[Math] How to determine standard equation of a conic from the general second degree equation

conic sectionscoordinate systems

From a given general equation of second degree i can determine the conic by following rules:

Given equation: $ax^2+by^2+2hxy+2gx+2fy+c=0$

then if,

$abc+2fgh-af^2-bg^2-ch^2$ is not equal to zero

the equation represents:

  • Parabola if $h^2=ab$
  • Ellipse if $h^2<ab$
  • Hyperbola if $h^2>ab$

However i am unable to determine the conic in standard form. For the conics that have axes parallel to coordinate axes, i can use completing the square method. But it becomes very difficult when it comes to determining the equation of an inclined conic. Is there any other method to determine the standard equation?

The method to determine it for a parabola is here but how to the same for an ellipse and hyperbola?

Best Answer

The "complete the square" method allows you to center the conic, i.e. make the linear terms vanish (by a translation, $ax^2+bx+c\to a'u^2+c'$).

To deal with "obliqueness", you need to let the cross term $xy$ vanish, by means of a rotation.

Let $x=cu-sv,y=su+cv$, which expresses a rotation around the origin ($c,s$ denote the cosine and sine of the angle), and let the centered equation be in the form

$$Ax^2+2Bxy+Cy^2=1.$$

Then substituting,

$$(Ac^2+2Bcs+Cs^2)u^2+(-2Acs+B(c^2-s^2)+2Ccs)uv+(As^2-2Bcs+Cc^2)v^2=1.$$

By a suitable choice of the angle, you can achieve

$$-2Acs+B(c^2-s^2)+2Ccs=0$$

and the equation reduces to

$$A'u^2+C'v^2=1.$$

Depending on the signs of $A',C'$, you get an ellipse or an hyperbola. By a further rescaling of the variables, you can obtain the "canonical" forms (circle and equilateral hyperbola)

$$p^2\pm q^2=1.$$


To find the suitable angle, use the "double angle" formulas and rewrite

$$(C-A)\sin(2\theta)+B\cos(2\theta)=0,$$ which is easy to solve.

Related Question