What if you had a trinomial expression like \begin{align*}x^2 + 10x + 25\end{align*} in which the first and third terms were perfect squares and the second term was twice the product of the square roots of the first and third terms? How could you factor that expression? After completing this Concept, you'll be able to factor perfect square trinomials like this one.

### Watch This

CK-12 Foundation: 0911S Factoring Perfect Square Trinomials

For more examples of factoring perfect square trinomials, watch the videos at http://www.onlinemathlearning.com/perfect-square-trinomial.html.

### Guidance

We use the square of a binomial formula to factor perfect square trinomials. A perfect square trinomial has the form \begin{align*}a^2 + 2ab + b^2\end{align*} or \begin{align*}a^2 - 2ab + b^2\end{align*}.

In these special kinds of trinomials, the first and last terms are perfect squares and the middle term is twice the product of the square roots of the first and last terms. In a case like this, the polynomial factors into perfect squares:

\begin{align*}a^2 + 2ab + b^2 & = (a + b)^2\\ a^2 - 2ab + b^2 & = (a - b)^2\end{align*}

Once again, the key is figuring out what the \begin{align*}a\end{align*} and \begin{align*}b\end{align*} terms are.

#### Example A

*Factor the following perfect square trinomials:*

a) \begin{align*}x^2 + 8x +16\end{align*}

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

c) \begin{align*}x^2 + 14x +49\end{align*}

**Solution**

a) The first step is to recognize that this expression is a perfect square trinomial.

First, we can see that the first term and the last term are perfect squares. We can rewrite \begin{align*}x^2 + 8x + 16\end{align*} as \begin{align*}x^2 + 8x + 4^2\end{align*}.

Next, we check that the middle term is twice the product of the square roots of the first and the last terms. This is true also since we can rewrite \begin{align*}x^2 + 8x + 16\end{align*} as \begin{align*}x^2 + 2 \cdot 4 \cdot x + 4^2\end{align*}.

This means we can factor \begin{align*}x^2 + 8x + 16\end{align*} as \begin{align*}(x + 4)^2\end{align*}. We can check to see if this is correct by multiplying \begin{align*}(x + 4)^2 = (x + 4)(x + 4)\end{align*} :

\begin{align*}& \quad \quad \quad x + 4\\ & \underline{\;\;\;\;\;\;\;\;\;\;\;\;x + 4}\\ & \quad \quad \ 4x + 16\\ & \underline{x^2 + 4x\;\;\;\;\;\;\;\;}\\ & x^2 + 8x + 16\end{align*}

The answer checks out.

**Note:** We could factor this trinomial without recognizing it as a perfect square. We know that a trinomial factors as a product of two binomials:

\begin{align*}(x\;\;\;\;)(x\;\;\;\;)\end{align*}

We need to find two numbers that multiply to 16 and add to 8. We can write 16 as the following products:

\begin{align*}& 16 = 1 \cdot 16 && \text{and} && 1 + 16 = 17\\ & 16 = 2 \cdot 8 && \text{and} && 2 + 8 = 10\\ & 16 = 4 \cdot 4 && \text{and} && 4 + 4 = 8 \qquad These \ are \ the \ correct \ numbers\end{align*}

So we can factor \begin{align*}x^2 + 8x + 16\end{align*} as \begin{align*}(x + 4)(x + 4)\end{align*}, which is the same as \begin{align*}(x + 4)^2\end{align*}.

Once again, you can factor perfect square trinomials the normal way, but recognizing them as perfect squares gives you a useful shortcut.

b) Rewrite \begin{align*}x^2 + 4x + 4\end{align*} as \begin{align*}x^2 + 2 \cdot (-2) \cdot x + (-2)^2\end{align*}.

We notice that this is a perfect square trinomial, so we can factor it as \begin{align*}(x - 2)^2\end{align*}.

c) Rewrite \begin{align*}x^2 + 14x + 49\end{align*} as \begin{align*}x^2 + 2 \cdot 7 \cdot x + 7^2\end{align*}.

We notice that this is a perfect square trinomial, so we can factor it as \begin{align*}(x + 7)^2\end{align*}.

#### Example B

*Factor the following perfect square trinomials:*

a) \begin{align*}4x^2 + 20x + 25\end{align*}

b) \begin{align*}9x^2 - 24x + 16\end{align*}

