x cubed minus 27 factors into (x – 3)(x² + 3x + 9) because it matches the difference-of-cubes pattern a³ – b³.
If you want to factor x3 – 27, the clean way is to spot the pattern before you start moving symbols around. This expression is not a regular trinomial, and it does not break apart with the same trial-and-error method many students use on quadratics. It belongs to a smaller group of cube expressions with a set formula.
That is good news. Once you know what to look for, the job gets much easier. You only need to notice that x3 is one perfect cube and 27 is another perfect cube. From there, the factor form drops out in a few steady steps.
How To Factor X 3 27 Step By Step
Start by rewriting the expression in cube form:
- x3 = (x)3
- 27 = 33
So the expression becomes x3 – 33. That matches the difference-of-cubes rule:
a3 – b3 = (a – b)(a2 + ab + b2)
Now substitute a = x and b = 3:
- First factor: x – 3
- Second factor: x2 + 3x + 9
That gives the full answer:
(x – 3)(x2 + 3x + 9)
If your teacher wants a quick check, multiply the factors back out. You get x3 + 3x2 + 9x – 3x2 – 9x – 27, which simplifies to x3 – 27. The middle terms cancel, so the factorization is correct.
Why This Expression Does Not Factor Like A Basic Trinomial
A lot of students get stuck because x3 – 27 looks too short. There are only two terms, so it feels like there should be some quick trick with signs or a missing middle term. But this is not a quadratic and not a common binomial square. The structure comes from cubes.
That difference matters. With a quadratic such as x2 – 9, you use the difference of squares rule and get (x – 3)(x + 3). With x3 – 27, the second factor is not x + 3. The power is different, so the pattern changes too.
Students also try guesses like (x – 3)(x2 – 9), but that expands to x3 – 3x2 – 9x + 27, which is not the original expression. The sign on the constant term flips, and extra terms appear.
What You Need To Notice Right Away
When you see a two-term polynomial, pause and test these questions:
- Are both terms perfect squares?
- Are both terms perfect cubes?
- Is the operation addition or subtraction?
- Can I rewrite each term with an exponent that matches a known pattern?
That habit saves time and cuts down wrong starts. In this case, both terms are perfect cubes and the operation is subtraction, so the difference-of-cubes formula is the right fit. If you want a formal refresher, Wolfram MathWorld’s difference of two cubes page lays out the identity in standard algebra form.
Difference Of Cubes Rule And What Each Part Means
The rule is short, but it helps to know how each piece behaves:
a3 – b3 = (a – b)(a2 + ab + b2)
The first factor keeps the subtraction sign. The second factor uses all positive terms. That sign pattern trips people up more than anything else. Many students want to write a minus sign in the middle of the quadratic factor, but that would break the expansion.
Here is the pattern in a compact view you can scan fast:
| Part Of The Pattern | General Form | For x3 – 27 |
|---|---|---|
| First cube | a3 | x3 |
| Second cube | b3 | 33 |
| Operation | Subtraction | Minus |
| First factor | a – b | x – 3 |
| Second factor term 1 | a2 | x2 |
| Second factor term 2 | ab | 3x |
| Second factor term 3 | b2 | 9 |
| Final factored form | (a – b)(a2 + ab + b2) | (x – 3)(x2 + 3x + 9) |
If you want a second source from a classroom-style math site, Math Is Fun’s special products page shows the same cube identities with plain-language examples.
Taking Apart The Common Mistakes
Mixing It Up With Difference Of Squares
This is the most common slip. Students see a subtraction sign and jump straight to the square rule. That works only when both terms are squares and the exponent pattern fits. Here, the power is 3, not 2, so the factor pair changes.
Putting A Minus Sign In The Second Factor
Some write (x – 3)(x2 – 3x + 9). That looks neat, but it is wrong for a difference of cubes. The middle sign in the quadratic factor must be positive. A quick expansion proves it.
Stopping After x Minus 3
It is true that x – 3 is a factor. You can even see that from the factor theorem, since plugging in x = 3 gives zero. Still, that is not the fully factored form over the integers. You need the quadratic factor too.
Forgetting To Check The Answer
Factoring is one of those topics where a 20-second check can save a lost point. Expanding the factors back out is the fastest way to catch a sign error.
How To Spot Similar Problems On Your Own
Once you know how x3 – 27 works, you can handle a whole family of expressions. The trick is to train your eye to spot perfect cubes. Here are a few you will see again and again:
- x3 – 8 = (x – 2)(x2 + 2x + 4)
- x3 – 64 = (x – 4)(x2 + 4x + 16)
- 8x3 – 27 = (2x – 3)(4x2 + 6x + 9)
- y3 – 125 = (y – 5)(y2 + 5y + 25)
The pattern stays the same. You identify the cubes, pull out the linear factor, then build the quadratic factor with square, product, square.
If you want a college-style source that lists standard factoring identities, OpenStax College Algebra is a solid reference point for exponent rules that feed into this kind of factoring work.
| Expression | Cube Rewrite | Factored Form |
|---|---|---|
| x3 – 1 | x3 – 13 | (x – 1)(x2 + x + 1) |
| x3 – 27 | x3 – 33 | (x – 3)(x2 + 3x + 9) |
| x3 – 125 | x3 – 53 | (x – 5)(x2 + 5x + 25) |
| 8x3 – 1 | (2x)3 – 13 | (2x – 1)(4x2 + 2x + 1) |
Why The Quadratic Factor Usually Stays As Is
After factoring x3 – 27, some students try to keep going with x2 + 3x + 9. In most class settings, that factor is done. Its discriminant is 32 – 4(1)(9) = 9 – 36 = -27, which is negative. So it does not factor further over the real numbers into two linear pieces with real coefficients.
That means the clean final answer is:
(x – 3)(x2 + 3x + 9)
If your class later works with complex numbers, there is more you can do. But in most algebra courses, this is the stopping point your teacher wants.
A Fast Memory Trick For x Cubed Minus 27
If the rule keeps slipping away, use this short pattern:
- Same sign first: keep the minus in the first factor
- All plus next: the quadratic factor uses plus signs
- Square, product, square: x2, then 3x, then 9
So once you see x3 – 27, you can almost say the answer aloud: x minus 3, then x squared plus 3x plus 9. That rhythm sticks well when you have a quiz and not much time.
References & Sources
- Wolfram MathWorld.“Difference of Two Cubes.”States the algebra identity for factoring expressions in the form a cubed minus b cubed.
- Math Is Fun.“Special Products.”Shows common polynomial identities, including the difference-of-cubes pattern used in this factorization.
- OpenStax.“College Algebra 2e: Radicals and Rational Exponents.”Provides background on exponent rules that help rewrite constants and variables as perfect cubes.