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