Intermediate Algebra 2e — Original English

Factor Special Products

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.

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.

Solution
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. Step 2 is to write this as the square of a binomial. We write it as open parentheses 3x plus 2 close parentheses squared. Step 3 is to check by multiplying.

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

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 shows the quadratic polynomial 81y^2 - 72y + 16, which is a perfect square trinomial.
Are the first and last terms perfect squares?     Two mathematical expressions are shown: (9y)^2 on the left and (4)^2 on the right.
Check the middle term. A mathematical image illustrates the expansion of a binomial squared. The expressions (9y)^2 and (4)^2 point to 2(9y)(4), which simplifies to 72y. This shows the calculation of the 2ab term.
Does it match (ab)2? Yes. An example of a perfect square trinomial (a-b)^2 = a^2 - 2ab + b^2, specifically (9y)^2 - 2 * 9y * 4 + 4^2.
Write as the square of a binomial. The mathematical expression (9y-4)^2 is shown in black text on a white background. It represents the quantity (9y minus 4) raised to the power of 2, indicating that the binomial should be squared.
Check by multiplying:

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

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

Factor: 36x2+84xy+49y2.

Solution
A mathematical expression displaying the quadratic trinomial 36x^2 + 84xy + 49y^2.
Test each term to verify the pattern.    The perfect square trinomial formula (a^2 + 2ab + b^2) demonstrated with an example: (6x)^2 + 2(6x)(7y) + (7y)^2.
Factor. The mathematical expression (6x + 7y)    ² is centered on a white background, representing the square of a binomial.
Check by multiplying.

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

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.

Solution
The image displays the algebraic expression 100x^2y - 80xy + 16y. This is a trinomial with three terms, each containing variables x and y, and constant coefficients.
Is there a GCF? Yes, 4y, so factor it out.     The mathematical expression 4y(25x^2 - 20x + 4) is displayed.
Is this a perfect square trinomial?
Verify the pattern. A mathematical expression showing the expansion of a perfect square trinomial inside brackets, specifically 4y[(5x)^2 - 2 * 5x * 2 + 2^2], with a^2 - 2ab + b^2 annotated in red above it.
Factor. A mathematical expression showing 4y multiplied by the quantity (5x minus 2) squared, written as 4y(5x - 2)×2.

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

Check:

4y(5x2)24y[(5x)22·5x·2+22]4y(25x220x+4)100x2y80xy+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:

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.

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 Binomial Using the Difference of Squares

Factor: 64y21.

Solution
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. Step 2 is to write both terms as squares, So, we have open parentheses 8y close parentheses squared minus 1 squared. Step 3 is to write the product of conjugates 8y minus 1, 8y plus 1. Step 4 is to check. We multiply to get the original binomial

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.

Solution
Step-by-step factorization of a difference of squares polynomial, including identification, factoring, and verification.
144x249y2
Is this a difference of squares? Yes. (12x)2(7y)2
Factor as the product of conjugates. (12x7y)(12x+7y)
Check by multiplying.
(12x7y)(12x+7y)144x249y2

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.

Solution
Step-by-step factorization of the polynomial 48x^4y^2 - 243y^2, demonstrating GCF and difference of squares methods, with a final verification.
48x4y2243y2
Is 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

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.

Solution

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

A mathematical expression displays x squared minus 6x plus 9 minus y squared.
Factor by grouping the first three terms. A mathematical expression showing x^2 - 6x + 9 - y^2, with a brace underneath the first three terms (x^2 - 6x + 9) indicating they form a group.
Use the perfect square trinomial pattern.      The mathematical expression (x-3)^2 - y^2 is displayed, representing the difference of two squares with a binomial as the first squared term.
Is this a difference of squares? Yes.
Yes—write them as squares. Two mathematical expressions are displayed: a^2 - b^2 in red text, and (x-3)^2 - y^2 in black text, both representing the difference of squares.
Factor as the product of conjugates. The image shows an algebraic expression `((x-3)-y)((x-3)+y)`, which is an application of the difference of squares formula (A-B)(A+B).
A mathematical expression showing the product of two binomials: (x - 3 - y)(x - 3 + y). This is an example of the difference of squares formula.

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

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 algebraic identity for the sum of cubes: (a + b)(a^2 - ab + b^2).
Distribute. A mathematical expression showing the sum of two terms: a multiplied by (a squared minus ab plus b squared) plus b multiplied by (a squared minus ab plus b squared). This simplifies to a cubed plus b cubed.
Multiply. A mathematical expression: a^3 - a^2b + ab^2 + a^2b - ab^2 + b^3. This expression simplifies to a^3 + b^3.
Combine like terms. The mathematical expression a^3 + b^3 is displayed, representing the sum of two cubes.

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 will 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 8.

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
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 Step 2 is to rewrite as cubes. So we rewrite as x cubed plus 4 cubed. 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. Step 4 is to simplify inside the parentheses. It is already simplified Step 5 is to check by multiplying the factors.

Factor: 27u3125v3.

