Let .
Apply the power rule: goes to
Then, apply the chain rule. Multiply by :
Rewrite the function to be differentiated:
Apply the quotient rule, which is:
and .
To find :
The derivative of sine is cosine:
To find :
The derivative of cosine is negative sine:
Now plug in to the quotient rule:
The result of the chain rule is:
Now simplify:
The answer is:
8 / 2 \ tan (x)*\9 + 9*tan (x)/
7 / 2 \ / 2 \ 18*tan (x)*\1 + tan (x)/*\4 + 5*tan (x)/
/ 2 \ 6 / 2 \ | 4 / 2 \ 2 / 2 \| 18*tan (x)*\1 + tan (x)/*\2*tan (x) + 28*\1 + tan (x)/ + 25*tan (x)*\1 + tan (x)//