a) Ta có: \(x^3+x^2+x+1=0\)
\(\Leftrightarrow x^2\left(x+1\right)+\left(x+1\right)=0\)
\(\Leftrightarrow\left(x+1\right)\left(x^2+1\right)=0\)
mà \(x^2+1>0\forall x\)
nên x+1=0
hay x=-1
Vậy: S={-1}
b) Ta có: \(x^3-6x^2+11x-6=0\)
\(\Leftrightarrow x^3-x^2-5x^2+5x+6x-6=0\)
\(\Leftrightarrow x^2\left(x-1\right)-5x\left(x-1\right)+6\left(x-1\right)=0\)
\(\Leftrightarrow\left(x-1\right)\left(x^2-5x+6\right)=0\)
\(\Leftrightarrow\left(x-1\right)\left(x-2\right)\left(x-3\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x-1=0\\x-2=0\\x-3=0\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=1\\x=2\\x=3\end{matrix}\right.\)
Vậy: S={1;2;3}
c) Ta có: \(x^3-x^2-21x+45=0\)
\(\Leftrightarrow x^3-3x^2+2x^2-6x-15x+45=0\)
\(\Leftrightarrow x^2\left(x-3\right)+2x\left(x-3\right)-15\left(x-3\right)=0\)
\(\Leftrightarrow\left(x-3\right)\left(x^2+2x-15\right)=0\)
\(\Leftrightarrow\left(x-3\right)\left(x^2+5x-3x-15\right)=0\)
\(\Leftrightarrow\left(x-3\right)^2\cdot\left(x+5\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x-3=0\\x+5=0\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=3\\x=-5\end{matrix}\right.\)
Vậy: S={3;-5}
d) Ta có: \(x^4+2x^3-4x^2-5x-6=0\)
\(\Leftrightarrow x^4-2x^3+4x^3-8x^2+4x^2-8x+3x-6=0\)
\(\Leftrightarrow x^3\left(x-2\right)+4x^2\cdot\left(x-2\right)+4x\left(x-2\right)+3\left(x-2\right)=0\)
\(\Leftrightarrow\left(x-2\right)\left(x^3+4x^2+4x+3\right)=0\)
\(\Leftrightarrow\left(x-2\right)\left(x^3+3x^2+x^2+4x+3\right)=0\)
\(\Leftrightarrow\left(x-2\right)\left[x^2\left(x+3\right)+\left(x+1\right)\left(x+3\right)\right]=0\)
\(\Leftrightarrow\left(x-2\right)\left(x+3\right)\left(x^2+x+1\right)=0\)
mà \(x^2+x+1>0\forall x\)
nên (x-2)(x+3)=0
\(\Leftrightarrow\left[{}\begin{matrix}x-2=0\\x+3=0\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=2\\x=-3\end{matrix}\right.\)
Vậy: S={2;-3}