Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

6.4: Factoring Special Binomials

  • Anonymous
  • LibreTexts

( \newcommand{\kernel}{\mathrm{null}\,}\)

Learning Objectives
  • Factor binomials that are differences of squares.
  • 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:

a2b2=(a+b)(ab)

To verify the above formula, multiply:

(a+b)(ab)=a2ab+bab2=a2ab+abb2=a2b2

We use this formula to factor certain special binomials.

Example 6.4.1

Factor:

x216.

Solution:

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

Screenshot (339).png
Figure 6.4.1

Here we can write

x216=(x)2(4)2

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

Step 2: Substitute into the difference of squares formula.

a2b2=(a+b)(ab)x216=(x+4)(x4)

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.

12=172=4922=482=6432=992=8142=16102=10052=25112=12162=36122=144

Recognizing these perfect square integers helps speed the factoring process.

Example 6.4.2

Factor:

9x2121.

Solution:

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

9x2121=(3x)2(11)2

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

a2b2=(a+b)(ab)9x2121=(3x+11)(3x11)

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

12y275=3(4y225)

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

12y275=3(4y225)=3(2y+5)(2y5)

Answer:

3(2y+5)(2y5)

Example 6.4.4

Factor:

49x2100y2.

Solution:

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

49x2100y2=(7x)2(10y)2

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

a2b2=(a+b)(ab)49x2100y2=(7x+10y)(7x10y)

Answer:

(7x+10y)(7x10y)

Exercise 6.4.1

Factor:

36x21.

Answer

(6x+1)(6x1)

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. Care should be taken not to confuse this with a perfect square trinomial:

(a+b)2=(a+b)(a+b)=a2+ab+ba+b2=a2+2ab+b2

Therefore,

(a+b)2a2+b2

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 6.4.5

Factor completely:

x416.

Solution:

First, identify what is being squared:

x416=()2()2

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

x416=(x2)2(4)2

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

x416=(x2+4)(x24)

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.

x416=(x2+4)(x24)=(x2+4)(x+2)(x2)

Answer:

(x2+4)(x+2)(x2)

Exercise 6.4.2

Factor completely:

81x41.

Answer

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

Sum and Difference of Cubes

Two other special binomials of interest are the sum and difference of cubes:

a3+b3=(a+b)(a2ab+b2)

a3b3=(ab)(a2+ab+b2)

We can verify these formulas by multiplying:

(a+b)(a2ab+b2)=a3a2b+ab2ab2+b3=a3+b3(ab)(a2+ab+b2)=a3+a2b+ab2=a2bab2b3=a3b3

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

Screenshot (340).png
Figure 6.4.2

Next, identify what is being cubed.

x3+8=(x)3+(2)3

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

a3+b3=(a+b)(a2ab+b2)x3+8=(x+2)(x2x2+22)=(x+2)(x22x+4)

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

(x+2)(x22x+4)=x32x2+4x+2x24x+8=x32x2+4x+2x24x+8=x3+8

Answer:

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

13=1y3=34323=883=51233=2793=72943=64103=100053=125113=133163=216123=1728

Example 6.4.7

Factor:

y3125.

Solution:

In this case, we have a difference of cubes.

Screenshot (341).png
Figure 6.4.3

We can write

y3125=(y)3(5)3

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

a3b3=(ab)(a2+ab+b2)y31258=(y5)(y2+y5+52)=(y5)(y2+5y+25)

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 6.4.8

Factor:

54x4+128x.

Solution:

Begin by factoring out the GCF 2x.

54x4+128x=2x(27x3+64)

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

54x4+128x=2x(27x3+64)=2x(3x+4)((3x)2(3x)(4)+42)=2x(3x+4)(9x212x+16)

Answer:

2x(3x+4)(9x212x+16)

Example 6.4.9

Factor:

x3y31.

Solution

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

x3y31=(xy)3(1)3

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

a3b3=(ab)(a2+ab+b2)x3y31=(xy1)((xy)2+xy1+12)=(xy1)(x2y2+xy+1)

Answer:

(xy1)(x2y2+xy+1)

Exercise 6.4.3

Factor:

8x3+343.

Answer

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

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

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

x664=(x3)2(8)2

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

x664=(x3+8)(x38)

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

x3+8=(x+2)(x22x+22)x38=(x2)(x2+2x+22)

Therefore, we have

x664=(x3+8)(x38)=(x+2)(x22x+4)(x2)(x2+2x+4)

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?

Exercise 6.4.4

Factor:

x6y6.

Answer

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

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.
Exercise 6.4.5 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.
Answer

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)

Exercise 6.4.6 Sum and Difference of Cubes

Factor completely.

  1. x31
  2. x3+1
  3. y327
  4. y38
  5. 8y3+1
  6. 27y31
  7. 64a3125
  8. 8a3+27
  9. a3+216
  10. a3125
  11. x31000
  12. 343m31
  13. 512n3+1
  14. 8x3+343
  15. 40y3135
  16. 27y3+729
  17. 27y364
  18. x3+3
  19. 5x3+1
  20. 1y3
  21. 271,000y3
  22. 343+125a3
  23. x3y3
  24. x3+y3
  25. x3y3+125
  26. 8x3y327
  27. 27a38b3
  28. 16x3250y3
  29. 128x3+2y3
  30. 54x32y3
  31. 3a4b24ab4
  32. a3b3c31
  33. (x+1)38
  34. 8x3(x5)3
  35. (x2)3+(x+2)3
  36. (a+3)3+(b3)3
  37. x61
  38. x6+1
  39. 64a61
  40. a681b6
  41. x6y6
  42. x6+y6
Answer

1. (x1)(x2+x+1)

3. (y3)(y2+3y+9)

5. (2y+1)(4y22y+1)

7. (4a5)(16a2+20a+25)

9. (a+6)(a26a+36)

11. (x10)(x2+10x+100)

13. (8n+1)(64n28n+1)

15. 5(2y3)(4y2+6y+9)

17. (3y4)(9y2+12y+16)

19. Prime

21. (310y)(9+30y+100y2)

23. (xy)(x2+xy+y2)

25. (xy+5)(x2y25xy+25)

27. (3a2b)(9a2+6ab+4b2)

29. 2(4x+y)(16x24xy+y2)

31. 3ab(a2b)(a2+2ab+4b2)

33. (x1)(x2+4x+7)

35. 2x(x2+12)

37. (x+1)(x2x+1)(x1)(x2+x+1)

39. (2a+1)(4a22a+1)(2a1)(4a2+2a+1)

41. (x+y)(x2xy+y2)(xy)(x2+xy+y2)

Exercise 6.4.7 Discussion Board Topics
  1. 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.
  2. What can be said about the degrees of the factors of a polynomial? Give an example.
  3. Make up your own difference of squares factoring exercise and provide the answer. Explain how you solved it.
  4. Make up your own sum or difference of cubes factoring exercise and provide the answer. Explain how you solved it.
Answer

1. Answers may vary

3. Answers may vary


This page titled 6.4: Factoring Special Binomials is shared under a CC BY-NC-SA 3.0 license and was authored, remixed, and/or curated by Anonymous via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?