# Sum and Difference of Cubes

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

%
Progress

MEMORY METER
This indicates how strong in your memory this concept is
Progress
%
Sum and Difference of Cubes

The volume of a rectangular prism is . What are the lengths of the prism's sides?

### Sum and Difference of Cubes

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 . We will investigate volume to find the factorization of this polynomial.

#### Sum of Cubes Formula

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

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

Step 2: Recall that the formula for volume is . Find the volume of the sum of these two cubes.

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

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

Step 5: Pull out any common factors within the brackets.

Step 6: Notice that both terms have a common factor of . Pull this out, put it in front, and get rid of the brackets.

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

In the last step, we found that factors to . This is the Sum of Cubes Formula.

Let's factor .

First, determine if these are “cube” numbers. A cube number has a cube root. For example, the cube root of 8 is 2 because . , and so on.

In the formula, we have:

Therefore, . The second factored polynomial does not factor any further.

#### Difference of Cubes

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

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

Step 2: Recall that the formula for volume is . Find the volume of the difference of these two cubes.

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

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

Step 5: Pull out any common factors and simplify.

In the last step, we found that factors to . This is the Difference of Cubes Formula.

Let's factor .

First, take out any common factors.

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

Now, let's find the real-number solutions of .

Factor using the difference of cubes.

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

### Examples

#### Example 1

Earlier, you were asked to find the lengths of the prism's sides.

We need to factor .

First, take out any common factors.

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

Therefore, the side lengths of the rectangular prism are , , and .

Factor using the sum or difference of cubes.

#### Example 2

Factor using the difference of cubes.

#### Example 3

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

#### Example 4

Factor using the difference of cubes.

#### Example 5

Find the real-number solution to .

Factor using the sum of cubes and then solve.

### Review

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

Find the real-number solutions for each equation.

1. Challenge Find ALL solutions (real and imaginary) for .
2. Challenge Find ALL solutions (real and imaginary) for .
3. 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 . Write a factored equation for the volume of this box. Find the volume of the box when and 5.

To see the Review answers, open this PDF file and look for section 6.6.

### Notes/Highlights Having trouble? Report an issue.

Color Highlighted Text Notes

### Vocabulary Language: English

TermDefinition
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 The difference of cubes formula is $a^3-b^3 = (a-b)(a^2+ab+b^2)$.
Sum of Cubes Formula The sum of cubes formula is $a^3+b^3 = (a+b)(a^2-ab+b^2)$.