TExcelTAD
Home › Analytical Geometry: Conics & Quadric Surfaces › The General Second-Degree Equation and Discriminant B² - 4AC

The General Second-Degree Equation and Discriminant B2−4ACB^2 - 4AC

Every straight line in the Cartesian plane can be expressed by a linear equation Ax+By+C=0Ax + By + C = 0. When we progress to quadratic expressions involving two variables, we obtain the curves known as the conic sections: parabolas, ellipses, and hyperbolas (as well as degenerate cases such as single points, pairs of lines, or the empty set).

The most general quadratic equation in two variables xx and yy is the General Second-Degree Equation:

Ax2+Bxy+Cy2+Dx+Ey+F=0Ax^2 + Bxy + Cy^2 + Dx + Ey + F = 0

where A,B,C,D,E,F∈RA, B, C, D, E, F \in \mathbb{R}, and at least one of A,B,CA, B, C is non-zero.


Concept: The Discriminant and Conic Classification

The geometric nature of the curve depends fundamentally on the second-degree terms Ax2+Bxy+Cy2Ax^2 + Bxy + Cy^2. Just as the discriminant b2−4acb^2 - 4ac governs the roots of a single-variable quadratic polynomial, the discriminant Δ\Delta:

Δ=B2−4AC\Delta = B^2 - 4AC

determines the fundamental geometric family of the conic section, regardless of how the curve is translated or rotated in the plane.

Discriminant Δ=B2−4ACConic Section FamilyDegenerate PossibilitiesΔ<0Elliptic Type (Ellipse or Circle)Single point, or empty setΔ=0Parabolic Type (Parabola)Two parallel lines, one line, empty setΔ>0Hyperbolic Type (Hyperbola)Two intersecting straight lines\begin{array}{|c|l|l|} \hline \textbf{Discriminant } \Delta = B^2 - 4AC & \textbf{Conic Section Family} & \textbf{Degenerate Possibilities} \\ \hline \Delta < 0 & \textbf{Elliptic Type} \text{ (Ellipse or Circle)} & \text{Single point, or empty set} \\ \Delta = 0 & \textbf{Parabolic Type} \text{ (Parabola)} & \text{Two parallel lines, one line, empty set} \\ \Delta > 0 & \textbf{Hyperbolic Type} \text{ (Hyperbola)} & \text{Two intersecting straight lines} \\ \hline \end{array}

Formula Box: Rotations and Algebraic Invariants

