Đặt \(x^4-2x^3-x^2-2x+1=\left(x^2+ax+1\right)\left(x^2+bx+1\right)=x^4+bx^3+x^2+ãx^3+abx^2+ax+x^2+bx+1\)
=> \(x^4-2x^3-x^2-2x+1=x^4+\left(a+b\right)x^3+\left(ab+2\right)x^2+\left(a+b\right)x+1\)
=> \(\hept{\begin{cases}a+b=-2\\ab+2=-1\\a+b=-2\end{cases}}\Rightarrow a=-3;b=1\)