Có: \(\left(x^3-1\right):\left(x^2+x+1\right)=x^2-2x-1\)
\(\Rightarrow\left(x-1\right)\left(x^2+x+1\right):\left(x^2+x+1\right)=x^2-2x-1\)
\(\Rightarrow x-1=\left(x-1\right)^2\)
\(\Rightarrow\left(x-1\right)-\left(x-1\right)^2=0\)
\(\Rightarrow\left(x-1\right)\left[1-\left(x-1\right)\right]=0\)
\(\Rightarrow\left(x-1\right)\left(2-x\right)=0\) \(\Leftrightarrow\left[{}\begin{matrix}x=1\\x=2\end{matrix}\right.\)
Vậy ...