Factoring the sum or difference of two cubes is a fundamental algebraic technique that appears frequently in high‑school mathematics, college‑level calculus, and various engineering applications. Mastering this skill enables students to simplify complex expressions, solve polynomial equations, and recognize patterns that lead to quicker problem‑solving. In this guide we will explore the underlying formulas, walk through step‑by‑step procedures, highlight common pitfalls, and provide plenty of practice examples to build confidence.
People argue about this. Here's where I land on it.
Understanding Cubes and Their Special Forms
Before diving into the factoring process, it helps to recall what a cube represents. A number or variable raised to the third power—written as (a^3) or (b^3)—is called a perfect cube. When two perfect cubes are added or subtracted, the resulting expression possesses a special factorable structure that does not appear with ordinary squares or higher powers. Recognizing this pattern is the first step toward efficient factoring And that's really what it comes down to..
The two key identities we will use are:
- Sum of two cubes: (\displaystyle a^3 + b^3 = (a + b)(a^2 - ab + b^2))
- Difference of two cubes: (\displaystyle a^3 - b^3 = (a - b)(a^2 + ab + b^2))
Notice the symmetry: the linear factor contains the same sign as the original expression ((+) for a sum, (-) for a difference), while the quadratic factor always begins with a plus sign between the squared terms and alternates the middle term’s sign accordingly Simple, but easy to overlook. But it adds up..
Factoring the Sum of Two Cubes
Step‑by‑Step Procedure
- Identify the cubes – Verify that each term is a perfect cube. If a term includes a coefficient, factor out the cube root of that coefficient (e.g., (8x^3 = (2x)^3)).
- Write the linear factor – Use the same sign as the original expression: ((a + b)).
- Construct the quadratic factor – Compute (a^2), (-ab), and (b^2) (note the minus sign on the middle term).
- Combine – Multiply the linear and quadratic factors; you can skip the multiplication if you only need the factored form.
Example 1
Factor (27y^3 + 64).
- Recognize cubes: (27y^3 = (3y)^3) and (64 = 4^3).
- Set (a = 3y), (b = 4).
- Linear factor: ((3y + 4)).
- Quadratic factor: ((3y)^2 - (3y)(4) + 4^2 = 9y^2 - 12y + 16).
- Factored form: ((3y + 4)(9y^2 - 12y + 16)).
Example 2 (with a common factor)
Factor (5x^3 + 40).
- First factor out the greatest common factor (GCF): (5(x^3 + 8)).
- Inside the parentheses, (x^3 = (x)^3) and (8 = 2^3).
- Apply the sum‑of‑cubes formula with (a = x), (b = 2): ((x + 2)(x^2 - 2x + 4)).
- Include the GCF: (5(x + 2)(x^2 - 2x + 4)).
Factoring the Difference of Two Cubes
Step‑by‑Step Procedure
- Identify the cubes – Same as before; ensure each term is a perfect cube after extracting any GCF.
- Write the linear factor – Use the same sign as the original expression: ((a - b)).
- Construct the quadratic factor – Compute (a^2), (+ab), and (b^2) (note the plus sign on the middle term).
- Combine – Present the factored form as ((a - b)(a^2 + ab + b^2)).
Example 1
Factor (125 - 8z^3) Small thing, real impact..
- Recognize cubes: (125 = 5^3) and (8z^3 = (2z)^3).
- Here the expression is written as (5^3 - (2z)^3); thus (a = 5), (b = 2z).
- Linear factor: ((5 - 2z)).
- Quadratic factor: (5^2 + 5(2z) + (2z)^2 = 25 + 10z + 4z^2).
- Factored form: ((5 - 2z)(25 + 10z + 4z^2)).
Example 2 (with a GCF)
Factor (54m^3 - 16n^3).
- GCF of the coefficients is 2: (2(27m^3 - 8n^3)).
- Inside the parentheses: (27m^3 = (3m)^3) and (8n^3 = (2n)^3).
- Apply difference‑of‑cubes with (a = 3m), (b = 2n): ((3m - 2n)\big((3m)^2 + (3m)(2n) + (2n)^2\big)).
- Simplify quadratic: (9m^2 + 6mn + 4n^2).
- Final answer: (2(3m - 2n)(9m^2 + 6mn + 4n^2)).
Worked Examples with Multiple Steps
Example 3 – Combining Both Techniques
Factor (64x^6 - 729y^6) Most people skip this — try not to..
- Notice each term is a perfect cube: (64x^6 = (4x^2)^3) and (729y^6 = (9y^2)^3).
- Apply difference of cubes: ((4x^2 - 9y^2)\big((4x^2)^2 + (4x^2)(9y^2) + (9y^2)^2\big)).
- Simplify the linear factor further because it is a difference of squares: ((4x^2 - 9y^2) = (2x - 3y)(2x + 3y)).
- Quadratic factor: (16x^4 + 36x^2y^2 + 81y^4).
- Complete factorization: ((2x - 3y)(2x + 3y)(16x^4 + 36x^2y^2 + 81