a) Ta có: \(\left(x-\sqrt{2}\right)+3\left(x^2-2\right)=0\)
\(\Leftrightarrow\left(x-\sqrt{2}\right)+3\left(x-\sqrt{2}\right)\left(x+\sqrt{2}\right)=0\)
\(\Leftrightarrow\left(x-\sqrt{2}\right)\left(1+3x+3\sqrt{2}\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x-\sqrt{2}=0\\3x+3\sqrt{2}+1=0\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=\sqrt{2}\\3x=-3\sqrt{2}-1\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=\sqrt{2}\\x=\dfrac{-3\sqrt{2}-1}{3}\end{matrix}\right.\)
Vậy: \(S=\left\{\sqrt{2};\dfrac{-3\sqrt{2}-1}{3}\right\}\)
b) Ta có: \(x^2-5=\left(2x-\sqrt{5}\right)\left(x+\sqrt{5}\right)\)
\(\Leftrightarrow\left(x+\sqrt{5}\right)\left(x-\sqrt{5}\right)-\left(2x-\sqrt{5}\right)\left(x+\sqrt{5}\right)=0\)
\(\Leftrightarrow\left(x+\sqrt{5}\right)\left(x-\sqrt{5}-2x+\sqrt{5}\right)=0\)
\(\Leftrightarrow-x\left(x+\sqrt{5}\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}-x=0\\x+\sqrt{5}=0\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=0\\x=-\sqrt{5}\end{matrix}\right.\)
Vậy: \(S=\left\{0;-\sqrt{5}\right\}\)