### 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 ${x}^{2}+bx+c=0$ by completing the square
- Solve quadratic equations of the form ${ax}^{2}+bx+c=0$ by completing the square

Before you get started, take this readiness quiz.

Expand: ${\left(x+9\right)}^{2}.$

If you missed this problem, review Example 5.32.

Factor ${y}^{2}-14y+49.$

If you missed this problem, review Example 6.9.

Factor $5{n}^{2}+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.

We also solved an equation in which the left side was a perfect square trinomial, but we had to rewrite it the form ${\left(x-k\right)}^{2}$ 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 *a* and *b* are real numbers,

We can use this pattern to “make” a perfect square.

We will start with the expression *x*^{2} + 6*x*. Since there is a plus sign between the two terms, we will use the (*a* + *b*)^{2} pattern, *a*^{2} + 2*ab* + *b*^{2} = (*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 *x*^{2} + 6*x* is a square, *x*^{2}. This tells us that *a* = *x*.

What number, *b,* when multiplied with 2*x* gives 6*x*? It would have to be 3, which is $\frac{1}{2}\left(6\right).$ So *b* = 3.

Now to complete the perfect square trinomial, we will find the last term by squaring *b*, which is 3^{2} = 9.

We can now factor.

So we found that adding 9 to *x*^{2} + 6*x* ‘completes the square’, and we write it as (*x* + 3)^{2}.

### How To

#### Complete a square of ${x}^{2}+bx.$

- Step 1. Identify
*b*, the coefficient of*x*. - Step 2. Find ${\left(\frac{1}{2}b\right)}^{2},$ the number to complete the square.
- Step 3. Add the ${\left(\frac{1}{2}b\right)}^{2}$ to
*x*^{2}+*bx*. - Step 4. Factor the perfect square trinomial, writing it as a binomial squared.

### Example 9.11

Complete the square to make a perfect square trinomial. Then write the result as a binomial squared.

ⓐ ${x}^{2}-26x$ ⓑ ${y}^{2}-9y$ ⓒ ${n}^{2}+\frac{1}{2}n$

Complete the square to make a perfect square trinomial. Then write the result as a binomial squared.

ⓐ ${a}^{2}-20a$ ⓑ ${m}^{2}-5m$ ⓒ ${p}^{2}+\frac{1}{4}p$

Complete the square to make a perfect square trinomial. Then write the result as a binomial squared.

ⓐ ${b}^{2}-4b$ ⓑ ${n}^{2}+13n$ ⓒ ${q}^{2}-\frac{2}{3}q$

### Solve Quadratic Equations of the Form *x*^{2} + *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 *x*^{2} + 6*x* = 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 9.12

#### How to Solve a Quadratic Equation of the Form ${x}^{2}+bx+c=0$ by Completing the Square

Solve by completing the square: ${x}^{2}+8x=48.$

Solve by completing the square: ${x}^{2}+4x=5.$

Solve by completing the square: ${y}^{2}-10y=\mathrm{-9}.$

The steps to solve a quadratic equation by completing the square are listed here.

### How To

#### Solve a quadratic equation of the form ${x}^{2}+bx+c=0$ by completing the square.

- Step 1. Isolate the variable terms on one side and the constant terms on the other.
- Step 2. Find ${\left(\frac{1}{2}\phantom{\rule{0.2em}{0ex}}\xb7\phantom{\rule{0.2em}{0ex}}b\right)}^{2},$ the number needed to complete the square. Add it to both sides of the equation.
- Step 3. Factor the perfect square trinomial, writing it as a binomial squared on the left and simplify by adding the terms on the right
- Step 4. Use the Square Root Property.
- Step 5. Simplify the radical and then solve the two resulting equations.
- Step 6. Check the solutions.

When we solve an equation by completing the square, the answers will not always be integers.

### Example 9.13

Solve by completing the square: ${x}^{2}+4x=\mathrm{-21}.$

Solve by completing the square: ${y}^{2}-10y=\mathrm{-35}.$

Solve by completing the square: ${z}^{2}+8z=\mathrm{-19}.$

In the previous example, our solutions were complex numbers. In the next example, the solutions will be irrational numbers.

### Example 9.14

Solve by completing the square: ${y}^{2}-18y=\mathrm{-6}.$

Solve by completing the square: ${x}^{2}-16x=\mathrm{-16}.$

Solve by completing the square: ${y}^{2}+8y=11.$

We will start the next example by isolating the variable terms on the left side of the equation.

### Example 9.15

Solve by completing the square: ${x}^{2}+10x+4=15.$

Solve by completing the square: ${a}^{2}+4a+9=30.$

Solve by completing the square: ${b}^{2}+8b-4=16.$

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 9.16

Solve by completing the square: ${n}^{2}=3n+11.$

Solve by completing the square: ${p}^{2}=5p+9.$

Solve by completing the square: ${q}^{2}=7q-3.$

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\phantom{\rule{0.2em}{0ex}}\xb7\phantom{\rule{0.2em}{0ex}}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 9.17

Solve by completing the square: $\left(x-3\right)\left(x+5\right)=9.$

Solve by completing the square: $\left(c-2\right)\left(c+8\right)=11.$

Solve by completing the square: $\left(d-7\right)\left(d+3\right)=56.$

### Solve Quadratic Equations of the Form *ax*^{2} + *bx* + *c* = 0 by Completing the Square

The process of completing the square works best when the coefficient of *x*^{2} is 1, so the left side of the equation is of the form *x*^{2} + *bx* + *c*. If the *x*^{2} 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 9.18

Solve by completing the square: $3{x}^{2}-12x-15=0.$

Solve by completing the square: $2{m}^{2}+16m+14=0.$

Solve by completing the square: $4{n}^{2}-24n-56=8.$

To complete the square, the coefficient of the *x*^{2} 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 9.19

Solve by completing the square: $2{x}^{2}-3x=20.$

Solve by completing the square: $3{r}^{2}-2r=21.$

Solve by completing the square: $4{t}^{2}+2t=20.$

Now that we have seen that the coefficient of *x*^{2} 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 *ax*^{2} + *bx* + *c* = 0.

### How To

#### Solve a quadratic equation of the form $a{x}^{2}+bx+c=0$ by completing the square.

- Step 1. Divide by $a$ to make the coefficient of
*x*^{2}term 1. - Step 2. Isolate the variable terms on one side and the constant terms on the other.
- Step 3. Find ${\left(\frac{1}{2}\phantom{\rule{0.2em}{0ex}}\xb7\phantom{\rule{0.2em}{0ex}}b\right)}^{2},$ the number needed to complete the square. Add it to both sides of the equation.
- Step 4. Factor the perfect square trinomial, writing it as a binomial squared on the left and simplify by adding the terms on the right
- Step 5. Use the Square Root Property.
- Step 6. Simplify the radical and then solve the two resulting equations.
- Step 7. Check the solutions.

### Example 9.20

Solve by completing the square: $3{x}^{2}+2x=4.$

Solve by completing the square: $4{x}^{2}+3x=2.$

Solve by completing the square: $3{y}^{2}-10y=\mathrm{-5}.$

### Media Access Additional Online Resources

Access these online resources for additional instruction and practice with completing the square.

### Section 9.2 Exercises

#### Practice Makes Perfect

**Complete the Square of a Binomial Expression**

In the following exercises, complete the square to make a perfect square trinomial. Then write the result as a binomial squared.

ⓐ ${n}^{2}-16n$ ⓑ ${y}^{2}+15y$ ⓒ ${q}^{2}+\frac{3}{4}q$

>ⓐ ${q}^{2}-6q$ ⓑ ${x}^{2}-7x$ ⓒ ${n}^{2}-\frac{2}{3}n$

**Solve Quadratic Equations of the form x^{2} + bx + c = 0 by Completing the Square**

In the following exercises, solve by completing the square.

${z}^{2}+12z=\mathrm{-11}$

${y}^{2}-2y=8$

${n}^{2}-2n=\mathrm{-3}$

${t}^{2}-14t=\mathrm{-50}$

${b}^{2}+6b=41$

${y}^{2}-3y=2$

${z}^{2}+2z-5=2$

${t}^{2}-10t-6=5$

${w}^{2}=5w-1$

${y}^{2}-14=6y$

$\left(y+9\right)\left(y+7\right)=80$

$\left(x-2\right)\left(x-6\right)=5$

**Solve Quadratic Equations of the form ax^{2} + bx + c = 0 by Completing the Square**

In the following exercises, solve by completing the square.

$2{x}^{2}-14x+12=0$

$5{x}^{2}+20x=15$

$3{d}^{2}-4d=15$

$3{x}^{2}-14x+8=0$

$3{q}^{2}-5q=9$

$7{x}^{2}+4x=\mathrm{-3}$

#### Writing Exercises

Solve the equation ${x}^{2}+10x=\mathrm{-25}$

ⓐ by using the Square Root Property

ⓑ by Completing the Square

ⓒ Which method do you prefer? Why?

Solve the equation ${y}^{2}+8y=48$ by completing the square and explain all your steps.

#### Self Check

ⓐ After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.

ⓑ After reviewing this checklist, what will you do to become confident for all objectives?