Complex Roots of Quadratics

Learning goals

  • Convert to ii-form, then run the quadratic formula through a negative discriminant
  • Prove the conjugate root theorem for real coefficients
  • Read the shared real part as the axis of symmetry
  • Rebuild the monic quadratic from one non-real root
  • Factor every quadratic over the complex numbers

Square roots of negative numbers, pinned down

The Imaginary Unit and Complex Numbers lesson already answered the question the real numbers could not: for any positive real kk, the negative number −k-k has exactly two square roots, iki\sqrt{k} and −ik-i\sqrt{k}, and the radical symbol −k\sqrt{-k} names the choice iki\sqrt{k}, the same convention that makes 9\sqrt{9} mean 33 rather than −3-3. So −16=4i\sqrt{-16} = 4i, and the other root, −4i-4i, is never lost: the ±\pm in the quadratic formula supplies it, exactly as it supplied −3-3 alongside 33 in the real case.

One habit from that lesson is worth repeating here, because everything below leans on it: convert every −k\sqrt{-k} to ii-form before doing any radical arithmetic. The familiar rule a⋅b=ab\sqrt{a}\cdot\sqrt{b} = \sqrt{ab} holds only for non-negative aa and bb, and multiplying negative radicals directly, without converting first, gives the wrong sign.

Check your understanding

A quadratic's discriminant comes out to Δ=−63\Delta = -63. What is Δ\sqrt{\Delta}, ready to substitute into the quadratic formula?

Answer choices

The formula runs to completion

Return to the derivation of the quadratic formula. Completing the square on ax2+bx+c=0ax^2 + bx + c = 0 reached the line

(x+b2a)2=Δ4a2,Δ=b2−4ac,\left(x + \frac{b}{2a}\right)^2 = \frac{\Delta}{4a^2}, \qquad \Delta = b^2 - 4ac,

and in Chapter 4 the case Δ<0\Delta < 0 stopped there: no real square could equal a negative number. Now nothing stops. Try it on a specific equation first.

Worked example 1 The discriminant is negative; solve anyway

Solve x2−6x+13=0x^2 - 6x + 13 = 0.

Here a=1a = 1, b=−6b = -6, c=13c = 13, so the discriminant is

Δ=(−6)2−4(1)(13)=36−52=−16.\Delta = (-6)^2 - 4(1)(13) = 36 - 52 = -16.

In Chapter 4 this was the end: no real solutions. Now read −16=4i\sqrt{-16} = 4i and keep going:

x=6±−162=6±4i2=3±2i.x = \frac{6 \pm \sqrt{-16}}{2} = \frac{6 \pm 4i}{2} = 3 \pm 2i.

The two roots are 3+2i3 + 2i and 3−2i3 - 2i, a conjugate pair with real part on the axis x=3x = 3. A root this surprising deserves a direct check. Substitute x=3+2ix = 3 + 2i, using (3+2i)2=9+12i+4i2=5+12i(3 + 2i)^2 = 9 + 12i + 4i^2 = 5 + 12i:

(5+12i)−6(3+2i)+13=5+12i−18−12i+13=0.(5 + 12i) - 6(3 + 2i) + 13 = 5 + 12i - 18 - 12i + 13 = 0.

It works, with the imaginary parts canceling on their own. The conjugate 3−2i3 - 2i checks the same way, with every ii replaced by −i-i throughout.

Nothing about x2−6x+13x^2 - 6x + 13 was special. The same two moves, read Δ\sqrt{\Delta} as i∣Δ∣i\sqrt{|\Delta|} and let the ±\pm do the rest, finish every quadratic with Δ<0\Delta < 0. Here is why, stated in general.

A negative discriminant produces the pair p±qip \pm qi#

Suppose aa, bb, cc are real, a≠0a \ne 0, and Δ=b2−4ac<0\Delta = b^2 - 4ac < 0. Write ∣Δ∣=4ac−b2|\Delta| = 4ac - b^2, which is a positive real number, so the right side above is the negative real −∣Δ∣4a2-\dfrac{|\Delta|}{4a^2}.

