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