Mister Exam

Other calculators

Derivative of lnx-2(x-1)/x

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

The graph:

from to

Piecewise:

The solution

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

    1. The derivative of log(x)\log{\left(x \right)} is 1x\frac{1}{x}.

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

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

        1. Apply the quotient rule, which is:

          ddxf(x)g(x)=f(x)ddxg(x)+g(x)ddxf(x)g2(x)\frac{d}{d x} \frac{f{\left(x \right)}}{g{\left(x \right)}} = \frac{- f{\left(x \right)} \frac{d}{d x} g{\left(x \right)} + g{\left(x \right)} \frac{d}{d x} f{\left(x \right)}}{g^{2}{\left(x \right)}}

          f(x)=x1f{\left(x \right)} = x - 1 and g(x)=xg{\left(x \right)} = x.

          To find ddxf(x)\frac{d}{d x} f{\left(x \right)}:

          1. Differentiate x1x - 1 term by term:

            1. The derivative of the constant 1-1 is zero.

            2. Apply the power rule: xx goes to 11

            The result is: 11

          To find ddxg(x)\frac{d}{d x} g{\left(x \right)}:

          1. Apply the power rule: xx goes to 11

          Now plug in to the quotient rule:

          1x2\frac{1}{x^{2}}

        So, the result is: 2x2\frac{2}{x^{2}}

      So, the result is: 2x2- \frac{2}{x^{2}}

    The result is: 1x2x2\frac{1}{x} - \frac{2}{x^{2}}

  2. Now simplify:

    x2x2\frac{x - 2}{x^{2}}


The answer is:

x2x2\frac{x - 2}{x^{2}}

The graph
02468-8-6-4-2-1010-250250
The first derivative [src]
  1   2*(x - 1)
- - + ---------
  x        2   
          x    
1x+2(x1)x2- \frac{1}{x} + \frac{2 \left(x - 1\right)}{x^{2}}
The second derivative [src]
    4*(-1 + x)
3 - ----------
        x     
--------------
       2      
      x       
34(x1)xx2\frac{3 - \frac{4 \left(x - 1\right)}{x}}{x^{2}}
The third derivative [src]
  /     6*(-1 + x)\
2*|-5 + ----------|
  \         x     /
-------------------
          3        
         x         
2(5+6(x1)x)x3\frac{2 \left(-5 + \frac{6 \left(x - 1\right)}{x}\right)}{x^{3}}