[tex]~\cos\left( \tan^{-1} 2x\right)\\\\\\=\cos \left[\cos^{-1} \dfrac{1}{\sqrt{(2x)^2+1^2}} \right]~~~~~~~~~~~~~~~~~~~~~~~~~~;[\text{Pythagorean theorem}]\\\\\\=\cos \left( \cos^{-1} \dfrac{1}{\sqrt{4x^2 +1}} \right)\\\\\\=\dfrac{1}{\sqrt{4x^2 +1}}[/tex]