Special Cases: Cubes

 

Learning Objective(s)

·         Factor the sum of cubes.

·         Factor the difference of cubes.

 

Introduction

 

In many ways, factoring is about patterns—if you recognize the patterns that numbers make when they are multiplied together, you can use those patterns to separate these numbers into their individual factors.

 

Some interesting patterns arise when you are working with cubed quantities within polynomials. Specifically, there are two more special cases to consider: a3 + b3 and a3b3.

 

Let’s take a look at how to factor sums and differences of cubes.

 

Sum of Cubes

 

The term “cubed” is used to describe a number raised to the third power. In geometry, a cube is a six-sided shape with equal width, length, and height; since all these measures are equal, the volume of a cube with width x can be represented by x3. (Notice the exponent!)

 

Cubed numbers get large very quickly. 13 = 1, 23 = 8, 33 = 27, 43 = 64, and 53 = 125.

 

Before looking at factoring a sum of two cubes, let’s look at the possible factors.

 

It turns out that a3 + b3 can actually be factored as (a + b)(a2ab + b2). Let’s check these factors by multiplying.

 

                                Does (a + b)(a2 ab + b2) = a3 + b3?

(a)(a2ab + b2) + (b)(a2ab +b2)

Apply the distributive property.

(a3a2b + ab2) + (b)(a2 - ab + b2)

Multiply by a.

 

(a3a2b + ab2) + (a2bab2 + b3)

Multiply by b.

 

a3a2b + a2b + ab2ab2 + b3

Rearrange terms in order to combine the like terms.

a3 + b3

Simplify

 

Did you see that? Four of the terms cancelled out, leaving us with the (seemingly) simple binomial a3 + b3. So, the factors are correct.

 

You can use this pattern to factor binomials in the form a3 + b3, otherwise known as “the sum of cubes.”

 

The Sum of Cubes

 

A binomial in the form a3 + b3 can be factored as (a + b)(a2ab + b2).

 

Examples:

The factored form of x3 + 64 is (x + 4)(x2 – 4x + 16).

The factored form of 8x3 + y3 is (2x + y)(4x2 – 2xy + y2).

 

 

 

Example

Problem

 

Factor x3 + 8y3.

 

 

x3  + 8y3

Identify that this binomial fits the sum of cubes pattern: a3 + b3.

a = x, and b = 2y (since 2y • 2y • 2y = 8y3).

 

(x + 2y)(x2x(2y) + (2y)2)

Factor the binomial as

(a + b)(a2ab + b2), substituting a = x and b = 2y into the expression.

 

(x + 2y)(x2x(2y) + 4y2)

Square (2y)2 = 4y2.

Answer

(x + 2y)(x2 – 2xy + 4y2)

Multiply x(2y) = 2xy (writing the coefficient first.

 

 

And that’s it. The binomial x3 + 8y3 can be factored as (x + 2y)(x2 – 2xy + 4y2)! Let’s try another one.

 

You should always look for a common factor before you follow any of the patterns for factoring.

 

 

Example

Problem

 

Factor 16m3 + 54n3.

 

 

16m3 + 54n3

Factor out the common factor 2.

 

2(8m3 + 27n3)

8m3 and 27n3 are cubes, so you can factor 8m3 + 27n3 as the sum of two cubes: a = 2m, and b = 3n.

 

2(2m + 3n)[(2m)2 – (2m)(3n) + (3n)2]

Factor the binomial 8m3 + 27n3 substituting a = 2m and b = 3n into the expression (a + b)(a2ab + b2).

 

2(2m + 3n)[4m2 – (2m)(3n) + 9n2]

Square: (2m)2 = 4m2 and (3n)2 = 9n2.

Answer

2(2m + 3n)(4m2 – 6mn + 9n2)

Multiply −(2m)(3n) = 6mn.

 

 

Factor 125x3 + 64.

 

A) (5x + 64)(25x2 – 125x + 16)

 

B) (5x + 4)(25x2 – 20x + 16)

 

C) (x + 4)(x2 – 2x + 16)

 

D) (5x + 4)(25x2 + 20x – 64)

 

Show/Hide Answer

A) (5x + 64)(25x2 – 125x + 16)

Incorrect. Check your values for a and b here. b3 = 64, so what is b? The correct answer is (5x + 4)(25x2 – 20x + 16).

 

B) (5x + 4)(25x2 – 20x + 16)

Correct. 5x is the cube root of 125x3, and 4 is the cube root of 64. Substituting these values for a and b, you find (5x + 4)(25x2 – 20x + 16).

 

C) (x + 4)(x2 – 2x + 16)

Incorrect. Check your values for a and b here. a3 = 125x3, so what is a? The correct answer is (5x + 4)(25x2 – 20x + 16).

 

D) (5x + 4)(25x2 + 20x – 64)

Incorrect. Check the mathematical signs; the b2 term is positive, not negative, when factoring a sum of cubes. The correct answer is (5x + 4)(25x2 – 20x + 16).

 

 

 

Difference of Cubes

 

Having seen how binomials in the form a3 + b3 can be factored, it should not come as a surprise that binomials in the form a3b3 can be factored in a similar way.

 

The Difference of Cubes

 

A binomial in the form a3b3 can be factored as (ab)(a2 + ab + b2).

 

Examples:

