Elementary Algebra 2e — Original English

Factor Special Products


The strategy for factoring we developed in the last section will guide you as you factor most binomials, trinomials, and polynomials with more than three terms. 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. You can square a binomial by using FOIL, but using the Binomial Squares pattern you saw in a previous chapter saves you a step. Let’s review the Binomial Squares pattern by squaring a binomial using FOIL.

This image shows the FOIL procedure for multiplying (3x + 4) squared. The polynomial is written with two factors (3x + 4)(3x + 4). Then, the terms are 9 x squared + 12 x + 12 x + 16, demonstrating first, outer, inner, last. Finally, the product is written, 9 x squared + 24 x + 16.

The first term is the square of the first term of the binomial and the last term is the square of the last. The middle term is twice the product of the two terms of the binomial.

(3x)2+2(3x·4)+429x2+24x+16

The trinomial 9x2 + 24 +16 is called a perfect square trinomial. It is the square of the binomial 3x+4.

We’ll repeat the Binomial Squares Pattern here to use as a reference in factoring.

When you square a binomial, the product is a perfect square trinomial. In this chapter, you are learning to factor—now, 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.

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 twice the product, 2ab? If everything checks, you can easily write the factors.

How to Factor Perfect Square Trinomials

Factor: 9x2+12x+4.

Solution

Solution

This table gives the steps for factoring 9 x squared +12 x +4. The first step is recognizing the perfect square pattern “a” squared + 2 a b + b squared. This includes, is the first term a perfect square and is the last term a perfect square. The first term can be written as (3 x) squared and the last term can be written as 2 squared. Also, in the first step, the middle term has to be twice “a” times b. This is verified by 2 times 3 x times 2 being 12 x. The second step is writing the square of the binomial. The polynomial is written as (3 x) squared + 2 times 3 x times 2 + 2 squared. This is factored as (3 x + 2) squared. The last step is to check with multiplication.

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.

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

Factor: 81y272y+16.

Solution

Solution

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.

A mathematical expression 81y^2 - 72y + 16 is displayed on a white background.
Are the first and last terms perfect squares? Two mathematical expressions are shown: (9y)^2 and (4)^2, displayed on a white background.
Check the middle term. Calculation showing the middle term 2(9y)(4), which simplifies to 72y, derived from the squared terms (9y)^2 and (4)^2 in a binomial expansion.
Does is match (ab)2? Yes. The algebraic expression (9y)^2 - 2 * 9y * 4 + 4^2, illustrating the perfect square trinomial identity a^2 - 2ab + b^2, with 'a' as 9y and 'b' as 4.
Write the square of a binomial. A mathematical expression shows the quantity (9y - 4) squared. The expression is enclosed in parentheses, with '9y' followed by a minus sign, then '4', and finally a superscript '2' outside the closing parenthesis.
Check by mulitplying.
(9y4)2
(9y)229y4+42
81y272y+16

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

Factor: 36x2+84xy+49y2.

Solution

Solution

The image displays the mathematical expression 36x^2 + 84xy + 49y^2.
Test each term to verify the pattern. An algebraic expression demonstrating the perfect square trinomial identity a^2 + 2ab + b^2, shown as (6x)^2 + 2 * 6x * 7y + (7y)^2.
Factor. A mathematical expression displays a binomial in parentheses, (6x + 7y), raised to the power of 2, indicating the square of the sum of two terms.
Check by mulitplying.
(6x+7y)2
(6x)2+26x7y+(7y)2
36x2+84xy+49y2

Factor: 9x2+50x+25.

Solution

Solution

Steps to factor 9x^2 + 50x + 25, showing an initial attempt at perfect square trinomials and then successful factorization using the 'ac' method.
9x2+50x+25
Are the first and last terms perfect squares? (3x)2(5)2
Check the middle term—is it 2ab? (3x)22(3x)(5)30x(5)2
No! 30x50x This does not fit the pattern!
Factor using the “ac” method. 9x2+50x+25
Notice:ac9·25225and5·45=2255+45=50
Split the middle term.
Factor by grouping.
9x2+5x+45x+25x(9x+5)+5(9x+5)(9x+5)(x+5)
Check.
(9x+5)(x+5)9x2+45x+5x+259x2+50x+25

Remember the very first step in our Strategy for Factoring Polynomials? It was to ask “is there a greatest common factor?” and, if there was, you factor the GCF before going any further. 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: 36x2y48xy+16y.

Solution

Solution

