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

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. To download a .zip file containing this book to use offline, simply 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 squaresa2b2=(a+b)(ab), 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: x216.

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)(x4)

 

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: 9x2121.

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)(3x11)

 

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: 12y275.

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)(2y5)

 

Example 4: Factor: 49x2100y2.

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)(7x10y)

 

Try this! Factor: 36x21.

Answer: (6x+1)(6x1)

Video Solution

(click to see video)

Given any real number b, a polynomial of the form x2+b2 is prime. Furthermore, the sum of squaresa2+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: x416.

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 (x24) 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)(x2)

 

Try this! Factor completely: 81x41.

Answer: (9x2+1)(3x+1)(3x1)

Video Solution

(click to see video)

Sum and Difference of Cubes

Two other special binomials of interest are the suma3+b3=(a+b)(a2ab+b2), where a and b represent algebraic expressions. and difference of cubesa3b3=(ab)(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)(x22x+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: y3125.

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: (y5)(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)(9x212x+16)

 

Example 9: Factor: x3y31.

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: (xy1)(x2y2+xy+1)

 

Try this! Factor: 8x3+343.

Answer: (2x+7)(4x214x+49)

Video Solution

(click to see video)

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

 

Example 10: Factor completely: x664.

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)(x22x+4)(x2)(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: x6y6.

Answer: (x+y)(x2xy+y2)(xy)(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. x29

2. x2100

3. y236

4. y2144

5. x2+4

6. x25

7. m281

8. m264

9. 16x29

10. 25x24

11. 144x21

12. 9x2121

13. 4y281

14. 100y249

15. 94x2

16. 100x2

17. 1y2

18. 259y2

19. 3x2+75

20. 16x2+25

21. 2x272

22. 20x345x

23. 48x+27x3

24. 36x2100

25. x2y2

26. 25x29y2

27. a24b2

28. a2b236

29. 4x2y21

30. x2y225

31. 2a38ab2

32. 3a3b475ab2

33. 100xy3+4x3y

34. 18x3y3+32xy

35. (x+1)2y2

36. x2(y2)2

37. (x3)2(y+3)2

38. (x2+2)2(x1)2

39. (x21)2(2x+3)2

40. x41

41. x4y4

42. 16x481

43. a4b416

44. a416b4

45. x81

46. 25x81

47. a8b2

48. a49

49. x8y8

50. 81x81

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

54. x3+1

55. y327

56. y38

57. 8y3+1

58. 27y31

59. 64a3125

60. 8a3+27

61. a3+216

62. a3125

63. x31000

64. 343m31

65. 512n3+1

66. 8x3+343

67. 40y3135

68. 27y3+729

69. 27y364

70. x3+3

71. 5x3+1

72. 1y3

73. 271,000y3

74. 343+125a3

75. x3y3

76. x3+y3

77. x3y3+125

78. 8x3y327

79. 27a38b3

80. 16x3250y3

81. 128x3+2y3

82. 54x32y3

83. 3a4b24ab4

84. a3b3c31

85. (x+1)38

86. 8x3(x5)3

87. (x2)3+(x+2)3

88. (a+3)3+(b3)3

89. x61

90. x6+1

91. 64a61

92. a681b6

93. x6y6

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.

Answers

1: (x+3)(x3)

3: (y+6)(y6)

5: Prime

7: (m+9)(m9)

9: (4x+3)(4x3)

11: (12x+1)(12x1)

13: (2y+9)(2y9)

15: (3+2x)(32x)

17: (1+y)(1y)

19: 3(x+5)(x5)

21: 2(x+6)(x6)

23: 3x(3x+4)(3x4)

25: (x+y)(xy)

27: (a+2b)(a2b)

29: (2xy+1)(2xy1)

31: 2a(a+2b)(a2b)

33: 4xy(x+5y)(x5y)

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

37: (x+y)(xy6)

39: (x2+2x+2)(x22x4)

41: (x2+y2)(x+y)(xy)

43: (a2b2+4)(ab+2)(ab2)

45: (x4+1)(x2+1)(x+1)(x1)

47: (a4+b)(a4b)

49: (x4+y4)(x2+y2)(x+y)(xy)

51: h(t)=16(t+2)(t2)

53: (x1)(x2+x+1)

55: (y3)(y2+3y+9)

57: (2y+1)(4y22y+1)

59: (4a5)(16a2+20a+25)

61: (a+6)(a26a+36)

63: (x10)(x2+10x+100)

65: (8n+1)(64n28n+1)

67: 5(2y3)(4y2+6y+9)

69: (3y4)(9y2+12y+16)

71: Prime

73: (310y)(9+30y+100y2)

75: (xy)(x2+xy+y2)

77: (xy+5)(x2y25xy+25)

79: (3a2b)(9a2+6ab+4b2)

81: 2(4x+y)(16x24xy+y2)

83: 3ab(a2b)(a2+2ab+4b2)

85: (x1)(x2+4x+7)

87: 2x(x2+12)

89: (x+1)(x2x+1)(x1)(x2+x+1)

91: (2a+1)(4a22a+1)(2a1)(4a2+2a+1)

93: (x+y)(x2xy+y2)(xy)(x2+xy+y2)