ĐKXĐ: ...
\(\Leftrightarrow\dfrac{\sqrt{3}}{2}cosx+\dfrac{1}{2}sinx=\dfrac{3}{2}\left(1+tan^2x\right)-\sqrt{3}tanx\)
\(\Leftrightarrow sin\left(x+\dfrac{\pi}{3}\right)=\dfrac{3}{2}\left(tanx-\dfrac{\sqrt{3}}{3}\right)^2+1\)
\(\left\{{}\begin{matrix}sin\left(x+\dfrac{\pi}{3}\right)\le1\\\dfrac{3}{2}\left(tanx-\dfrac{\sqrt{3}}{3}\right)^2+1\ge1\end{matrix}\right.\)
Đẳng thức xảy ra khi và chỉ khi: \(\left\{{}\begin{matrix}sin\left(x+\dfrac{\pi}{3}\right)=1\\tanx=\dfrac{\sqrt{3}}{3}\end{matrix}\right.\)
\(\Rightarrow x=\dfrac{\pi}{6}+k2\pi\)