ĐKXĐ: ...
\(\Leftrightarrow sin^2x+3tanx=4sinxcosx-cos^2x\)
Chia 2 vế cho \(cos^2x\)
\(tan^2x+3tanx\left(1+tan^2x\right)=4tanx-1\)
\(\Leftrightarrow3tan^3x+tan^2x-tanx+1=0\)
\(\Leftrightarrow\left(tanx+1\right)\left(3tan^2x-2tanx+1\right)=0\)
\(\Leftrightarrow tanx=-1\)
\(\Leftrightarrow x=-\frac{\pi}{4}+k\pi\)