Elementary Algebra 2e · free preview

7.4 Factor Special Products

Learning objectives: Factor perfect square trinomials; Factor differences of squares; Factor sums and differences of cubes; Choose method to factor a polynomial completely

1. Learning objectives

Learning objectives

Learning objectives

  • Factor perfect square trinomials
  • Factor differences of squares
  • Factor sums and differences of cubes
  • Choose method to factor a polynomial completely

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.

2. Factor Perfect Square Trinomials

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.

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\begin{array}{c} {(3x)}^{2}+2(3x\cdot{}4)+{4}^{2} \\ 9{x}^{2}+24x+16 \\ \end{array}

The trinomial 9*x*2{}^{2} + 24 +16 is called a perfect square trinomial. It is the square of the binomial 3*x*+4.

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

If a and b are real numbers,

(a+b)2=a2+2ab+b2 (a−b)2=a2−2ab+b2\begin{array}{cccc} {(a+b)}^{2}={a}^{2}+2ab+{b}^{2} & & & \,{(a-b)}^{2}={a}^{2}-2ab+{b}^{2} \\ \end{array}

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{}^{2} + 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.

If a and b are real numbers,

a2+2ab+b2=(a+b)2 a2−2ab+b2=(a−b)2\begin{array}{cccc} {a}^{2}+2ab+{b}^{2}={(a+b)}^{2} & & & \,{a}^{2}-2ab+{b}^{2}={(a-b)}^{2} \\ \end{array}

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{a}^{2}. Next check that the last term is a perfect square, b2{b}^{2}. Then check the middle term—is it twice the product, 2*ab*? If everything checks, you can easily write the factors.

3. Example 7.42

Example 7.42

Example 7.42

How to Factor Perfect Square Trinomials

Factor: 9x2+12x+49{x}^{2}+12x+4.

The sign of the middle term determines which pattern we will use. When the middle term is negative, we use the pattern a2−2ab+b2{a}^{2}-2ab+{b}^{2}, which factors to (a−b)2{(a-b)}^{2}.

The steps are summarized here.

Factor perfect square trinomials.

Step1. Doesthetrinomialfitthepattern?a2+2ab+b2 a2−2ab+b2 ∙ Isthefirsttermaperfectsquare?(a)2 (a)2 Writeitasasquare. ∙ Isthelasttermaperfectsquare?(a)2 (b)2 (a)2 (b)2 Writeitasasquare. ∙ Checkthemiddleterm.Isit 2ab?(a)2↘2⋅a⋅b↙(b)2 (a)2↘2⋅a⋅b↙(b)2Step2. Writethesquareofthebinomial.(a+b)2 (a−b)2Step3. Checkbymultiplying.\begin{array}{lcccccc} \mathrm{Step 1.}\,\mathrm{Does the trinomial fit the pattern?} & & & {a}^{2}+2ab+{b}^{2} & & & \,{a}^{2}-2ab+{b}^{2} \\ \,\bullet\,\mathrm{Is the first term a perfect square?} & & & {(a)}^{2} & & & \,{(a)}^{2} \\ \,\mathrm{Write it as a square.} & & & & & & \\ \,\bullet\,\mathrm{Is the last term a perfect square?} & & & {(a)}^{2}\,{(b)}^{2} & & & \,{(a)}^{2}\,{(b)}^{2} \\ \,\mathrm{Write it as a square.} & & & & & & \\ \,\bullet\,\mathrm{Check the middle term. Is it}\,2ab? & & & {(a)}^{2}{}_{↘}\underset{2\cdot{}a\cdot{}b}{}{}_{↙}{(b)}^{2} & & & \,{(a)}^{2}{}_{↘}\underset{2\cdot{}a\cdot{}b}{}{}_{↙}{(b)}^{2} \\ \mathrm{Step 2.}\,\mathrm{Write the square of the binomial.} & & & {(a+b)}^{2} & & & \,{(a-b)}^{2} \\ \mathrm{Step 3.}\,\mathrm{Check by multiplying.} & & & & & & \\ \end{array}

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

