Factor Special Products

By the end of this section, you will be able to:

Before you get started, take this readiness quiz.

  1. Simplify: (3x2)3.

    If you missed this problem, review [link].

  2. Multiply: (m+4)2.

    If you missed this problem, review [link].

  3. Multiply: (x3)(x+3).

    If you missed this problem, review [link].

We have seen that some binomials and trinomials result from special products—squaring binomials and multiplying conjugates. If you learn to recognize these kinds of polynomials, you can use the special products patterns to factor them much more quickly.

Factor Perfect Square Trinomials

Some trinomials are perfect squares. They result from multiplying a binomial times itself. We squared a binomial using the Binomial Squares pattern in a previous chapter.

In open parentheses 3x plus 4 close parentheses squared, 3x is a and 4 is b. Writing it as a squared plus 2ab plus b squared, we get open parentheses 3x close parentheses squared plus 2 times 3x times 4 plus 4 squared. This is equal to 9 x squared plus 24x plus 16. The trinomial 9x2+24x+16

is called a perfect square trinomial. It is the square of the binomial 3x+4.

In this chapter, you will start with a perfect square trinomial and factor it into its prime factors.

You could factor this trinomial using the methods described in the last section, since it is of the form ax2+bx+c.

But if you recognize that the first and last terms are squares and the trinomial fits the perfect square trinomials pattern, you will save yourself a lot of work.

Here is the pattern—the reverse of the binomial squares pattern.

Perfect Square Trinomials Pattern

If a and b are real numbers

a2+2ab+b2=(a+b)2a22ab+b2=(ab)2

To make use of this pattern, you have to recognize that a given trinomial fits it. Check first to see if the leading coefficient is a perfect square, a2.

Next check that the last term is a perfect square, b2.

Then check the middle term—is it the product, 2ab?

If everything checks, you can easily write the factors.

How to Factor Perfect Square Trinomials

Factor: 9x2+12x+4.

![Step 1 is to check if the trinomial fits the perfect square trinomials pattern, a squared plus 2ab plus b squared. For this we check if the first term is a perfect square. 9 x squared is the square of 3x. Next we check if the last term is a perfect square. 4 is the square of 2. Next we check if the middle term is 2ab. 12 x is twice 3x times 2. Hence we have a perfect square trinomial.](/algebra-intermediate-book/resources/CNX_IntAlg_Figure_06_03_002a.jpg) ![Step 2 is to write this as the square of a binomial. We write it as open parentheses 3x plus 2 close parentheses squared.](/algebra-intermediate-book/resources/CNX_IntAlg_Figure_06_03_002b.jpg) ![Step 3 is to check by multiplying.](/algebra-intermediate-book/resources/CNX_IntAlg_Figure_06_03_002c.jpg)

Factor: 4x2+12x+9.

(2x+3)2

Factor: 9y2+24y+16.

(3y+4)2

The sign of the middle term determines which pattern we will use. When the middle term is negative, we use the pattern a22ab+b2,

which factors to (ab)2.

The steps are summarized here.

Factor perfect square trinomials.
Step 1.Does the trinomial fit the pattern?a2+2ab+b2a22ab+b2 Is the first term a perfect square?(a)2(a)2 Write it as a square. Is the last term a perfect square?(a)2(b)2(a)2(b)2 Write it as a square. Check the middle term. Is it2ab?(a)22·a·b(b)2(a)22·a·b(b)2 Step 2.Write the square of the binomial.(a+b)2(ab)2 Step 3.Check by multiplying.

We’ll work one now where the middle term is negative.

Factor: 81y272y+16.

The first and last terms are squares. See if the middle term fits the pattern of a perfect square trinomial. The middle term is negative, so the binomial square would be (ab)2.

.
Are the first and last terms perfect squares?     .
Check the middle term. .
Does it match (ab)2? Yes. .
Write as the square of a binomial. .
Check by multiplying:

(9y4)2(9y)22·9y·4+4281y272y+16

Factor: 64y280y+25.

(8y5)2

Factor: 16z272z+81.

(4z9)2

