x*cos(x)
d --(x*cos(x)) dx
Apply the product rule:
; to find :
Apply the power rule: goes to
The derivative of cosine is negative sine:
The result is:
The answer is:
-x*sin(x) + cos(x)
-(2*sin(x) + x*cos(x))
-3*cos(x) + x*sin(x)