Examples
x3+27x3+27
Step 1
Rewrite 2727 as 3333.
x3+33x3+33
Step 2
Since both terms are perfect cubes, factor using the sum of cubes formula, a3+b3=(a+b)(a2-ab+b2)a3+b3=(a+b)(a2−ab+b2) where a=xa=x and b=3b=3.
(x+3)(x2-x⋅3+32)(x+3)(x2−x⋅3+32)
Step 3
Step 3.1
Multiply 33 by -1−1.
(x+3)(x2-3x+32)(x+3)(x2−3x+32)
Step 3.2
Raise 33 to the power of 22.
(x+3)(x2-3x+9)(x+3)(x2−3x+9)
(x+3)(x2-3x+9)(x+3)(x2−3x+9)