log(1 - x*cos(x))
log(1 - x*cos(x))
Let .
The derivative of is .
Then, apply the chain rule. Multiply by :
Differentiate term by term:
The derivative of the constant is zero.
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:
The result is:
The result of the chain rule is:
Now simplify:
The answer is:
-cos(x) + x*sin(x) ------------------ 1 - x*cos(x)
/ 2\
| (-cos(x) + x*sin(x)) |
-|2*sin(x) + x*cos(x) + ---------------------|
\ -1 + x*cos(x) /
-----------------------------------------------
-1 + x*cos(x)
3
2*(-cos(x) + x*sin(x)) 3*(-cos(x) + x*sin(x))*(2*sin(x) + x*cos(x))
-3*cos(x) + x*sin(x) - ----------------------- - --------------------------------------------
2 -1 + x*cos(x)
(-1 + x*cos(x))
---------------------------------------------------------------------------------------------
-1 + x*cos(x)