36x2y48xy+16y
Is there a GCF? Yes, 4y, so factor it out. 4y(9x212x+4)
Is this a perfect square trinomial?
Verify the pattern. A mathematical expression showing the expansion of a perfect square trinomial, (3x - 2)^2, within brackets, multiplied by 4y, with the general form a^2 - 2ab + b^2 highlighted in red above.
Factor. 4y(3x2)2
Remember: Keep the factor 4y in the final product.
Check.
4y(3x2)2
4y[(3x)22·3x·2+22]
4y(9x)212x+4
36x2y48xy+16y

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:

(3x4)(3x+4)9x216

Remember, when you multiply conjugate binomials, the middle terms of the product add to 0. All you have left is a binomial, the difference of squares.

Multiplying conjugates is the only way to get a binomial from the product of two binomials.

To factor, we will use the product pattern “in reverse” to factor the difference of squares. A difference of squares factors to a product of 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 Differences of Squares

Factor: x24.

Solution

Solution

This table gives the steps for factoring x squared minus 4. The first step is identifying the pattern in the binomial including it is a difference. Also, the first and last terms are verified as squares. The second step is writing the two terms as squares, x squared and 2 squared. The second step is writing the two terms as squares, x squared and 2 squared. The third step is to write the factoring as a product of the conjugates (x – 2)(x + 2). The last step is to check with multiplication.

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!


Don’t forget that 1 is a perfect square. We’ll need to use that fact in the next example.

Factor: 64y21.

Solution

Solution

The image shows the mathematical expression 64y^2 - 1, which represents a difference of squares and is a common form in algebra for factorization.
Is this a difference? Yes. The image displays the mathematical expression 64y^2 - 1, which represents a difference of squares problem in algebra.
Are the first and last terms perfect squares?
Yes - write them as squares. Mathematical expressions demonstrating the difference of squares formula, with 'a^2 - b^2' in red and an example '(8y)^2 - 1^2' below it.
Factor as the product of conjugates. Difference of squares formula (a-b)(a+b) exemplified by (8y-1)(8y+1).
Check by multiplying.
(8y1)(8y+1)
64y21

Factor: 121x249y2.

Solution

Solution

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

The binomial in the next example may look “backwards,” but it’s still the difference of squares.

Factor: 100h2.

Solution

Solution

This table demonstrates the step-by-step process of factoring the difference of squares expression 100 - h^2, including a caution.
100h2
Is this a difference of squares? Yes. (10)2(h)2
Factor as the product of conjugates. (10h)(10+h)
Check by multiplying.
(10h)(10+h)100h2
Be careful not to rewrite the original expression as h2100.

Factor h2100 on your own and then notice how the result differs from (10h)(10+h).

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

Factor: x4y4.

Solution

Solution

This table illustrates the step-by-step factorization of the algebraic expression x^4 - y^4 into (x - y)(x + y)(x^2 + y^2) using the difference of squares method, complete with a verification.
x4y4
Is this a difference of squares? Yes. (x2)2(y2)2
Factor it as the product of conjugates. (x2y2)(x2+y2)
Notice the first binomial is also a difference of squares! ((x)2(y)2)(x2+y2)
Factor it as the product of conjugates. The last
factor, the sum of squares, cannot be factored.
(xy)(x+y)(x2+y2)
Check by multiplying.
(xy)(x+y)(x2+y2)[(xy)(x+y)](x2+y2)(x2y2)(x2+y2)x4y4

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.

Factor: 8x2y98y.

Solution

Solution

Step-by-step factorization of the algebraic expression 8x^2y - 98y, demonstrating GCF and difference of squares methods.
8x2y98y
Is there a GCF? Yes, 2y—factor it out! 2y(4x249)
Is the binomial a difference of squares? Yes. 2y((2x)2(7)2)
Factor as a product of conjugates. 2y(2x7)(2x+7)
Check by multiplying.
2y(2x7)(2x+7)2y[(2x7)(2x+7)]2y(4x249)8x2y98y

Factor: 6x2+96.

Solution

Solution

Steps demonstrating the factoring of the polynomial 6x^2 + 96, including GCF extraction and identifying unfactorable sums of squares.
6x2+96
Is there a GCF? Yes, 6—factor it out! 6(x2+16)
Is the binomial a difference of squares? No, it
is a sum of squares. Sums of squares do not factor!
Check by multiplying.
6(x2+16)6x2+96

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.

The image shows the algebraic expression (a + b)(a^2 - ab + b^2), which is a factored form of the sum of two cubes, a^3 + b^3. The first term (a+b) is highlighted in red.
Distribute. A mathematical expression reads a(a^2 - ab + b^2) + b(a^2 - ab + b^2), demonstrating the distributive property with 'a' and 'b' multiplying a common trinomial.
Multiply. a3a2b+ab2+a2bab2+b3
Combine like terms. a3+b3

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.

