2 x *sin(x)
d / 2 \ --\x *sin(x)/ dx
Apply the product rule:
; to find :
Apply the power rule: goes to
; to find :
The derivative of sine is cosine:
The result is:
Now simplify:
The answer is:
2 x *cos(x) + 2*x*sin(x)
2 2*sin(x) - x *sin(x) + 4*x*cos(x)
2 6*cos(x) - x *cos(x) - 6*x*sin(x)