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 :
Let .
The derivative of cosine is negative sine:
Then, apply the chain rule. Multiply by :
Apply the power rule: goes to
The result of the chain rule is:
The result of the chain rule is:
The result of the chain rule is:
Now simplify:
The answer is:
2/ 2\ / 2\ 4*x*sec \x /*tan\x /
2/ 2\ / 2 / 2/ 2\\ 2 2/ 2\ / 2\\ 4*sec \x /*\2*x *\1 + tan \x // + 4*x *tan \x / + tan\x //
2/ 2\ / 2/ 2\ 2 3/ 2\ 2 / 2/ 2\\ / 2\\ 8*x*sec \x /*\3 + 9*tan \x / + 8*x *tan \x / + 16*x *\1 + tan \x //*tan\x //