This figure demonstrates the sign patterns in the sum and difference of two cubes. For the sum of two cubes, this figure shows the first two signs are plus and the first and the third signs are opposite, plus minus. The difference of two cubes has the first two signs the same, minus. The first and the third sign are minus plus.

The trinomial factor in the sum and difference of cubes pattern cannot be factored.

It can 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 Table 11.

n 1 2 3 4 5 6 7 8 9 10
n3 1 8 27 64 125 216 343 512 729 1000

How to Factor the Sum or Difference of Cubes

Factor: x3+64.

Solution

Solution

This table gives the steps for factoring x cubed + 64. The first step is to verify the binomial fits the pattern. Also, to check the sign for a sum or difference. This binomial is a sum that fits the pattern. The second step is to write the terms as cubes, x cubed + 4 cubed. The third step is follow the pattern for the sum of two cubes, (x + 4)(x squared minus x times 4 + 4 squared). The fourth step is to simplify, (x + 4)(x squared minus 4 x +16). The last step is to check the answer with multiplication.

Factor: x31000.

Solution

Solution

The mathematical expression x cubed minus 1000 is displayed on a white background.
This binomial is a difference. The first and last terms are perfect cubes.
Write the terms as cubes. Two mathematical expressions are shown: a^3 - b^3 in red, and x^3 - 10^3 in black below it, illustrating the difference of cubes.
Use the difference of cubes pattern. (a - b)(a^2 + ab + b^2) and (x - 10)(x^2 + 10 * x + 10^2) are shown, illustrating the difference of cubes factorization.
Simplify. The image shows the difference of cubes factorization: (a-b)(a^2+ab+b^2) in red, with a specific example (x-10)(x^2+10x+100) in black below it.
Check by multiplying.
Polynomial long multiplication demonstrating the difference of cubes identity, (a-b)(a^2+ab+b^2) = a^3-b^3. The example shows (x-10)(x^2+10x+100) simplifying to x^3-1000.

Be careful to use the correct signs in the factors of the sum and difference of cubes.

Factor: 512125p3.

Solution

Solution

The image shows the algebraic expression 512 - 125p^3.
This binomial is a difference. The first and last terms are perfect cubes.
Write the terms as cubes. A mathematical expression displaying the difference of cubes formula a³ - b³ above its application to 8³ - (5p)³.
Use the difference of cubes pattern. The image illustrates the difference of cubes factorization formula, (a - b)(a^2 + ab + b^2), with a specific example: (8 - 5p)(8^2 + 8 * 5p + (5p)^2).
Simplify. A mathematical expression showing the difference of cubes factorization: (8 - 5p)(64 + 40p + 25p^2) with the formula (a - b)(a^2 + ab + b^2) highlighted.
Check by multiplying. We'll leave the check to you.

Factor: 27u3125v3.

Solution

Solution

A mathematical expression showing the difference of two cubes: 27u^3 - 125v^3. This is a common form in algebra for factorization problems.
This binomial is a difference. The first and last terms are perfect cubes.
Write the terms as cubes. A mathematical expression showing the difference of cubes formula a^3 - b^3, followed by an example with specific values: (3u)^3 - (5v)^3.
Use the difference of cubes pattern. An algebraic expression demonstrating the difference of cubes formula: (a - b)(a^2 + ab + b^2) = a^3 - b^3, with 'a' represented by 3u and 'b' by 5v.
Simplify. A mathematical expression showing the product of two binomials, (3u - 5v) and (9u^2 + 15uv + 25v^2), with the difference of cubes formula (a - b)(a^2 + ab + b^2) highlighted in red.
Check by multiplying. We'll leave the check to you.

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

Factor: 5m3+40n3.

Solution

Solution

A mathematical expression displays 5m^3 + 40n^3, written in a clear, digital font on a white background, suggesting an algebraic problem or formula.
Factor the common factor. The image displays the algebraic expression 5(m^3 + 8n^3) on a white background. The expression is written in a clear, standard mathematical font.
This binomial is a sum. The first and last terms are perfect cubes.
Write the terms as cubes. A mathematical expression showing 5 times the sum of m cubed and the quantity 2n cubed, with red 'a cubed' and 'b cubed' labels above m cubed and (2n) cubed respectively.
Use the sum of cubes pattern. Mathematical expression 5(m+2n)(m²-m*2n+(2n)²), illustrating the sum of cubes factorization. Variables 'a' and 'b' (m and 2n respectively) are highlighted in red.
Simplify. An algebraic expression showing 5 multiplied by the product of (m + 2n) and (m^2 - 2mn + 4n^2), illustrating the factorization pattern for the sum of two cubes, a^3 + b^3.

