This is “Factoring Special Binomials”, section 6.4 from the book Beginning Algebra (v. 1.0). For details on it (including licensing), click here.

Has this book helped you? Consider passing it on:
Creative Commons supports free culture from music to education. Their licenses helped make this book available to you.
DonorsChoose.org helps people like you help teachers fund their classroom projects, from art supplies to books to calculators.

## 6.4 Factoring Special Binomials

### Learning Objectives

1. Factor binomials that are differences of squares.
2. Factor binomials that are sums and differences of cubes.

## Difference of Squares

A binomial is a polynomial with two terms. We begin with our first special binomial called difference of squares$a2−b2=(a+b)(a−b),$ where a and b represent algebraic expressions.:

To verify the above formula, multiply:

We use this formula to factor certain special binomials.

Example 1: Factor: $x2−16$.

Solution:

Step 1: Identify the binomial as difference of squares and determine the square factors of each term.

Here we can write

The terms are squares of x and 4. Hence $a=x$ and $b=4$.

Step 2: Substitute into the difference of squares formula.

Step 3: Multiply to check. This step is optional.

Answer: $(x+4)(x−4)$

It is worth taking some extra time at this point to review all of the squares of integers from 1 to 12.

Recognizing these perfect square integers helps speed the factoring process.

Example 2: Factor: $9x2−121$.

Solution: The subtraction indicates that this is a difference. Furthermore, we recognize that the terms are squares.

In this case, $a=3x$ and $b=11$. Substitute into the formula for difference of squares.

Answer: $(3x+11)(3x−11)$

It may be the case that the terms of the binomial have a common factor. If so, it will be difficult to identify the perfect squares until we first factor out the GCF.

Example 3: Factor: $12y2−75$.

Solution: The terms are not perfect squares. However, notice that they do have a common factor. First, factor out the GCF, 3.

The resulting binomial factor is a difference of squares with $a=2y$ and $b=5$.

Answer: $3(2y+5)(2y−5)$

Example 4: Factor: $49x2−100y2$.

Solution: Here we have a binomial with two variables and recognize that it is a difference of squares.

Therefore, $a=7x$ and $b=10y$. Substitute into the formula for difference of squares.

Answer: $(7x+10y)(7x−10y)$

Try this! Factor: $36x2−1$.

Answer: $(6x+1)(6x−1)$

### Video Solution

(click to see video)

Given any real number b, a polynomial of the form $x2+b2$ is prime. Furthermore, the sum of squares$a2+b2$ does not have a general factored equivalent. $a2+b2$ does not have a general factored equivalent. Care should be taken not to confuse this with a perfect square trinomial:

Therefore,

When the degree of the special binomial is greater than two, we may need to apply the difference of squares formula multiple times. A polynomial is completely factored when none of the factors can be factored any further.

Example 5: Factor completely: $x4−16$.

Solution: First, identify what is being squared:

To do this, recall the power rule for exponents, $(xm)n=xmn$. When exponents are raised to a power, multiply them. With this in mind, determine that $(x2)2=x4$ and write

Therefore, $a=x2$ and $b=4$. Substitute into the formula for difference of squares.

At this point, notice that the factor $(x2−4)$ is itself a difference of two squares and thus can be further factored using $a=x$ and $b=2$. The factor $(x2+4)$ is a sum of squares, which cannot be factored using real numbers.

Answer: $(x2+4)(x+2)(x−2)$

Try this! Factor completely: $81x4−1$.

Answer: $(9x2+1)(3x+1)(3x−1)$

### Video Solution

(click to see video)

## Sum and Difference of Cubes

Two other special binomials of interest are the sum$a3+b3=(a+b)(a2−ab+b2),$ where a and b represent algebraic expressions. and difference of cubes$a3−b3=(a−b)(a2+ab+b2),$ where a and b represent algebraic expressions.:

We can verify these formulas by multiplying:

The process for factoring the sum and difference of cubes is very similar to that for the difference of squares. We first identify a and b and then substitute into the appropriate formula. The separate formulas for sum and difference of cubes allow us to always choose a and b to be positive.

Example 6: Factor: $x3+8$.

Solution: The plus sign and the fact that the terms are cubes indicate to us that this is a sum of cubes.

Next, identify what is being cubed.

