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