How do you factor w^3-3w^2-9w+27w33w29w+27?

1 Answer
Sep 26, 2017

(w^3-3w^2-9w+27)=color(blue)((x-3)(x-3)(x+3))(w33w29w+27)=(x3)(x3)(x+3)

Explanation:

Writing w^3-3w^2-9w+27w33w29w+27
as
color(white)("XXX")w^3-3w^2-3^3w+3^3XXXw33w233w+33
makes it fairly clear that
color(white)("XXX")w=3XXXw=3 is a zero of this expression.

That is (w-3)(w3) is a factor of (w^3-3w^2-9w+27)(w33w29w+27)

If we divided (w^3-3w^2-9w+27)(w33w29w+27) by (w-3)(w3)
(either by polynomial long division or synthetic division)
we find
color(white)("XXX")(x^2-9)XXX(x29) is also a factor

...but (x^2-9)=(x^2-3^2)=(x-3)(x+3)(x29)=(x232)=(x3)(x+3)

So a complete factoring is
color(white)("XXX")(w^3-3w^2-9w+27)=(x-3)(x-3)(x+3)XXX(w33w29w+27)=(x3)(x3)(x+3)