Apply the product rule:
; to find :
Let .
The derivative of is itself.
Then, apply the chain rule. Multiply by :
The derivative of sine is cosine:
The result of the chain rule is:
; to find :
The derivative of cosine is negative sine:
The result is:
Now simplify:
The answer is:
/ 2 2 / 2 \ / 2 \ \ sin(x) \- 3*cos (x) - cos (x)*\1 - cos (x) + 3*sin(x)/ + 3*\- cos (x) + sin(x)/*sin(x) + sin(x)/*e