Đặt \(cosx=t\) với \(-1\le t\le1\)
\(\Rightarrow4t^2+2t-2-\sqrt{2}=0\)
\(\Rightarrow\left[{}\begin{matrix}t=\frac{-1+\sqrt{\left(2\sqrt{2}+1\right)^2}}{4}=\frac{\sqrt{2}}{2}\\t=\frac{-1-\sqrt{\left(2\sqrt{2}+1\right)^2}}{4}=\frac{-1-\sqrt{2}}{2}< -1\left(l\right)\end{matrix}\right.\)
\(\Rightarrow cosx=\frac{\sqrt{2}}{2}\)
\(\Rightarrow x=\pm\frac{\pi}{4}+k2\pi\)