11.3: Solve Quadratic Equations by Completing the Square
- Last updated
- Aug 24, 2020
- Save as PDF
- Page ID
- 49994
( \newcommand{\kernel}{\mathrm{null}\,}\)
Learning Objectives
By the end of this section, you will be able to:
- Complete the square of a binomial expression
- Solve quadratic equations of the form x2+bx+c=0 by completing the square
- Solve quadratic equations of the form ax2+bx+c=0 by completing the square
Before you get started, take this readiness quiz.
- Expand: (x+9)2.
If you missed this problem, review Example 5.32. - Factor y2−14y+49.
If you missed this problem, review Example 6.9. - Factor 5n2+40n+80.
If you missed this problem, review Example 6.14.
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 (y−7)2=12 because the left side was a perfect square.
(y−7)2=12y−7=±√12y−7=±2√3y=7±2√3
We also solved an equation in which the left side was a perfect square trinomial, but we had to rewrite it the form (x−k)2 in order to use the Square Root Property.
x2−10x+25=18(x−5)2=18
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.
(x+9)2(y−7)2(x+9)(x+9)(y−7)(y−7)x2+9x+9x+81y2−7y−7y+49x2+18x+81y2−14y+49
We restate the patterns here for reference.
Definition 11.3.1: Binomial Squares Pattern
If a and b are real numbers,
We can use this pattern to “make” a perfect square.
We will start with the expression x2+6x. Since there is a plus sign between the two terms, we will use the (a+b)2 pattern, a2+2ab+b2=(a+b)2.
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 b. But first we start with determining a. Notice that the first term of x2+6x is a square, x2. This tells us that a=x.
What number, b, when multiplied with 2x gives 6x? It would have to be 3, which is 12(6). So b=3.
Now to complete the perfect square trinomial, we will find the last term by squaring b, which is 32=9.
We can now factor.
So we found that adding 9 to x2+6x ‘completes the square’, and we write it as (x+3)2.
Howto: Complete a Square of x2+bx
- Identify b, the coefficient of x.
- Find (12b)2, the number to complete the square.
- Add the(12b)2 to x2+bx.
- Factor the perfect square trinomial, writing it as a binomial squared.
Example 11.3.1
Complete the square to make a perfect square trinomial. Then write the result as a binomial squared.
- x2−26x
- y2−9y
- n2+12n
Solution:
a.
![]() |
|
The coefficient of x is -26. | |
Find (12b)2. (12⋅(−26))2 |
|
Add 169 to the binomial to complete the square. |
x2−26x+169 |
Factor the perfect square trinomial, writing it as a binomial squared. |
(x−13)2 |
b.
![]() |
|
The coefficient of y is −9. | |
Find (12b)2. (12⋅(−9))2 |
|
Add 814 to the binomial to complete the square. |
y2−9y+814 |
Factor the perfect square trinomial, writing it as a binomial squared. |
(y−92)2 |
c.
![]() |
|
The coefficient of n is 12. | |
Find (12b)2. (12⋅12)2 |
|
Add 116 to the binomial to complete the square. | n2+12n+116 |
Rewrite as a binomial square. | (n+14)2 |
Exercise 11.3.1
Complete the square to make a perfect square trinomial. Then write the result as a binomial squared.
- a2−20a
- m2−5m
- p2+14p
- Answer
-
- (a−10)2
- (b−52)2
- (p+18)2
Exercise 11.3.2
Complete the square to make a perfect square trinomial. Then write the result as a binomial squared.
- b2−4b
- n2+13n
- q2−23q
- Answer
-
- (b−2)2
- (n+132)2
- (q−13)2
Solve Quadratic Equations of the Form x2+bx+c=0 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 x2+6x=40, and we want to complete the square on the left, we will add 9 to both sides of the equation.
![]() |
|
![]() |
|
![]() |
|
Add 9 to both sides to complete the square. | ![]() |
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 11.3.2 How to Solve a Quadratic Equation of the Form x2+bx+x=0 by Completing the Square
Solve by completing the square: x2+8x=48.
Solution:
Step 1: Isolate the variable terms on one side and the constant terms on the other. | This equation has all the variables on the left. | x2+bxcx2+8x=48 |
Step 2: Find (12⋅b)2, the number to complete the square. Add it to both sides of the equation. |
Take half of 8 and square it. 42=16 Add 16 to BOTH sides of the equation. |
x2+8x+(12⋅8)2=48 x2+8x+16=48+16 |
Step 3: Factor the perfect square trinomial as a binomial square. |
x2+8x+16=(x+4)2 Add the terms on the right. |
(x+4)2=64 |
Step 4: Use the Square Root Property. | x+4=±√64 | |
Step 5: Simplify the radical and then solve the two resulting equations. |
x+4=±8 x+4=8x+4=−8x=4x=−12 |
|
Step 6: Check the solutions. | Put each answer in the original equation to check. Substitute x=4 and x=−12. |
x2+8x=48(4)2+8(4)?=4816+32?=4848=48 x2+8x=48(−12)2+8(−12)?=48144−96?=4848=48 |
Exercise 11.3.3
Solve by completing the square: x2+4x=5.
- Answer
-
x=−5,x=−1
Exercise 11.3.4
Solve by completing the square: y2−10y=−9.
- Answer
-
y=1,y=9
The steps to solve a quadratic equation by completing the square are listed here.
Solve a Quadratic Equation of the Form x2+bx+c=0 by Completing the Square
- Isolate the variable terms on one side and the constant terms on the other.
- Find (12⋅b)2, 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 11.3.3
Solve by completing the square: x2+4x=−21.
Solution:
![]() |
|
The variable terms are on the left side. Take half of 4 and square it. |
![]() |
(12(4))2=4 | |
Add 4 to both sides. | ![]() |
Factor the perfect square trinomial, writing it as a binomial squared. | ![]() |
Use the Square Root Property. | ![]() |
Simplifying using complex numbers. | ![]() |
Subtract 2 from each side. | ![]() |
Rewrite to show two solutions. | ![]() |
We leave the check to you. |
Exercise 11.3.5
Solve by completing the square: y2−10y=−35.
- Answer
-
y=5+√15i,y=5−√15i
Exercise 11.3.6
Solve by completing the square: z2+8z=−19.
- Answer
-
z=−4+√3i,z=−4−√3i
In the previous example, our solutions were complex numbers. In the next example, the solutions will be irrational numbers.
Example 11.3.4
Solve by completing the square: y2−18y=−6.
Solution:
![]() |
|
The variable terms are on the left side. Take half of −18 and square it. | |
(12(−18))2=81 | ![]() |
Add 81 to both sides. | ![]() |
Factor the perfect square trinomial, writing it as a binomial squared. | ![]() |
Use the Square Root Property. | ![]() |
Simplify the radical. | ![]() |
Solve for y. | ![]() |
Check. ![]() |
![]() |
Another way to check this would be to use a calculator. Evaluate y2−18y for both of the solutions. The answer should be −6.
Exercise 11.3.7
Solve by completing the square: x2−16x=−16.
- Answer
-
x=8+4√3,x=8−4√3
Exercise 11.3.8
Solve by completing the square: y2+8y=11.
- Answer
-
y=−4+3√3,y=−4−3√3
We will start the next example by isolating the variable terms on the left side of the equation.
Example 11.3.5
Solve by completing the square: x2+10x+4=15.
Solution:
![]() |
|
Isolate the variable terms on the left side. Subtract 4 to get the constant terms on the right side. | ![]() |
Take half of 10 and square it. | |
(12(10))2=25 | ![]() |
Add 25 to both sides. | ![]() |
Factor the perfect square trinomial, writing it as a binomial squared. | ![]() |
Use the Square Root Property. | ![]() |
Simplify the radical. | ![]() |
Solve for x. | ![]() |
Rewrite to show two solutions. | ![]() |
Solve the equations. | ![]() |
Check: ![]() |
Exercise 11.3.9
Solve by completing the square: a2+4a+9=30.
- Answer
-
a=−7,a=3
Exercise 11.3.10
Solve by completing the square: b2+8b−4=16.
- Answer
-
b=−10,b=2
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 11.3.6
Solve by completing the square: n2=3n+11.
Solution:
![]() |
|
Subtract 3n to get the variable terms on the left side. | ![]() |
Take half of −3 and square it. | |
(12(−3))2=94 | ![]() |
Add 94 to both sides. | ![]() |
Factor the perfect square trinomial, writing it as a binomial squared. | ![]() |
Add the fractions on the right side. | ![]() |
Use the Square Root Property. | ![]() |
Simplify the radical. | ![]() |
Solve for n. | ![]() |
Rewrite to show two solutions. | ![]() |
Check: We leave the check for you! |
Exercise 11.3.11
Solve by completing the square: p2=5p+9.
- Answer
-
p=52+√612,p=52−√612
Exercise 11.3.12
Solve by completing the square: q2=7q−3.
- Answer
-
q=72+√372,q=72−√372
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 a⋅b=0, then a=0 or b=0.” Instead, we multiply the factors and then put the equation into standard form to solve by completing the square.
Example 11.3.7
Solve by completing the square: (x−3)(x+5)=9.
Solution:
![]() |
|
We multiple the binomials on the left. | ![]() |
Add 15 to isolate the constant terms on the right. | ![]() |
Take half of 2 and square it. | |
(12⋅(2))2=1 | ![]() |
Add 1 to both sides. | ![]() |
Factor the perfect square trinomial, writing it as a binomial squared. | ![]() |
Use the Square Root Property. | ![]() |
Solve for x. | ![]() |
Rewrite to show two solutions. | ![]() |
Simplify. | ![]() |
Check: We leave the check for you! |
Exercise 11.3.13
Solve by completing the square: (c−2)(c+8)=11.
- Answer
-
c=−9,c=3
Exercise 11.3.14
Solve by completing the square: (d−7)(d+3)=56.
- Answer
-
d=11,d=−7
Solve Quadratic Equations of the Form ax2+bx+c=0 by Completing the Square
The process of completing the square works best when the coefficient of x2 is 1, so the left side of the equation is of the form x2+bx+c. If the x2 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 11.3.8
Solve by completing the square: 3x2−12x−15=0.
Solution:
To complete the square, we need the coefficient of x2 to be one. If we factor out the coefficient of x2 as a common factor, we can continue with solving the equation by completing the square.
![]() |
|
Factor out the greatest common factor. | ![]() |
Divide both sides by 3 to isolate the trinomial with coefficient 1. | ![]() |
Simplify. | ![]() |
Add 5 to get the constant terms on the right side. | ![]() |
Take half of 4 and square it. | |
(12(−4))2=4 | ![]() |
Add 4 to both sides. | ![]() |
Factor the perfect square trinomial, writing it as a binomial squared. | ![]() |
Use the Square Root Property. | ![]() |
Solve for x. | ![]() |
Rewrite to show two solutions. | ![]() |
Simplify. | ![]() |
Check: ![]() |
Exercise 11.3.15
Solve by completing the square: 2m2+16m+14=0.
- Answer
-
m=−7,m=−1
Exercise 11.3.16
Solve by completing the square: 4n2−24n−56=8.
- Answer
-
n=−2,n=8
To complete the square, the coefficient of the x2 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 11.3.9
Solve by completing the square: 2x2−3x=20.
Solution:
To complete the square we need the coefficient of x2 to be one. We will divide both sides of the equation by the coefficient of x2. Then we can continue with solving the equation by completing the square.
![]() |
|
Divide both sides by 2 to get the coefficient of x2 to be 1. | ![]() |
Simplify. | ![]() |
Take half of −32 and square it. | |
(12(−32))2=916 | ![]() |
Add 916 to both sides. | ![]() |
Factor the perfect square trinomial, writing it as a binomial squared. | ![]() |
Add the fractions on the right side. | ![]() |
Use the Square Root Property. | ![]() |
Simplify the radical. | ![]() |
Solve for x. | ![]() |
Rewrite to show two solutions. | ![]() |
Simplify. | ![]() |
Check: We leave the check for you! |
Exercise 11.3.17
Solve by completing the square: 3r2−2r=21.
- Answer
-
r=−73,r=3
Exercise 11.3.18
Solve by completing the square: 4t2+2t=20.
- Answer
-
t=−52,t=2
Now that we have seen that the coefficient of x2 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 ax2+bx+c=0.
Howto: Solve a Quadratic Equation of the Form ax2+bx+c=0 by Completing the Square
- Divide by aa to make the coefficient of x2 term 1.
- Isolate the variable terms on one side and the constant terms on the other.
- Find (12⋅b)2, 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 11.3.10
Solve by completing the square: 3x2+2x=4.
Solution:
Again, our first step will be to make the coefficient of x2 one. By dividing both sides of the equation by the coefficient of x2, we can then continue with solving the equation by completing the square.
![]() |
|
Divide both sides by 3 to make the coefficient of x2 equal 1. | ![]() |
Simplify. | ![]() |
Take half of 23 and square it. | |
(12⋅23)2=19 | ![]() |
Add 19 to both sides. | ![]() |
Factor the perfect square trinomial, writing it as a binomial squared. | ![]() |
Use the Square Root Property. | ![]() |
Simplify the radical. | ![]() |
Solve for x. | ![]() |
Rewrite to show two solutions. | ![]() |
Check: We leave the check for you! |
Exercise 11.3.19
Solve by completing the square: 4x2+3x=2.
- Answer
-
x=−38+√418,x=−38−√418
Exercise 11.3.20
Solve by completing the square: 3y2−10y=−5.
- Answer
-
y=53+√103,y=53−√103
Access these online resources for additional instruction and practice with completing the square.
Key Concepts
- Binomial Squares Pattern
If a and b are real numbers,

- How to Complete a Square
- Identify b, the coefficient of x.
- Find (12b)2, the number to complete the square.
- Add the (12b)2 to x2+bx
- Rewrite the trinomial as a binomial square
- How to solve a quadratic equation of the form ax2+bx+c=0 by completing the square.
- Divide by a to make the coefficient of x2 term 1.
- Isolate the variable terms on one side and the constant terms on the other.
- Find (12⋅b)2, 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.