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