How do you factor #g(x)=x^3-x^2-x+1#?

1 Answer
Mar 16, 2018

#color(green)(g(x) = (x + 1) * (x- 1)^2#

Explanation:

#g(x) = x^3 - x^2 - x + 1#

#g(x) = x^2 (x - 1) - 1 (x-1)# Taking common #x^2# out.

# => (x^2 - 1) * (x - 1)# Separating common terms.

As per identity, #(x + 1) * (x - 1) = x^2 - 1#

Hence # g(x) => (x + 1) (x - 1) (x - 1)#

#color(green)(g(x) = (x + 1) * (x- 1)^2#