How do you factor y= x^3 + 3x^2 + 9x + 27y=x3+3x2+9x+27?

1 Answer
May 5, 2018

y = (x^2+9)(x+3)y=(x2+9)(x+3)

color(white)(y) = (x-3i)(x+3i)(x+3)y=(x3i)(x+3i)(x+3)

Explanation:

Given:

y = x^3+3x^2+9x+27y=x3+3x2+9x+27

Note that the ratio of the first and second terms is the same as that of the third and fourth terms.

So this cubic will factor by grouping:

y = x^3+3x^2+9x+27y=x3+3x2+9x+27

color(white)(y) = (x^3+3x^2)+(9x+27)y=(x3+3x2)+(9x+27)

color(white)(y) = x^2(x+3)+9(x+3)y=x2(x+3)+9(x+3)

color(white)(y) = (x^2+9)(x+3)y=(x2+9)(x+3)

The remaining quadratic x^2+9x2+9 is positive for all real values of xx, so has no linear factors with real coefficients.

It can be factored with complex coefficients as a difference of squares...

x^2+9 = x^2+3^2 = x^2-(3i)^2 = (x-3i)(x+3i)x2+9=x2+32=x2(3i)2=(x3i)(x+3i)

where ii is the imaginary unit, satisfying i^2=-1i2=1