/ 2 \ \x - 2*x + 5/*sin(x)
d // 2 \ \ --\\x - 2*x + 5/*sin(x)/ dx
Apply the product rule:
; to find :
Differentiate term by term:
Apply the power rule: goes to
The derivative of a constant times a function is the constant times the derivative of the function.
The derivative of a constant times a function is the constant times the derivative of the function.
Apply the power rule: goes to
So, the result is:
So, the result is:
The derivative of the constant is zero.
The result is:
; to find :
The derivative of sine is cosine:
The result is:
Now simplify:
The answer is:
/ 2 \ (-2 + 2*x)*sin(x) + \x - 2*x + 5/*cos(x)
/ 2 \ 2*sin(x) - \5 + x - 2*x/*sin(x) + 4*(-1 + x)*cos(x)
/ 2 \ 6*cos(x) - \5 + x - 2*x/*cos(x) - 6*(-1 + x)*sin(x)