Solution
The mathematical expression 27u^3 - 125v^3 is displayed in black text on a white background, representing the difference of two cubes.
This binomial is a difference. The first and last
terms are perfect cubes.
Write the terms as cubes. A mathematical image showing the difference of cubes identity: a³ - b³ in red, followed by a specific application of the formula: (3u)³ - (5v)³.
Use the difference of cubes pattern. An image displaying the algebraic identity for the difference of cubes, (a - b)(a^2 + ab + b^2), with a specific example below it where a=3u and b=5v.
Simplify. Two lines of algebraic expressions, illustrating the difference of cubes identity: (a - b)(a^2 + ab + b^2) and (3u - 5v)(9u^2 + 15uv + 25v^2).
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: 6x3y+48y4.

Solution
A mathematical expression 6x^3y + 48y^4 is displayed in black text on a white background, featuring variables x and y raised to powers, coefficients, and an addition operator.
Factor the common factor. A mathematical expression is displayed, which reads as 6y multiplied by the sum of x cubed and 8y cubed, written as 6y(x^3 + 8y^3).
This binomial is a sum The first and last
terms are perfect cubes.
Write the terms as cubes. A mathematical expression 6y(x^3 + (2y)^3), with a hint above in red indicating the sum of cubes formula, a^3 + b^3.
Use the sum of cubes pattern. A mathematical expression featuring 6y multiplied by two parenthetical terms: (x + 2y) and (x^2 - x * 2y + (2y)^2
Simplify. The algebraic expression 6y(x + 2y)(x^2 - 2xy + 4y^2), which is a factored form related to the sum of cubes, simplifying to 6y(x^3 + 8y^3).

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.

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

Factor: (x+5)364x3.

Solution
The image displays the mathematical expression (x+5)² - 64x³.
This binomial is a difference. The first and
last terms are perfect cubes.
Write the terms as cubes. The image displays the difference of cubes formula a^3 - b^3 in red, above an example expression (x + 5)^3 - (4x)^3, demonstrating its algebraic application.
Use the difference of cubes pattern. A mathematical expression illustrating the difference of cubes factorization (a-b)(a^2+ab+b^2), with 'a' representing (x+5) and 'b' representing 4x.
Simplify. A mathematical expression featuring the product of two polynomials: (x + 5 - 4x) multiplied by (x^2 + 10x + 25 + 4x^2 + 20x + 16x^2).
A mathematical expression showing the product of two polynomials: (-3x + 5) and (21x^2 + 30x + 25).
Check by multiplying. We’ll leave the check to you.

Key Concepts

  • Perfect Square Trinomials Pattern: If a and b are real numbers,
    a2+2ab+b2=(a+b)2a22ab+b2=(ab)2
  • How to 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.
  • Difference of Squares Pattern: If a,b are real numbers,
    a squared minus b squared is a minus b, a plus b. Here, a squared minus b squared is the difference of squares and a minus b, a plus b are conjugates.
  • How to 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.
  • Sum and Difference of Cubes Pattern
    a3+b3=(a+b)(a2ab+b2)a3b3=(ab)(a2+ab+b2)
  • How to 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.

Practice Makes Perfect

Factor Perfect Square Trinomials

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

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

49x2+28xy+4y2

Solution

(7x+2y)2

25r2+60rs+36s2

100y220y+1

Solution

(10y1)2

64m216m+1

10jk2+80jk+160j

Solution

10j(k+4)2

64x2y96xy+36y

75u430u3v+3u2v2

Solution

3u2(5uv)2

90p4+300p3q+250p2q2

Factor Differences of Squares

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

25v21

Solution

(5v1)(5v+1)

169q21

449x2

Solution

(27x)(2+7x)

12125s2

6p2q254p2

Solution

6p2(q3)(q+3)

98r372r

24p2+54

Solution

6(4p2+9)

20b2+140

121x2144y2

Solution

(11x12y)(11x+12y)

49x281y2

169c236d2

Solution

(13c6d)(13c+6d)

36p249q2

16z41

Solution

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

m4n4

162a4b232b2

Solution

2b2(3a2)(3a+2)(9a2+4)

48m4n2243n2

x216x+64y2

Solution

(x8y)(x8+y)

p2+14p+49q2

a2+6a+99b2

Solution

(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

Solution

(x+5)(x25x+25)

n6+512

z627

Solution

(z23)(z4+3z2+9)

v3216

8343t3

Solution

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

12527w3

8y3125z3

Solution

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

27x364y3

216a3+125b3

Solution

(6a+5b)(36a230ab+25b2)

27y3+8z3

7k3+56

Solution

7(k+2)(k22k+4)

6x348y3

2x216x2y3

Solution

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

−2x3y216y5

(x+3)3+8x3

Solution

9(x+1)(x2+3)

(x+4)327x3

(y5)364y3

Solution

(3y+5)(21y230y+25)

(y5)3+125y3

Mixed Practice

In the following exercises, factor completely.

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

x210x+25y2

Solution

(x5y)(x5+y)

x2+12x+36y2

(x+1)3+8x3

Solution

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

Solution

Answers will vary.

How do you recognize the binomial squares pattern?

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

Solution

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?