We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Study Guides > Intermediate Algebra

Quadratic Equations With Complex Solutions

Learning Outcomes

  • Use the quadratic formula to solve quadratic equations with complex solutions
  • Connect complex solutions with the graph of a quadratic function that does not cross the x-axis
We have seen two outcomes for solutions to quadratic equations; either there was one or two real number solutions. We have also learned that it is possible to take the square root of a negative number by using imaginary numbers. Having this new knowledge allows us to explore one more possible outcome when we solve quadratic equations. Consider this equation:

2x2+3x+6=02x^2+3x+6=0

Using the Quadratic Formula to solve this equation, we first identify a, b, and c.

a=2,b=3,c=6a = 2,b = 3,c = 6

We can place a, b and c into the quadratic formula and simplify to get the following result:

x=34+394,x=34394x=-\frac{3}{4}+\frac{\sqrt{-39}}{4}, x=-\frac{3}{4}-\frac{\sqrt{-39}}{4}

Up to this point, we would have said that 39\sqrt{-39} is not defined for real numbers and determine that this equation has no solutions.  But, now that we have defined the square root of a negative number, we can also define a solution to this equation as follows.

x=34+i394,x=34i394x=-\frac{3}{4}+i\frac{\sqrt{39}}{4}, x=-\frac{3}{4}-i\frac{\sqrt{39}}{4}

In this section we will practice simplifying and writing solutions to quadratic equations that are complex.  We will then present a technique for classifying whether the solution(s) to a quadratic equation will be complex, and how many solutions there will be.

In our first example, we will work through the process of solving a quadratic equation with complex solutions. Take note that we will be simplifying complex numbers, so if you need a review of how to rewrite the square root of a negative number as an imaginary number, now is a good time.

Example

Use the Quadratic Formula to solve the equation x2+2x=5x^{2}+2x=-5.

Answer: First write the equation in standard form. x2+2x=5x2+2x+5=0     a=1,b=2,c=5   \begin{array}{l}x^{2}+2x=-5\\x^{2}+2x+5=0\,\,\,\,\,\\\\a=1,b=2,c=5\,\,\,\end{array} x2   +   2x   +   5   =   0                                                ax2   +   bx   +   c   =   0 \begin{array}{r}{{x}^{2}}\,\,\,+\,\,\,2x\,\,\,+\,\,\,5\,\,\,=\,\,\,0\\\downarrow\,\,\,\,\,\,\,\,\,\,\,\,\,\,\downarrow\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\downarrow\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\\a{{x}^{2}}\,\,\,+\,\,\,bx\,\,\,+\,\,\,c\,\,\,=\,\,\,0\end{array} Substitute the values into the Quadratic Formula. x=b±b24ac2ax=2±(2)24(1)(5)2(1) x=\frac{-b\pm \sqrt{{{b}^{2}}-4ac}}{2a}\\x=\frac{-2\pm \sqrt{{{(2)}^{2}}-4(1)(5)}}{2(1)} Simplify, being careful to get the signs correct. x=2±4202 x=\frac{-2\pm \sqrt{4-20}}{2} Simplify some more. x=2±162 x=\frac{-2\pm \sqrt{-16}}{2} Simplify the radical, but notice that the number under the radical symbol is negative! The square root of 16−16 is imaginary. 16=4i \sqrt{-16}=4i. x=2±4i2 x=\frac{-2\pm 4i}{2} Separate and simplify to find the solutions to the quadratic equation. x=2+4i2=22+4i2=1+2iorx=24i2=222i422=12i\begin{array}{c}x=\frac{-2+4i}{2}=\frac{-2}{2}+\frac{4i}{2}=-1+2i\\\\\text{or}\\\\x=\frac{-2-4i}{2}=\frac{-2}{2}-\frac{2i}{4}\cdot \frac{2}{2}=-1-2i\end{array} Therefore, x=1+2ix=-1+2i or 12i-1-2i.

We can check these solutions in the original equation. Be careful when you expand the squares, and replace i2i^{2} with 1-1.
x=1+2ix2+2x=5(1+2i)2+2(1+2i)=514i+4i22+4i=514i+4(1)2+4i=5142=55=5\begin{array}{r}x=-1+2i\\x^{2}+2x=-5\\\left(-1+2i\right)^{2}+2\left(-1+2i\right)=-5\\1-4i+4i^{2}-2+4i=-5\\1-4i+4\left(-1\right)-2+4i=-5\\1-4-2=-5\\-5=-5\end{array} x=12ix2+2x=5(12i)2+2(12i)=51+4i+4i224i=51+4i+4(1)24i=5142=55=5\begin{array}{r}x=-1-2i\\x^{2}+2x=-5\\\left(-1-2i\right)^{2}+2\left(-1-2i\right)=-5\\1+4i+4i^{2}-2-4i=-5\\1+4i+4\left(-1\right)-2-4i=-5\\1-4-2=-5\\-5=-5\end{array}

