a)pt\(\Leftrightarrow cosx\left(cosx+1\right)+sinx.sin^2x=0\)
\(\Leftrightarrow cosx\left(cosx+1\right)+sinx\left(1-cos^2x\right)=0\)
\(\Leftrightarrow\left(cosx+1\right)\left(cosx+sinx-sinx.cosx\right)=0\)
\(\Leftrightarrow\left[\begin{array}{nghiempt}cosx=1\Leftrightarrow x=\pi+k2\pi\\cosx+sinx-sinx.cosx=0\left(\cdot\right)\end{array}\right.\)
Xét pt(*):
Đặt \(t=cosx+sinx,t\in\left[-\sqrt{2};\sqrt{2}\right]\Rightarrow sinx.cosx=\frac{t^2-1}{2}\)
(*) trở thành:\(t^2-2t-1=0\Leftrightarrow\left[\begin{array}{nghiempt}t=1-\sqrt{2}\\t=1+\sqrt{2}\left(L\right)\end{array}\right.\)
+)\(t=1-\sqrt{2}\Rightarrow\sqrt{2}sin\left(x+\frac{\pi}{4}\right)=1-\sqrt{2}\\ \Leftrightarrow\left[\begin{array}{nghiempt}x=-\frac{\pi}{4}+arcsin\left(\frac{-2+\sqrt{2}}{2}\right)+k2\pi\\x=-\frac{5\pi}{4}-arcsin\left(\frac{-2+\sqrt{2}}{2}\right)+k2\pi\end{cases}\left(k\in Z\right)}\)