Apply the quotient rule, which is:
and .
To find :
Apply the power rule: goes to
To find :
The derivative of cosine is negative sine:
Now plug in to the quotient rule:
Now simplify:
The answer is:
2
2*x x *sin(x)
------ + ---------
cos(x) 2
cos (x)
/ 2 \
2 | 2*sin (x)| 4*x*sin(x)
2 + x *|1 + ---------| + ----------
| 2 | cos(x)
\ cos (x) /
-----------------------------------
cos(x)
/ 2 \
2 | 6*sin (x)|
x *|5 + ---------|*sin(x)
/ 2 \ | 2 |
| 2*sin (x)| 6*sin(x) \ cos (x) /
6*x*|1 + ---------| + -------- + -------------------------
| 2 | cos(x) cos(x)
\ cos (x) /
----------------------------------------------------------
cos(x)