Check. To check, you may find it easier to multiply the sum of cubes factors first, then multiply that product by 5. We’ll leave the multiplication for you.

5(m+2n)(m22mn+4n2)

Key Concepts

  • Factor perfect square trinomials See Example 1.
    Step 1.Does the trinomial fit the pattern?a2+2ab+b2a22ab+b2Is the first term a perfect square?(a)2(a)2Write it as a square.Is the last term a perfect square?(a)2(b)2(a)2(b)2Write it as a square.Check the middle term. Is it2ab?(a)22·a·b(b)2(a)22·a·b(b)2Step 2.Write the square of the binomial.(a+b)2(ab)2Step 3.Check by multiplying.
  • Factor differences of squares See Example 6.
    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.
  • Factor sum and difference of cubes To factor the sum or difference of cubes: See Example 13.
    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.

Practice Makes Perfect

Factor Perfect Square Trinomials

In the following exercises, factor.

16y2+24y+9

Solution

(4y+3)2

25v2+20v+4

36s2+84s+49

Solution

(6s+7)2

49s2+154s+121

100x220x+1

Solution

(10x1)2

64z216z+1

25n2120n+144

Solution

(5n12)2

4p252p+169

49x228xy+4y2

Solution

(7x2y)2

25r260rs+36s2

25n2+25n+4

Solution

(5n+4)(5n+1)

100y220y+1

64m216m+1

Solution

(8m1)2

100x225x+1

10k2+80k+160

Solution

10(k+4)2

64x296x+36

75u330u2v+3uv2

Solution

3u(5uv)2

90p3+300p2q+250pq2

Factor Differences of Squares

In the following exercises, factor.

x216

Solution

(x4)(x+4)

n29

25v21

Solution

(5v1)(5v+1)

169q21

121x2144y2

Solution

(11x12y)(11x+12y)

49x281y2

169c236d2

Solution

(13c6d)(13c+6d)

36p249q2

449x2

Solution

(27x)(2+7x)

12125s2

16z41

Solution

(2z1)(2z+1)(4z2+1)

m4n4

5q245

Solution

5(q3)(q+3)

98r372r

24p2+54

Solution

6(4p2+9)

20b2+140

Factor Sums and Differences of Cubes

In the following exercises, factor.

x3+125

Solution

(x+5)(x25x+25)

n3+512

z327

Solution

(z3)(z2+3z+9)

v3216

8343t3

Solution

(27t)(4+14t+49t2)

12527w3

8y3125z3

Solution

(2y5z)(4y2+10yz+25z2)

27x364y3

7k3+56

Solution

7(k+2)(k22k+4)

6x348y3

216y3

Solution

2(12y)(1+2y+4y2)

−2x316y3

Mixed Practice

In the following exercises, factor.

64a225

Solution

(8a5)(8a+5)

121x2144

27q23

Solution

3(3q1)(3q+1)

4p2100

16x272x+81

Solution

(4x9)2

36y2+12y+1

8p2+2

Solution

2(4p2+1)

81x2+169

1258y3

Solution

(52y)(25+10y+4y2)

27u3+1000

45n2+60n+20

Solution

5(3n+2)2

48q324q2+3q

Everyday Math

Landscaping Sue and Alan are planning to put a 15 foot square swimming pool in their backyard. They will surround the pool with a tiled deck, the same width on all sides. If the width of the deck is w, the total area of the pool and deck is given by the trinomial 4w2+60w+225. Factor the trinomial.

Solution

(2w+15)2

Home repair The height a twelve foot ladder can reach up the side of a building if the ladder’s base is b feet from the building is the square root of the binomial 144b2. Factor the binomial.

Writing Exercises

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

Solution

Answers may vary.

How do you recognize the binomial squares pattern?

Explain why n2+25(n+5)2. Use algebra, words, or pictures.

Solution

Answers may 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 the following statements all to be preceded by “I can…”. The first row is “factor perfect square trinomials”. The second row is “factor differences of squares”. The third row is “factor sums and differences of cubes”. In the columns beside these statements are the headers, “confidently”, “with some help”, and “no-I don’t get it!”.

On a scale of 1–10, how would you rate your mastery of this section in light of your responses on the checklist? How can you improve this?

perfect square trinomials pattern
If a and b are real numbers,
a2+2ab+b2=(a+b)2a22ab+b2=(ab)2
difference of squares pattern
If a and b are real numbers,
This image shows the difference of two squares formula, a squared – b squared = (a – b)(a + b). Also, the squares are labeled, a squared and b squared. The difference is shown between the two terms. Finally, the factoring (a – b)(a + b) are labeled as conjugates.
sum and difference of cubes pattern

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