The next example will be a perfect square trinomial with two variables.

Factor: 36x2+84xy+49y2.

.
Test each term to verify the pattern.    .
Factor. .
Check by multiplying.

(6x+7y)2(6x)2+2·6x·7y+(7y)236x2+84xy+49y2

Factor: 49x2+84xy+36y2.

(7x+6y)2

Factor: 64m2+112mn+49n2.

(8m+7n)2

Remember the first step in factoring is to look for a greatest common factor. Perfect square trinomials may have a GCF in all three terms and it should be factored out first. And, sometimes, once the GCF has been factored, you will recognize a perfect square trinomial.

Factor: 100x2y80xy+16y.

  .
{: valign=”top”} Is there a GCF? Yes, 4y,

so factor it out.     | . | {: valign=”top”}| Is this a perfect square trinomial? | | {: valign=”top”}| Verify the pattern. | . | {: valign=”top”}| Factor. | . | {: valign=”top”}{: .unnumbered .unstyled summary=”Is there a GCF in 100 x squared y minus 80xy plus 16y? Yes. Factoring it out, we get 4y open parentheses 25 x squared minus 20x plus 4 close parentheses. Is this a perfect square trinomial? To verify the pattern, we rewrite as 4y open bracket open parentheses 5x close parentheses squared minus 2 times 5x times 2 plus 2 squared close bracket. Factor to get 4y open parentheses 5x minus 2 close parentheses squared. Finally, we check by multiplying.” data-label=””}

Remember: Keep the factor 4y in the final product.

Check:* * *


4y(5x2)24y[(5x)22·5x·2+22]4y(25x220x+4)100x2y80xy+16y

Factor: 8x2y24xy+18y.

2y(2x3)2

Factor: 27p2q+90pq+75q.

3q(3p+5)2

Factor Differences of Squares

The other special product you saw in the previous chapter was the Product of Conjugates pattern. You used this to multiply two binomials that were conjugates. Here’s an example:

We have open parentheses 3x minus 4 close parentheses open parentheses 3x plus 4. This is of the form a minus b, a plus b. We rewrite as open parentheses 3x close parentheses squared minus 4 squared. Here, 3x is a and 4 is b. This is equal to 9 x squared minus 16. A difference of squares factors to a product of conjugates.

Difference of Squares Pattern

If a and b are real numbers,

a squared minus b squared equals a minus b, a plus b. Here, a squared minus b squared is difference of squares and a minus b, a plus b are conjugates.

Remember, “difference” refers to subtraction. So, to use this pattern you must make sure you have a binomial in which two squares are being subtracted.

How to Factor a Trinomial Using the Difference of Squares

Factor: 64y21.

![Step 1 is to check if the binomial 64 y squared minus 1 fits the pattern. For that we check the following: Is this a difference? Yes. Are the first and last terms perfect squares? Yes.](/algebra-intermediate-book/resources/CNX_IntAlg_Figure_06_03_008a.jpg) ![Step 2 is to write both terms as squares, So, we have open parentheses 8y close parentheses squared minus 1 squared.](/algebra-intermediate-book/resources/CNX_IntAlg_Figure_06_03_008b.jpg) ![Step 3 is to write the product of conjugates 8y minus 1, 8y plus 1.](/algebra-intermediate-book/resources/CNX_IntAlg_Figure_06_03_008c.jpg) ![Step 4 is to check. We multiply to get the original binomial](/algebra-intermediate-book/resources/CNX_IntAlg_Figure_06_03_008d.jpg)

Factor: 121m21.

(11m1)(11m+1)

Factor: 81y21.

(9y1)(9y+1)
Factor differences of squares.
Step 1.Does the binomial fit the pattern?a2b2Is this a difference?\_\_\_\_\_\_\_\_Are the first and last terms perfect squares?Step 2.Write them as squares.(a)2(b)2Step 3.Write the product of conjugates.(ab)(a+b)Step 4.Check by multiplying.

It is important to remember that sums of squares do not factor into a product of binomials. There are no binomial factors that multiply together to get a sum of squares. After removing any GCF, the expression a2+b2

