2*x*cos(x) ---------- 2 cos (x)
((2*x)*cos(x))/cos(x)^2
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 product rule:
; to find :
Apply the power rule: goes to
; to find :
The derivative of cosine is negative sine:
The result is:
So, the result is:
To find :
Let .
Apply the power rule: goes to
Then, apply the chain rule. Multiply by :
The derivative of cosine is negative sine:
The result of the chain rule is:
Now plug in to the quotient rule:
Now simplify:
The answer is:
2*cos(x) - 2*x*sin(x) 4*x*sin(x) --------------------- + ---------- 2 2 cos (x) cos (x)
/ / 2 \ \ | 2*sin(x) + x*cos(x) | 3*sin (x)| 4*(-cos(x) + x*sin(x))*sin(x)| 2*|- ------------------- + 2*x*|1 + ---------| - -----------------------------| | cos(x) | 2 | 2 | \ \ cos (x) / cos (x) / ------------------------------------------------------------------------------- cos(x)
/ / 2 \ / 2 \ \ | | 3*sin (x)| 6*(2*sin(x) + x*cos(x))*sin(x) | 3*sin (x)| | 2*|-3*cos(x) + x*sin(x) - 6*|1 + ---------|*(-cos(x) + x*sin(x)) - ------------------------------ + 8*x*|2 + ---------|*sin(x)| | | 2 | cos(x) | 2 | | \ \ cos (x) / \ cos (x) / / ------------------------------------------------------------------------------------------------------------------------------- 2 cos (x)