You factor cubes by identifying the cube roots and applying the sum or difference formulas: a³ + b³ = (a + b)(a² – ab + b²) or a³ – b³ = (a – b)(a² + ab + b²).
Algebra students often hit a wall when they encounter cubic polynomials. Unlike simple quadratic equations, binomials with exponents of three require specific formulas and a sharp eye for patterns. Learning these patterns reduces complex polynomials into manageable binomial and trinomial factors.
This guide explains the exact steps to factor the sum and difference of cubes. We will break down the formulas, introduce a memory aid for the signs, and walk through multiple examples ranging from simple numbers to complex variables.
Understanding Perfect Cubes in Algebra
You cannot factor cubes effectively without first recognizing them. A perfect cube is a number or variable expression resulting from multiplying a value by itself three times. Recognizing these values instantly is a major advantage during exams or homework.
Recognize the numbers — Memorize the first few integer cubes. Seeing 64 and knowing immediately that it is 4³ makes the process faster.
- 1 (1³)
- 8 (2³)
- 27 (3³)
- 64 (4³)
- 125 (5³)
- 216 (6³)
Check the variables — A variable is a perfect cube if its exponent is divisible by 3. For instance, x³, y⁶, and z¹² are all perfect cubes because their powers divide evenly by three.
The Two Core Formulas for Factoring Cubes
Quadratic squares only factor if they are a difference (subtraction). Cubes are different. You can factor both the sum (addition) and the difference (subtraction) of two cubes. You must memorize two distinct but similar patterns.
The Sum of Cubes Formula
When you have two perfect cubes added together, use this structure:
a³ + b³ = (a + b)(a² – ab + b²)
The Difference of Cubes Formula
When one perfect cube is subtracted from another, use this structure:
a³ – b³ = (a – b)(a² + ab + b²)
Notice that the terms (a and b) and the structure (a binomial times a trinomial) remain consistent. The only things that change are the signs (plus or minus).
Using the SOAP Method to Remember Signs
Memorizing signs is the hardest part for most learners. The acronym SOAP solves this. It stands for Same, Opposite, Always Positive. This rule applies to the signs between the terms in the expansion.
Here is how SOAP dictates the flow:
- Same — The first sign in the binomial factor is the same as the original problem. If you start with a plus, the first factor has a plus.
- Opposite — The second sign (the first one in the trinomial) is opposite to the original problem.
- Always Positive — The final sign in the trinomial is always positive, regardless of how the problem started.
How Do You Factor Cubes? Step-by-Step Examples
We will apply the formulas and the SOAP method to real problems. We will start with a standard addition problem.
Example 1: Factoring a Sum of Cubes
Problem: Factor x³ + 27
1. Identify the cube roots — Look at the first and last terms. The cube root of x³ is x. The cube root of 27 is 3. So, a = x and b = 3.
2. Set up the SOAP skeleton — Write empty parentheses with the signs filled in. Since this is a sum, signs are Same (+), Opposite (-), Always Positive (+).
( … + … ) ( … – … + … )
3. Fill in the terms — Place ‘a’ and ‘b’ into the spots defined by the formula (a + b)(a² – ab + b²).
- Binomial: (x + 3)
- Trinomial: (x² – 3x + 3²)
4. Simplify the result — Square the numerical term at the end.
Answer: (x + 3)(x² – 3x + 9)
Example 2: Factoring a Difference of Cubes
Problem: Factor 8y³ – 125
This asks How Do You Factor Cubes? when subtraction is involved. The process mimics the first example, but the signs shift.
1. Find the roots — The cube root of 8y³ is 2y. The cube root of 125 is 5.
a = 2y
b = 5
2. Apply SOAP signs — Start with subtraction, so Same is (-), Opposite is (+), Always Positive is (+).
( … – … ) ( … + … + … )
3. Construct the factors —
Binomial: (2y – 5)
Trinomial: ((2y)² + (2y)(5) + 5²)
4. Compute the values — Be careful squaring the 2y term. You must square both the coefficient and the variable.
Answer: (2y – 5)(4y² + 10y + 25)
Checking for a Greatest Common Factor (GCF)
A frequent error occurs when students jump straight to the cubic formulas without checking for a GCF. If a polynomial has a common factor, remove it first. Failing to do so leaves the problem incomplete or makes the numbers unnecessarily large and difficult to manage.
Consider the expression: 2x³ + 16.
At first glance, 2 is not a perfect cube, and neither is 16. You might assume this is prime. However, factoring out the GCF reveals the hidden cubes.
- Extract the GCF — Both terms are divisible by 2.
2(x³ + 8) - Identify the cubes — Now, x³ and 8 are clear perfect cubes.
a = x, b = 2 - Apply the sum formula — Keep the GCF on the outside.
2(x + 2)(x² – 2x + 4)
Always scan for a GCF before assigning your ‘a’ and ‘b’ values.
Handling Variables with Higher Exponents
Algebra problems often involve variables with exponents higher than 3. As long as the exponent is a multiple of 3, the term is a perfect cube. You treat these simply by dividing the exponent by 3 to find the root.
Problem: Factor a⁶ – b⁹
This is a difference of cubes problem. We determine the roots by dividing the powers.
- Root of a⁶: a² (because a² • a² • a² = a⁶)
- Root of b⁹: b³ (because b³ • b³ • b³ = b⁹)
Now, substitute these into the standard difference formula:
(a² – b³)((a²)² + (a²)(b³) + (b³)²)
Simplify the exponents:
Answer: (a² – b³)(a⁴ + a²b³ + b⁶)
Why the Quadratic Factor Is Usually Prime
Students often ask if they should factor the trinomial result further. In the result (a ± b)(a² ∓ ab + b²), the trinomial part (a² ∓ ab + b²) is almost always prime over the real number system.
Quick check: — Try to factor x² + 3x + 9. You need two numbers that multiply to 9 and add to 3. The only factors of 9 are 1, 9 and 3, 3. Neither pair adds to 3. This holds true for all standard sum/difference of cubes results. Unless the problem asks for complex roots (imaginary numbers), you stop after the first expansion.
Common Mistakes When Factoring Cubes
Even advanced algebra students make simple mechanical errors with these formulas. Awareness of these pitfalls helps you avoid them on tests.
1. Misidentifying “b” as Negative
In the formula a³ – b³, the ‘b’ value is positive 5, not negative 5. The subtraction sign is part of the formula structure, not the number itself. If you treat ‘b’ as negative, your signs in the final answer will be incorrect. Stick to the SOAP method and treat ‘a’ and ‘b’ as positive values derived from the roots.
2. Squaring Incorrectly
When the ‘a’ or ‘b’ term has a coefficient (like 3x), you must square the whole term.
Wrong: 3x²
Right: (3x)² = 9x²
Failing to square the coefficient is the most common arithmetic error in these problems.
3. Confusing “2ab” with “ab”
This formula looks very similar to the perfect square trinomial formula (a + b)² = a² + 2ab + b². In the cubes formula, the middle term is just ab. There is no 2. Do not double the product of the middle term.
Solving Equations Involving Cubic Factors
Factoring is often just the first step in solving an equation equal to zero. Once you have the factors, you apply the Zero Product Property.
Example: Solve x³ – 64 = 0
1. Factor the difference —
(x – 4)(x² + 4x + 16) = 0
2. Set factors to zero —
x – 4 = 0 → x = 4
3. Solve the quadratic —
x² + 4x + 16 = 0
Since this trinomial does not factor, use the Quadratic Formula.
x = [-4 ± √(16 – 64)] / 2
x = [-4 ± √(-48)] / 2
This results in imaginary solutions. For real-number algebra courses, the only real solution is x = 4. In complex analysis, you would continue to simplify the imaginary roots.
Complex Examples: Fractions and Multiple Variables
Tests often include fractions or multi-variable terms to test your rigorous understanding of the rules.
Problem: Factor 27x³ + 1/8
Identify Roots:
a = 3x
b = 1/2 (since 1/2 • 1/2 • 1/2 = 1/8)
Apply Sum Formula (SOAP: +, -, +):
(3x + 1/2)( (3x)² – (3x)(1/2) + (1/2)² )
Simplify:
Answer: (3x + 1/2)(9x² – 3x/2 + 1/4)
While fractions look intimidating, the mechanics of the formula do not change. Trust the structure.
Summary of Factoring Strategies
When you approach a polynomial, follow this mental flowchart to decide if you need the cubes formulas.
- Count the terms — Do you have exactly two terms? If yes, it is a binomial.
- Check the degree — Is the highest exponent a multiple of 3?
- Check the operation — Is it addition or subtraction? (Both work for cubes).
- Check for GCF — Factor out common terms first.
- Apply the Formula — Use SOAP to verify signs.
Key Takeaways: How Do You Factor Cubes?
➤ Always check for a Greatest Common Factor (GCF) first.
➤ Use the SOAP acronym to place signs correctly.
➤ Remember that the middle term is ab, not 2ab.
➤ The resulting trinomial is usually prime over reals.
➤ Verify that exponents are divisible by three.
Frequently Asked Questions
Can you factor the sum of two squares?
No, the sum of two squares (like a² + b²) is prime and cannot be factored using real numbers. While the sum of cubes has a valid formula, the sum of squares does not factor unless you utilize imaginary numbers.
What if the exponent is 6, like x⁶ – y⁶?
You can treat exponents of 6 as either squares or cubes. It is generally easier to treat them as a difference of squares first: (x³ – y³)(x³ + y³). Then, you factor each of those resulting cubic binomials further for a complete answer.
How do I know if a number is a perfect cube?
A perfect cube is the result of an integer multiplied by itself three times. For large numbers, try breaking them into prime factors. If every prime factor appears in a group of three, the number is a perfect cube.
Does the SOAP method apply to squares too?
No, SOAP is specific to cubic binomials. Difference of squares always follows the (a + b)(a – b) pattern, and perfect square trinomials have their own sign rules. Keep SOAP reserved strictly for x³ problems.
What happens if I forget the GCF step?
If you skip the GCF, your final factors will not be fully simplified. You might end up with a factor like (2x + 4) inside your answer. You would then need to factor a 2 out of that binomial to get the correct final form.
Wrapping It Up – How Do You Factor Cubes?
Mastering the sum and difference of cubes gives you a powerful tool for simplifying high-degree polynomials. By memorizing the two distinct patterns and applying the SOAP method, you ensure your signs are always correct. Remember to look for coefficients and variables that hide perfect cubes, and never skip the initial check for a GCF.
With practice, identifying values like 64, 125, or 216 becomes second nature. These formulas are straightforward once you trust the pattern. Take your time identifying your ‘a’ and ‘b’ terms, and the algebra will fall into place.