ĐK: \(x\ne\dfrac{\pi}{2}+k\pi\)
Ta có:
\(\left\{{}\begin{matrix}tanx=3\\sin^2x+cos^2x=1\end{matrix}\right.\)
\(\Leftrightarrow\left\{{}\begin{matrix}sinx=3cosx\\9cos^2x+cos^2x=1\end{matrix}\right.\)
\(\Leftrightarrow\left\{{}\begin{matrix}sinx=3cosx\\cos^2x=\dfrac{1}{10}\end{matrix}\right.\)
\(\Leftrightarrow\left\{{}\begin{matrix}sinx=3cosx\\cosx=\pm\dfrac{1}{\sqrt{10}}\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}\left\{{}\begin{matrix}sinx=\dfrac{3}{\sqrt{10}}\\cosx=\dfrac{1}{\sqrt{10}}\end{matrix}\right.\\\left\{{}\begin{matrix}sinx=-\dfrac{3}{\sqrt{10}}\\cosx=-\dfrac{1}{\sqrt{10}}\end{matrix}\right.\end{matrix}\right.\)