<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />
You are viewing an older version of this Concept. Go to the latest version.

# Sum and Difference of Cubes

## Use formulas to factor pairs of added or subtracted perfect cubes

Estimated15 minsto complete
%
Progress
Practice Sum and Difference of Cubes
Progress
Estimated15 minsto complete
%
Sum and Difference of Cubes

The volume of a rectangular prism is $2x^4 - 128x$ . What are the lengths of the prism's sides?

### Watch This

First watch this video.

### Guidance

Previously, you learned how to factor several different types of quadratic equations. Here, we will expand this knowledge to certain types of polynomials. The first is the sum of cubes. The sum of cubes is what it sounds like, the sum of two cube numbers or $a^3+b^3$ . We will use an investigation involving volume to find the factorization of this polynomial.

#### Investigation: Sum of Cubes Formula

1. Pictorially, the sum of cubes looks like this:

Or, we can put one on top of the other.

2. Recall that the formula for volume is $length \times width \times depth$ . Find the volume of the sum of these two cubes.

$V = a^3+b^3$

3. Now, we will find the volume in a different way. Using the second picture above, we will add in imaginary lines so that these two cubes look like one large prism. Find the volume of this prism.

$V &= a \times a \times(a+b)\\&= a^2(a+b)$

4. Subtract the imaginary portion on top. In the picture, they are prism 1 and prism 2.

$V = a^2(a+b) - \left[\underbrace{ab(a-b)}_{{\color{red}Prism \ 1}} + \underbrace{b^2(a-b)}_{{\color{red}Prism \ 2}}\right]$

5. Pull out any common factors within the brackets.

$V = a^2(a+b)-b(a-b)[a+b]$

6. Notice that both terms have a common factor of $(a + b)$ . Pull this out, put it in front, and get rid of the brackets.

$V = (a+b)(a^2-b(a-b))$

7. Simplify what is inside the second set of parenthesis.

$V = (a+b)(a^2-ab+b^2)$

In the last step, we found that $a^3+b^3$ factors to $(a+b)(a^2-ab+b^2)$ . This is the Sum of Cubes Formula .

#### Example A

Factor $8x^3+27$ .

Solution: First, determine if these are “cube” numbers. A cube number has a cube root. For example, the cube root of 8 is 2 because $2^3 = 8$ . $3^3 = 27, 4^3 = 64, 5^3 = 125$ , and so on.

$a^3 &= 8x^3 = (2x)^3 \qquad b^3 = 27 = 3^3\\a &= 2x \qquad \qquad \qquad \ b = 3$

In the formula, we have:

$(a+b)(a^2-ab+b^2) &= (2x+3)((2x)^2-(2x)(3)+3^2)\\&= (2x+3)(4x^2-6x+9)$

Therefore, $8x^3+27 = (2x+3)(4x^2-6x+9)$ . The second factored polynomial does not factor any further.

#### Investigation: Difference of Cubes

1. Pictorially, the difference of cubes looks like this:

Imagine the smaller cube is taken out of the larger cube.

2. Recall that the formula for volume is $length \times width \times depth$ . Find the volume of the difference of these two cubes.

$V = a^3-b^3$

3. Now, we will find the volume in a different way. Using the picture here, will add in imaginary lines so that the shape is split into three prisms. Find the volume of prism 1, prism 2, and prism 3.

$& \text{Prism} \ 1: a \cdot a \cdot (a-b)\\& \text{Prism} \ 2: a \cdot b \cdot (a-b)\\& \text{Prism} \ 3: b \cdot b \cdot (a-b)$

4. Add the volumes together to get the volume of the entire shape.

$V = a^2(a-b)+ab(a-b)+b^2(a-b)$

5. Pull out any common factors and simplify.

$V = (a-b)(a^2+ab+b^2)$

In the last step, we found that $a^3-b^3$ factors to $(a-b)(a^2+ab+b^2)$ . This is the Difference of Cubes Formula .

#### Example B

