Quadratic functions are unique because they usually have two solutions (two values of the variable that make the equation true). These solutions are also called the roots or zeros of the equation.
This connects to the highest power in the equation: in a quadratic equation, the highest power of the variable is , so you can expect up to two solutions. In this chapter, you’ll learn how to find both solutions by factoring and by using the quadratic formula.
The quickest way to find the solutions to a quadratic equation is often to factor it into two sets of parentheses. However, not every quadratic can be factored nicely (or at all) using whole numbers. Refer to the chapter “Factorization of quadratics and cubics” for instructions on how to factor quadratic equations.
Once you’ve factored a quadratic into two parentheses, you find the solutions by setting each factor equal to zero and solving for . Use the example to see how this works.
Find the solutions to the equation:
Factoring this equation, we get:
Now set each factor equal to zero:
Then solve for in each equation:
These are the solutions to the equation: and .
Something important to note is that factoring is most useful when you can factor using whole numbers. So factoring isn’t always the best option. For example, the equation below is difficult to factor using whole numbers:
When factoring is difficult or messy, you use the quadratic formula.
The quadratic formula is a method that finds both solutions to any quadratic equation. It always works, but it usually takes longer than factoring. When factoring isn’t possible, this is the method you use.
The quadratic formula is
where , , and are the coefficients of the quadratic equation. Notice the plus-or-minus sign (). That symbol is what produces two solutions: you solve once using and once using .
Before using the quadratic formula, you need to identify the coefficients in standard form:
If a term is missing, its coefficient is . If a variable term is present but has no number written in front, its coefficient is .
Confirm this with the following example.
What are the coefficients , , and of the following equation?
Look at the coefficient of :
There is no term, so:
The constant term is:
Pay close attention to the negative sign from the subtraction. Do not drop negative signs! If you lose a negative sign, you’ll get the wrong answer.
Now use the coefficient values from the example above:
Substitute these values into the quadratic formula and simplify:
Now separate the to write both solutions:
Now solve the earlier example that was not easy to factor.
Find the solutions to this equation:
First, identify the coefficients to use in the quadratic formula. Then substitute, simplify, and solve for . Remember to split the into both a positive and a negative solution.
Quadratic formula:
Coefficients:
New quadratic formula:
Simplified formula:
Let’s go ahead and split up the plus-or-minus sign to get our solutions.
This is sufficient as an answer, but you may be asked to find the exact values by putting the expressions into your calculator and getting a decimal. Doing this, we get that and
It is possible to end up with a negative value inside the square root in the quadratic formula. In real numbers, square roots of negative numbers are not defined. In this situation, the solutions are imaginary roots.
For a review of imaginary numbers, see the chapter [Imaginary and complex numbers.]
Here is a reference to the quadratic formula for the examples below.
Please memorize the quadratic formula, as you will be expected to know it. Sometimes singing the formula to the tune of “Pop! Goes the Weasel” is helpful. Remember, you will need to use it when factorization is not possible. However, you may choose to use it every time.
Find the roots (solutions) of the equation:
Coefficients:
Quadratic formula with coefficients:
Simplified formula:
Split plus-or-minus sign:
Simplify for :
The roots of this equation are and .
What is the sum of the solutions to the following equation?
Factored equation:
Parentheses set equal to :
Solve for :
The question asks for the sum of the two solutions:
The sum of the two solutions is .
The real solutions (roots) of a quadratic equation can often be found by looking at its graph. The idea is simple: the real solutions are the -values where the curve intersects the -axis.
Quadratic equations graph as parabolas. Often, the parabola crosses the -axis twice, which gives two real solutions. This matches what you found earlier by solving the equation algebraically.
Look at the graph of below:

You can see that the curve intersects the -axis at and . Therefore, the solutions to the quadratic equation are:
Sometimes, however, a parabola does not touch the -axis at all. Every quadratic equation has two roots, but if the parabola doesn’t intersect the -axis, the roots are imaginary. Imaginary roots can’t be read from a graph; you find them by solving with the quadratic formula. See the “Imaginary and complex numbers” chapter for more help with negative values inside the square root.
Sign up for free to take 4 quiz questions on this topic