a3+3a2-9a-27
Group the first two terms and the last two terms.
(a3+3a2)-9a-27
Factor out the greatest common factor (GCF) from each group.
a2(a+3)-9(a+3)
a2(a+3)-9(a+3)
Factor the polynomial by factoring out the greatest common factor, a+3.
(a+3)(a2-9)
Rewrite 9 as 32.
(a+3)(a2-32)
Since both terms are perfect squares, factor using the difference of squares formula, a2-b2=(a+b)(a-b) where a=a and b=3.
(a+3)((a+3)(a-3))
Remove unnecessary parentheses.
(a+3)(a+3)(a-3)
(a+3)(a+3)(a-3)
Raise a+3 to the power of 1.
(a+3)1(a+3)(a-3)
Raise a+3 to the power of 1.
(a+3)1(a+3)1(a-3)
Use the power rule aman=am+n to combine exponents.
(a+3)1+1(a-3)
Add 1 and 1.
(a+3)2(a-3)
(a+3)2(a-3)
Factor a^3+3a^2-9a-27