4. Example 7.43

Example 7.43

Example 7.43

Factor: 81y2−72y+1681{y}^{2}-72y+16.

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 (a−b)2{(a-b)}^{2}.

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

5. Example 7.44

Example 7.44

Example 7.44

Factor: 36x2+84xy+49y236{x}^{2}+84xy+49{y}^{2}.

Solution

6. Example 7.45

Example 7.45

Example 7.45

Factor: 9x2+50x+259{x}^{2}+50x+25.

Solution

9x2+50x+25\begin{array}{c} 9{x}^{2}+50x+25 \\ \end{array}
Are the first and last terms perfect squares?(3x)2 (5)2\begin{array}{c} {(3x)}^{2}\,{(5)}^{2} \\ \end{array}
Check the middle term—is it 2ab?2ab?(3x)2↘2(3x)(5)30x↙(5)2\begin{array}{c} {(3x)}^{2}{}_{↘}\underset{\underset{30x}{2(3x)(5)}}{}{}_{↙}{(5)}^{2} \\ \end{array}
No! 30x≠50x30x\ne{}50xThis does not fit the pattern!
Factor using the “ac” method.9x2+50x+259{x}^{2}+50x+25
Notice: ac9⋅25225 and 5⋅45=2255+45=50\begin{array}{l} \mathrm{Notice:}\,\begin{array}{c} ac \\ 9\cdot{}25 \\ 225 \\ \end{array}\,\mathrm{and}\,\begin{array}{c} 5\cdot{}45=225 \\ 5+45=50 \\ \end{array} \\ \end{array}
Split the middle term.Factor by grouping.9x2+5x+45x+25x(9x+5)+5(9x+5)(9x+5)(x+5)\begin{array}{c} 9{x}^{2}+5x+45x+25 \\ x(9x+5)+5(9x+5) \\ (9x+5)(x+5) \\ \end{array}
Check. (9x+5)(x+5) 9x2+45x+5x+25 9x2+50x+25 ✓\begin{array}{l} \,(9x+5)(x+5) \\ \,9{x}^{2}+45x+5x+25 \\ \,9{x}^{2}+50x+25\,\mathrm{✓} \\ \end{array}

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.

7. Example 7.46

Example 7.46

Example 7.46

Factor: 36x2y−48xy+16y36{x}^{2}y-48xy+16y.

Solution

8. Factor Differences of Squares

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:

(3x−4)(3x+4)9x2−16\begin{array}{c} (3x-4)(3x+4) \\ 9{x}^{2}-16 \\ \end{array}

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.

If a and b are real numbers

(a−b)(a+b)=a2−b2(a-b)(a+b)={a}^{2}-{b}^{2}

The product is called a difference of squares.

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.

If a and b are real numbers,

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.

9. Example 7.47

Example 7.47

Example 7.47

How to Factor Differences of Squares

Factor: x2−4{x}^{2}-4.

Factor differences of squares.

Step1. Doesthebinomialfitthepattern?a2−b2 ∙ Isthisadifference?‾−‾ ∙ Arethefirstandlasttermsperfectsquares?Step2. Writethemassquares.(a)2−(b)2Step3. Writetheproductofconjugates.(a−b)(a+b)Step4. Checkbymultiplying.\begin{array}{lccc} \mathrm{Step 1.}\,\mathrm{Does the binomial fit the pattern?} & & & {a}^{2}-{b}^{2} \\ \,\bullet\,\mathrm{Is this a difference?} & & & \underline{\hspace{2em}}-\underline{\hspace{2em}} \\ \,\bullet\,\mathrm{Are the first and last terms perfect squares?} & & & \\ \mathrm{Step 2.}\,\mathrm{Write them as squares.} & & & {(a)}^{2}-{(b)}^{2} \\ \mathrm{Step 3.}\,\mathrm{Write the product of conjugates.} & & & (a-b)(a+b) \\ \mathrm{Step 4.}\,\mathrm{Check by multiplying.} & & & \\ \end{array}

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{a}^{2}+{b}^{2} is prime!

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