By the opening section, a negative real has exactly two square roots, and here they are ± i ∣Δ∣2∣a∣\pm\, i\,\dfrac{\sqrt{|\Delta|}}{2|a|}, since squaring either one gives −∣Δ∣4a2-\dfrac{|\Delta|}{4a^2}. The ±\pm already supplies both signs, so replacing 2∣a∣2|a| by 2a2a merely trades which sign is which, exactly as in the real derivation. Therefore

x+b2a=± i 4ac−b22a,x + \frac{b}{2a} = \pm\, i\,\frac{\sqrt{4ac - b^2}}{2a},

and subtracting b2a\tfrac{b}{2a} gives the two solutions

x=−b2a  ±  4ac−b22a i.x = -\frac{b}{2a} \;\pm\; \frac{\sqrt{4ac - b^2}}{2a}\, i.

Both fractions are real numbers: the radicand 4ac−b24ac - b^2 is positive, so its real square root exists. Name them

p=−b2a,q=4ac−b22a,p = -\frac{b}{2a}, \qquad q = \frac{\sqrt{4ac - b^2}}{2a},

and the two roots are exactly p+qip + qi and p−qip - qi, with q≠0q \ne 0 because the radicand is strictly positive. In practice you do not re-derive this: you run the ordinary quadratic formula and read Δ\sqrt{\Delta} as i∣Δ∣i\sqrt{|\Delta|} the moment Δ\Delta is negative. The formula never needed changing; it needed numbers that could finish it.

Two features of that answer deserve a hard look. First, the real part p=−b2ap = -\tfrac{b}{2a} is the axis of symmetry, the same axis the real roots straddled in Chapter 4, and it is exactly the 33 that Example 1 found. Second, the two roots have the same real part and opposite imaginary parts, so each is the conjugate of the other, as 3+2i3 + 2i and 3−2i3 - 2i were. That is not a small remark, and the next section proves it is no accident of the formula.

The left graph below and the right graph are two different pictures of the same equation, not one picture: the left one plots yy against xx, and no point on that curve has an imaginary part. The right one plots the complex plane, where the axes are the real and imaginary parts of a root, not xx and yy. The only thing the two pictures share is the number 33, the parabola’s axis of symmetry and the roots’ common real part.

No real crossing, yet two complex rootsLeft, the parabola for x squared minus 6x plus 13, with vertex above the x-axis, never touching it. Right, the complex plane with the conjugate pair 3 plus 2i and 3 minus 2i reflected across the real axis.xx = 3no real crossingReIm3 + 2i3 − 2ireal part 3a conjugate pair
The equation x^2 - 6x + 13 = 0, seen two ways. On the real x-y plane the parabola never meets the x-axis, so it has no real root. That is a different picture from the complex plane, where the two roots 3 + 2i and 3 - 2i sit at real part 3, mirror images of each other across the real axis.

Worked example 2 A leading coefficient and fraction roots

Solve 4x2−8x+13=04x^2 - 8x + 13 = 0.

With a=4a = 4, b=−8b = -8, c=13c = 13,

Δ=(−8)2−4(4)(13)=64−208=−144,−144=12i.\Delta = (-8)^2 - 4(4)(13) = 64 - 208 = -144, \qquad \sqrt{-144} = 12i.

Now apply the formula, and divide both terms of the numerator by the full denominator 2a=82a = 8:

x=8±12i8=1±32 i.x = \frac{8 \pm 12i}{8} = 1 \pm \frac{3}{2}\,i.

Here p=1p = 1 and q=32q = \tfrac{3}{2}. Sanity checks are cheap and worth the seconds: the real part 11 should be the axis −b2a=88=1-\tfrac{b}{2a} = \tfrac{8}{8} = 1, and it is. Leaving the answer as 8±12i8\tfrac{8 \pm 12i}{8} unreduced, or dividing only the 88 and not the 12i12i, are the two standard ways this problem goes wrong.

Check your understanding

Solve x2+4x+5=0x^2 + 4x + 5 = 0.

Answer choices

Worked example 3 An irrational imaginary part

Solve x2+3x+3=0x^2 + 3x + 3 = 0.

The discriminant is Δ=32−4(1)(3)=9−12=−3\Delta = 3^2 - 4(1)(3) = 9 - 12 = -3, so −3=i3\sqrt{-3} = i\sqrt{3} and