c) \begin{align*}x^2 + 2xy + y^2\end{align*}

**Solution**

a) Rewrite \begin{align*}4x^2 + 20x + 25\end{align*} as \begin{align*}(2x)^2 + 2 \cdot 5 \cdot (2x) + 5^2\end{align*}.

We notice that this is a perfect square trinomial and we can factor it as \begin{align*}(2x + 5)^2\end{align*}.

b) Rewrite \begin{align*}9x^2 - 24x + 16\end{align*} as \begin{align*}(3x)^2 + 2 \cdot (-4) \cdot (3x) + (-4)^2\end{align*}.

We notice that this is a perfect square trinomial and we can factor it as \begin{align*}(3x - 4)^2\end{align*}.

We can check to see if this is correct by multiplying \begin{align*}(3x - 4)^2 = (3x - 4)(3x - 4)\end{align*}:

\begin{align*}& \quad \quad \quad 3x - 4\\ & \underline{\;\;\;\;\;\;\;\;\;\;\;3x - 4\;\;}\\ & \quad \ -12x + 16\\ & \underline{9x^2 - 12x\;\;\;\;\;\;\;\;}\\ & 9x^2 - 24x + 16\end{align*}

The answer checks out.

c) \begin{align*}x^2 + 2xy + y^2\end{align*}

We notice that this is a perfect square trinomial and we can factor it as \begin{align*}(x + y)^2\end{align*}.

**Solve Quadratic Polynomial Equations by Factoring**

With the methods we’ve learned in the last two sections, we can factor many kinds of quadratic polynomials. This is very helpful when we want to solve them. Remember the process we learned earlier:

- If necessary,
**rewrite**the equation in standard form so that the right-hand side equals zero. - Factor the polynomial completely.
- Use the zero-product rule to set each factor equal to zero.
- Solve each equation from step 3.
- Check your answers by substituting your solutions into the original equation

We can use this process to solve quadratic polynomials using the factoring methods we just learned.

#### Example C

*Solve the following polynomial equations.*

a) \begin{align*}x^2 + 12x + 36 = 0\end{align*}

b) \begin{align*}x^2 - 24x = -144\end{align*}

**Solution**

a) **Rewrite:**

The equation is already in the correct form.

**Factor:**

Rewrite \begin{align*}x^2 + 12x + 36 = 0\end{align*} as \begin{align*}x^2 + 2(6x) + 6^2 = 0\end{align*}. We notice that this is a perfect square trinomial and we can factor it as \begin{align*}(x + 6)^2\end{align*}.

**Set the factor equal to zero:**

\begin{align*} x + 6 = 0 \end{align*}

**Solve:**

\begin{align*} \underline{\underline{x = -6}}\end{align*}

**Check:** Substitute each solution back into the original equation.

\begin{align*}& (-6)^2 + 12(-6) + 36 = && \text{Substitute in -6.}\\ & 36 + -72 + 36 = && \text{Simplify.}\\ & 72 + -72 = 0&& \text{Checks out.}\end{align*}

b) **Rewrite:** \begin{align*}x^2 - 24x = -144\end{align*} is rewritten as \begin{align*}x^2 - 24x + 144 = 0\end{align*}

**Factor:**

\begin{align*}x^2 - 24x + 144 =x^2+2(-12)x+(-12)^2=(x-12)^2\end{align*}

**Set the factor equal to zero:**

\begin{align*}x - 12 = 0\end{align*}

**Solve:**

\begin{align*}\underline{\underline{x = 12}} \end{align*}

**Check:** Substitute the solution back into the original equation.

\begin{align*}& (12)^2 - 24(12) + 144 = && \text{Substitute in 12.}\\ & 144 - 288+144 = && \text{Simplify.}\\ & 288- 288 = 0 && \text{Checks out.}\\ \end{align*}

Watch this video for help with the Examples above.

CK-12 Foundation: Factoring Perfect Square Trinomials

### Vocabulary

- A
**perfect square trinomial**has the form

\begin{align*}a^2+2ab+b^2=(a+b)^2 \qquad \text{or} \qquad a^2-2ab+b^2=(a-b)^2.\end{align*}

### Guided Practice

*Solve the following polynomial equations:*

a) \begin{align*}x^2 + x + 0.25 = 0\end{align*}

