Complex Roots of a Quadratic

A quadratic that misses the axis still has roots.

A curve that misses the axis

The curve y = x² − 1 crosses the x-axis at x = −1 and x = 1, so x² − 1 = 0 has those two roots. Lift the curve by 2 and it becomes y = x² + 1. Now its lowest point is (0, 1), the curve never comes down to the axis, and x² + 1 = 0 has no real root.

The discriminant says the same. For x² + 1, a = 1, b = 0 and c = 1, so b² − 4ac = 0 − 4 = −4. A negative discriminant means no real roots, because the quadratic formula needs its square root.

−3−2−1123−6−4−2246xy√Δ = 2x = −1x = +112 distinct real roots

the roots sit √Δ = 2 apart

Move the vertex until the curve is y = x² + 1, and count where it meets the axis

The curve y = x² − 1, with its lowest point as the handle. Slide it up and the two crossings close in, meet at 0 when the curve is y = x², and leave the axis above that. When the curve is y = x² + 1, its roots are ±i.

Solve it anyway

x² + 1 = 0 gives x² = −1. The number i is defined by i² = −1, so x = i is a root. So is x = −i, because (−i)² = i² = −1. The equation has two roots, i and −i.

In the same way x² + 9 = 0 gives x² = −9 and x = ±3i, since (3i)² = 9i² = −9. In general x² + k² = 0 has the roots ki and −ki.

The formula with a negative discriminant

Solve x² − 4x + 13 = 0. The discriminant is b² − 4ac = 16 − 52 = −36, and √(−36) = 6i. The quadratic formula gives x = (4 ± 6i)/2 = 2 ± 3i.

Check 2 + 3i by substitution. (2 + 3i)² = 4 + 12i + 9i² = −5 + 12i, and −4(2 + 3i) = −8 − 12i. Adding these and 13: (−5 − 8 + 13) + (12 − 12)i = 0. The same working with −3i in place of 3i shows that 2 − 3i is a root too.

The sign of the discriminant sorts the cases: positive gives two real roots, zero gives one repeated root, and negative gives two non-real roots.

xy(2, 9)

The curve y = x² − 4x + 13. Its lowest point is (2, 9), 9 above the x-axis, so the curve never meets the axis and the equation has no real root. Its roots are 2 ± 3i.

Completing the square

Completing the square shows the same pair. x² − 4x + 13 = (x − 2)² + 9, so the equation is (x − 2)² = −9. Then x − 2 = ±3i and x = 2 ± 3i.

The two descriptions match. The real part 2 is the x-coordinate of the lowest point, and 9 = 3² is its height above the axis. The formula works for the same reason: it comes from completing the square, which never needs the square root to be real.

Why the roots are a conjugate pair

The formula gives x = −b/2a ± √(b² − 4ac)/2a. When the discriminant is negative, √(b² − 4ac) = i√(4ac − b²), with a real square root. So the two roots are p + qi and p − qi, where p = −b/2a and q = √(4ac − b²)/2a: the same real part and opposite imaginary parts. They are conjugates.

That needs the coefficients to be real. x² − (3i)x − 2 = 0 has a non-real coefficient, 3i, and its roots are i and 2i: i² − 3i × i − 2 = −1 + 3 − 2 = 0 and (2i)² − 3i × 2i − 2 = −4 + 6 − 2 = 0. They are not a conjugate pair, and −i is not a root.

Check with the sum and the product

For ax² + bx + c = 0 the roots add to −b/a and multiply to c/a. For x² − 4x + 13 = 0, (2 + 3i) + (2 − 3i) = 4 = −b/a, and (2 + 3i)(2 − 3i) = 4 + 9 = 13 = c/a. So x² − 4x + 13 = (x − (2 + 3i))(x − (2 − 3i)).

Two more

x² + 2x + 5 = 0: the discriminant is 4 − 20 = −16 and √(−16) = 4i, so x = (−2 ± 4i)/2 = −1 ± 2i. Check: (−1 + 2i)² = 1 − 4i − 4 = −3 − 4i, and −3 − 4i + 2(−1 + 2i) + 5 = 0.

2x² − 2x + 5 = 0: the discriminant is 4 − 40 = −36, so x = (2 ± 6i)/4 = ½ ± (3/2)i. Both parts are divided by 2a = 4. Check: (½ + (3/2)i)² = ¼ + (3/2)i − 9/4 = −2 + (3/2)i, so 2x² = −4 + 3i, and −4 + 3i − 2(½ + (3/2)i) + 5 = −4 + 3i − 1 − 3i + 5 = 0.

The usual mistakes

