x^3-2x^2-1+2=0?

The only question I see is whether x^3-2x^2-1+2 = 0

For some values of x, it is. I suspect a typo, since you have no x term, and two constant terms.

Why not fix the typo and then ask your real question?