Given a general quadratic curve
|
(1)
|
the quantity is known as the discriminant, where
|
(2)
|
and is invariant under rotation. Using the coefficients from quadratic equations for a rotation by
an angle ,
|
(3)
| |||
|
(4)
| |||
|
(5)
| |||
|
(6)
| |||
|
(7)
|
Now let
|
(8)
| |||
|
(9)
| |||
|
(10)
| |||
|
(11)
|
and use
|
(12)
| |||
|
(13)
|
to rewrite the primed variables
|
(14)
| |||
|
(15)
| |||
|
(16)
| |||
|
(17)
|
From (15) and (17), it follows that
|
(18)
|
Combining with (16) yields, for an arbitrary
|
(19)
| |||
|
(20)
| |||
|
(21)
| |||
|
(22)
|
which is therefore invariant under rotation. This invariant therefore provides a useful shortcut to determining the shape represented by a quadratic
curve. Choosing to make
(see quadratic equation),
the curve takes on the form
|
(23)
|
Completing the square and defining new variables gives
|
(24)
|
Without loss of generality, take the sign of to be positive. The discriminant is
|
(25)
|
Now, if , then
and
both have the same sign, and the equation has the general
form of an ellipse (if
and
are positive). If
,
then
and
have opposite signs, and the equation has the general form of a hyperbola.
If
, then either
or
is zero, and the equation has the general form of a parabola
(if the nonzero
or
is positive). Since the discriminant is invariant, these
conclusions will also hold for an arbitrary choice of
, so they also hold when
is replaced by the original
. The general result is
1. If , the equation represents an ellipse,
a circle (degenerate ellipse),
a point (degenerate circle),
or has no graph.
2. If , the equation represents a hyperbola
or pair of intersecting lines (degenerate hyperbola).
3. If , the equation represents a parabola,
a line (degenerate parabola),
a pair of parallel lines (degenerate parabola),
or has no graph.