Solution
= Solution
Group the <polynomial> into two pairs, then use the <difference of two squares>:
$$
x^3-x^2-x+1=x^2(x-1)-(x-1)
=(x-1)(x^2-1)=\boxed{(x-1)^2(x+1).}
$$
Thus $1$ is a double <polynomial root> and $-1$ is a simple <polynomial root>.