Examples
x3-8x3−8
Step 1
Rewrite 88 as 2323.
x3-23x3−23
Step 2
Since both terms are perfect cubes, factor using the difference of cubes formula, a3-b3=(a-b)(a2+ab+b2)a3−b3=(a−b)(a2+ab+b2) where a=xa=x and b=2b=2.
(x-2)(x2+x⋅2+22)(x−2)(x2+x⋅2+22)
Step 3
Step 3.1
Move 22 to the left of xx.
(x-2)(x2+2x+22)(x−2)(x2+2x+22)
Step 3.2
Raise 22 to the power of 22.
(x-2)(x2+2x+4)(x−2)(x2+2x+4)
(x-2)(x2+2x+4)(x−2)(x2+2x+4)