A polynomial of the form *a*³-*b*³ is called a difference of cubes. These types of polynomials can be easily factored using a standard pattern. Here, we will learn the process used to factor a difference of cubes.

We will look at several examples with answers to fully master the topic of factoring difference of cubes.

## How to factor a difference of cubes?

To factor a difference of cubes, we can follow the following steps:

**Step 1:** Decide if the two terms have a common factor, called the greatest common factor. If so, we factor the greatest common factor from the expression. We must not forget to include the greatest common factor as part of the final answer.

** Step 2:** Rewrite the original problem as a difference of two perfect cubes.

** Step 3:** Use the following sentences to write the answer:

a) “Write what you see”

b) “Square – Multiply – Square”

c) “Negative, Positive, Positive”

** Step 4:** Use all three parts to write the final answer.

## Factoring a difference of cubes – Examples with answers

The following difference of cubes factoring examples use the solving process listed above. Each example has a detailed solution that helps to understand the reasoning used to obtain the answer.

**EXAMPLE 1**

Factor the expression .

##### Solution

**Step 1:** In this case, the terms do not have any common factors, so we cannot factor initially.

**Step 2:** We rewrite the original problem as a difference of two perfect cubes:

⇒

**Step 3:** **a) **If we remove the parentheses and ignore the cubes, we see the expression:

**b)** If we square the first term, *x*, we have . If we multiply the terms *x* and 2, we have . If we square the second term, 2, we have 4.

**c)** “Negative, Positive, Positive”. These are the signs of the problem.

**Step 4:** The final answer is:

**EXAMPLE 2**

Factor the expression .

##### Solution

**Step 1:** We have no common factors in the terms, so we cannot factor initially.

**Step 2:** We have to rewrite the original problem as a difference of two perfect cubes:

⇒

**Step 3:** **a) **Ignoring the parentheses and cubes, we see the expression:

**b)** Squaring the first term, *x*, we have . Multiplying the terms 2*x* and 3, we have *. *Squaring the second term, 3, we have 9.

**c)** “Negative, Positive, Positive”. These are the signs of the problem.

**Step 4:** The final answer is:

Start now: Explore our additional Mathematics resources

**EXAMPLE 3**

Obtain the factorization of .

##### Solution

**Step 1:** This expression also cannot be factored initially since there are no common factors in the terms.

**Step 2:** We rewrite the original problem as a difference of two perfect cubes:

⇒

**Step 3:** **a) **Ignoring the parentheses and cubes, we see the expression:

**b)** Squaring the first term, 3*x*, we have . By multiplying the terms 3*x* and 5, we have*. *Squaring the second term, 5, we have 25.

**c)** “Negative, Positive, Positive”. These are the signs of the problem.

**Step 4:** The factored version is:

**EXAMPLE 4**

Factor the expression .

##### Solution

**Step 1:** The terms do not have any common factors, so we continue with the following steps.

**Step 2:** We write the original expression as a difference of two perfect cubes:

⇒

**Step 3:** **a) **If we ignore the parentheses and cubes, we see the expression:

**b)** We square the first term, 5*x*, to get . We multiply the terms 5*x* and 6y, to get *. *We square the second term, 6y, to obtain .

**c)** “Negative, Positive, Positive”. These are the signs of the problem.

**Step 4:** The final answer is:

**EXAMPLE 5**

Obtain the factorization of the expression .

##### Solution

**Step 1:** This expression does have common factors. We can extract the 2 from both terms:

**Step 2:** We rewrite the expression obtained as a difference of two perfect cubes:

⇒

**Step 3:** **a) **By removing the parentheses and ignoring the cubes, we have:

**b)** If we square the first term, 3*x*, we have . If we multiply the terms 3*x* and 2*y*, we have *. *If we square the second term, 2*y*, we have .

**c)** “Negative, Positive, Positive”. These are the signs of the problem.

**Step 4:** We obtained the following factorization:

**EXAMPLE 6**

Factor the expression .

##### Solution

**Step 1:** We have no common factors.

**Step 2:** By rewriting the expression as a difference of two perfect cubes, we have:

⇒

**Step 3:** **a) **If we remove the parentheses and ignore the cubes, we see the expression:

**b)** Squaring the first term, *1*, we have 1. Multiplying the terms *1* and 5*xy*, we get *. *Squaring the second term, 5*xy*, we have .

**c)** “Negative, Positive, Positive”. These are the signs of the problem.

**Step 4:** The final answer is:

## Factoring difference of cubes – Practice problems

Test what you have learned about factoring the difference of cubes with the following problems. Solve the exercises and choose an answer. Check the selected answer to see if it is correct.

See also

Interested in learning more about the factorization of polynomials? Take a look at these pages:

### Learn mathematics with our additional resources in different topics

**LEARN MORE**