# Derivative by Definition – A cotan function – Exercise 1262

Exercise

Find by definition the derivative of the function

$$f(x)=\cot x$$

$$f'(x)=-\frac{1}{\sin^2 x}$$