### Learning Outcomes

- Find the complex roots of a quadratic function using the quadratic formula
**.** - Use the discriminant to determine whether a quadratic function has real or complex roots.

## Complex Roots

Now you will hopefully begin to understand why we introduced complex numbers at the beginning of this module. Consider the following function: [latex]f(x)=x^2+2x+3[/latex], and it’s graph below:

Does this function have roots? It’s probably obvious that this function does not cross the [latex]x[/latex]-axis, therefore it doesn’t have any [latex]x[/latex]-intercepts. Recall that the [latex]x[/latex]-intercepts of a function are found by setting the function equal to zero:

[latex]x^2+2x+3=0[/latex]

In the next example we will solve this equation. You will see that there are roots, but they are not [latex]x[/latex]-intercepts because the function does not contain [latex](x,y)[/latex] pairs that are on the [latex]x[/latex]-axis. We call these complex roots.

By setting the function equal to zero and using the quadratic formula to solve, you will see that the roots are complex numbers.

### Example

Find the [latex]x[/latex]-intercepts of the quadratic function. [latex]f(x)=x^2+2x+3[/latex]

### Try It

The following video gives another example of how to use the quadratic formula to find complex solutions to a quadratic equation.

## The Discriminant

The **quadratic formula** not only generates the solutions to a quadratic equation, it tells us about the nature of the solutions. When we consider the **discriminant**, or the expression under the radical, [latex]{b}^{2}-4ac[/latex], it tells us whether the solutions are real numbers or complex numbers, and how many solutions of each type to expect. In turn, we can then determine whether a quadratic function has real or complex roots. The table below relates the value of the discriminant to the solutions of a quadratic equation.

Value of Discriminant | Results |
---|---|

[latex]{b}^{2}-4ac=0[/latex] | One repeated rational solution |

[latex]{b}^{2}-4ac>0[/latex], perfect square | Two rational solutions |

[latex]{b}^{2}-4ac>0[/latex], not a perfect square | Two irrational solutions |

[latex]{b}^{2}-4ac<0[/latex] | Two complex solutions |

### A General Note: The Discriminant

For [latex]a{x}^{2}+bx+c=0[/latex], where [latex]a[/latex], [latex]b[/latex], and [latex]c[/latex] are real numbers, the **discriminant** is the expression under the radical in the quadratic formula: [latex]{b}^{2}-4ac[/latex]. It tells us whether the solutions are real numbers or complex numbers and how many solutions of each type to expect.

### Example

Use the discriminant to find the nature of the solutions to the following quadratic equations:

- [latex]{x}^{2}+4x+4=0[/latex]
- [latex]8{x}^{2}+14x+3=0[/latex]
- [latex]3{x}^{2}-5x - 2=0[/latex]
- [latex]3{x}^{2}-10x+15=0[/latex]

We have seen that a quadratic equation may have two real solutions, one real solution, or two complex solutions.

Let’s summarize how the discriminant affects the evaluation of [latex] \sqrt{{{b}^{2}}-4ac}[/latex], and how it helps to determine the solution set.

- If [latex]b^{2}-4ac>0[/latex], then the number underneath the radical will be a positive value. You can always find the square root of a positive, so evaluating the Quadratic Formula will result in two real solutions (one by adding the square root, and one by subtracting it).
- If [latex]b^{2}-4ac=0[/latex], then you will be taking the square root of 0, which is 0. Since adding and subtracting 0 both give the same result, the “[latex]\pm[/latex]” portion of the formula doesn’t matter. There will be one real repeated solution.
- If [latex]b^{2}-4ac<0[/latex], then the number underneath the radical will be a negative value. Since you cannot find the square root of a negative number using real numbers, there are no real solutions. However, you can use imaginary numbers. You will then have two complex solutions, one by adding the imaginary square root and one by subtracting it.

### Example

Use the discriminant to determine how many and what kind of solutions the quadratic equation [latex]x^{2}-4x+10=0[/latex] has.

### Try It