2 sin(x) + x
d / 2\ --\sin(x) + x / dx
Differentiate x2+sin(x)x^{2} + \sin{\left(x \right)}x2+sin(x) term by term:
The derivative of sine is cosine:
Apply the power rule: x2x^{2}x2 goes to 2x2 x2x
The result is: 2x+cos(x)2 x + \cos{\left(x \right)}2x+cos(x)
The answer is:
2*x + cos(x)
2 - sin(x)
-cos(x)