How do you factor #x^3+x^2-7x-3#?
1 Answer
Explanation:
#f(x) = x^3+x^2-7x-3#
By the rational roots theorem, any rational zeros of
That means tha the only possible rational zeros are:
#+-1, +-3#
We find:
#f(-3) = -27+9+21-3 = 0#
So
#x^3+x^2-7x-3 = (x+3)(x^2-2x-1)#
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)#
with
#x^2-2x-1#
#=x^2-2x+1-2#
#=(x-1)^2-(sqrt(2))^2#
#=(x-1-sqrt(2))(x-1+sqrt(2))#
Putting it all together:
#x^3+x^2-7x-3 = (x+3)(x-1-sqrt(2))(x-1+sqrt(2))#