The factored form of x3 – 64 is (x – 4)(x2 + 4x + 16).

The factored form of 27x3 – 8y3 is (3x – 2y)(9x2 + 6xy + 4y2).

 

 

Notice that the basic construction of the factorization is the same as it is for the sum of cubes; the difference is in the + and – signs. Take a moment to compare the factored form of a3 + b3 with the factored form of a3b3.

 

Factored form of a3 + b3:

(a + b)(a2ab + b2)

Factored form of a3b3:

(ab)(a2 + ab + b2)

 

This can be tricky to remember because of the different signs—the factored form of a3 + b3 contains a negative, and the factored form of a3b3 contains a positive! Some people remember the different forms like this:

 

“Remember one sequence of variables: a3   b3  =  (a   b)(a2   ab   b2). There are 4 missing signs. Whatever the first sign is, it is also the second sign. The third sign is the opposite, and the fourth sign is always +.”

 

Try this for yourself. If the first sign is +, as in a3 + b3, according to this strategy how do you fill in the rest: (a   b)(a2   ab   b2)? Does this method help you remember the factored form of a3 + b3 and a3b3?

 

Let’s go ahead and look at a couple of examples. Remember to factor out all common factors first.

 

 

Example

Problem

 

Factor 8x3 – 1,000.

 

 

8(x3 – 125)

Factor out 8.

 

8(x3 – 125)

Identify that the binomial fits the pattern a3 - b3: a = x, and b = 5 (since 53 = 125).

 

8(x - 5)[x2 + (x)(5) + 52]

Factor x3 – 125 as (ab)(a2 + ab + b2), substituting a = x and b = 5 into the expression.

 

8(x – 5)(x2 + 5x + 25)

Square the first and last terms, and rewrite (x)(5) as 5x.

Answer

8(x – 5)(x2 + 5x + 25)

 

 

 

Let’s see what happens if you don’t factor out the common factor first. In this example, it can still be factored as the difference of two cubes. However, the factored form still has common factors, which need to be factored out.

 

 

Example

Problem

 

Factor 8x3 – 1,000.

 

 

8x3 – 1,000

Identify that this binomial fits the pattern a3 - b3: a = 2x, and b = 10 (since 103 = 1,000).

 

(2x – 10)[(2x)2 + 2x(10) + 102]

Factor as (ab)(a2 + ab + b2), substituting a = 2x and b = 10 into the expression.

 

(2x – 10)(4x2 + 20x + 100)

Square and multiply: (2x)2  = 4x2,

(2x)(10) = 20x, and 102 = 100.

 

2(x – 5)(4)(x2 + 5x + 25)

Factor out remaining common factors in each factor. Factor out 2 from the first factor, factor out 4 from the second factor.

 

(2 • 4)(x – 5)(x2 + 5x + 25)

Multiply the numerical factors.

Answer

8(x – 5)(x2 + 5x + 25)

 

 

 

As you can see, this last example still worked, but required a couple of extra steps. It is always a good idea to factor out all common factors first. In some cases, the only efficient way to factor the binomial is to factor out the common factors first.

 

Here is one more example. Note that r9 =  (r3)3 and that  8s6 = (2s2)3.

 

 

Example

Problem

 

Factor r9 – 8s6.

 

 

r9 – 8s6

Identify this binomial as the difference of two cubes. As shown above, it is. Using the laws of exponents, rewrite r9 as (r3)3.

 

(r3)3 – (2s2)3

Rewrite r9 as (r3)3 and rewrite 8s6 as (2s2)3.

 

 

Now the binomial is written in terms of cubed quantities. Thinking of a3b3,

a = r3 and b = 2s2.

 

(r32s2)[(r3)2 + (r3)(2s2) + (2s2)2]

Factor the binomial as

 (ab)(a2 + ab + b2), substituting a = r3 and b = 2s2 into the expression.

 

(r32s2)(r6 + 2 r3s2+ 4s4)

Multiply and square the terms.

Answer

(r32s2)(r6 + 2r3s2 + 4s4)

 

 

 

Using the difference of cubes, identify the product of 3(x – 3y)(x2 + 3xy + 9y2).

 

A) x3y3

 

B) 3x – 81y

 

C) 3x3 + 81y3

 

D) 3x3 – 81y3

 

Show/Hide Answer

A) x3y3

Incorrect. If this were true, the expression shown above would be (xy)(x2 + xy + y2). The correct answer is 3x3 – 81y3.

 

B) 3x – 81y

Incorrect. Neither of the terms in this binomial is a cubed number! The correct answer is

3x3 – 81y3.

 

C) 3x3 + 81y3

Incorrect. Check your signs. If this expression falls into the difference of cubes category, the symbol between 3x3 and 81y3 should be –. The correct answer is 3x3 – 81y3.

 

D) 3x3 – 81y3

Correct. Recognizing that this expression is in the form (ab)(a2 + ab + b2), you find a = x and b = 3y. This means that the resulting a3b3 monomial is x3 – 27y3. It also needs to be multiplied by the coefficient 3: 3x3 – 81y3.

 

 

 

Summary

 

You encounter some interesting patterns when factoring. Two special cases—the sum of cubes and the difference of cubes—can help you factor some binomials that have a degree of three (or higher, in some cases). The special cases are:

 

 

Always remember to factor out any common factors first.