Mister Exam

Other calculators

Derivative of ln(1-x*cos(x))

Function f() - derivative -N order at the point
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
log(1 - x*cos(x))
$$\log{\left(- x \cos{\left(x \right)} + 1 \right)}$$
log(1 - x*cos(x))
Detail solution
  1. Let .

  2. The derivative of is .

  3. Then, apply the chain rule. Multiply by :

    1. Differentiate term by term:

      1. The derivative of the constant is zero.

      2. The derivative of a constant times a function is the constant times the derivative of the function.

        1. Apply the product rule:

          ; to find :

          1. Apply the power rule: goes to

          ; to find :

          1. The derivative of cosine is negative sine:

          The result is:

        So, the result is:

      The result is:

    The result of the chain rule is:

  4. Now simplify:


The answer is:

The graph
The first derivative [src]
-cos(x) + x*sin(x)
------------------
   1 - x*cos(x)   
$$\frac{x \sin{\left(x \right)} - \cos{\left(x \right)}}{- x \cos{\left(x \right)} + 1}$$
The second derivative [src]
 /                                          2\ 
 |                      (-cos(x) + x*sin(x)) | 
-|2*sin(x) + x*cos(x) + ---------------------| 
 \                          -1 + x*cos(x)    / 
-----------------------------------------------
                 -1 + x*cos(x)                 
$$- \frac{x \cos{\left(x \right)} + \frac{\left(x \sin{\left(x \right)} - \cos{\left(x \right)}\right)^{2}}{x \cos{\left(x \right)} - 1} + 2 \sin{\left(x \right)}}{x \cos{\left(x \right)} - 1}$$
The third derivative [src]
                                             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)                                        
$$\frac{x \sin{\left(x \right)} - \frac{2 \left(x \sin{\left(x \right)} - \cos{\left(x \right)}\right)^{3}}{\left(x \cos{\left(x \right)} - 1\right)^{2}} - \frac{3 \left(x \sin{\left(x \right)} - \cos{\left(x \right)}\right) \left(x \cos{\left(x \right)} + 2 \sin{\left(x \right)}\right)}{x \cos{\left(x \right)} - 1} - 3 \cos{\left(x \right)}}{x \cos{\left(x \right)} - 1}$$