3*x
x*sin(x) + -----
x + 2
x*sin(x) + (3*x)/(x + 2)
Differentiate term by term:
Apply the product rule:
; to find :
Apply the power rule: goes to
; to find :
The derivative of sine is cosine:
The result is:
Apply the quotient rule, which is:
and .
To find :
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:
To find :
Differentiate term by term:
The derivative of the constant is zero.
Apply the power rule: goes to
The result is:
Now plug in to the quotient rule:
The result is:
The answer is:
3 3*x
----- + x*cos(x) - -------- + sin(x)
x + 2 2
(x + 2)
6 6*x
- -------- + 2*cos(x) - x*sin(x) + --------
2 3
(2 + x) (2 + x)