Let $y = f(x) = \cot ^{ - 1} x$

Then $x = \cot y$.

Differentiating both sides with respect to $x$, we get

$1 = (-\csc ^2 y){{dy} \over {dx}}$

Note that we used the chain rule to differentiate $\cot y$ with respect to $x$ because $\cot y$ is a function of $y$, and $y$ in turn is a function of $x$.

or, ${{dy} \over {dx}} = {-1 \over {\csc ^2 y}}$

or, ${{dy} \over {dx}} = {-1 \over {1 + \cot ^2 y}}$

or, ${{dy} \over {dx}} = {-1 \over {1 + x^2 }}$