x=−3±i32=−32±32 i.x = \frac{-3 \pm i\sqrt{3}}{2} = -\frac{3}{2} \pm \frac{\sqrt{3}}{2}\,i.

Both forms name the same pair; the second displays the real and imaginary parts p=−32p = -\tfrac{3}{2} and q=32q = \tfrac{\sqrt{3}}{2} explicitly. Nothing requires qq to be a whole number or even rational: the imaginary part inherits whatever radical ∣Δ∣\sqrt{|\Delta|} leaves behind, exactly as irrational real roots did in Chapter 4.

For real coefficients, non-real roots always arrive in conjugate pairs

The formula handed us conjugate pairs, but that could in principle be a habit of the formula rather than a law of the equations. It is a law. Real coefficients alone force it, by an argument that never mentions the quadratic formula and will survive, word for word, for polynomials of every degree.

The conjugate root theorem for quadratics#

Let aa, bb, cc be real with a≠0a \ne 0, and suppose the complex number zz satisfies az2+bz+c=0az^2 + bz + c = 0. We claim z‾\overline{z} satisfies it too.

An earlier lesson already proved that conjugation passes through both addition and multiplication, w+v‾=w‾+v‾\overline{w + v} = \overline{w} + \overline{v} and wv‾=w‾ v‾\overline{wv} = \overline{w}\,\overline{v}, and that a real number is its own conjugate. Those two facts are all this proof needs, applied to z2=z⋅zz^2 = z \cdot z in particular.

Now conjugate the whole equation az2+bz+c=0az^2 + bz + c = 0. The right side is real, so it conjugates to itself, 0‾=0\overline{0} = 0. The left side is a sum of products, so the conjugate passes through every join, and the real coefficients aa, bb, cc come through unchanged:

0=az2+bz+c‾=a‾ z‾ 2+b‾ z‾+c‾=az‾ 2+bz‾+c.0 = \overline{az^2 + bz + c} = \overline{a}\,\overline{z}^{\,2} + \overline{b}\,\overline{z} + \overline{c} = a\overline{z}^{\,2} + b\overline{z} + c.

That last expression is the original quadratic evaluated at z‾\overline{z}, and it equals 00, so z‾\overline{z} is a root.

Check your understanding

Which of these correctly summarizes why z‾\overline{z} must also satisfy az2+bz+c=0az^2 + bz + c = 0, given that zz satisfies it and aa, bb, cc are real?

Answer choices

Read the theorem’s fine print, because both halves of it matter. When zz is real, z‾=z\overline{z} = z and the statement says nothing new; its full force is for non-real roots, which it forbids from ever appearing alone. A quadratic with real coefficients therefore has exactly three possible root inventories: two distinct real roots, one repeated real root, or a conjugate pair off the real line. “One real root and one non-real root” is not on the list, for any real coefficients whatsoever. And the hypothesis is not decoration: the quadratic x2−2ix−1=(x−i)2x^2 - 2ix - 1 = (x - i)^2 has the double root ii, and its conjugate −i-i is not a root at all. No contradiction, because the coefficient −2i-2i is not real. State the theorem with its hypothesis attached, every time.

Check your understanding

A quadratic with real coefficients has 5+2i5 + 2i as one root. What is the other root, and what does that make the graph's axis of symmetry?

Answer choices

Sum and product still tell the truth

Chapter 4 closed with the relations r1+r2=−bar_1 + r_2 = -\tfrac{b}{a} and r1r2=car_1 r_2 = \tfrac{c}{a}, but the proof there leaned on a factorization over the reals, which assumed the roots were real. Do the relations survive the move off the real line? They do, and the cleanest way to see it is to compute both quantities straight from the pair p±qip \pm qi. The sum is immediate, because the imaginary parts cancel:

(p+qi)+(p−qi)=2p=2(−b2a)=−ba.(p + qi) + (p - qi) = 2p = 2\left(-\frac{b}{2a}\right) = -\frac{b}{a}.

The product is a conjugate product, the difference of squares in disguise:

(p+qi)(p−qi)=p2−(qi)2=p2−q2i2=p2+q2,(p + qi)(p - qi) = p^2 - (qi)^2 = p^2 - q^2 i^2 = p^2 + q^2,

and substituting the formulas for pp and qq collapses it to a single fraction:

