Ta có: \(x^3-x^2-x-2=0\)
\(\Leftrightarrow x^3-2x^2+x^2-2x+x-2=0\)
\(\Leftrightarrow\left(x-2\right).\left(x^2+x+1\right)=0\)
Vì \(x^2+x+1=x^2+2.\frac{1}{2}.x+\frac{1}{4}+\frac{3}{4}=\left(x+\frac{1}{2}\right)^2+\frac{3}{4}>0\)
nên \(x^2+x+1\ne0\)
\(\Rightarrow x-2=0\Rightarrow x=2\)
Tiếp tục thay vào biểu thức cần tìm ,ta được:
\(x^9-8x^3+16x^2-2x+2012\)
\(2^9-8.2^3+16.2^2-2.2+2012=2520\)