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:
Now simplify:
The answer is:
/ 2\ / 2\ -4*x*cos\x /*sin\x /
/ / 2\ / 2\ 2 2/ 2\ 2 2/ 2\\ 4*\- cos\x /*sin\x / - 2*x *cos \x / + 2*x *sin \x //
/ 2/ 2\ 2/ 2\ 2 / 2\ / 2\\ 8*x*\- 3*cos \x / + 3*sin \x / + 8*x *cos\x /*sin\x //