Mister Exam

Other calculators


y=lncosx-1/x

Derivative of y=lncosx-1/x

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

The graph:

from to

Piecewise:

The solution

You have entered [src]
              1
log(cos(x)) - -
              x
$$\log{\left(\cos{\left(x \right)} \right)} - \frac{1}{x}$$
log(cos(x)) - 1/x
Detail solution
  1. Differentiate term by term:

    1. Let .

    2. The derivative of is .

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

      1. The derivative of cosine is negative sine:

      The result of the chain rule is:

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

      1. Apply the power rule: goes to

      So, the result is:

    The result is:

  2. Now simplify:


The answer is:

The graph
The first derivative [src]
1    sin(x)
-- - ------
 2   cos(x)
x          
$$- \frac{\sin{\left(x \right)}}{\cos{\left(x \right)}} + \frac{1}{x^{2}}$$
The second derivative [src]
 /            2   \
 |    2    sin (x)|
-|1 + -- + -------|
 |     3      2   |
 \    x    cos (x)/
$$- (\frac{\sin^{2}{\left(x \right)}}{\cos^{2}{\left(x \right)}} + 1 + \frac{2}{x^{3}})$$
The third derivative [src]
  /                 3   \
  |3    sin(x)   sin (x)|
2*|-- - ------ - -------|
  | 4   cos(x)      3   |
  \x             cos (x)/
$$2 \left(- \frac{\sin^{3}{\left(x \right)}}{\cos^{3}{\left(x \right)}} - \frac{\sin{\left(x \right)}}{\cos{\left(x \right)}} + \frac{3}{x^{4}}\right)$$
The graph
Derivative of y=lncosx-1/x