Solve Quadratic Equations by Completing the Square
So far we have solved quadratic equations by factoring and using the Square Root Property. In this section, we will solve quadratic equations by a process called completing the square, which is important for our work on conics later.
Complete the square of a binomial expression
In the last section, we were able to use the Square Root Property to solve the equation because the left side was a perfect square.
We also solved an equation in which the left side was a perfect square trinomial, but we had to rewrite it in the form in order to use the Square Root Property.
What happens if the variable is not part of a perfect square? Can we use algebra to make a perfect square? Let’s look at two examples to help us recognize the patterns.
We restate the patterns here for reference.
Binomial Squares Pattern. If and are real numbers,
We can use this pattern to “make” a perfect square.
We will start with the expression . Since there is a plus sign between the two terms, we will use the pattern, .
We ultimately need to find the last term of this trinomial that will make it a perfect square trinomial. To do that, we will need to find . But first we start with determining . Notice that the first term of is a square, . This tells us that .
What number, , when multiplied with gives ? It would have to be 3, which is . So .
Now to complete the perfect square trinomial, we will find the last term by squaring , which is .
We can now factor.
So we found that adding 9 to “completes the square,” and we write it as .
Complete a square of .
- Identify , the coefficient of .
- Find , the number to complete the square.
- Add the to .
- Factor the perfect square trinomial, writing it as a binomial squared.
Example. Complete the square to make a perfect square trinomial. Then write the result as a binomial squared.
(a) (b) (c)
For (a), the coefficient of is .
For (b), the coefficient of is .
For (c), the coefficient of is .
Complete the square for . Enter the resulting binomial squared.
Take half of the coefficient of , square it, and factor the resulting perfect square trinomial.Complete the square for . Enter the resulting binomial squared.
Take half of , square it, and factor the resulting perfect square trinomial.Complete the square for . Enter the resulting binomial squared.
Take half of , square it, and factor the resulting perfect square trinomial.Solve quadratic equations of the form by completing the square
In solving equations, we must always do the same thing to both sides of the equation. This is true, of course, when we solve a quadratic equation by completing the square too. When we add a term to one side of the equation to make a perfect square trinomial, we must also add the same term to the other side of the equation.
For example, if we start with the equation , and we want to complete the square on the left, we will add 9 to both sides of the equation.
Now the equation is in the form to solve using the Square Root Property! Completing the square is a way to transform an equation into the form we need to be able to use the Square Root Property.
Example. How to solve a quadratic equation of the form by completing the square. Solve by completing the square: .
Check the solutions in the original equation.
Solve by completing the square: . Enter both solutions, separated by commas.
Add 4 to both sides so the left side becomes .Solve by completing the square: . Enter both solutions, separated by commas.
Add 25 to both sides so the left side becomes .The steps to solve a quadratic equation by completing the square are listed here.
Solve a quadratic equation of the form by completing the square.
- Isolate the variable terms on one side and the constant terms on the other.
- Find , the number needed to complete the square. Add it to both sides of the equation.
- Factor the perfect square trinomial, writing it as a binomial squared on the left and simplify by adding the terms on the right.
- Use the Square Root Property.
- Simplify the radical and then solve the two resulting equations.
- Check the solutions.
When we solve an equation by completing the square, the answers will not always be integers.
Example. Solve by completing the square: .
The two solutions are and . We leave the check to you.
Solve by completing the square: . Enter both solutions, separated by commas.
Add 25 to both sides, then use .Solve by completing the square: . Enter both solutions, separated by commas.
Add 16 to both sides, then use the Square Root Property.In the previous example, our solutions were complex numbers. In the next example, the solutions will be irrational numbers.
Example. Solve by completing the square: .
Check:
Another way to check this would be to use a calculator. Evaluate for both of the solutions. The answer should be .
Solve by completing the square: . Enter both solutions, separated by commas.
Add 64 to both sides and simplify the radical.Solve by completing the square: . Enter both solutions, separated by commas.
Add 16 to both sides and simplify .We will start the next example by isolating the variable terms on the left side of the equation.
Example. Solve by completing the square: .
Check:
Solve by completing the square: . Enter both solutions, separated by commas.
First isolate , then complete the square.Solve by completing the square: . Enter both solutions, separated by commas.
First isolate , then add 16 to both sides.To solve the next equation, we must first collect all the variable terms on the left side of the equation. Then we proceed as we did in the previous examples.
Example. Solve by completing the square: .
The two solutions are and . We leave the check for you!
Solve by completing the square: . Enter both solutions, separated by commas.
Rewrite as , then add to both sides.Solve by completing the square: . Enter both solutions, separated by commas.
Rewrite as , then add to both sides.Notice that the left side of the next equation is in factored form. But the right side is not zero. So, we cannot use the Zero Product Property since it says “If , then or .” Instead, we multiply the factors and then put the equation into standard form to continue by completing the square.
Example. Solve by completing the square: .
We leave the check for you!
Solve by completing the square: . Enter both solutions, separated by commas.
Multiply the binomials, isolate the variable terms, and complete the square.Solve by completing the square: . Enter both solutions, separated by commas.
Multiply the binomials, isolate the variable terms, and complete the square.Solve quadratic equations of the form by completing the square
The process of completing the square works best when the coefficient of is 1, so the left side of the equation is of the form . If the term has a coefficient other than 1, we take some preliminary steps to make the coefficient equal to 1.
Sometimes, the coefficient can be factored from all three terms of the trinomial. This will be our strategy in the next example.
Example. Solve by completing the square: .
To complete the square, we need the coefficient of to be one. If we factor out the coefficient of as a common factor, we can continue with solving the equation by completing the square.
Check:
Solve by completing the square: . Enter both solutions, separated by commas.
First divide the equation by 2, then complete the square.Solve by completing the square: . Enter both solutions, separated by commas.
Move the constant term, divide by 4, and complete the square.To complete the square, the coefficient of the must be 1. When the leading coefficient is not a factor of all the terms, we will divide both sides of the equation by the leading coefficient! This will give us a fraction for the second coefficient. We have already seen how to complete the square with fractions in this section.
Example. Solve by completing the square: .
To complete the square we need the coefficient of to be one. We will divide both sides of the equation by the coefficient of . Then we can continue with solving the equation by completing the square.
We leave the check for you!
Solve by completing the square: . Enter both solutions, separated by commas.
Divide both sides by 3, then complete the square.Solve by completing the square: . Enter both solutions, separated by commas.
Divide both sides by 4, then complete the square.Now that we have seen that the coefficient of must be 1 for us to complete the square, we update our procedure for solving a quadratic equation by completing the square to include equations of the form .
Solve a quadratic equation of the form by completing the square.
- Divide by to make the coefficient of the term 1.
- Isolate the variable terms on one side and the constant terms on the other.
- Find , the number needed to complete the square. Add it to both sides of the equation.
- Factor the perfect square trinomial, writing it as a binomial squared on the left and simplify by adding the terms on the right.
- Use the Square Root Property.
- Simplify the radical and then solve the two resulting equations.
- Check the solutions.
Example. Solve by completing the square: .
Again, our first step will be to make the coefficient of one. By dividing both sides of the equation by the coefficient of , we can then continue with solving the equation by completing the square.
The two solutions are and . We leave the check for you!
Solve by completing the square: . Enter both solutions, separated by commas.
Divide by 4, complete the square, and simplify the resulting radical.Solve by completing the square: . Enter both solutions, separated by commas.
Divide by 3, complete the square, and simplify the radical.Key terms
completing the square — a process used to make a perfect square trinomial, which transforms a quadratic equation into a form that can be solved using the Square Root Property.
This section is adapted from Intermediate Algebra 2e, Section 9.2: Solve Quadratic Equations by Completing the Square by Lynn Marecek and Andrea Honeycutt Mathis, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: reformatted worked-example steps as accessible typeset mathematics; omitted the Be Prepared quiz, media links, and end-of-section exercises; and converted the practice problems (“Try Its”) into interactive exercises with instant feedback.