✖

Quadratic equations with complex solutions

If you get a negative discriminant when solving a quadratic equation, the equation has no solution in the real numbers. However, the equation always has a solution in the complex numbers.

Motivation

Let’s try to solve the quadratic equation x2 + 2x + 5 = 0. First we work out the discriminant: D = 4 − 20 = −16. As we already know, this equation has no solution in the real numbers. The advantage of complex numbers, though, is that they let us take the square root of a negative number too. Since i2 = −1, we can rewrite our discriminant as −16 = 16i2. Now we can take its square root and get 4i. We work out the solutions of the quadratic equation:

x1=−2+16i22=−2+4i2=2(−1+2i)2=2i−1.

x2=−2−16i22=−2−4i2=2(−1−2i)2=−2i−1.

Formulae and relationships

From the previous example we can derive a formula for the roots of a quadratic equation when the discriminant is negative:

x1,2=−b±i|D|2a.

It follows that every quadratic equation has a solution. If the discriminant is not negative, the real numbers are enough; if it is negative, we must solve the equation in the complex numbers. In general, we can say that every quadratic equation has a solution in the complex numbers.

The formulae for the sum and product of roots also hold for these complex roots. First the derivation for the sum:

x1+x2=−b+i|D|2a+−b−i|D|2a=−b+i|D|−b−i|D|2a=−2b2a=−ba

And now for the product. We use the fact that the discriminant is negative, and because we need to take its square root, we work with minus D, which gives a positive number. So instead of |D| we write −D; the result is the same.

x1⋅x2=−b+i−D2a⋅−b−i−D2a=b2+b⋅i−D−b⋅i−D−(−D)i24a2=b2+Di24a2=b2−D4a2=b2−(b2−4ac)4a2=4ac4a2=ca

Example

Solve the quadratic equation 2x2 + 6x + 9 = 0. We work out the discriminant: D = 36 − 72 = −36. It is negative, so we use the formula for complex roots and just substitute:

x1=−b+i|D|2a=−6+i364=−6+6i4=3(i−1)2=−32+3i2

x2=−b−i|D|2a=…=−32−3i2

Chapters: Quadratic equations, The discriminant, Quadratic equations with a parameter, Quadratic equations with complex solutions