Giving real roots. x² + 9 = 0 does not have roots ±3: (±3)² = 9, so ±3 solve x² − 9 = 0, the curve that does cross the axis.

Stopping at "no solution". There is no real solution, but the formula still gives two complex roots: x² + 9 = 0 has roots ±3i.

Dividing only part of the top by 2a. (4 ± 6i)/2 is 2 ± 3i, not 2 ± 6i.

Losing the sign of −b. For x² − 4x + 13 = 0, −b = 4, so the real part is 2, not −2.

A fountain under a glass roof

In the application below, a jet of water has height 6x − x² meters, and the roof is 13 m up. Setting the height equal to 13 gives a quadratic with a negative discriminant. Its roots are not real, and that is the answer: no point of the jet reaches the roof.

Worked example: A Fountain Jet Under a Glass Roof: The Roots of the Roof Equation, and the Greatest Height

Question A fountain in a shopping center throws a jet whose height is h = 6x − x2 meters at a horizontal distance of x meters from the nozzle. The glass roof is 13 m above the nozzle. (a) Solve 6x − x2 = 13, and say what the roots tell the architect. (b) Find the greatest height of the jet, and how far below the roof it stays.

  1. 1.Rearrange: x2 − 6x + 13 = 0. The discriminant is 36 − 52 = −16, which is negative.

    xroof 13 mx2− 6x + 13 = 0, discriminant −16
    xroof 13 mx2− 6x + 13 = 0, discriminant −16
    Setting the height equal to 13 gives x2 − 6x + 13 = 0, and its discriminant is −16.
  2. 2.Use √−16 = 4i in the quadratic formula: x = 6 ± 4i2 = 3 ± 2i.

    xroof 13 mx2− 6x + 13 = 0, discriminant −16√−16 = 4i, x = (6 ± 4i)/2
    xroof 13 mx2− 6x + 13 = 0, discriminant −16√−16 = 4i, x = (6 ± 4i)/2
    The square root of −16 is 4i.
  3. 3.(a) The roots are 3 + 2i and 3 − 2i. No real distance gives a height of 13 m, so the water never reaches the roof. Check: (3 + 2i)2 − 6(3 + 2i) + 13 = 5 + 12i − 18 − 12i + 13 = 0.

    xroof 13 mx2− 6x + 13 = 0, discriminant −16√−16 = 4i, x = (6 ± 4i)/2x = 3 ± 2i: never 13 m
    xroof 13 mx2− 6x + 13 = 0, discriminant −16√−16 = 4i, x = (6 ± 4i)/2x = 3 ± 2i: never 13 m
    (a) The roots 3 ± 2i are not real, so no point of the jet is 13 m high.
  4. 4.Complete the square: 6x − x2 = 9 − (x − 3)2, and (x − 3)2 is never negative when x is real.

    xroof 13 mx2− 6x + 13 = 0, discriminant −16√−16 = 4i, x = (6 ± 4i)/2x = 3 ± 2i: never 13 mh = 9 − (x − 3)2
    xroof 13 mx2− 6x + 13 = 0, discriminant −16√−16 = 4i, x = (6 ± 4i)/2x = 3 ± 2i: never 13 mh = 9 − (x − 3)2
    Completing the square: the height is 9 minus a square that is never negative.
  5. 5.(b) The greatest height is 9 m, at x = 3, the real part of the roots. The jet stays 13 − 9 = 4 m below the roof, and 4 = 22 is the square of the imaginary part.

    xroof 13 m9 m4 mx2− 6x + 13 = 0, discriminant −16√−16 = 4i, x = (6 ± 4i)/2x = 3 ± 2i: never 13 mh = 9 − (x − 3)2top 9 m at x = 3, 4 m below the roof
    xroof 13 m9 m4 mx2− 6x + 13 = 0, discriminant −16√−16 = 4i, x = (6 ± 4i)/2x = 3 ± 2i: never 13 mh = 9 − (x − 3)2top 9 m at x = 3, 4 m below the roof
    (b) The top of the jet is 9 m, at x = 3, and 4 m below the roof: 4 = 22.

Answer: (a) x = 3 ± 2i: there is no real solution, so the jet never reaches the roof; (b) 9 m, at x = 3, which is 4 m below the roof

Common mistakes

  • Reading 3 ± 2i as distances of 3 m and 2 m. A root with an imaginary part is not a place on the floor: the equation has no real solution, and that is the answer to the architect's question.
  • Solving 6x − x2 = 0 instead. That gives where the jet comes down, x = 0 and x = 6, and says nothing about the roof.

More complex arithmetic problems, worked step by step →

Practice Complex Roots of a Quadratic in the app