/ 2\ \4 - x /*sin(x)
d // 2\ \ --\\4 - x /*sin(x)/ dx
Apply the product rule:
; to find :
Differentiate term by term:
The derivative of the constant is zero.
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:
The result is:
; to find :
The derivative of sine is cosine:
The result is:
Now simplify:
The answer is:
/ 2\ \4 - x /*cos(x) - 2*x*sin(x)
/ 2\ -2*sin(x) + \-4 + x /*sin(x) - 4*x*cos(x)
/ 2\ -6*cos(x) + \-4 + x /*cos(x) + 6*x*sin(x)