<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />
You are viewing an older version of this Concept. Go to the latest version.

# Completing the Square

## Create perfect square trinomials using the additive property of equality

Estimated18 minsto complete
%
Progress
Practice Completing the Square
Progress
Estimated18 minsto complete
%
Completing the Square

What if you had a quadratic equation like \begin{align*}x^2 + 12x = 13\end{align*}? How could you solve it by taking the square root of both sides? After completing this Concept, you'll be able to complete the square to solve quadratic equations like this one.

### Guidance

You saw in the last section that if you have a quadratic equation of the form \begin{align*}(x - 2)^2 = 5\end{align*}, you can easily solve it by taking the square root of each side:

Simplify to get:

So what do you do with an equation that isn’t written in this nice form? In this section, you’ll learn how to rewrite any quadratic equation in this form by completing the square.

Complete the Square of a Quadratic Expression

Completing the square lets you rewrite a quadratic expression so that it contains a perfect square trinomial that you can factor as the square of a binomial.

Remember that the square of a binomial takes one of the following forms:

So in order to have a perfect square trinomial, we need two terms that are perfect squares and one term that is twice the product of the square roots of the other terms.

#### Example A

Complete the square for the quadratic expression \begin{align*}x^2 + 4x\end{align*}.

Solution

To complete the square we need a constant term that turns the expression into a perfect square trinomial. Since the middle term in a perfect square trinomial is always 2 times the product of the square roots of the other two terms, we re-write our expression as:

We see that the constant we are seeking must be \begin{align*}2^2:\end{align*}

Answer: By adding 4 to both sides, this can be factored as: \begin{align*}(x + 2)^2\end{align*}

Notice, though, that we just changed the value of the whole expression by adding 4 to it. If it had been an equation, we would have needed to add 4 to the other side as well to make up for this.

Also, this was a relatively easy example because \begin{align*}a\end{align*}, the coefficient of the \begin{align*}x^2\end{align*} term, was 1. When that coefficient doesn’t equal 1, we have to factor it out from the whole expression before completing the square.

#### Example B

Complete the square for the quadratic expression \begin{align*}4x^2 + 32x\end{align*}.

Solution

Factor the coefficient of the \begin{align*}x^2\end{align*} term:

\begin{align*}4(x^2 + 8x)\end{align*}

Re-write the expression:

\begin{align*}4 (x^2 + 2(4) (x))\end{align*}

We complete the square by adding the constant \begin{align*}4^2\end{align*}:

\begin{align*}4(x^2 + 2(4)(x) + 4^2)\end{align*}

Factor the perfect square trinomial inside the parenthesis:

\begin{align*}4(x + 4)^2\end{align*}

The expression “completing the square” comes from a geometric interpretation of this situation. Let’s revisit the quadratic expression in Example 1: \begin{align*}x^2 + 4x\end{align*}.

We can think of this expression as the sum of three areas. The first term represents the area of a square of side \begin{align*}x\end{align*}. The second expression represents the areas of two rectangles with a length of 2 and a width of \begin{align*}x\end{align*}:

We can combine these shapes as follows:

We obtain a square that is not quite complete. To complete the square, we need to add a smaller square of side length 2.

We end up with a square of side length \begin{align*}(x + 2)\end{align*}; its area is therefore \begin{align*}(x + 2)^2\end{align*}. Let’s demonstrate the method of completing the square with an example.

#### Example C

Solve the following quadratic equation: \begin{align*}3x^2 - 10x = -1\end{align*}

Solution

Divide all terms by the coefficient of the \begin{align*}x^2\end{align*} term:

Rewrite: \begin{align*}x^2 - 2 \left ( \frac{5}{3} \right ) (x) = - \frac{1}{3}\end{align*}

In order to have a perfect square trinomial on the right-hand-side we need to add the constant \begin{align*}\left ( \frac{5}{3} \right )^2\end{align*}. Add this constant to both sides of the equation:

Factor the perfect square trinomial and simplify:

Take the square root of both sides:

Answer: \begin{align*}x = 3.23\end{align*} and \begin{align*}x = 0.1\end{align*}

Solving Quadratic Equations in Standard Form

If an equation is in standard form \begin{align*}(ax^2 + bx + c = 0)\end{align*}, we can still solve it by the method of completing the square. All we have to do is start by moving the constant term to the right-hand-side of the equation.

#### Example D

Solve the following quadratic equation: \begin{align*}x^2 + 15x + 12 = 0\end{align*}

Solution

Move the constant to the other side of the equation:

Rewrite: \begin{align*}x^2 + 2 \left ( \frac{15}{2} \right )(x) = -12\end{align*}

Add the constant \begin{align*}\left ( \frac{15}{2} \right )^2\end{align*} to both sides of the equation:

Factor the perfect square trinomial and simplify:

Take the square root of both sides:

Answer: \begin{align*}x = -0.85\end{align*} and \begin{align*}x = -14.15\end{align*}

Watch this video for help with the Examples above.

### Vocabulary

• A perfect square trinomial has the form \begin{align*}a^2+2(ab)+b^2\end{align*}, which factors into \begin{align*}(a+b)^2\end{align*}.

### Guided Practice

Solve the following quadratic equation: \begin{align*}-x^2 +22x = 5\end{align*}

Solution

Divide all terms by the coefficient of the \begin{align*}x^2\end{align*} term:

Rewrite: \begin{align*}x^2 - 2(11) (x) = - 6.\end{align*}

In order to have a perfect square trinomial on the right-hand-side we need to add the constant \begin{align*}\left (11 \right )^2\end{align*}. Add this constant to both sides of the equation:

Factor the perfect square trinomial and simplify:

Take the square root of both sides:

Answer: \begin{align*}x = 15\end{align*} and \begin{align*}x =7\end{align*}

### Practice

Complete the square for each expression.

1. \begin{align*}x^2 + 5x\end{align*}
2. \begin{align*}x^2 - 2x\end{align*}
3. \begin{align*}x^2 + 3x\end{align*}
4. \begin{align*}x^2 - 4x\end{align*}
5. \begin{align*}3x^2 + 18x\end{align*}
6. \begin{align*}2x^2 - 22x\end{align*}
7. \begin{align*}8x^2 - 10x\end{align*}
8. \begin{align*}5x^2 + 12x\end{align*}

Solve each quadratic equation by completing the square.

1. \begin{align*}x^2 - 4x = 5\end{align*}
2. \begin{align*}x^2 - 5x = 10\end{align*}
3. \begin{align*}x^2 + 10x + 15 = 0\end{align*}
4. \begin{align*}x^2 + 15x + 20 = 0\end{align*}
5. \begin{align*}2x^2 - 18x = 3\end{align*}
6. \begin{align*}4x^2 + 5x = -1\end{align*}
7. \begin{align*}10x^2 - 30x - 8 = 0\end{align*}
8. \begin{align*}5x^2 + 15x - 40 = 0\end{align*}

### Vocabulary Language: English

Perfect Square Trinomial

Perfect Square Trinomial

A perfect square trinomial is a quadratic expression of the form $a^2+2ab+b^2$ (which can be rewritten as $(a+b)^2$) or $a^2-2ab+b^2$ (which can be rewritten as $(a-b)^2$).
Square Root

Square Root

The square root of a term is a value that must be multiplied by itself to equal the specified term. The square root of 9 is 3, since 3 * 3 = 9.