2 x *sin(x)
d / 2 \ --\x *sin(x)/ dx
Apply the product rule:
f(x)=x2f{\left(x \right)} = x^{2}f(x)=x2; to find ddxf(x)\frac{d}{d x} f{\left(x \right)}dxdf(x):
Apply the power rule: x2x^{2}x2 goes to 2x2 x2x
g(x)=sin(x)g{\left(x \right)} = \sin{\left(x \right)}g(x)=sin(x); to find ddxg(x)\frac{d}{d x} g{\left(x \right)}dxdg(x):
The derivative of sine is cosine:
The result is: x2cos(x)+2xsin(x)x^{2} \cos{\left(x \right)} + 2 x \sin{\left(x \right)}x2cos(x)+2xsin(x)
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)