In this case, $a=x$ and $b=2$. Substitute into the sum of cubes formula.

The resulting trinomial is prime and the factoring is complete. We can check this factorization by multiplying.

Answer: $(x+2)(x2−2x+4)$

It is helpful to review the perfect cubes of integers from 1 to 12. This will aid you in identifying sums and differences of cubes.

Example 7: Factor: $y3−125$.

Solution: In this case, we have a difference of cubes.

We can write

Substitute $a=y$ and $b=5$ into the formula for difference of cubes.

Answer: $(y−5)(y2+5y+25)$

Always look for common factors when factoring. If the terms of the binomial have a GCF other than 1, then factor that out first.

Example 8: Factor: $54x4+128x$.

Solution: Begin by factoring out the GCF $2x$.

The resulting binomial factor is a sum of cubes, where $a=3x$ and $b=4$.

Answer: $2x(3x+4)(9x2−12x+16)$

Example 9: Factor: $x3y3−1$.

Solution: This binomial is a difference of cubes with two variables. Identify what is being cubed.

Here $a=xy$ and $b=1$. Substitute into the appropriate formula and simplify.

Answer: $(xy−1)(x2y2+xy+1)$

Try this! Factor: $8x3+343$.

Answer: $(2x+7)(4x2−14x+49)$

### Video Solution

(click to see video)

When factoring, always look for resulting factors to factor further.

Example 10: Factor completely: $x6−64$.

Solution: When confronted with a binomial that is both a difference of squares and cubes, as this is, make it a rule to factor using difference of squares first.

Therefore, $a=x3$ and $b=8$. Substitute into the difference of squares formula.

The resulting two binomial factors are a sum and a difference of cubes. Each can be factored further.

Therefore, we have

The trinomial factors are prime and the expression is completely factored.

Answer: $(x+2)(x2−2x+4)(x−2)(x2+2x+4)$

As an exercise, factor the previous example as a difference of cubes first and then compare the results. Why do you think we make it a rule to factor using difference of squares first?

Try this! Factor: $x6−y6$.

Answer: $(x+y)(x2−xy+y2)(x−y)(x2+xy+y2)$

### Video Solution

(click to see video)

### Key Takeaways

• When factoring special binomials, the first step is to identify it as a sum or difference. Once we identify the binomial, we then determine the values of a and b and substitute into the appropriate formula.
• The formulas for all of the special binomials should be memorized. In addition, to help facilitate the identification of special binomials, memorize the squares and cubes of integers up to at least 12.
• If a binomial is both a difference of squares and cubes, then first factor it as a difference of squares.

### Topic Exercises

Part A: Difference of Squares

Factor completely.

1. $x2−9$

2. $x2−100$

3. $y2−36$

4. $y2−144$

5. $x2+4$

6. $x2−5$

7. $m2−81$

8. $m2−64$

9. $16x2−9$

10. $25x2−4$

11. $144x2−1$

12. $9x2−121$

13. $4y2−81$

14. $100y2−49$

15. $9−4x2$

16. $100−x2$

17. $1−y2$

18. $25−9y2$

19. $−3x2+75$

20. $−16x2+25$

21. $2x2−72$

22. $20x3−45x$

23. $−48x+27x3$

24. $36x2−100$

25. $x2−y2$

26. $25x2−9y2$

27. $a2−4b2$

28. $a2b2−36$

29. $4x2y2−1$

30. $x2y2−25$

31. $2a3−8ab2$

32. $3a3b4−75ab2$

33. $−100xy3+4x3y$

34. $−18x3y3+32xy$

35. $(x+1)2−y2$

36. $x2−(y−2)2$

37. $(x−3)2−(y+3)2$

38. $(x2+2)2−(x−1)2$

39. $(x2−1)2−(2x+3)2$

40. $x4−1$

41. $x4−y4$

42. $16x4−81$

43. $a4b4−16$

44. $a4−16b4$

45. $x8−1$

46. $25x8−1$

47. $a8−b2$

48. $a4−9$

49. $x8−y8$

50. $81x8−1$

51. The height of a projectile dropped from a 64-foot tower is given by the function $h(t)=−16t2+64$, where t represents the time in seconds after it is dropped. Rewrite this function in factored form. (Hint: Factor out −16 first.)

52. The height of a projectile dropped from a 36-foot tower is given by the function $h(t)=−16t2+36$, where t represents the time in seconds after it is dropped. Rewrite this function in factored form.

Part B: Sum and Difference of Cubes

Factor completely.

53. $x3−1$

54. $x3+1$

55. $y3−27$

56. $y3−8$

57. $8y3+1$

58. $27y3−1$

59. $64a3−125$

60. $8a3+27$

61. $a3+216$

62. $a3−125$

63. $x3−1000$

64. $343m3−1$

65. $512n3+1$

66. $8x3+343$

67. $40y3−135$

68. $27y3+729$

69. $27y3−64$

70. $x3+3$

71. $5x3+1$

72. $1−y3$

73. $27−1,000y3$

74. $343+125a3$

75. $x3−y3$

76. $x3+y3$

77. $x3y3+125$

78. $8x3y3−27$

79. $27a3−8b3$

80. $16x3−250y3$

81. $128x3+2y3$

82. $54x3−2y3$

83. $3a4b−24ab4$

84. $a3b3c3−1$

85. $(x+1)3−8$

86. $8x3−(x−5)3$

87. $(x−2)3+(x+2)3$

88. $(a+3)3+(b−3)3$

89. $x6−1$

90. $x6+1$

91. $64a6−1$

92. $a6−81b6$

93. $x6−y6$

94. $x6+y6$

Part C: Discussion Board Topics

95. If a binomial falls into both categories, difference of squares and difference of cubes, which would be best to factor it as, and why? Create an example that illustrates this situation and factor it using both formulas.

96. What can be said about the degrees of the factors of a polynomial? Give an example.

97. Make up your own difference of squares factoring exercise and provide the answer. Explain how you solved it.

98. Make up your own sum or difference of cubes factoring exercise and provide the answer. Explain how you solved it.

1: $(x+3)(x−3)$

3: $(y+6)(y−6)$

5: Prime

7: $(m+9)(m−9)$

9: $(4x+3)(4x−3)$

11: $(12x+1)(12x−1)$

13: $(2y+9)(2y−9)$

15: $(3+2x)(3−2x)$

17: $(1+y)(1−y)$

19: $−3(x+5)(x−5)$

21: $2(x+6)(x−6)$

23: $3x(3x+4)(3x−4)$

25: $(x+y)(x−y)$

27: $(a+2b)(a−2b)$

29: $(2xy+1)(2xy−1)$

31: $2a(a+2b)(a−2b)$

33: $4xy(x+5y)(x−5y)$

35: $(x+1+y)(x+1−y)$

37: $(x+y)(x−y−6)$

39: $(x2+2x+2)(x2−2x−4)$

41: $(x2+y2)(x+y)(x−y)$

43: $(a2b2+4)(ab+2)(ab−2)$

45: $(x4+1)(x2+1)(x+1)(x−1)$

47: $(a4+b)(a4−b)$

49: $(x4+y4)(x2+y2)(x+y)(x−y)$

51: $h(t)=−16(t+2)(t−2)$

53: $(x−1)(x2+x+1)$

55: $(y−3)(y2+3y+9)$

57: $(2y+1)(4y2−2y+1)$

59: $(4a−5)(16a2+20a+25)$

61: $(a+6)(a2−6a+36)$

63: $(x−10)(x2+10x+100)$

65: $(8n+1)(64n2−8n+1)$

67: $5(2y−3)(4y2+6y+9)$

69: $(3y−4)(9y2+12y+16)$

71: Prime

73: $(3−10y)(9+30y+100y2)$

75: $(x−y)(x2+xy+y2)$

77: $(xy+5)(x2y2−5xy+25)$

79: $(3a−2b)(9a2+6ab+4b2)$

81: $2(4x+y)(16x2−4xy+y2)$

83: $3ab(a−2b)(a2+2ab+4b2)$

85: $(x−1)(x2+4x+7)$

87: $2x(x2+12)$

89: $(x+1)(x2−x+1)(x−1)(x2+x+1)$

91: $(2a+1)(4a2−2a+1)(2a−1)(4a2+2a+1)$

93: $(x+y)(x2−xy+y2)(x−y)(x2+xy+y2)$