is prime!

The next example shows variables in both terms.

Factor: 144x249y2.

144x249y2Is this a difference of squares? Yes.(12x)2(7y)2Factor as the product of conjugates.(12x7y)(12x+7y)Check by multiplying.(12x7y)(12x+7y)144x249y2

Factor: 196m225n2.

(16m5n)(16m+5n)

Factor: 121p29q2.

(11p3q)(11p+3q)

As always, you should look for a common factor first whenever you have an expression to factor. Sometimes a common factor may “disguise” the difference of squares and you won’t recognize the perfect squares until you factor the GCF.

Also, to completely factor the binomial in the next example, we’ll factor a difference of squares twice!

Factor: 48x4y2243y2.

48x4y2243y2Is there a GCF? Yes,3y2—factor it out!3y2(16x481)Is the binomial a difference of squares? Yes.3y2((4x2)2(9)2)Factor as a product of conjugates.3y2(4x29)(4x2+9)Notice the first binomial is also a difference of squares!3y2((2x)2(3)2)(4x2+9)Factor it as the product of conjugates.3y2(2x3)(2x+3)(4x2+9)

The last factor, the sum of squares, cannot be factored.

Check by multiplying:3y2(2x3)(2x+3)(4x2+9)3y2(4x29)(4x2+9)3y2(16x481)48x4y2243y2

Factor: 2x4y232y2.

2y2(x2)(x+2)(x2+4)

Factor: 7a4c27b4c2.

7c2(ab)(a+b)(a2+b2)

The next example has a polynomial with 4 terms. So far, when this occurred we grouped the terms in twos and factored from there. Here we will notice that the first three terms form a perfect square trinomial.

Factor: x26x+9y2.

Notice that the first three terms form a perfect square trinomial.

| | . | {: valign=”top”}| Factor by grouping the first three terms. | . | {: valign=”top”}| Use the perfect square trinomial pattern.      | . | {: valign=”top”}| Is this a difference of squares? Yes. | | {: valign=”top”}| Yes—write them as squares. | . | {: valign=”top”}| Factor as the product of conjugates. | . | {: valign=”top”}| | . | {: valign=”top”}{: .unnumbered .unstyled summary=”We have x squared minus 6x plus 9 minus y squared. We factor by grouping the first three terms. Use the perfect square trinomial pattern to get open parentheses x minus 3 close parentheses squared minus y squared. Is this a difference of squares? Yes. Factor as the product of conjugates, open parentheses x minus 3 minus y close parentheses open parentheses x minus 3 plus y close parentheses. You may want to rewrite the solution as open parentheses x minus y minus 3 close parentheses open parentheses x plus y minus 3 close parentheses.” data-label=””}

You may want to rewrite the solution as (xy3)(x+y3).

Factor: x210x+25y2.

(x5y)(x5+y)

Factor: x2+6x+94y2.

(x+32y)(x+3+2y)

Factor Sums and Differences of Cubes

There is another special pattern for factoring, one that we did not use when we multiplied polynomials. This is the pattern for the sum and difference of cubes. We will write these formulas first and then check them by multiplication.

a3+b3=(a+b)(a2ab+b2)a3b3=(ab)(a2+ab+b2)

We’ll check the first pattern and leave the second to you.

| | . | {: valign=”top”}| Distribute. | . | {: valign=”top”}| Multiply. | . | {: valign=”top”}| Combine like terms. | . | {: valign=”top”}{: .unnumbered .unstyled summary=”Open parentheses a plus b close parentheses open parentheses a squared minus ab plus b squared. Distribute: a open parentheses a squared minus ab plus b squared plus b open parentheses a squared minus ab plus b squared close parentheses. Multiply: a cubed minus a squared b plus ab squared plus a squared b minus ab squared plus b cubed. Combine like terms: a cubed plus b cubed.” data-label=””}

Sum and Difference of Cubes Pattern
a3+b3=(a+b)(a2ab+b2)a3b3=(ab)(a2+ab+b2)