Factor $x^5-125x^2$ .

Solution: First, take out any common factors.

$x^5-125x^2 = x^2(x^3-125)$

What is inside the parenthesis is a difference of cubes. Use the formula.

$x^5-125x^2 &= x^2(x^3-125)\\&= x^2(x^3-5^3)\\&= x^2(x-5)(x^2+5x+25)$

#### Example C

Find the real-number solutions of $x^3-8 = 0$ .

Solution: Factor using the difference of cubes.

$x^3-8 &= 0\\(x-2)(x^2+2x+4) &= 0\\x& = 2$

In the last step, we set the first factor equal to zero. The second factor, $x^2+2x+4$ , will give imaginary solutions. For both the sum and difference of cubes, this will always happen.

Intro Problem Revisit We need to factor $2x^4 - 128x$ .

First, take out any common factors.

$2x^4 - 128x = 2x(x^3 - 64)$

What is inside the parenthesis is a difference of cubes. Use the Difference of Cubes Formula.

$2x(x^3 - 64)\\&= 2x(x^3 - 4^3)\\&= 2x(x - 4)(x^2 + 4x + 16)$

Therefore, the side lengths of the rectangular prism are $2x$ , $x +4$ , and $x^2 + 4x + 16$ .

### Guided Practice

Factor using the sum or difference of cubes.

1. $x^3-1$

2. $3x^3+192$

3. $125-216x^3$

4. Find the real-number solution to $27x^3+8=0$ .

1. Factor using the difference of cubes.

$x^3-1 &= x^3-1^3\\&= (x-1)(x^2+x+1)$

2. Pull out the 3, then factor using the sum of cubes.

$3x^3+192 &= 3(x^3+64)\\&= 3(x^3+4^3)\\&= 3(x+4)(x^2-4x+16)$

3. Factor using the difference of cubes.

$125-216x^3 &= 5^3-(6x)^3\\&= (5-6x)(5^2+(5)(6x)+(6x)^2)\\&= (5-6x)(25+30x+36x^2)$

4. Factor using the sum of cubes and then solve.

$27x^3+8 &= 0\\(3x)^3+2^3 &=0\\(3x+2)(9x^2-6x+4) &= 0\\x &= -\frac{2}{3}$

### Vocabulary

Sum of Cubes Formula
$a^3+b^3 = (a+b)(a^2-ab+b^2)$
Difference of Cubes Formula
$a^3-b^3 = (a-b)(a^2+ab+b^2)$

### Practice

Factor each polynomial by using the sum or difference of cubes.

1. $x^3-27$
2. $64+x^3$
3. $32x^3-4$
4. $64x^3+343$
5. $512-729x^3$
6. $125x^4+8x$
7. $648x^3+81$
8. $5x^6-135x^3$
9. $686x^7-1024x^4$

Find the real-number solutions for each equation.

1. $125x^3+1=0$
2. $64-729x^3 = 0$
3. $8x^4-343x = 0$
4. Challenge Find ALL solutions (real and imaginary) for $5x^5+625x^2 = 0$ .
5. Challenge Find ALL solutions (real and imaginary) for $686x^3+2000 = 0$ .
6. Real Life Application You have a piece of cardboard that you would like to fold up and make an open (no top) box out of. The dimensions of the cardboard are $36^{\prime\prime} \times 42^{\prime\prime}$ . Write a factored equation for the volume of this box. Find the volume of the box when $x = 1, 3,$ and 5.

### Vocabulary Language: English

Cubed

Cubed

The cube of a number is the number multiplied by itself three times. For example, "two-cubed" = $2^3 = 2 \times 2 \times 2 = 8$.
Difference of Cubes Formula

Difference of Cubes Formula

The difference of cubes formula is $a^3-b^3 = (a-b)(a^2+ab+b^2)$.
Sum of Cubes Formula

Sum of Cubes Formula

The sum of cubes formula is $a^3+b^3 = (a+b)(a^2-ab+b^2)$.