Factoring a difference of two cubes is a fundamental algebraic skill that appears frequently in high school mathematics, college algebra, and calculus. Think about it: while it follows a specific, memorable pattern, students often confuse it with the difference of squares or the sum of cubes. Mastering this technique requires recognizing the structure, memorizing the formula, and practicing the substitution steps carefully. This guide breaks down the process, explains the logic behind the formula, and provides strategies to avoid common errors.
Understanding the Core Concept
Before diving into the mechanics, Define what constitutes a difference of two cubes — this one isn't optional. An expression fits this category if it consists of two terms subtracted from one another, where each term is a perfect cube. A perfect cube is a number or variable expression that can be written as something raised to the third power.
Take this: $8$ is a perfect cube because $2^3 = 8$. Also, similarly, $x^3$ is a perfect cube because $(x)^3 = x^3$. Even coefficients can be perfect cubes, such as $27y^3$ because $(3y)^3 = 27y^3$.
$a^3 - b^3$
Where $a$ and $b$ represent the cube roots of the first and second terms, respectively. Recognizing this structure is the very first step. If you cannot identify $a$ and $b$, you cannot apply the formula.
The Factoring Formula
The formula for factoring a difference of two cubes is a standard identity in algebra. It states that the difference of two cubes factors into a binomial multiplied by a trinomial. The formula is:
$a^3 - b^3 = (a - b)(a^2 + ab + b^2)$
Memorizing this pattern is crucial. A helpful mnemonic device involves the acronym SOAP, which describes the signs in the factors:
- Same: The sign in the binomial factor $(a - b)$ is the same as the sign in the original expression (subtraction).
- Opposite: The sign of the middle term in the trinomial $(+ab)$ is the opposite of the sign in the original expression.
- Always Positive: The last term in the trinomial $(+b^2)$ is always positive, regardless of the original operation.
Notice the symmetry: the binomial contains the cube roots with the original sign, while the trinomial squares the first root, adds the product of the roots, and squares the second root.
Step-by-Step Procedure
Factoring a difference of two cubes effectively requires a disciplined, step-by-step approach. Rushing through the identification of $a$ and $b$ is the most common source of errors.
Step 1: Identify the Cube Roots ($a$ and $b$)
Look at the first term and determine what expression, when cubed, gives that term. That is $a$. Do the same for the second term to find $b$. Ignore the subtraction sign for this step; focus purely on the magnitude.
- Example: $x^3 - 64$
- First term: $x^3 \rightarrow a = x$
- Second term: $64 \rightarrow 4^3 = 64$, so $b = 4$
Step 2: Write the Binomial Factor
Write the binomial $(a - b)$ using the cube roots found in Step 1. Because the original problem is a difference (subtraction), the sign inside the binomial remains a minus sign.
- Continuing Example: $(x - 4)$
Step 3: Construct the Trinomial Factor
Build the trinomial $(a^2 + ab + b^2)$ using the same $a$ and $b$ values. Follow the SOAP rule for signs:
- Square the first term ($a^2$).
- Multiply the two terms ($ab$) and give it the opposite sign (positive for a difference of cubes).
- Square the second term ($b^2$), which is always positive.
- Continuing Example:
- $a^2 = x^2$
- $ab = x \cdot 4 = 4x$ (Positive sign)
- $b^2 = 4^2 = 16$
- Trinomial: $(x^2 + 4x + 16)$
Step 4: Write the Final Factored Form
Combine the binomial and the trinomial.
- Final Answer: $(x - 4)(x^2 + 4x + 16)$
Step 5: Verify (Optional but Recommended)
You can verify your answer by multiplying the factors back together using the distributive property (FOIL extended to binomial times trinomial). The $x^2$ and constant terms should cancel out the middle terms, leaving only the original two cubes.
Detailed Worked Examples
To solidify understanding, let us examine progressively complex examples involving coefficients and multiple variables.
Example 1: Numerical Coefficients
Factor $27x^3 - 8$
- Identify $a$ and $b$:
- $27x^3 = (3x)^3$, so $a = 3x$.
- $8 = 2^3$, so $b = 2$.
- Binomial: $(3x - 2)$.
- Trinomial:
- $a^2 = (3x)^2 = 9x^2$.
- $ab = (3x)(2) = 6x$ (Positive).
- $b^2 = 2^2 = 4$.
- Trinomial: $(9x^2 + 6x + 4)$.
- Result: $(3x - 2)(9x^2 + 6x + 4)$.
Example 2: Multiple Variables
Factor $64a^6 - 125b^3$
- Identify $a$ and $b$:
- $64a^6 = (4a^2)^3$ because $4^3=64$ and $(a^2)^3 = a^6$. So $a = 4a^2$.
- $125b^3 = (5b)^3$. So $b = 5b$.
- Binomial: $(4a^2 - 5b)$.
- Trinomial:
- $a^2 = (4a^2)^2 = 16a^4$.
- $ab = (4a^2)(5b) = 20a^2b$ (Positive).
- $b^2 = (5b)^2 = 25b^2$.
- Trinomial: $(16a^4 + 20a^2b + 25b^2)$.
- Result: $(4a^2 - 5b)(16a^4 + 20a^2b + 25b^2)$.
Example 3: Factoring Out a GCF First
Factor $2x^3 - 16$
This expression does not immediately look like a difference of cubes because $2$ and $16$ are not perfect cubes. Still, they share a Greatest Common Factor (GCF) of $2$. **Always check for a GCF before applying special formulas.
- Factor out GCF: $2(x^3 - 8