# Difference of Cubes Formula

The difference of cubes formula is used to find the difference of cubes of two numbers without actually calculating the cubes. It is one of the algebraic identities. The difference of cubes formula is used to factorize the binomials of cubes. The difference of cubes formula is also known as a^{3 }- b^{3} formula. The difference of cubes formula is explained below along with solved examples in the following section.

## What Is the Difference of Cubes Formula?

The difference of cubes formula or a^{3 }- b^{3} formula can be verified, by multiplying (a - b) (a^{2} + ab + b^{2}) and see whether you get a^{3} - b^{3}.The difference of cubes formula is given as,

### Difference of Cubes Formula

a^{3 }- b^{3 }= (a - b) (a^{2} + ab + b^{2})

You can remember these signs using the following trick.

## Examples Using Difference of Cubes Formula

**Example 1: **Find the value of 108^{3} - 8^{3 }by using the difference of cubes formula.

**Solution:**

To find: 108^{3} - 8^{3}.

Let us assume that a = 108 and b = 8.

We will substitute these in the formula of difference of cubes.

a^{3 }- b^{3 }= (a - b) (a^{2} + ab + b^{2})

108^{3}−8^{3 }= (108 − 8)(108^{2 }+ (108)(8) + 8^{2}) = (100)(11664 + 864 + 64) = (100)(12592) = 1259200

**Answer:** 108^{3} - 8^{3} = 1,259,200.

**Example 2: **Factorize the expression 27x^{3} - 125 by using the difference of cubes formula.

**Solution:**

To factorize: 27x^{3} - 125.

We will use the difference of cubes^{ }formula to factorize this.

We can write the given expression as

27x^{3} - 125 = (3x)^{3} - 5^{3}

We will substitute a = 3x and b = 5 in the formula of the difference of cubes.

a^{3 }- b^{3 }= (a - b) (a^{2} + ab + b^{2})

(3x)^{3 }− 5^{3 }= (3x − 5)((3x)^{2 }+ (3x)(5) + 5^{2}) = (3x − 5)(9x^{2} + 15x + 25)

**Answer: **27x^{3} - 125 = (3x - 5)(9x^{2} + 15x + 25).

visual curriculum