Đặt \(\left|sinx-cosx\right|=a\) (\(0\le a\le\sqrt{2}\))
\(\Rightarrow1-2sinx.cosx=a^2\Rightarrow1-sin2x=a^2\Rightarrow sin2x=1-a^2\)
Phương trình trở thành:
\(a+4\left(1-a^2\right)=1\Leftrightarrow-4a^2+a+3=0\Rightarrow\left[{}\begin{matrix}a=1\\a=-\frac{3}{4}< 9\left(l\right)\end{matrix}\right.\)
\(\Rightarrow\left|sinx-cosx\right|=1\Leftrightarrow\left|\sqrt{2}sin\left(x-\frac{\pi}{4}\right)\right|=1\)
\(\Leftrightarrow\left|sin\left(x-\frac{\pi}{4}\right)\right|=\frac{\sqrt{2}}{2}\Rightarrow\left[{}\begin{matrix}sin\left(x-\frac{\pi}{4}\right)=\frac{\sqrt{2}}{2}\\sin\left(x-\frac{\pi}{4}\right)=\frac{-\sqrt{2}}{2}\end{matrix}\right.\) \(\Rightarrow...\)