# How do you factor #x^3+3x^2-9x-27#?

##### 1 Answer

Feb 1, 2017

#### Explanation:

The difference of squares identity can be written:

#a^2-b^2 = (a-b)(a+b)#

We will use this with

First note that the ratio between the first and second terms of the given cubic is the same as that between the third and fourth terms.

So this cubic will factor by grouping:

#x^3+3x^2-9x-27 = (x^3+3x^2)-(9x+27)#

#color(white)(x^3+3x^2-9x-27) = x^2(x+3)-9(x+3)#

#color(white)(x^3+3x^2-9x-27) = (x^2-9)(x+3)#

#color(white)(x^3+3x^2-9x-27) = (x^2-3^2)(x+3)#

#color(white)(x^3+3x^2-9x-27) = (x-3)(x+3)(x+3)#