a) \(\left(x^2+x+1\right)\left(x^2+x+2\right)=12\)
\(\Leftrightarrow\left(x^2+x+1\right)^2+\left(x^2+x+1\right)-12=0\)
\(\Leftrightarrow\left(x^2+x+1\right)^2-3\left(x^2+x+1\right)+4\left(x^2+x+1\right)-12=0\)
\(\Leftrightarrow\left(x^2+x+1\right)\left(x^2+x+1-3\right)+ 4\left(x^2+x+1-3\right)=0\)
\(\Leftrightarrow\left(x^2+x-2\right)\left(x^2+x+5\right)=0\)
\(\Leftrightarrow x^2+x+4=0\) hay \(x^2+x-2=0\)
\(\Leftrightarrow x^2+2.\dfrac{1}{2}x+\dfrac{1}{4}+\dfrac{15}{4}=0\) hay \(x^2-x+2x-2=0\)
\(\Leftrightarrow\left(x+\dfrac{1}{2}\right)^2+\dfrac{15}{4}=0\) (pt vô nghiệm) hay\(x\left(x-1\right)+2\left(x-1\right)=0\)
\(\Leftrightarrow\left(x-1\right)\left(x+2\right)=0\)
\(\Leftrightarrow x=1\) hay \(x=-2\)
-Vậy \(S=\left\{1;-2\right\}\)
b) \(x^3+5x^2-10x-8=0\)
\(\Leftrightarrow x^3-2x^2+7x^2-14x+4x-8=0\)
\(\Leftrightarrow x^2\left(x-2\right)+7x\left(x-2\right)+4\left(x-2\right)=0\)
\(\Leftrightarrow\left(x-2\right)\left(x^2+7x+4\right)=0\)
\(\Leftrightarrow x=2\) hay \(x^2+2.\dfrac{7}{2}+\dfrac{49}{4}-\dfrac{33}{4}=0\)
\(\Leftrightarrow x=2\) hay \(\left(x+\dfrac{7}{2}\right)^2-\dfrac{33}{4}=0\)
\(\Leftrightarrow x=2\) hay \(\left(x+\dfrac{7}{2}+\dfrac{\sqrt{33}}{2}\right)\left(x+\dfrac{7}{2}-\dfrac{\sqrt{33}}{2}\right)=0\)
\(\Leftrightarrow x=2\) hay \(x=\dfrac{-7-\sqrt{33}}{2}\) hay \(x=\dfrac{-7+\sqrt{33}}{2}\)
-Vậy \(S=\left\{2;\dfrac{-7-\sqrt{33}}{2};\dfrac{-7+\sqrt{33}}{2}\right\}\)