Let
\(f(x)=x^3-x^2-2x+2\text{.}\) Since the leading coefficient of
\(f\) is 1, the only possible integers which could possibly be roots of
\(f\) are the divisors of 2 and their negatives, that is
\(1, -1, 2\text{,}\) and
\(-2\text{.}\) Of these possibilities, only
\(1\) is a root (because
\(f(1) = 0\) whereas
\(f(-1), f(2)\) and
\(f(-2)\) are all non-zero). In fact,
\(f(x) = (x-1)(x^2 - 2)\)