Question
Factor the expression (x^2+x)(x^2+x-1)-2
Factor the expression (x^2+x)(x^2+x-1)-2
(x^2+x)(x^2+x-1)-2
Let y=x^2+x, then the original expression is changed to
y(y-1)-2
=y^2-y-2
=(y-2)(y+1)
=(x^2+x-2)(x^2+x+1) //Back substitution
=(x+2)(x-1)(x^2+x+1)