logo

Derivatives of Logarithmic Functions 📂Functions

Derivatives of Logarithmic Functions

Formulas

The derivative of a logarithmic function with base ee is as follows.

dlogxdx=1x \begin{equation} \dfrac{d \log x}{dx}=\dfrac{1}{x} \end{equation}

The derivative of a composite logarithmic function is as follows.

d(logf(x))dx=f(x)f(x) \begin{equation} \dfrac{d \left( \log f(x) \right)}{dx} = \dfrac{f^{\prime}(x)}{f(x)} \end{equation}

Explanation

Especially, (2)(2) is used as a useful substitution trick.

Derivation

(1)(1)

By the definition of logarithmic functions, the following equation holds.

x=elogx x = e^{\log x}

Differentiating both sides results in the following, by the derivative of the exponential function and chain rule.

1=d(elogx)dx=d(elogx)dlogxdlogxdx=elogxdlogxdx=xdlogxdx \begin{align*} 1 &= \dfrac{ d \left( e^{\log x} \right) }{dx} \\ &= \dfrac{ d \left( e^{\log x} \right) }{d \log x} \dfrac{d \log x}{dx} \\ &= e^{\log x} \dfrac{d \log x}{dx} \\ &= x \dfrac{d \log x}{dx} \end{align*}

    dlogxdx=1x \implies \dfrac{d \log x}{dx} = \dfrac{1}{x}

(2)(2)

By the definition of logarithmic functions, the following equation holds.

f(x)=elogf(x) f(x) = e^{\log f(x)}

The remaining process is the same as above.

f=delogf(x)dx=delogf(x)dlogf(x)dlogf(x)dx=elogf(x)dlogf(x)dx=f(x)dlogf(x)dx \begin{align*} f^{\prime} &= \dfrac{ d e^{\log f(x)}}{dx} \\ &= \dfrac{ d e^{\log f(x)}}{d \log f(x)} \dfrac{d \log f(x)}{dx} \\ &= e^{\log f(x)} \dfrac{d \log f(x)}{dx} \\ &= f(x) \dfrac{d \log f(x)}{dx} \end{align*}

    dlogf(x)dx=f(x)f(x) \implies \dfrac{d \log f(x)}{dx} = \dfrac{f^{\prime}(x)}{f(x)}