# Perfect Square Trinomial

A **perfect square trinomial** can be factored out as binomial multiplied to itself. That means we can write a perfect square trinomial as a **square of a binomial**.

First, let’s expand a binomial to see if we can observe a pattern.

Notice that the first and the last terms are perfect squares. The middle term is twice the product of the terms that are being squared. If the binomial is positive, the middle term of the trinomial is positive. Similarly, if the binomial is negative, the middle term of the trinomial is negative.

To factor a perfect square trinomial into a square of binomial, we need to be able to recognize the pattern then simply reverse the process.

In summary, we need to verify that:

- The first term is a square term, that is, a^2
- The last term is a square term, that is, b^2
- The middle term is twice the product of the square roots of the first and last terms, that is, 2ab
- If conditions
**#1**,**#2**, and**#3**are met, then we can rewrite the trinomial as a square of a binomial. - Just note that the sign of the middle term of the trinomial determines the sign of the binomial.

**CASE 1:** If the middle sign of the trinomial is **positive**, then the middle sign of binomial is also positive.

**CASE 2:** If the middle sign of the trinomial is **negative**, then the middle sign of binomial is also negative.

## Examples of Factoring Perfect Square Trinomial

**Example 1:** Factor {x^2} + 8x + 16

Let’s examine if the given trinomial meets the requirements.

The first term x^2 is a perfect square since it can be written as x^2=(x)^2.

The last term 16 is a perfect square since it can be written as 16=(4)^2.

We will now check if the middle term of the trinomial is twice the product of the square roots of the first and the last terms.

The square root of the first term is \sqrt {{x^2}} = \sqrt {{{\left( x \right)}^2}} = x.

The square root of the last term is \sqrt {16} = \sqrt {{{\left( 4 \right)}^2}} = 4.

Therefore, 2\left( 4 \right)\left( x \right) = 8x which is exactly the middle term of the given trinomial.

It means the trinomial {x^2} + 8x + 16 fits the requirements of a perfect square trinomial.

Since the middle term of the trinomial is positive, the middle term of the binomial will also be positive. Thus, we can use the formula below to factor the trinomial.

{a^2} + 2ab + {b^2} = {\left( {a + b} \right)^2}

{x^2} + 8x + 16 = {\left( x \right)^2} + 2\left( x \right)\left( 4 \right) + {\left( 4 \right)^2} = {\left( {x + 4} \right)^2}

**Example 2:** Factor 9x^2-30x+25

Observe that the first and the last terms are perfect squares because

9x^2=(3x)^2

25=(5)^2

Then we will check if the middle term is twice the product of the square roots of the first and last terms.

2 \cdot \sqrt {{{\left( {3x} \right)}^2}} \cdot \sqrt {{{\left( 5 \right)}^2}} = 2\left( {3x} \right)\left( 5 \right) = 30x

Yes, it is! It means the given trinomial 9x^2-30x+25 is a perfect square trinomial.

Note that the middle term of the given trinomial is negative therefore the middle term of the binomial must be also negative.

{a^2} - 2ab + {b^2} = {\left( {a - b} \right)^2}

9{x^2} - 30x + 25 = {\left( {3x} \right)^2} - 2\left( {3x} \right)\left( 5 \right) + {\left( 5 \right)^2} = {\left( {3x - 5} \right)^2}

**Example 3:** Factor 49{x^2} - 28xy + 4{y^2}

At first look, the problem may look intimidating because this is a bit different than the previous examples. However, if we just apply the things that we already know we should be able to figure out how to factor this out.

Start by asking if the first and last terms are perfect squares. Actually, they are since

49{x^2} = {\left( {7x} \right)^2}

4{y^2} = {\left( {2y} \right)^2}

Now, let’s find out if twice the product of the square roots of the first and last terms is equal to the middle term of the trinomial.

\sqrt {49{x^2}} = \sqrt {{{\left( {7x} \right)}^2}} = 7x

\sqrt {4{y^2}} = \sqrt {{{\left( {2y} \right)}^2}} = 2y

That means,

2\left( {7x} \right)\left( {2y} \right) = 28xy

So it is! Thus, the trinomial 49{x^2} - 28xy + 4{y^2} is a perfect square trinomial.

Let’s apply the formula to factor the trinomial. Use the formula where the middle term of the trinomial is negative as shown below.

{a^2} - 2ab + {b^2} = {\left( {a - b} \right)^2}

49{x^2} - 28xy + 4{y^2} = {\left( {7x} \right)^2} - 2\left( {7x} \right)\left( {2y} \right) + {\left( {2y} \right)^2} = {\left( {7x - 2y} \right)^2}

**Example 4:** Factor 100{x^2} + 20xyz + {y^2}{z^2}

Let’s do one last example! This particular trinomial has three variables. Are the first and last terms perfect squares? Checking each term, we have

100{x^2} = {\left( {10x} \right)^2}

{y^2}{z^2} = {\left( {yz} \right)^2}

Absolutely! They are perfect squares. Now, we will check if the middle term if twice the square roots of the first and last terms.

2 \cdot \sqrt {{{\left( {10x} \right)}^2}} \cdot \sqrt {{{\left( {yz} \right)}^2}} = 2\left( {10x} \right)\left( {yz} \right) = 20xyz

It also matches the middle term of the trinomial that means the trinomial in question is a perfect square trinomial. We can proceed with the factorization.

100{x^2} + 20xyz + {y^2}{z^2} = {\left( {10x} \right)^2} + 2\left( {10x} \right)\left( {yz} \right) + {\left( {yz} \right)^2} = {\left( {10x + yz} \right)^2}