ĐKXĐ: \(x\ne-\frac{\pi}{4}+k\pi\)
\(\Leftrightarrow\frac{\left(1-sin^2x\right)\left(cosx-1\right)}{sinx+cosx}=2\left(1+sinx\right)\)
\(\Leftrightarrow\frac{\left(1+sinx\right)\left(1-sinx\right)\left(cosx-1\right)}{sinx+cosx}=2\left(1+sinx\right)\)
\(\Leftrightarrow\left[{}\begin{matrix}sinx=-1\Rightarrow x=-\frac{\pi}{2}+k2\pi\\\frac{\left(1-sinx\right)\left(cosx-1\right)}{sinx+cosx}=2\left(1\right)\end{matrix}\right.\)
\(\left(1\right)\Leftrightarrow cosx-1-sinx.cosx+sinx=2sinx+2cosx\)
\(\Leftrightarrow sinx+cosx+sinx.cosx+1=0\)
\(\Leftrightarrow\left(sinx+1\right)\left(cosx+1\right)=0\)
\(\Leftrightarrow...\)