Đặt \(cosx-sinx=t\Rightarrow-\sqrt{2}\le t\le\sqrt{2}\)
\(t^2=1-2sinx.cosx\Rightarrow sinx.cosx=\dfrac{1-t^2}{2}\)
Pt trở thành:
\(t\left(1+\dfrac{1-t^2}{2}\right)+1=0\)
\(\Leftrightarrow t^3-3t-2=0\)
\(\Leftrightarrow\left(t-2\right)\left(t+1\right)^2=0\Rightarrow\left[{}\begin{matrix}t=2\left(loại\right)\\t=-1\end{matrix}\right.\)
\(\Rightarrow cosx-sinx=-1\)
\(\Leftrightarrow\sqrt[]{2}cos\left(x+\dfrac{\pi}{4}\right)=-1\)
\(\Leftrightarrow cos\left(x+\dfrac{\pi}{4}\right)=-\dfrac{\sqrt{2}}{2}\)
\(\Leftrightarrow cos\left(x+\dfrac{\pi}{4}\right)=cos\left(\dfrac{3\pi}{4}\right)\)
\(\Leftrightarrow...\)