The two patterns look very similar, don’t they? But notice the signs in the factors. The sign of the binomial factor matches the sign in the original binomial. And the sign of the middle term of the trinomial factor is the opposite of the sign in the original binomial. If you recognize the pattern of the signs, it may help you memorize the patterns.

a cubed plus b cubed is open parentheses a plus b close parentheses open parentheses a squared minus ab plus b squared close parentheses. a cubed minus b cubed is open parentheses a minus close parentheses open parentheses a squared plus ab plus b squared close parentheses. In both cases, the sign of the first term on the right side of the equation is the same as the sign on the left side of the equation and the sign of the second term is the opposite of the sign on the left side. The trinomial factor in the sum and difference of cubes pattern cannot be factored.

It be very helpful if you learn to recognize the cubes of the integers from 1 to 10, just like you have learned to recognize squares. We have listed the cubes of the integers from 1 to 10 in [link].

n 1 2 3 4 5 6 7 8 9 10
{: valign=”top”} ———-                  
n3                    

| 1 | 8 | 27 | 64 | 125 | 216 | 343 | 512 | 729 | 1000 | {: valign=”top”}{: summary=”This table has 11 columns and 2 columns. The first column labels each row n and n cubed. The remaining columns of the first row have the numbers 1 through 10. The remaining columns of the second row have the numbers 1, 8, 27, 64, 125, 216, 343, 512, 729, 1000.”}

How to Factor the Sum or Difference of Cubes

Factor: x3+64.

![Step 1 is to check if the binomial fits the sum or difference of cubes pattern. For this, we check whether it is a sum or difference. x cubed plus 64 is a sum. Next we check if the first and last terms are perfect cubes. They are](/algebra-intermediate-book/resources/CNX_IntAlg_Figure_06_03_012a.jpg) ![Step 2 is to rewrite as cubes. So we rewrite as x cubed plus 4 cubed.](/algebra-intermediate-book/resources/CNX_IntAlg_Figure_06_03_012b.jpg) ![Step 3 is to use either the sum or difference of cubes pattern. Since this is a sum of cubes, we get open parentheses x plus 4 close parentheses open parentheses x squared minus 4x plus 4 squared.](/algebra-intermediate-book/resources/CNX_IntAlg_Figure_06_03_012c.jpg) ![Step 4 is to simplify inside the parentheses. It is already simplified](/algebra-intermediate-book/resources/CNX_IntAlg_Figure_06_03_012d.jpg) ![Step 5 is to check by multiplying the factors.](/algebra-intermediate-book/resources/CNX_IntAlg_Figure_06_03_012e.jpg)

Factor: x3+27.

(x+3)(x23x+9)

Factor: y3+8.

(y+2)(y22y+4)
Factor the sum or difference of cubes.
  1. Does the binomial fit the sum or difference of cubes pattern?

    Is it a sum or difference?


    Are the first and last terms perfect cubes?

  2. Write them as cubes.
  3. Use either the sum or difference of cubes pattern.
  4. Simplify inside the parentheses.
  5. Check by multiplying the factors.

Factor: 27u3125v3.

.
This binomial is a difference. The first and last
terms are perfect cubes.
Write the terms as cubes. .
Use the difference of cubes pattern. .
Simplify. .
Check by multiplying. We’ll leave the check to you.

Factor: 8x327y3.

(2x3y)(4x26xy+9y2)

Factor: 1000m3125n3.

(10m5n)(100m250mn+25n2)

In the next example, we first factor out the GCF. Then we can recognize the sum of cubes.

Factor: 6x3y+48y4.

.
Factor the common factor. .
This binomial is a sum The first and last
terms are perfect cubes.
Write the terms as cubes. .
Use the sum of cubes pattern. .
Simplify. .

Check:

To check, you may find it easier to multiply the sum of cubes factors first, then multiply that product by 6y.

We’ll leave the multiplication for you.

Factor: 500p3+4q3.

4(5p+q)(25p25pq+q2)

Factor: 432c3+686d3.

2(6c+7d)(36c242cd+49d2)

The first term in the next example is a binomial cubed.

Factor: (x+5)364x3.

