In this explainer, we will learn how to solve quadratic equations with complex coefficients using the quadratic formula.

From the fundamental theorem of algebra, we know that any quadratic will have two roots. For quadratic equations with real coefficients, the conjugate root theorem tells us that if it has any nonreal root, its roots will be a complex conjugate pair, whereas if it has real roots, it could either have two distinct real roots or a single repeated root. To distinguish between these three different cases, we use the discriminant.

### Discriminant

The discriminant of a quadratic equation is defined as . Often is used to denote the discriminant.

Using the discriminant, we identify the three different cases of quadratic equations as follows.

**Positive discriminant**: , two real roots**Zero discriminant**: , one repeated real root**Negative discriminant**: , complex conjugate roots

The graphs below depict each case.

In this explainer, we will relax the condition that the quadratic equation has real coefficients and explore what we can conclude about the roots of quadratic equations with complex coefficients.

Let us consider how to solve a general quadratic equation where . We start by dividing the equation by , which gives

We can now complete the square

Rearranging, we get

All of the steps we have taken up to this point are equally valid whether , , and are real or imaginary. The next step, where we take the square root, is something we might need to be careful with, since taking roots of a complex number returns multiple values. However, let us consider the case of a general complex number . Using de Moivre’s theorem, the two possible square roots of this number are and . Considering the second root , we have

Using the properties of exponential functions, we can express this as

However, courtesy of the Euler’s identity, we know ; therefore,

Therefore, in the same way that we take both the positive and negative roots for real numbers, we can find a root of a complex number using de Moirve’s theorem, and then the second root will be its negative. Hence, returning to equation (1), we can take square roots and consider both the positive and negative values, which gives

Therefore,

Hence, even for quadratics with complex coefficients, we can use the quadratic formula, although we might need to appeal to de Moirve’s theorem to calculate the value of the square root of the discriminant for nonreal numbers.

In the first couple of examples, we will consider the special case where, in spite of the fact that we have some nonreal coefficients, the discriminant is still a real number.

### Example 1: Nonreal Quadratic Equations with Real Negative Discriminants

Solve .

### Answer

Using the quadratic formula we have

Hence, and are the solutions of the equation.

Notice that in the previous example, in spite of the fact that we had a negative discriminant, the two solutions are not a complex conjugate pair. Hence, the rule regarding a negative discriminant does not simply generalize to equations with complex coefficients.

### Example 2: Nonreal Quadratic Equations with Real Positive Discriminants

Solve .

### Answer

Using the quadratic formula we have

Hence, and are the solutions of the equation.

In the previous example, we had a positive discriminant; however, the two solutions are not real. Therefore, the rule regarding the positive discriminant does not simply generalize to equations with complex coefficients.

### Example 3: Nonreal Quadratic Equations with Real Discriminants

Solve .

### Answer

Applying the quadratic formula we have

Taking the 4 out of the square root, we have

Canceling the factor of 2 in the numerator and denominator, we have

Notice also that . Hence, is twice the complex number times its conjugate. Therefore, , and thus

Multiplying both the numerator and denominator by the complex conjugate of the denominator gives

Hence, and are the solutions of the equation.

Notice that, unlike the first two examples, the two roots in the previous examples do not lie on a vertical or horizontal line in the complex plane. The following figures represent the graph of the modulus of each equation plotted above the complex plane. The two points where the graph meets the complex plane are the roots of the equations.