5B

Differentiating logarithmic functions

The derivative of ln x, the standard form for ln f(x), using log laws to simplify before differentiating, and the product and quotient rules with logarithms.

Standard forms

Logarithmic derivatives
$$\frac{d}{dx}\ln x = \frac1x \qquad \frac{d}{dx}\ln(ax + b) = \frac{a}{ax + b} \qquad \frac{d}{dx}\ln f(x) = \frac{f'(x)}{f(x)}$$
The gradient of y = ln x

The gradient of the tangent at x = P is 1/P: steep near the y-axis, and flatter and flatter to the right.

Try this

Find the point where the tangent has gradient $\tfrac12$.

Example 1●

Differentiate (a) $\ln(3x + 2)$ and (b) $\ln(x^2 + 1)$.

$\dfrac{3}{3x + 2}$
a
$\dfrac{2x}{x^2 + 1}$
b

Simplify first with the log laws

Example 2●●

Differentiate (a) $\ln 5x$ and (b) $\ln\dfrac{x + 1}{x - 1}$.

$\ln 5x = \ln 5 + \ln x$, so the derivative is $\dfrac1x$.
a
$\ln(x + 1) - \ln(x - 1)$, so the derivative is $\dfrac{1}{x + 1} - \dfrac{1}{x - 1} = \dfrac{-2}{x^2 - 1}$.
b

Product and quotient rules

Example 3●●

Differentiate (a) $x\ln x$ and (b) $\dfrac{\ln x}{x}$.

$\ln x + x \times \dfrac1x = \ln x + 1$
a
$\dfrac{x \times \frac1x - \ln x}{x^2} = \dfrac{1 - \ln x}{x^2}$
b
Flashcards
$dfrac{d}{dx}ln x$
$\dfrac1x$
$dfrac{d}{dx}ln f(x)$
$\dfrac{f'(x)}{f(x)}$
$dfrac{d}{dx}ln kx$
$\dfrac1x$, because $\ln kx = \ln k + \ln x$.
Practice
  1. $\dfrac{d}{dx}\ln(3x + 2) = $

  2. $\dfrac{d}{dx}\ln(x^2 + 1) = $

  3. $\dfrac{d}{dx}\ln 5x = $

  4. $\dfrac{d}{dx}x\ln x = $

  5. $\dfrac{d}{dx}\dfrac{\ln x}{x} = $

  6. $\dfrac{d}{dx}\ln\dfrac{x + 1}{x - 1} = $

  7. Find the gradient of $y = \ln x$ at $x = 4$.

  8. Find the gradient of $y = \ln(2x + 1)$ at $x = 0$.

  9. Find the gradient of $y = \ln x^3$ at $x = 3$.

More questions

New numbers every time. Keep going until you get five in a row.

Formula sheet