.
This binomial is a difference. The first and
last terms are perfect cubes.
Write the terms as cubes. .
Use the difference of cubes pattern. .
Simplify. .
.
Check by multiplying. We’ll leave the check to you.

Factor: (y+1)327y3.

(−2y+1)(13y2+5y+1)

Factor: (n+3)3125n3.

(−4n+3)(31n2+21n+9)

Access this online resource for additional instruction and practice with factoring special products.

Key Concepts

Practice Makes Perfect

Factor Perfect Square Trinomials

In the following exercises, factor completely using the perfect square trinomials pattern.

16y2+24y+9
(4y+3)2
25v2+20v+4
36s2+84s+49
(6s+7)2
49s2+154s+121
100x220x+1
(10x1)2
64z216z+1
25n2120n+144
(5n12)2
4p252p+169
49x2+28xy+4y2
(7x+2y)2
25r2+60rs+36s2
100y252y+1
(50y1)(2y1)
64m234m+1
10jk2+80jk+160j
10j(k+4)2
64x2y96xy+36y
75u430u3v+3u2v2
3u2(5uv)2
90p4+300p4q+250p2q2

Factor Differences of Squares

In the following exercises, factor completely using the difference of squares pattern, if possible.

25v21
(5v1)(5v+1)
169q21
449x2
(7x2)(7x+2)
12125s2
6p2q254p2
6p2(q3)(q+3)
98r372r
24p2+54
6(4p2+9)
20b2+140
121x2144y2
(11x12y)(11x+12y)
49x281y2
169c236d2
(13c6d)(13c+6d)
36p249q2
16z41
(2z1)(2z+1)(4z2+1)
m4n4
162a4b232b2
2b2(3a2)(3a+2)(9a2+4)
48m4n2243n2
x216x+64y2
(x8y)(x8+y)
p2+14p+49q2
a2+6a+99b2
(a+33b)(a+3+3b)
m26m+916n2

Factor Sums and Differences of Cubes

In the following exercises, factor completely using the sums and differences of cubes pattern, if possible.

x3+125
(x+5)(x25x+25)
n6+512
z627
(z23)(z4+3z2+9)
v3216
8343t3
(27t)(4+14t+49t2)
12527w3
8y3125z3
(2y5z)(4y2+10yz+25z2)
27x364y3
216a3+125b3
(6a+5b)(36a230ab+25b2)
27y3+8z3
7k3+56
7(k+2)(k22k+4)
6x348y3
2x216x2y3
2x2(12y)(1+2y+4y2)
−2x3y216y5
(x+3)3+8x3
−9(x+1)(x2+3)
(x+4)327x3
(y5)364y3
(3y+5)(21y230y+25)
(y5)3+125y3

Mixed Practice

In the following exercises, factor completely.

64a225
(8a5)(8a+5)
121x2144
27q23
3(3q1)(3q+1)
4p2100
16x272x+81
(4x9)2
36y2+12y+1
8p2+2
2(4p2+1)
81x2+169
1258y3
(52y)(25+10y+4y2)
27u3+1000
45n2+60n+20
5(3n+2)2
48q324q2+3q
x210x+25y2
(x+y5)(xy5)
x2+12x+36y2
(x+1)3+8x3
(3x+1)(3x2+1)
(y3)364y3

Writing Exercises

Why was it important to practice using the binomial squares pattern in the chapter on multiplying polynomials?

Answers will vary.

How do you recognize the binomial squares pattern?

Explain why n2+25(n+5)2.

Use algebra, words, or pictures.

Answers will vary.

Maribel factored y230y+81

as (y9)2.

Was she right or wrong? How do you know?

Self Check

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

This table has 4 columns 3 rows and a header row. The header row labels each column I can, confidently, with some help and no, I don’t get it. The first column has the following statements: factor perfect square trinomials, factor differences of squares, factor sums and differences of cubes. The remaining columns are blank. What does this checklist tell you about your mastery of this section? What steps will you take to improve?


Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

You can also download for free at http://cnx.org/contents/02776133-d49d-49cb-bfaa-67c7f61b25a1@4.13

Attribution: