This is “Factoring Special Binomials”, section 6.4 from the book Beginning Algebra (v. 1.0).

For more information on the source of this book, or why it is available for free, please see the project's home page. You can browse or download additional books there. You may also download a PDF copy of this book (81 MB) or just this chapter (7 MB), suitable for printing or most e-readers, or a .zip file containing this book's HTML files (for use in a web browser offline).

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.

- Factor binomials that are differences of squares.
- Factor binomials that are sums and differences of cubes.

A binomial is a polynomial with two terms. We begin with our first special binomial called difference of squares${a}^{2}-{b}^{2}=\left(a+b\right)\left(a-b\right)\text{,}$ 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: ${x}^{2}-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: $\left(x+4\right)\left(x-4\right)$

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: $9{x}^{2}-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: $\left(3x+11\right)\left(3x-11\right)$

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: $12{y}^{2}-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\left(2y+5\right)\left(2y-5\right)$

**Example 4:** Factor: $49{x}^{2}-100{y}^{2}$.

**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: $\left(7x+10y\right)\left(7x-10y\right)$

**Try this!** Factor: $36{x}^{2}-1$.

Answer: $\left(6x+1\right)\left(6x-1\right)$

Given any real number *b*, a polynomial of the form ${x}^{2}+{b}^{2}$ is prime. Furthermore, the sum of squares${a}^{2}+{b}^{2}$ does not have a general factored equivalent. ${a}^{2}+{b}^{2}$ 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: ${x}^{4}-16$.

**Solution:** First, identify what is being squared:

To do this, recall the power rule for exponents, ${\left({x}^{m}\right)}^{n}={x}^{mn}$. When exponents are raised to a power, multiply them. With this in mind, determine that ${\left({x}^{2}\right)}^{2}={x}^{4}$ and write

Therefore, $a={x}^{2}$ and $b=4$. Substitute into the formula for difference of squares.

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

Answer: $\left({x}^{2}+4\right)\left(x+2\right)\left(x-2\right)$

**Try this!** Factor completely: $81{x}^{4}-1$.

Answer: $\left(9{x}^{2}+1\right)\left(3x+1\right)\left(3x-1\right)$

Two other special binomials of interest are the sum${a}^{3}+{b}^{3}=\left(a+b\right)\left({a}^{2}-ab+{b}^{2}\right)\text{,}$ where *a* and *b* represent algebraic expressions. and difference of cubes${a}^{3}-{b}^{3}=\left(a-b\right)\left({a}^{2}+ab+{b}^{2}\right)\text{,}$ 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: ${x}^{3}+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: $\left(x+2\right)\left({x}^{2}-2x+4\right)$

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: ${y}^{3}-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: $\left(y-5\right)\left({y}^{2}+5y+25\right)$

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: $54{x}^{4}+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\left(3x+4\right)\left(9{x}^{2}-12x+16\right)$

**Example 9:** Factor: ${x}^{3}{y}^{3}-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: $\left(xy-1\right)\left({x}^{2}{y}^{2}+xy+1\right)$

**Try this!** Factor: $8{x}^{3}+343$.

Answer: $\left(2x+7\right)\left(4{x}^{2}-14x+49\right)$

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

**Example 10:** Factor completely: ${x}^{6}-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={x}^{3}$ 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: $\left(x+2\right)\left({x}^{2}-2x+4\right)\left(x-2\right)\left({x}^{2}+2x+4\right)$

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: ${x}^{6}-{y}^{6}$.

Answer: $\left(x+y\right)\left({x}^{2}-xy+{y}^{2}\right)\left(x-y\right)\left({x}^{2}+xy+{y}^{2}\right)$

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

Part A: Difference of Squares

*Factor completely.*

1. ${x}^{2}-9$

2. ${x}^{2}-100$

3. ${y}^{2}-36$

4. ${y}^{2}-144$

5. ${x}^{2}+4$

6. ${x}^{2}-5$

7. ${m}^{2}-81$

8. ${m}^{2}-64$

9. $16{x}^{2}-9$

10. $25{x}^{2}-4$

11. $144{x}^{2}-1$

12. $9{x}^{2}-121$

13. $4{y}^{2}-81$

14. $100{y}^{2}-49$

15. $9-4{x}^{2}$

16. $100-{x}^{2}$

17. $1-{y}^{2}$

18. $25-9{y}^{2}$

19. $-3{x}^{2}+75$

20. $-16{x}^{2}+25$

21. $2{x}^{2}-72$

22. $20{x}^{3}-45x$

23. $-48x+27{x}^{3}$

24. $36{x}^{2}-100$

25. ${x}^{2}-{y}^{2}$

26. $25{x}^{2}-9{y}^{2}$

27. ${a}^{2}-4{b}^{2}$

28. ${a}^{2}{b}^{2}-36$

29. $4{x}^{2}{y}^{2}-1$

30. ${x}^{2}{y}^{2}-25$

31. $2{a}^{3}-8a{b}^{2}$

32. $3{a}^{3}{b}^{4}-75a{b}^{2}$

33. $-100x{y}^{3}+4{x}^{3}y$

34. $-18{x}^{3}{y}^{3}+32xy$

35. ${\left(x+1\right)}^{2}-{y}^{2}$

36. ${x}^{2}-{\left(y-2\right)}^{2}$

37. ${\left(x-3\right)}^{2}-{\left(y+3\right)}^{2}$

38. ${\left({x}^{2}+2\right)}^{2}-{\left(x-1\right)}^{2}$

39. ${\left({x}^{2}-1\right)}^{2}-{\left(2x+3\right)}^{2}$

40. ${x}^{4}-1$

41. ${x}^{4}-{y}^{4}$

42. $16{x}^{4}-81$

43. ${a}^{4}{b}^{4}-16$

44. ${a}^{4}-16{b}^{4}$

45. ${x}^{8}-1$

46. $25{x}^{8}-1$

47. ${a}^{8}-{b}^{2}$

48. ${a}^{4}-9$

49. ${x}^{8}-{y}^{8}$

50. $81{x}^{8}-1$

51. The height of a projectile dropped from a 64-foot tower is given by the function $h(t)=-16{t}^{2}+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)=-16{t}^{2}+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. ${x}^{3}-1$

54. ${x}^{3}+1$

55. ${y}^{3}-27$

56. ${y}^{3}-8$

57. $8{y}^{3}+1$

58. $27{y}^{3}-1$

59. $64{a}^{3}-125$

60. $8{a}^{3}+27$

61. ${a}^{3}+216$

62. ${a}^{3}-125$

63. ${x}^{3}-1000$

64. $343{m}^{3}-1$

65. $512{n}^{3}+1$

66. $8{x}^{3}+343$

67. $40{y}^{3}-135$

68. $27{y}^{3}+729$

69. $27{y}^{3}-64$

70. ${x}^{3}+3$

71. $5{x}^{3}+1$

72. $1-{y}^{3}$

73. $27-\mathrm{1,000}{y}^{3}$

74. $343+125{a}^{3}$

75. ${x}^{3}-{y}^{3}$

76. ${x}^{3}+{y}^{3}$

77. ${x}^{3}{y}^{3}+125$

78. $8{x}^{3}{y}^{3}-27$

79. $27{a}^{3}-8{b}^{3}$

80. $16{x}^{3}-250{y}^{3}$

81. $128{x}^{3}+2{y}^{3}$

82. $54{x}^{3}-2{y}^{3}$

83. $3{a}^{4}b-24a{b}^{4}$

84. ${a}^{3}{b}^{3}{c}^{3}-1$

85. ${\left(x+1\right)}^{3}-8$

86. $8{x}^{3}-{\left(x-5\right)}^{3}$

87. ${\left(x-2\right)}^{3}+{\left(x+2\right)}^{3}$

88. ${\left(a+3\right)}^{3}+{\left(b-3\right)}^{3}$

89. ${x}^{6}-1$

90. ${x}^{6}+1$

91. $64{a}^{6}-1$

92. ${a}^{6}-81{b}^{6}$

93. ${x}^{6}-{y}^{6}$

94. ${x}^{6}+{y}^{6}$

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: $\left(x+3\right)\left(x-3\right)$

3: $\left(y+6\right)\left(y-6\right)$

5: Prime

7: $\left(m+9\right)\left(m-9\right)$

9: $\left(4x+3\right)\left(4x-3\right)$

11: $\left(12x+1\right)\left(12x-1\right)$

13: $\left(2y+9\right)\left(2y-9\right)$

15: $\left(3+2x\right)\left(3-2x\right)$

17: $\left(1+y\right)\left(1-y\right)$

19: $-3\left(x+5\right)\left(x-5\right)$

21: $2\left(x+6\right)\left(x-6\right)$

23: $3x\left(3x+4\right)\left(3x-4\right)$

25: $\left(x+y\right)\left(x-y\right)$

27: $\left(a+2b\right)\left(a-2b\right)$

29: $\left(2xy+1\right)\left(2xy-1\right)$

31: $2a\left(a+2b\right)\left(a-2b\right)$

33: $4xy\left(x+5y\right)\left(x-5y\right)$

35: $\left(x+1+y\right)\left(x+1-y\right)$

37: $\left(x+y\right)\left(x-y-6\right)$

39: $\left({x}^{2}+2x+2\right)\left({x}^{2}-2x-4\right)$

41: $\left({x}^{2}+{y}^{2}\right)\left(x+y\right)\left(x-y\right)$

43: $\left({a}^{2}{b}^{2}+4\right)\left(ab+2\right)\left(ab-2\right)$

45: $\left({x}^{4}+1\right)\left({x}^{2}+1\right)\left(x+1\right)\left(x-1\right)$

47: $\left({a}^{4}+b\right)\left({a}^{4}-b\right)$

49: $\left({x}^{4}+{y}^{4}\right)\left({x}^{2}+{y}^{2}\right)\left(x+y\right)\left(x-y\right)$

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

53: $\left(x-1\right)\left({x}^{2}+x+1\right)$

55: $\left(y-3\right)\left({y}^{2}+3y+9\right)$

57: $\left(2y+1\right)\left(4{y}^{2}-2y+1\right)$

59: $\left(4a-5\right)\left(16{a}^{2}+20a+25\right)$

61: $\left(a+6\right)\left({a}^{2}-6a+36\right)$

63: $\left(x-10\right)\left({x}^{2}+10x+100\right)$

65: $\left(8n+1\right)\left(64{n}^{2}-8n+1\right)$

67: $5\left(2y-3\right)\left(4{y}^{2}+6y+9\right)$

69: $\left(3y-4\right)\left(9{y}^{2}+12y+16\right)$

71: Prime

73: $\left(3-10y\right)\left(9+30y+100{y}^{2}\right)$

75: $\left(x-y\right)\left({x}^{2}+xy+{y}^{2}\right)$

77: $\left(xy+5\right)\left({x}^{2}{y}^{2}-5xy+25\right)$

79: $\left(3a-2b\right)\left(9{a}^{2}+6ab+4{b}^{2}\right)$

81: $2\left(4x+y\right)\left(16{x}^{2}-4xy+{y}^{2}\right)$

83: $3ab\left(a-2b\right)\left({a}^{2}+2ab+4{b}^{2}\right)$

85: $\left(x-1\right)\left({x}^{2}+4x+7\right)$

87: $2x\left({x}^{2}+12\right)$

89: $\left(x+1\right)\left({x}^{2}-x+1\right)\left(x-1\right)\left({x}^{2}+x+1\right)$

91: $\left(2a+1\right)\left(4{a}^{2}-2a+1\right)\left(2a-1\right)\left(4{a}^{2}+2a+1\right)$

93: $\left(x+y\right)\left({x}^{2}-xy+{y}^{2}\right)\left(x-y\right)\left({x}^{2}+xy+{y}^{2}\right)$