p2+q2=b24a2+4ac−b24a2=4ac4a2=ca.p^2 + q^2 = \frac{b^2}{4a^2} + \frac{4ac - b^2}{4a^2} = \frac{4ac}{4a^2} = \frac{c}{a}.

Both relations hold verbatim, so everything you learned to do with sums and products of roots still works when the roots are complex. The previous lesson measured a complex number’s distance from the origin by its modulus, with ∣z∣2=p2+q2|z|^2 = p^2 + q^2, so the product you just computed is exactly the squared modulus of either root:

r1r2=∣z∣2=ca.r_1 r_2 = |z|^2 = \frac{c}{a}.

The practical payoff is reconstruction. One non-real root of a real quadratic determines everything, because the conjugate theorem hands you the other root, and then the sum and product hand you the coefficients. A monic quadratic with roots p±qip \pm qi must be

x2−(sum) x+(product)=x2−2p x+(p2+q2).x^2 - (\text{sum})\,x + (\text{product}) = x^2 - 2p\,x + \left(p^2 + q^2\right).

Worked example 4 Rebuild the quadratic from one root

A monic quadratic with real coefficients has 2+i52 + i\sqrt{5} as one of its roots. Find the quadratic.

Real coefficients force the other root to be the conjugate, 2−i52 - i\sqrt{5}. Now compute the sum and the product. The sum is 2p=42p = 4. The product is the squared modulus:

(2+i5)(2−i5)=22+(5)2=4+5=9.\left(2 + i\sqrt{5}\right)\left(2 - i\sqrt{5}\right) = 2^2 + \left(\sqrt{5}\right)^2 = 4 + 5 = 9.

The monic quadratic with that sum and product is

x2−4x+9=0.x^2 - 4x + 9 = 0.

Verify by solving it: Δ=16−36=−20\Delta = 16 - 36 = -20, so x=4±2i52=2±i5x = \tfrac{4 \pm 2i\sqrt{5}}{2} = 2 \pm i\sqrt{5}, recovering the given root and its conjugate. One complex root pinned down the entire equation, up to an overall scalar.

Check your understanding

A monic quadratic with real coefficients has 6+i6 + i as one root. Which equation is it?

Answer choices

Every quadratic factors completely now

The factoring lesson in Chapter 4 insisted that “factors” is meaningless until you name the number system. Over the reals a quadratic with Δ<0\Delta < 0 is genuinely irreducible: no real roots, so no real linear factors. Over the complex numbers the last holdouts fall.

For any two roots r1r_1 and r2r_2 of ax2+bx+cax^2 + bx + c, real or not, the sum and product relations turn a(x−r1)(x−r2)=a(x2−(r1+r2)x+r1r2)a(x - r_1)(x - r_2) = a\left(x^2 - (r_1 + r_2)x + r_1 r_2\right) straight back into ax2+bx+cax^2 + bx + c, so a(x−r1)(x−r2)a(x - r_1)(x - r_2) is always the factored form. Chapter 4 already showed this when the roots are real. When they are the non-real conjugate pair zz and z‾\overline{z}, it is the identity just proved:

a(x−z)(x−z‾)=a(x2−(z+z‾)x+zz‾)=a(x2−(−ba)x+ca)=ax2+bx+c.\begin{aligned} a(x - z)(x - \overline{z}) &= a\left(x^2 - \left(z + \overline{z}\right)x + z\overline{z}\right) \\ &= a\left(x^2 - \left(-\frac{b}{a}\right)x + \frac{c}{a}\right) = ax^2 + bx + c. \end{aligned}

The simplest cases are the most striking: x2+25=x2−(5i)2=(x−5i)(x+5i)x^2 + 25 = x^2 - (5i)^2 = (x - 5i)(x + 5i) is a difference of squares in disguise, and x2−4x+5x^2 - 4x + 5, irreducible over the reals, factors as (x−2−i)(x−2+i)(x - 2 - i)(x - 2 + i).

