Knowledge base dedicated to Linux and applied mathematics.

Home > Mathematics > Derivative of a function > Derivative of ln x

Derivative of ln x

All the versions of this article: <English> <français>

Derivative f’ of the function natural logarithm f(x)=ln x is: f’(x) = 1/x for any positive value of x.

Derivative of natural logarithm ln x

Derivative $f’$ of the function $f(x)=\ln x$ is:

$$ \forall x \in ]0, +\infty[ , \quad f’(x) = \dfrac{1}{x}$$


Let $y$ the function ln x

$y = f(x)= \ln x$

then by definition (ln is the inverse function of exp)

$e^y = e^{f(x)} = x$

By taking respectively the derivative with respect to $x$ of the two elements, we have $\forall x \in ]0, +\infty[$ :

$e^y y’ = e^{f(x)} f’(x) = 1$

using Chain Rule $(u\circ v)’= v’\times u’(v)$ avec $u(x)=e^x$ and $v(x)=f(x)$

By substituting $e^y$ by $x$ we have:

$e^y y’ = x f’(x) = 1$


$$ f’(x) = \dfrac{1}{x}$$

Also in this section

  1. Derivative of ln x
  2. Derivative of 1/x
  3. Derivative of cos x
  4. Derivative of tan x
  5. Derivative of exp x, e^x
  6. Derivative of sin x
  7. Derivative of inverse functions
  8. Chain rule proof - derivative of a composite function