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:
Formulae and relationships
From the previous example we can derive a formula for the roots of a quadratic equation when the discriminant is negative:
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:
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.
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:
Chapters: Quadratic equations, The discriminant, Quadratic equations with a parameter, Quadratic equations with complex solutions