ConceptMathematical Formula on PaperThe General EquationAx2+Bxy+Cy2+Dx+Ey+F=0The DiscriminantΔ=B2−4ACRotation Angle θ to eliminate Bxycot⁡(2θ)=A−CB(B≠0)Rotation Transformationsx=x′cos⁡θ−y′sin⁡θ,y=x′sin⁡θ+y′cos⁡θFirst Invariant under RotationI1=A+C=A′+C′Second Invariant under RotationI2=B2−4AC=(B′)2−4A′C′\begin{array}{|l|l|} \hline \textbf{Concept} & \textbf{Mathematical Formula on Paper} \\ \hline \text{The General Equation} & Ax^2 + Bxy + Cy^2 + Dx + Ey + F = 0 \\ \text{The Discriminant} & \Delta = B^2 - 4AC \\ \text{Rotation Angle } \theta \text{ to eliminate } Bxy & \cot(2\theta) = \frac{A - C}{B} \quad (B \neq 0) \\ \text{Rotation Transformations} & x = x'\cos\theta - y'\sin\theta, \quad y = x'\sin\theta + y'\cos\theta \\ \text{First Invariant under Rotation} & I_1 = A + C = A' + C' \\ \text{Second Invariant under Rotation} & I_2 = B^2 - 4AC = (B')^2 - 4A'C' \\ \hline \end{array}

Paper Visual: Eliminating the Cross-Term BxyBxy via Axis Rotation

When B≠0B \neq 0, the axes of symmetry of the conic section are tilted relative to the coordinate axes. By rotating the coordinate axes by an angle θ\theta, the x′y′x'y' cross-term vanishes (B′=0B' = 0), aligning the conic with the new axes x′x' and y′y'.

x y x' y' theta = 45° O 5x^2 - 6xy + 5y^2 = 32 (Delta = -64 < 0) Rotated Form: 2(x')^2 + 8(y')^2 = 32 => (x')^2/16 + (y')^2/4 = 1

Step-by-Step Paper Notebook Method

To completely identify and reduce any general quadratic equation on paper, follow these 5 stages:

StagePaper Notebook StepRule / Calculation1Extract coefficientsWrite out A,B,C,D,E,F with their signs.2Compute the discriminantΔ=B2−4AC. Classify as Ellipse (<0), Parabola (=0), or Hyperbola (>0).3Check cross-term BxyIf B=0, proceed directly to completing the square (translation).4Eliminate Bxy if B≠0Compute cot⁡(2θ)=A−CB, find sin⁡θ,cos⁡θ, substitute into rotation formulas.5Complete squaresGroup like variables, factor leading coefficients, write in standard canonical form.\begin{array}{|c|l|l|} \hline \textbf{Stage} & \textbf{Paper Notebook Step} & \textbf{Rule / Calculation} \\ \hline 1 & \text{Extract coefficients} & \text{Write out } A, B, C, D, E, F \text{ with their signs.} \\ 2 & \text{Compute the discriminant} & \Delta = B^2 - 4AC\text{. Classify as Ellipse (}<0\text{), Parabola (}=0\text{), or Hyperbola (}>0\text{).} \\ 3 & \text{Check cross-term } Bxy & \text{If } B = 0\text{, proceed directly to completing the square (translation).} \\ 4 & \text{Eliminate } Bxy \text{ if } B \neq 0 & \text{Compute } \cot(2\theta) = \frac{A - C}{B}\text{, find } \sin\theta, \cos\theta\text{, substitute into rotation formulas.} \\ 5 & \text{Complete squares} & \text{Group like variables, factor leading coefficients, write in standard canonical form.} \\ \hline \end{array}

Worked Examples on Paper

Example 1: The Parabolic Degenerate/Non-Degenerate Test

Problem: Classify the conic section given by x2−4xy+4y2−2x−3y+1=0x^2 - 4xy + 4y^2 - 2x - 3y + 1 = 0.

Paper Solution:

Step 1: Identify all coefficients.

A=1,B=−4,C=4,D=−2,E=−3,F=1A = 1, \quad B = -4, \quad C = 4, \quad D = -2, \quad E = -3, \quad F = 1

Step 2: Calculate the discriminant Δ\Delta.

Δ=B2−4AC=(−4)2−4(1)(4)=16−16=0\begin{aligned} \Delta &= B^2 - 4AC \\ &= (-4)^2 - 4(1)(4) \\ &= 16 - 16 = 0 \end{aligned}

Step 3: Analyze the quadratic part. Because Δ=0\Delta = 0, this equation is of parabolic type. Notice that the quadratic terms form a perfect square:

x2−4xy+4y2=(x−2y)2x^2 - 4xy + 4y^2 = (x - 2y)^2

Thus, the equation can be written as:

(x−2y)2−(2x+3y−1)=0(x - 2y)^2 - (2x + 3y - 1) = 0

Since the linear part −(2x+3y−1)-(2x + 3y - 1) is not a multiple of (x−2y)(x - 2y), this curve does not degenerate into two parallel lines; it represents a genuine parabola whose axis is tilted along the line x−2y=kx - 2y = k.


Example 2: Complete Diagonalization of a Rotated Ellipse

Problem: Classify the conic 5x2−6xy+5y2=325x^2 - 6xy + 5y^2 = 32. Find the rotation angle θ\theta that eliminates the xyxy term and determine its canonical form and axis lengths on paper.

Paper Solution:

Step 1: Extract coefficients and test the discriminant.

A=5,B=−6,C=5,D=0,E=0,F=−32A = 5, \quad B = -6, \quad C = 5, \quad D = 0, \quad E = 0, \quad F = -32
Δ=B2−4AC=(−6)2−4(5)(5)=36−100=−64<0\Delta = B^2 - 4AC = (-6)^2 - 4(5)(5) = 36 - 100 = -64 < 0

Since Δ<0\Delta < 0, the curve is an ellipse.

Step 2: Find the rotation angle θ\theta.

cot⁡(2θ)=A−CB=5−5−6=0−6=0\cot(2\theta) = \frac{A - C}{B} = \frac{5 - 5}{-6} = \frac{0}{-6} = 0

The angle 2θ∈(0,π)2\theta \in (0, \pi) satisfying cot⁡(2θ)=0\cot(2\theta) = 0 is:

2θ=π2=90∘  ⟹  θ=45∘2\theta = \frac{\pi}{2} = 90^\circ \implies \theta = 45^\circ

Step 3: Write the rotation equations on paper.

cos⁡45∘=22=12,sin⁡45∘=12\cos 45^\circ = \frac{\sqrt{2}}{2} = \frac{1}{\sqrt{2}}, \quad \sin 45^\circ = \frac{1}{\sqrt{2}}
x=x′−y′2,y=x′+y′2x = \frac{x' - y'}{\sqrt{2}}, \qquad y = \frac{x' + y'}{\sqrt{2}}

Step 4: Substitute into the quadratic equation.

5x2=5(x′−y′2)2=52(x′2−2x′y′+y′2)−6xy=−6(x′−y′2)(x′+y′2)=−62(x′2−y′2)=−3x′2+3y′25y2=5(x′+y′2)2=52(x′2+2x′y′+y′2)\begin{aligned} 5x^2 &= 5 \left(\frac{x' - y'}{\sqrt{2}}\right)^2 = \frac{5}{2}(x'^2 - 2x'y' + y'^2) \\ -6xy &= -6 \left(\frac{x' - y'}{\sqrt{2}}\right)\left(\frac{x' + y'}{\sqrt{2}}\right) = -\frac{6}{2}(x'^2 - y'^2) = -3x'^2 + 3y'^2 \\ 5y^2 &= 5 \left(\frac{x' + y'}{\sqrt{2}}\right)^2 = \frac{5}{2}(x'^2 + 2x'y' + y'^2) \end{aligned}

Add the three expressions together:

5x2−6xy+5y2=52(x′2−2x′y′+y′2+x′2+2x′y′+y′2)−3x′2+3y′2=52(2x′2+2y′2)−3x′2+3y′2=5x′2+5y′2−3x′2+3y′2=2x′2+8y′2\begin{aligned} 5x^2 - 6xy + 5y^2 &= \frac{5}{2}(x'^2 - 2x'y' + y'^2 + x'^2 + 2x'y' + y'^2) - 3x'^2 + 3y'^2 \\ &= \frac{5}{2}(2x'^2 + 2y'^2) - 3x'^2 + 3y'^2 \\ &= 5x'^2 + 5y'^2 - 3x'^2 + 3y'^2 \\ &= 2x'^2 + 8y'^2 \end{aligned}

Step 5: Equate to the right-hand constant and normalize.

2(x′)2+8(y′)2=322(x')^2 + 8(y')^2 = 32

Divide both sides by 3232:

(x′)216+(y′)24=1\frac{(x')^2}{16} + \frac{(y')^2}{4} = 1

Conclusion:

  • The curve is an ellipse centered at the origin.
  • Semi-major axis length: a=16=4a = \sqrt{16} = 4 along the x′x'-axis (tilted at 45∘45^\circ).
  • Semi-minor axis length: b=4=2b = \sqrt{4} = 2 along the y′y'-axis (tilted at 135∘135^\circ).

Example 3: Classification of a Hyperbolic Conic

Problem: Classify the conic 3x2+10xy+3y2−8=03x^2 + 10xy + 3y^2 - 8 = 0.

Paper Solution:

Step 1: Identify coefficients.

A=3,B=10,C=3,F=−8A = 3, \quad B = 10, \quad C = 3, \quad F = -8

Step 2: Calculate the discriminant.

Δ=B2−4AC=102−4(3)(3)=100−36=64>0\Delta = B^2 - 4AC = 10^2 - 4(3)(3) = 100 - 36 = 64 > 0

Because Δ=64>0\Delta = 64 > 0, the equation represents a hyperbola.

Step 3: Verification of non-degeneracy. Notice that cot⁡(2θ)=3−310=0  ⟹  θ=45∘\cot(2\theta) = \frac{3 - 3}{10} = 0 \implies \theta = 45^\circ. Using the rotation eigenvalues formula:

A′=A+C2+B2=3+32+102=3+5=8C′=A+C2−B2=3+32−102=3−5=−2\begin{aligned} A' &= \frac{A + C}{2} + \frac{B}{2} = \frac{3 + 3}{2} + \frac{10}{2} = 3 + 5 = 8 \\ C' &= \frac{A + C}{2} - \frac{B}{2} = \frac{3 + 3}{2} - \frac{10}{2} = 3 - 5 = -2 \end{aligned}

The transformed equation in (x′,y′)(x', y') coordinates is:

8(x′)2−2(y′)2=8  ⟺  (x′)2−(y′)24=18(x')^2 - 2(y')^2 = 8 \iff (x')^2 - \frac{(y')^2}{4} = 1

This is a standard hyperbola with transverse axis along x′x' and semi-axes a=1,b=2a = 1, b = 2.


Common Paper Traps & Exam Mistakes

[!CAUTION]

  1. The Missing Factor of 4: In high school algebra, students often confuse the polynomial discriminant b2−4acb^2 - 4ac with the conic discriminant B2−4ACB^2 - 4AC. While the formula looks identical, remember that in the general equation Ax2+Bxy+Cy2Ax^2 + Bxy + Cy^2, the cross-term is +Bxy+Bxy (not 2Bxy2Bxy). Never forget the factor of 44 in 4AC4AC!
  2. Sign of the Cotangent Angle: When solving cot⁡(2θ)=A−CB\cot(2\theta) = \frac{A - C}{B}, if A=CA = C, then cot⁡(2θ)=0\cot(2\theta) = 0, giving 2θ=90∘  ⟹  θ=45∘2\theta = 90^\circ \implies \theta = 45^\circ. Do not conclude that θ=0\theta = 0!
  3. Degenerate Deceptions: If Δ<0\Delta < 0, the equation might have no real solutions (e.g., x2+y2+1=0x^2 + y^2 + 1 = 0) or represent a single point (e.g., x2+y2=0x^2 + y^2 = 0). Always verify that real points exist after completing squares.
  4. Linear Term Transformations: When rotating an equation that also contains linear terms Dx+EyDx + Ey, both xx and yy must be replaced by (x′cos⁡θ−y′sin⁡θ)(x'\cos\theta - y'\sin\theta) and (x′sin⁡θ+y′cos⁡θ)(x'\sin\theta + y'\cos\theta) respectively.

Pencil & Paper Practice

Solve these problems on paper before checking the full solutions below.

Practice 1

Determine the conic section represented by 4x2−12xy+9y2+2x+1=04x^2 - 12xy + 9y^2 + 2x + 1 = 0 using the discriminant.

Practice 2

Given the general equation 7x2−63xy+13y2−16=07x^2 - 6\sqrt{3}xy + 13y^2 - 16 = 0:

  1. Compute the discriminant Δ=B2−4AC\Delta = B^2 - 4AC and classify the conic.
  2. Determine the rotation angle θ∈(0∘,90∘)\theta \in (0^\circ, 90^\circ) that eliminates the cross-term.

Worked Solutions to Practice Problems

Solution to Practice 1:

Identify coefficients:

A=4,B=−12,C=9A = 4, \quad B = -12, \quad C = 9

Compute the discriminant:

Δ=B2−4AC=(−12)2−4(4)(9)=144−144=0\Delta = B^2 - 4AC = (-12)^2 - 4(4)(9) = 144 - 144 = 0

Because Δ=0\Delta = 0, the equation represents a parabolic type conic. Furthermore, the quadratic part factors as (2x−3y)2(2x - 3y)^2, confirming it is an open parabola.


Solution to Practice 2:

  1. Coefficients: A=7,B=−63,C=13,F=−16A = 7, B = -6\sqrt{3}, C = 13, F = -16.
Δ=B2−4AC=(−63)2−4(7)(13)=108−364=−256<0\Delta = B^2 - 4AC = (-6\sqrt{3})^2 - 4(7)(13) = 108 - 364 = -256 < 0

Since Δ<0\Delta < 0, the conic is an ellipse.

  1. Rotation angle:
cot⁡(2θ)=A−CB=7−13−63=−6−63=13\cot(2\theta) = \frac{A - C}{B} = \frac{7 - 13}{-6\sqrt{3}} = \frac{-6}{-6\sqrt{3}} = \frac{1}{\sqrt{3}}

Since cot⁡(2θ)=13\cot(2\theta) = \frac{1}{\sqrt{3}}, we have tan⁡(2θ)=3\tan(2\theta) = \sqrt{3}. Therefore:

2θ=60∘  ⟹  θ=30∘2\theta = 60^\circ \implies \theta = 30^\circ

Rotating the axes by θ=30∘\theta = 30^\circ will eliminate the cross-term.


Test yourself

What type of conic is represented by 2x2+4xy+5y2−6x+2=02x^2 + 4xy + 5y^2 - 6x + 2 = 0?

  1. Parabola
  2. Ellipse
  3. Hyperbola
  4. Two parallel lines

If the discriminant Δ=B2−4AC>0\Delta = B^2 - 4AC > 0 for a non-degenerate second-degree equation, the curve is a:

  1. Circle
  2. Parabola
  3. Ellipse
  4. Hyperbola

For the equation x2−xy+y2=3x^2 - xy + y^2 = 3, what acute angle of rotation θ\theta eliminates the xyxy term?

  1. θ=30∘\theta = 30^\circ
  2. θ=45∘\theta = 45^\circ
  3. θ=60∘\theta = 60^\circ
  4. θ=90∘\theta = 90^\circ