Quadratic equations with complex roots · Mathematics Class 11–12 | StemPy Lab
Course 3.2·Lesson 3 of 3
Quadratic equations with complex roots
A quadratic with real coefficients and a negative discriminant has two complex roots, 2a−b±i−D
Lesson 3 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
When the discriminant is negative
Take ax2+bx+c=0 with real a, b, c and a=0. Its discriminant is D=b2−4ac. In Class 10, a negative D meant no real roots. Now we have i, and D=i−D. So the formula still works:
x=2a−b±i−Dwhen D<0.
Take x2−4x+13=0. Here D=16−52=−36, so D=6i. The roots are
x=24±6i=2±3i.
The parabola y=x2−4x+13 never meets the x-axis, so there is no real root. But the two complex roots are there, side by side on the Argand plane.
Two pictures side by side. Left: the parabola y = x² − 4x + 13 for x from −1 to 5. Its lowest point is (2, 9), so the curve stays above the x-axis and never meets it. Right: the Argand plane with the two roots of the equation, 2 + 3i above the real axis and 2 − 3i straight below it, joined by a dashed vertical line. They are mirror images in the real axis.
Start with c small, then raise it. The two real roots move together, meet, and then leave the axis as a mirror pair.
Why the roots come in pairs
Let p(z)=az2+bz+c with real a, b, c, and let p(α)=0. Take the conjugate of both sides. The rules for conjugates give
aαˉ2+bαˉ+c=0ˉ=0,
because aˉ=a, bˉ=b and cˉ=c. So αˉ is a root too. The same argument works for a polynomial of any degree with real coefficients.
Sum and product of the roots
The usual rules still hold. With roots α and αˉ:
the sum is α+αˉ=2×(real part of α)=−ab;
the product is ααˉ=∣α∣2=ac.
So a quadratic with leading coefficient 1 and one root α is
x2−2(real part of α)x+∣α∣2=0.
For example, if one root is 4−i, the equation is x2−8x+17=0.
A worked example
Let us solve 2x2+3x+4=0.
Step 1. The discriminant.D=9−4×2×4=9−32=−23.
Step 2. Its square root.−23=i23.
Step 3. The roots.x=4−3±i23, about −0.75±1.199i.
Step 4. Check. The sum is −23=−ab, and the product is 169+23=2=ac.
The square root of a complex number
What are the square roots of 5+12i? Look for x+iy, with x and y real, such that (x+iy)2=5+12i. Expand and compare parts:
x2−y2=5,2xy=12.
Take moduli too: ∣x+iy∣2=∣5+12i∣, so x2+y2=13.
Step 1. Add and subtract.2x2=18 and 2y2=8, so x=±3 and y=±2.
Step 2. The signs.2xy=12 is positive, so x and y have the same sign.
Step 3. The roots.3+2i and −3−2i. Check: (3+2i)2=9+12i−4=5+12i.
In the same way, −8−6i has modulus 10. Then x2=1 and y2=9, with opposite signs, so its square roots are ±(1−3i).
Practise with new numbers
Try it in Python
The cmath module takes square roots of negative numbers. So one formula solves every quadratic. The program solves three and checks the sum and the product of the roots.
Common mistakes
Saying there is no solution. A negative D means no real root. There are still two complex roots.
Losing the i.−36 is 6i, not −6.
Dividing only one term. In 24±6i, divide both 4 and 6i by 2.
Ignoring the sign of 2xy. For a square root, the sign of the imaginary part decides whether x and y match.
Remember these
If D<0, the roots are 2a−b±i−D.
With real coefficients, complex roots come in conjugate pairs.
The sum of the roots is −ab, and the product is ac.
For a+ib, solve x2−y2=a, 2xy=b and x2+y2=a2+b2.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Solve x2+2x+2=0.
Kiran says that 3+5i solves a quadratic whose coefficients are all real. Name its other root.
Find the square roots of 2i.
Can a quadratic with real coefficients have the roots 2+i and 3−i?
Find the discriminant of x2+x+1=0, and the roots.
Enroll free in The Argand Plane and Quadratic Equations
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.