10. Example 7.48

Example 7.48

Example 7.48

Factor: 64y2−164{y}^{2}-1.

Solution

11. Example 7.49

Example 7.49

Example 7.49

Factor: 121x2−49y2121{x}^{2}-49{y}^{2}.

Solution

121x2−49y2Isthisadifferenceofsquares?Yes.(11x)2−(7y)2Factorastheproductofconjugates.(11x−7y)(11x+7y)Checkbymultiplying. (11x−7y)(11x+7y) 121x2−49y2 ✓\begin{array}{cccc} & & & 121{x}^{2}-49{y}^{2} \\ \mathrm{Is this a difference of squares? Yes.} & & & {(11x)}^{2}-{(7y)}^{2} \\ \mathrm{Factor as the product of conjugates.} & & & (11x-7y)(11x+7y) \\ \mathrm{Check by multiplying.} & & & \\ \,(11x-7y)(11x+7y) & & & \\ \,121{x}^{2}-49{y}^{2}\,\mathrm{✓} & & & \\ \end{array}

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

12. Example 7.50

Example 7.50

Example 7.50

Factor: 100−h2100-{h}^{2}.

Solution

100−h2100-{h}^{2}
Is this a difference of squares? Yes.(10)2−(h)2{(10)}^{2}-{(h)}^{2}
Factor as the product of conjugates.(10−h)(10+h)(10-h)(10+h)
Check by multiplying.  (10−h)(10+h) 100−h2 ✓\begin{array}{l} \,(10-h)(10+h) \\ \,100-{h}^{2}\,\mathrm{✓} \\ \end{array}
Be careful not to rewrite the original expression as h2−100{h}^{2}-100.

Factor h2−100{h}^{2}-100 on your own and then notice how the result differs from (10−h)(10+h)(10-h)(10+h).

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

13. Example 7.51

Example 7.51

Example 7.51

Factor: x4−y4{x}^{4}-{y}^{4}.

Solution

x4−y4{x}^{4}-{y}^{4}
Is this a difference of squares? Yes.(x2)2−(y2)2{({x}^{2})}^{2}-{({y}^{2})}^{2}
Factor it as the product of conjugates.(x2−y2)(x2+y2)({x}^{2}-{y}^{2})({x}^{2}+{y}^{2})
Notice the first binomial is also a difference of squares!((x)2−(y)2)(x2+y2)({(x)}^{2}-{(y)}^{2})({x}^{2}+{y}^{2})
Factor it as the product of conjugates. The lastfactor, the sum of squares, cannot be factored.(x−y)(x+y)(x2+y2)(x-y)(x+y)({x}^{2}+{y}^{2})
Check by multiplying.  (x−y)(x+y)(x2+y2) [(x−y)(x+y)](x2+y2) (x2−y2)(x2+y2) x4−y4 ✓\begin{array}{l} \,(x-y)(x+y)({x}^{2}+{y}^{2}) \\ \,[(x-y)(x+y)]({x}^{2}+{y}^{2}) \\ \,({x}^{2}-{y}^{2})({x}^{2}+{y}^{2}) \\ \,{x}^{4}-{y}^{4}\,\mathrm{✓} \\ \end{array}

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.

14. Example 7.52

Example 7.52

Example 7.52

Factor: 8x2y−98y8{x}^{2}y-98y.

Solution

8x2y−98y8{x}^{2}y-98y
Is there a GCF? Yes, 2*y*—factor it out!2y(4x2−49)2y(4{x}^{2}-49)
Is the binomial a difference of squares? Yes.2y((2x)2−(7)2)2y({(2x)}^{2}-{(7)}^{2})
Factor as a product of conjugates.2y(2x−7)(2x+7)2y(2x-7)(2x+7)
Check by multiplying. 2y(2x−7)(2x+7) 2y[(2x−7)(2x+7)] 2y(4x2−49) 8x2y−98y ✓\begin{array}{l} \,2y(2x-7)(2x+7) \\ \,2y[(2x-7)(2x+7)] \\ \,2y(4{x}^{2}-49) \\ \,8{x}^{2}y-98y\,\mathrm{✓} \\ \end{array}

