Examples
x3-1
Step 1
Rewrite 1 as 13.
x3-13
Step 2
Since both terms are perfect cubes, factor using the difference of cubes formula, a3-b3=(a-b)(a2+ab+b2) where a=x and b=1.
(x-1)(x2+x⋅1+12)
Step 3
Step 3.1
Multiply x by 1.
(x-1)(x2+x+12)
Step 3.2
One to any power is one.
(x-1)(x2+x+1)
(x-1)(x2+x+1)