The composite function is
.
is in the form of composite function
.
Definition of composite function :
\The notation
means that the function
is applied first and then
is applied.
Consider
.
.
From the above expression,
and
.

Differentiate on each side with respect to
.
Chain Rule of derivatives:
.
Derivative of the cotangent function:
.


\ \
and
.
.