How do you factor x^3+x^2-7x-3x3+x27x3?

1 Answer
Aug 18, 2016

x^3+x^2-7x-3 = (x+3)(x-1-sqrt(2))(x-1+sqrt(2))x3+x27x3=(x+3)(x12)(x1+2)

Explanation:

f(x) = x^3+x^2-7x-3f(x)=x3+x27x3

By the rational roots theorem, any rational zeros of f(x)f(x) are expressible in the form p/qpq for integers p, qp,q with pp a divisor of the constant term -33 and qq a divisor of the coefficient 11 of the leading term.

That means tha the only possible rational zeros are:

+-1, +-3±1,±3

We find:

f(-3) = -27+9+21-3 = 0f(3)=27+9+213=0

So x=-3x=3 is a zero and (x+3)(x+3) a factor:

x^3+x^2-7x-3 = (x+3)(x^2-2x-1)x3+x27x3=(x+3)(x22x1)

We can factor the remaining quadratic by completing the square and using the difference of squares identity:

a^2-b^2=(a-b)(a+b)a2b2=(ab)(a+b)

with a=(x-1)a=(x1) and b=sqrt(2)b=2 as follows:

x^2-2x-1x22x1

=x^2-2x+1-2=x22x+12

=(x-1)^2-(sqrt(2))^2=(x1)2(2)2

=(x-1-sqrt(2))(x-1+sqrt(2))=(x12)(x1+2)

Putting it all together:

x^3+x^2-7x-3 = (x+3)(x-1-sqrt(2))(x-1+sqrt(2))x3+x27x3=(x+3)(x12)(x1+2)