Example

Use the quadratic formula to solve x2+x+2=0{x}^{2}+x+2=0.

Answer: First, we identify the coefficients: a=1,b=1a=1,b=1, and c=2c=2. Substitute these values into the quadratic formula. x=b±b24ac2a=(1)±(1)2(4)(1)(2)21=1±182=1±72=1±i72\begin{array}{l}x\hfill&=\frac{-b\pm \sqrt{{b}^{2}-4ac}}{2a}\hfill \\\hfill&=\frac{-\left(1\right)\pm \sqrt{{\left(1\right)}^{2}-\left(4\right)\cdot \left(1\right)\cdot \left(2\right)}}{2\cdot 1}\hfill \\\hfill&=\frac{-1\pm \sqrt{1 - 8}}{2}\hfill \\ \hfill&=\frac{-1\pm \sqrt{-7}}{2}\hfill \\\hfill&=\frac{-1\pm i\sqrt{7}}{2}\hfill \end{array} Now we can separate the expression 1±i72\frac{-1\pm i\sqrt{7}}{2} into two solutions: 12+i72-\frac{1}{2}+\frac{ i\sqrt{7}}{2} 12i72-\frac{1}{2}-\frac{ i\sqrt{7}}{2}   The solutions to the equation are x=12+i72x=\frac{-1}{2}+\frac{i\sqrt{7}}{2} and x=12i72x=\frac{-1}{2}-\frac{i\sqrt{7}}{2}. It is important that you separate the real and imaginary part as this is proper complex number form.

Now that we have had a little practice solving quadratic equations whose solutions are complex, we can explore a related feature of quadratic functions. Consider the following function: f(x)=x2+2x+3f(x)=x^2+2x+3.  Recall that the x-intercepts of a function are found by setting the function equal to zero:

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

The function now looks like the type of quadratic equations we have been solving. In the next example, we will solve this equation, then graph the original function and see that it has no x-intercepts.

Example

Find the x-intercepts of the quadratic function. f(x)=x2+2x+3f(x)=x^2+2x+3

Answer: The x-intercepts of the function f(x)=x2+2x+3f(x)=x^2+2x+3 are found by setting it equal to zero and solving for x since the y values of the x-intercepts are zero. First, identify a, b, c. x2+2x+3=0a=1,b=2,c=3\begin{array}{l}x^2+2x+3=0\\a=1,b=2,c=3\end{array} Substitute these values into the quadratic formula.

x=b±b24ac2a=2±224(1)(3)2(1)=2±4122=2±82=2±2i22=1±i2=1+i2,1i2\begin{array}{ll}x & =\frac{-b\pm \sqrt{{b}^{2}-4ac}}{2a} \\ & =\frac{-2\pm \sqrt{{2}^{2}-4(1)(3)}}{2(1)} \\ & =\frac{-2\pm \sqrt{4-12}}{2} \\ & =\frac{-2\pm \sqrt{-8}}{2} \\ & =\frac{-2\pm 2i\sqrt{2}}{2} \\ & =-1\pm i\sqrt{2} \\ &=-1+i\sqrt{2},-1-i\sqrt{2}\end{array}

The solutions to this equations are complex, therefore there are no x-intercepts for the function f(x)=x2+2x+3f(x)=x^2+2x+3 in the set of real numbers that can be plotted on the Cartesian Coordinate plane. The graph of the function is plotted on the Cartesian Coordinate plane below:
Graph of quadratic function with the following points (-1,2), (-2,3), (0,3), (1,6), (-3,6). Graph of quadratic function with no x-intercepts in the real numbers.
Note how the graph does not cross the x-axis; therefore, there are no real x-intercepts for this function.

The following video gives another example of how to use the quadratic formula to find solutions to a quadratic equation that has complex solutions. https://youtu.be/11EwTcRMPn8

Summary

Quadratic equations can have complex solutions. Quadratic functions whose graphs do not cross the x-axis will have complex solutions for f(x)=0f(x)=0.

Licenses & Attributions