Let .
Apply the power rule: goes to
Then, apply the chain rule. Multiply by :
Rewrite the function to be differentiated:
Let .
Apply the power rule: goes to
Then, apply the chain rule. Multiply by :
The derivative of sine is cosine:
The result of the chain rule is:
The result of the chain rule is:
Now simplify:
The answer is:
2 -2*csc (x)*cot(x)
2 / 2 \ 2*csc (x)*\1 + 3*cot (x)/
2 / 2 \ -8*csc (x)*\2 + 3*cot (x)/*cot(x)