An optional extension beyond the standard forms
This section is optional. It brings the standard parabola, ellipse, and hyperbola equations into one calculation, including equations whose real solution set is a point, several lines, or empty. The aim is to recognize geometry without assuming that the coordinate axes already follow the axes of the curve.
A focus-directrix condition explains why quadratic equations arise. For a focus , a genuine directrix , and eccentricity , where and the focus is off the directrix, the condition is
Both sides are nonnegative, so squaring is reversible. Multiplying by produces a quadratic equation. The converse question needs more care: an arbitrary quadratic equation need not describe a nondegenerate focus-directrix conic. Its lower-degree terms can change the real locus without changing its quadratic part.
Definition
A real quadratic locus
For real coefficients, write
Its real locus is the set of points satisfying . The quadratic part is , and its discriminant is . We also allow when discussing the boundary cases, although the equation then has degree at most one.
Multiplying the entire equation by a nonzero constant preserves its locus. Rotating and translating coordinates also preserve distances and angles; they change the description of a fixed set, not its geometric type. A rotation removes the mixed term, and a translation then exposes which constant and linear terms still matter.
Rotating the coordinate axes
Rotate the axes counterclockwise by . Put and , and denote the new coordinates by . The new unit coordinate vectors, expressed in the old coordinates, are and . Thus the same point has coordinates related by
The inverse formulas follow by substitution using . Keeping track of this direction prevents a common sign error: rotating the axes and actively rotating a point are different descriptions.
Theorem
Removal of the mixed term and rotation invariants
After this substitution, the equation has coefficients
Some real angle always makes . Moreover,
Proof: Choose an angle only after identifying the coefficient to cancel
The goal is to eliminate , not the linear terms. Expanding , , and gives the combined mixed coefficient , which is the stated . If , choose . If and , choose . Otherwise choose an angle satisfying , with between and . Its cosine is nonzero, so multiplication by that cosine verifies . These cases avoid dividing by zero when .
For the trace identity, add the formulas for and ; the mixed contributions cancel. For the discriminant, subtraction gives . Squaring this and and adding cancels the cross products. Therefore
Subtract the already invariant square to obtain the discriminant identity. The argument proves preservation for every rotation, including the angle chosen to remove the mixed term.
A subsequent translation does not change any quadratic coefficient: expanding a translated square only adds linear and constant terms. Thus also survives translation. These invariants belong to the chosen polynomial equation; multiplying that equation by a scalar multiplies its trace by and its discriminant by . In particular, the discriminant's sign remains a property of the same locus description under such a rescaling.
The fixed ellipse is . The dashed axes are the new directions. Use and . At the mixed coefficient vanishes and the same ellipse has equation . This changes coordinates, not the locus.
Complete the squares and retain all cases
After rotation, rename the coefficients to write
Here the lower-case is a linear coefficient, not the eccentricity used in the motivating definition. The rank of the quadratic part means the number of nonzero coefficients among after removal of the mixed term. There are only three possibilities. We can classify them using ordinary square completion, without a general matrix theory.
Theorem
Classification of the real locus after rotation
If the quadratic part has rank two, put , and . Translation to , gives
If have the same sign, multiply by if necessary so both are positive, also changing 's sign. The locus is an ellipse for , one point for , and empty for . If the coefficients have opposite signs, the locus is a hyperbola for , and two intersecting lines for .
If the rank is one, interchange the coordinate roles if needed so that and . Completing just the available square gives
For this is a parabola. For , set ; there are two parallel lines if , one double line if , and no real points if .
If the rank is zero, the equation is . It is a line when , the whole plane when , and empty otherwise.
To justify the definite case, a sum of positive multiples of squares is nonnegative and vanishes only when both variables vanish. For positive , division gives semiaxes and . In the indefinite case write with , after an interchange or overall sign change if needed. A nonzero right side can be normalized to either standard hyperbola orientation. A zero right side factors as , giving two distinct intersecting lines.
For rank one with , set . Then , which has a nonzero parabola coefficient. Its opening is determined by the sign of . The term cannot be absorbed into a square in because there is no term. If , every permitted value of leaves free, so each real root gives an entire line. A double line is one geometric line with a repeated factor in the polynomial. Finally, the rank-zero cases follow by solving a genuine linear equation or checking a constant equation.
Counterexample mode
A positive discriminant does not exclude intersecting lines
The equation has , but factors as . Its locus is the union of and , not a nondegenerate hyperbola. Changing only the constant gives , which is a hyperbola with the same discriminant.
The repaired statement is that a positive discriminant gives an indefinite quadratic part. Square completion must still decide whether the remaining constant is zero. Similarly, a negative discriminant allows an ellipse, a point, or the empty set; a zero discriminant requires examination of the surviving linear terms and the rank.
A circle requires and . Indeed, the identity used in the proof shows that equal diagonal coefficients and a zero mixed coefficient after rotation force before rotation as well. In that case dividing by and completing squares gives center and
Only gives a genuine circle. Zero gives its center alone, and a negative value gives no real points. Equal quadratic coefficients alone do not establish a positive radius.
Worked classifications
Worked example
Example 1: a rotated and translated ellipse
Classify and locate the axes of
Here , so the quadratic part is definite. Take , , satisfying . Substituting , gives
The positive right side now confirms a real ellipse. Its center in rotated coordinates is , hence in original coordinates it is . Its semiaxes are along and along . A sketch follows by marking the center and adding and subtracting these scaled unit directions to locate the four axis endpoints. The discriminant alone would not supply the center or lengths.
Worked example
Example 2: the linear term distinguishes a parabola from parallel lines
Consider . Although , do not discard the linear part. With , we have and , so the equation becomes , a parabola opening in the negative direction.
Compare . The same rotation gives , two parallel lines . Replacing by gives the double line ; replacing it by gives the empty set. All four equations have the same quadratic part, so their different loci must be determined from the remaining terms.
Worked example
Example 3: one quadratic part and three definite outcomes
The equations all have . Completing squares gives . For the locus is a circle of radius centered at . For it is just , and for it is empty. The same center calculation is useful in each case, but a radius cannot be assigned by taking a real square root when the right side is negative.
The quadratic matrix viewpoint
Concept lensAlgebraic
A symmetric matrix records the same quadratic expression
Define column vectors , and
Then : the two off-diagonal products each contribute half of the mixed term. The coordinate change is . Since , substitution yields
The last identity follows by multiplying on the left by and on the right by . Matrix multiplication is ordered; these two formulas are inverse transformations, not interchangeable patterns. Choosing the angle that makes makes diagonal. This is the matrix description of the rotation already proved by trigonometry.
The trace is the sum of the diagonal entries, , and the determinant is . Because , taking determinants in preserves the determinant; the trace preservation is already proved by the coefficient calculation. Thus the matrix packages the same two invariants. The linear term transforms separately to , so the matrix of the quadratic part alone cannot decide all real-locus cases. No general diagonalization theorem is needed here.
Tangents require a regular point
Theorem
The tangent formula at a regular point of a quadratic locus
Let satisfy , and suppose
Then the tangent line is , or equivalently
Differentiate along a regular local parametrization. The chain rule gives at the contact. A nonzero gradient supplies a genuine normal direction. If its second component is nonzero, implicit differentiation gives a local graph ; if only its first component is nonzero, use instead. Thus a vertical tangent does not require division by zero.
To obtain the symmetric formula, expand the point-normal equation, use to replace its constant term, and divide by two. Both hypotheses matter. A point outside the locus has no tangent there, and at a singular point the gradient equation is . For example, the origin on lies on two crossing branches; the displayed formula cannot choose one tangent direction for them.
Quick checks
Checkpoint
Check 1: what if the diagonal coefficients agree?
For , how can the mixed term be removed without dividing by ?
Solution · Answer to Check 1
If , use . Otherwise use ; then . The choice does not require a tangent quotient.
Checkpoint
Check 2: is a zero discriminant enough?
Classify and . Why can both have ?
Solution · Answer to Check 2
The first is two parallel lines and has rank one. The second is the line and has rank zero. A zero discriminant records a singular quadratic part, without specifying its rank or linear terms.
Exercises
- Rotate by and identify the resulting standard form. What changes if the equation is ?
- Classify and .
- Find the tangent to at and at . Explain why the second tangent is still covered by the theorem.
- Classify the rank-zero equations , , and . State which of these has a nonzero gradient.
Guided solutions
Solution · Solution 1
The substitution gives . Thus becomes , a hyperbola with semiaxes . For , the result is , two intersecting lines. In the original coordinates these are the coordinate axes.
Solution · Solution 2
The left sides become and , respectively. Hence the first locus is the single point and the second is empty. Both have , which identifies a definite quadratic part but does not assert a nondegenerate ellipse.
Solution · Solution 3
The gradient is , giving at and at . The tangent equations are and . Both normals are nonzero. The point-normal formula covers the vertical line directly, without representing it as a graph of against .
Solution · Solution 4
The loci are a line, the whole plane, and the empty set, respectively. Only the first polynomial has a nonzero gradient, namely . The identically zero polynomial imposes no restriction at all; the constant polynomial has no zero at which to consider a tangent.