Differentiate the following functions with respect to x:

(log sin x)2

Let y = (log sin x)2


On differentiating y with respect to x, we get



We know


[using chain rule]



We have


[using chain rule]



However,





Thus,


18