b) \begin{align*}x^2 - 81 = 0\end{align*}

**Solution**

a) \begin{align*}x^2 + x + 0.25 = 0\end{align*}

**Rewrite:** The equation is in the correct form already.

**Factor:** Rewrite \begin{align*}x^2 + x + 0.25 =0\end{align*} as \begin{align*}x^2 + 2 \cdot (0.5)x + ( 0.5)^2\end{align*}.

We recognize this as a perfect square. This factors as \begin{align*}(x +0.5)^2 = 0 \end{align*} or \begin{align*}(x +0.5)(x +0.5) = 0\end{align*}

**Set the factor equal to zero:**

\begin{align*}x +0.25 = 0 \end{align*}

**Solve:**

\begin{align*}\underline{\underline{x = -0.5}}\end{align*}

**Check:** Substitute the solution back into the original equation.

\begin{align*}(-0.5)^2 + -0.5 + 0.25&= \quad \quad \text{Substitute in -0.5}\\ 0.25+ -0.5 + 0.25&= \quad \quad \text{Simplify.}\\ 0.5-0.5&=0 \quad \quad \text{Checks out.} \end{align*}

b) \begin{align*}x^2 - 81 = 0\end{align*}

**Rewrite:** this is not necessary since the equation is in the correct form already

**Factor:** Rewrite \begin{align*}x^2 - 81\end{align*} as \begin{align*}x^2 - 9^2\end{align*}.

We recognize this as a difference of squares. This factors as \begin{align*}(x - 9)(x + 9) = 0\end{align*}.

**Set each factor equal to zero:**

\begin{align*}x - 9 = 0 && \text{or} && x + 9 = 0\end{align*}

**Solve:**

\begin{align*}\underline{\underline{x = 9}} && \text{or} && \underline{\underline{x = - 9}}\end{align*}

**Check:** Substitute each solution back into the original equation.

\begin{align*}& x = 9 && 9^2 - 81 = 81-81 = 0 && \text{checks out}\\ & x = -9 && (-9)^2 - 81 = 81 - 81 = 0 && \text{checks out}\end{align*}

c) \begin{align*}x^2 + 20x + 100 =0\end{align*}

**Rewrite:** this is not necessary since the equation is in the correct form already

**Factor:** Rewrite \begin{align*}x^2 + 20x + 100\end{align*} as \begin{align*}x^2 + 2 \cdot 10 \cdot x + 10^2\end{align*}.

We recognize this as a perfect square. This factors as \begin{align*}(x + 10)^2 =0\end{align*} or \begin{align*}(x + 10)(x + 10)=0\end{align*}

**Set each factor equal to zero:**

\begin{align*}x + 10 =0 && \text{or} && x + 10 = 0\end{align*}

**Solve:**

\begin{align*}\underline{\underline{x = -10}} && \text{or} && \underline{\underline{x = -10}} \quad \quad \text{This is a double root.}\end{align*}

**Check:** Substitute each solution back into the original equation.

\begin{align*}x = 10 && (-10)^2 + 20(-10) + 100 = 100 -200 + 100 =0 && \text{checks out}\end{align*}

### Practice

Factor the following perfect square trinomials.

- \begin{align*}x^2 + 8x + 16\end{align*}
- \begin{align*}x^2 - 18x + 81\end{align*}
- \begin{align*}-x^2 + 24x -144\end{align*}
- \begin{align*}x^2 + 14x + 49\end{align*}
- \begin{align*}4x^2 - 4x + 1\end{align*}
- \begin{align*}25x^2 + 60x + 36\end{align*}
- \begin{align*}4x^2 - 12xy + 9y^2\end{align*}
- \begin{align*}x^4 + 22x^2 + 121\end{align*}

Solve the following quadratic equations using factoring.

- \begin{align*}x^2 - 11x + 30 =0\end{align*}
- \begin{align*}x^2 + 4x =21\end{align*}
- \begin{align*}x^2 + 49 =14x\end{align*}
- \begin{align*}x^2 - 64 = 0\end{align*}
- \begin{align*}x^2 - 24x + 144 = 0\end{align*}
- \begin{align*}4x^2 - 25 = 0\end{align*}
- \begin{align*}x^2 + 26x = -169\end{align*}
- \begin{align*}-x^2 - 16x - 60 = 0\end{align*}