Step back and look at what happened to the discriminant’s trichotomy for a quadratic with real coefficients. Over the reals it counted roots: two, one, or none. Over the complex numbers the count is always the same, exactly two roots counted with multiplicity, and the discriminant’s job shrinks to saying where they live. If Δ>0\Delta > 0 they sit at two points of the real line; if Δ=0\Delta = 0 they coincide at one real point, giving the repeated factor a(x−r)2a(x - r)^2. If Δ<0\Delta < 0 they leave the line and stand as a conjugate pair, one above it and one below. Nothing is ever missing: this is the degree-two case of the Fundamental Theorem of Algebra, which a later chapter states for every degree.

Check your understanding

Factor x2−4x+13x^2 - 4x + 13 over the complex numbers.

Answer choices

Worked example 5 Designing the root type

For which real values of kk does x2+kx+9=0x^2 + kx + 9 = 0 have a conjugate pair of non-real roots?

Non-real roots happen exactly when the discriminant is negative. With a=1a = 1, b=kb = k, c=9c = 9,

Δ=k2−36<0⟺k2<36⟺−6<k<6,\Delta = k^2 - 36 < 0 \quad\Longleftrightarrow\quad k^2 < 36 \quad\Longleftrightarrow\quad -6 < k < 6,

solving the quadratic inequality as in Chapter 4. This is the same equation whose knife edge you found in the Quadratic Formula lesson: there, k=±6k = \pm 6 produced the single repeated root. Now the whole design space is mapped. For −6<k<6-6 < k < 6 the roots are the conjugate pair −k2±36−k22 i-\tfrac{k}{2} \pm \tfrac{\sqrt{36 - k^2}}{2}\,i; at k=±6k = \pm 6 they merge into the double root ∓3\mp 3; and for ∣k∣>6|k| > 6 they separate along the real line. As kk sweeps through, the two roots move continuously, meeting on the axis and then splitting off it. No value of kk leaves the equation rootless.

Common mistakes

Practice

Multiple Choice Questions (MCQ)

Progressively harder sets of questions. Each opens on its own page.

Core practice

Practice problems at the level of the course, to be worked out on paper. Hints one at a time, then the answer or the full worked solution, with your progress kept in this browser.

Core practice Work it out on paper 10 problems Start →
More practice (optional)

Extra sets, as hard as the Challenge set. Each one opens on its own page.

More resources (optional)

Other explanations of this lesson, if you want a second take.

Go deeper (optional)

You can skip this and keep going. Read it if you want to know more.

What the sum and product also tell you

The product r1r2=p2+q2r_1 r_2 = p^2 + q^2 is a sum of two real squares, and q≠0q \ne 0 whenever the roots are non-real, so that sum is strictly positive. Two extra facts follow for free.

First, a sign fact about the coefficients: since r1r2=car_1 r_2 = \tfrac{c}{a}, a positive product forces ca>0\tfrac{c}{a} > 0, so aa and cc must share a sign whenever a real quadratic has non-real roots. That agrees with the discriminant condition, since b2<4acb^2 < 4ac already forces ac>b24≥0ac > \tfrac{b^2}{4} \ge 0.

Second, a geometric fact: the previous lesson’s modulus formula makes r1r2r_1 r_2 the squared distance of either root from the origin of the complex plane. For a monic quadratic x2+bx+cx^2 + bx + c with non-real roots, that means each root sits at distance c\sqrt{c} from the origin. The coefficients were carrying geometry the whole time.

A bit of history (optional)

Some insults harden into ordinary technical terms. This is one of them.

By the 1630s algebra had noticed an odd gap in the counting of roots. A quadratic ought to deliver two, a cubic three, a quartic four. The count kept coming up short, because certain roots were no measured amount at all. Gerolamo Cardano had already met such a pair in 1545. He split 1010 into two parts whose product is 4040, then walked away calling the answer useless.

Rene Descartes, the philosopher who rebuilt geometry on coordinates, named that gap in 1637. An equation has as many roots as its degree, he wrote, but some are merely imagined. He meant it as an insult. A genuine root you can locate on a line, while an imagined one was, he supposed, a piece of bookkeeping that kept the count tidy.

The word survived, and it has misled students ever since. Nothing about 5+2i5 + 2i is imagined. It is as solid as 2\sqrt{2}, and you can add it, multiply it, and return it to the equation. The adjective carries an old opinion, not a property of the number.

What Descartes called imagined, you now know how to find, check, and put to use. It is as ordinary a number as any he trusted.