Let .
The derivative of cosine is negative sine:
Then, apply the chain rule. Multiply by :
The derivative of is .
The result of the chain rule is:
The answer is:
-sin(log(x))
-------------
x
-cos(log(x)) + sin(log(x))
--------------------------
2
x
-sin(log(x)) + 3*cos(log(x))
----------------------------
3
x