a/ ĐKXĐ: \(\left\{{}\begin{matrix}sinx\ne1\\sinx\ne-\frac{1}{2}\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}x\ne\frac{\pi}{2}+k2\pi\\x\ne-\frac{\pi}{6}+k2\pi\\x\ne\frac{7\pi}{6}+k2\pi\end{matrix}\right.\)
\(\Leftrightarrow cosx-sin2x=\sqrt{3}\left(1+sinx-2sin^2x\right)\)
\(\Leftrightarrow cosx-sin2x=\sqrt{3}\left(cos2x+sinx\right)\)
\(\Leftrightarrow\sqrt{3}sinx-cosx=sin2x+\sqrt{3}cos2x\)
\(\Leftrightarrow\frac{\sqrt{3}}{2}sinx-\frac{1}{2}cosx=\frac{1}{2}sin2x+\frac{\sqrt{3}}{2}cos2x\)
\(\Leftrightarrow sin\left(x-\frac{\pi}{3}\right)=sin\left(2x+\frac{\pi}{6}\right)\)
\(\Leftrightarrow...\)
b/ ĐKXĐ: \(cosx+\sqrt{3}sinx\ne0\Leftrightarrow sin\left(x+\frac{\pi}{6}\right)\ne0\Rightarrow...\)
Đặt \(cosx+\sqrt{3}sinx=2sin\left(x+\frac{\pi}{6}\right)=a\) với \(-2\le a\le2\):
\(a=\frac{3}{a}+1\Leftrightarrow a^2-a-3=0\)
\(\Rightarrow\left[{}\begin{matrix}a=\frac{1+\sqrt{13}}{2}>2\left(l\right)\\a=\frac{1-\sqrt{13}}{2}\end{matrix}\right.\)
\(\Rightarrow2sin\left(x+\frac{\pi}{6}\right)=\frac{1-\sqrt{13}}{2}\)
\(\Rightarrow sin\left(x+\frac{\pi}{6}\right)=\frac{1-\sqrt{13}}{4}=sin\alpha\)
\(\Rightarrow\left[{}\begin{matrix}x+\frac{\pi}{6}=\alpha+k2\pi\\x+\frac{\pi}{6}=\pi-\alpha+k2\pi\end{matrix}\right.\) \(\Rightarrow x=...\)