15. Example 7.53

Example 7.53

Example 7.53

Factor: 6x2+966{x}^{2}+96.

Solution

6x2+966{x}^{2}+96
Is there a GCF? Yes, 6—factor it out!6(x2+16)6({x}^{2}+16)
Is the binomial a difference of squares? No, itis a sum of squares. Sums of squares do not factor!
Check by multiplying. 6(x2+16) 6x2+96 ✓\begin{array}{l} \,6({x}^{2}+16) \\ \,6{x}^{2}+96\,\mathrm{✓} \\ \end{array}

16. Factor Sums and Differences of Cubes

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)(a2−ab+b2)a3−b3=(a−b)(a2+ab+b2)\begin{array}{c} {a}^{3}+{b}^{3}=(a+b)({a}^{2}-ab+{b}^{2}) \\ {a}^{3}-{b}^{3}=(a-b)({a}^{2}+ab+{b}^{2}) \\ \end{array}

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

a3+b3=(a+b)(a2−ab+b2)a3−b3=(a−b)(a2+ab+b2)\begin{array}{c} {a}^{3}+{b}^{3}=(a+b)({a}^{2}-ab+{b}^{2}) \\ {a}^{3}-{b}^{3}=(a-b)({a}^{2}+ab+{b}^{2}) \\ \end{array}

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.

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 7.2.

n12345678910
n3{n}^{3}1827641252163435127291000

Table

7.2

17. Example 7.54

Example 7.54

Example 7.54

How to Factor the Sum or Difference of Cubes

Factor: x3+64{x}^{3}+64.

Factor the sum or difference of cubes.

To factor the sum or difference of cubes:

  1. Step 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. Step 2. Write them as cubes.
  3. Step 3. Use either the sum or difference of cubes pattern.
  4. Step 4. Simplify inside the parentheses
  5. Step 5. Check by multiplying the factors.

18. Example 7.55

Example 7.55

Example 7.55

Factor: x3−1000{x}^{3}-1000.

Solution

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

19. Example 7.56

Example 7.56

Example 7.56

Factor: 512−125p3512-125{p}^{3}.

Solution

20. Example 7.57

Example 7.57

Example 7.57

Factor: 27u3−125v327{u}^{3}-125{v}^{3}.

Solution

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

21. Example 7.58

Example 7.58

Example 7.58

Factor: 5m3+40n35{m}^{3}+40{n}^{3}.

Solution

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)(m2−2mn+4n2)5(\overset{}{m+2n})(\overset{}{{m}^{2}-2mn+4{n}^{2}})

22. Section 7.4 Exercises

Section 7.4 Exercises

Section 7.4 Exercises

Factor Perfect Square Trinomials

In the following exercises, factor.

Factor Differences of Squares

In the following exercises, factor.

Factor Sums and Differences of Cubes

In the following exercises, factor.

Mixed Practice

In the following exercises, factor.

Everyday Math

Writing Exercises

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

ⓑ 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?

23. Practice 1

  1. Factor: 4x2+12x+94{x}^{2}+12x+9.
  1. Factor: 9y2+24y+169{y}^{2}+24y+16.
  1. Factor: 64y2−80y+2564{y}^{2}-80y+25.
  1. Factor: 16z2−72z+8116{z}^{2}-72z+81.
  1. Factor: 49x2+84xy+36y249{x}^{2}+84xy+36{y}^{2}.

24. Practice 2

  1. Factor: 64m2+112mn+49n264{m}^{2}+112mn+49{n}^{2}.
  1. Factor: 16r2+30rs+9s216{r}^{2}+30rs+9{s}^{2}.
  1. Factor: 9u2+87u+1009{u}^{2}+87u+100.
  1. Factor: 8x2y−24xy+18y8{x}^{2}y-24xy+18y.
  1. Factor: 27p2q+90pq+75q27{p}^{2}q+90pq+75q.

