Differentiate the following functions with respect to x:
log(cosec x – cot x)
Let y = log(cosec x – cot x)
On differentiating y with respect to x, we get
We know
[using chain rule]
We know and
Thus,