25. Practice 3

  1. Factor: h2−81{h}^{2}-81.
  1. Factor: k2−121{k}^{2}-121.
  1. Factor: m2−1{m}^{2}-1.
  1. Factor: 81y2−181{y}^{2}-1.
  1. Factor: 196m2−25n2196{m}^{2}-25{n}^{2}.

26. Practice 4

  1. Factor: 144p2−9q2144{p}^{2}-9{q}^{2}.
  1. Factor: 144−x2144-{x}^{2}.
  1. Factor: 169−p2169-{p}^{2}.
  1. Factor: a4−b4{a}^{4}-{b}^{4}.
  1. Factor: x4−16{x}^{4}-16.

27. Practice 5

  1. Factor: 7xy2−175x7x{y}^{2}-175x.
  1. Factor: 45a2b−80b45{a}^{2}b-80b.
  1. Factor: 8a2+2008{a}^{2}+200.
  1. Factor: 36y2+8136{y}^{2}+81.
  1. Factor: x3+27{x}^{3}+27.

28. Practice 6

  1. Factor: y3+8{y}^{3}+8.
  1. Factor: u3−125{u}^{3}-125.
  1. Factor: v3−343{v}^{3}-343.
  1. Factor: 64−27x364-27{x}^{3}.
  1. Factor: 27−8y327-8{y}^{3}.

29. Practice 7

  1. Factor: 8x3−27y38{x}^{3}-27{y}^{3}.
  1. Factor: 1000m3−125n31000{m}^{3}-125{n}^{3}.
  1. Factor: 500p3+4q3500{p}^{3}+4{q}^{3}.
  1. Factor: 432c3+686d3432{c}^{3}+686{d}^{3}.
  1. 16y2+24y+916{y}^{2}+24y+9

30. Practice 8

  1. 36s2+84s+4936{s}^{2}+84s+49
  1. 100x2−20x+1100{x}^{2}-20x+1
  1. 25n2−120n+14425{n}^{2}-120n+144
  1. 49x2−28xy+4y249{x}^{2}-28xy+4{y}^{2}
  1. 25n2+25n+425{n}^{2}+25n+4

31. Practice 9

  1. 64m2−16m+164{m}^{2}-16m+1
  1. 10k2+80k+16010{k}^{2}+80k+160
  1. 75u3−30u2v+3uv275{u}^{3}-30{u}^{2}v+3u{v}^{2}
  1. x2−16{x}^{2}-16
  1. 25v2−125{v}^{2}-1

32. Practice 10

  1. 121x2−144y2121{x}^{2}-144{y}^{2}
  1. 169c2−36d2169{c}^{2}-36{d}^{2}
  1. 4−49x24-49{x}^{2}
  1. 16z4−116{z}^{4}-1
  1. 5q2−455{q}^{2}-45

33. Practice 11

  1. 24p2+5424{p}^{2}+54
  1. x3+125{x}^{3}+125
  1. z3−27{z}^{3}-27
  1. 8−343t38-343{t}^{3}
  1. 8y3−125z38{y}^{3}-125{z}^{3}

34. Practice 12

  1. 7k3+567{k}^{3}+56
  1. 2−16y32-16{y}^{3}
  1. 64a2−2564{a}^{2}-25
  1. 27q2−327{q}^{2}-3
  1. 16x2−72x+8116{x}^{2}-72x+81

35. Practice 13

  1. 8p2+28{p}^{2}+2
  1. 125−8y3125-8{y}^{3}
  1. 45n2+60n+2045{n}^{2}+60n+20
  1. 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+2254{w}^{2}+60w+225. Factor the trinomial.
  1. Why was it important to practice using the binomial squares pattern in the chapter on multiplying polynomials?

36. Practice 14

  1. Explain why n2+25≠(n+5)2{n}^{2}+25\ne{(n+5)}^{2}. Use algebra, words, or pictures.

Practice this interactively

Free account · instant grading · spaced review that schedules itself.

Start this course for free