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.
The logarithm grows very slowly, and its derivative shows exactly how slowly: the gradient of $\ln x$ is $\dfrac1x$, which shrinks as $x$ grows. This one result also fills the gap in integration from Chapter 3, as 5D shows.
Why the derivative is $\dfrac1x$
$y = \ln x$ is the reflection of $y = e^x$ in $y = x$. Reflection swaps rise and run, so gradients become reciprocals. At the point $(x, y)$ on $y = \ln x$, the matching point on $y = e^x$ is $(y, x)$, where the gradient is the height, $x$. So the gradient of $\ln x$ is $\dfrac1x$.
In symbols: if $y = \ln x$ then $x = e^y$, so $\dfrac{dx}{dy} = e^y = x$, and $\dfrac{dy}{dx} = \dfrac1x$.
The dashed line is the tangent at x = P.
Find the value of $P$ for which the tangent passes through the origin. Compare with 4A, where the tangent to $y = e^x$ through the origin touched at $x = 1$.
Standard forms
For $y = \ln f(x)$, the chain rule gives $\dfrac{1}{f(x)} \times f'(x)$:
In words: derivative of the inside over the inside.
Differentiate (a) $\ln(3x + 1)$ (b) $\ln(x^2 + 4)$ (c) $\ln 5x$.
Simplify first with the log laws
Logs turn products into sums, quotients into differences, and powers into multiples. Use them before differentiating and you avoid the product and quotient rules.
Differentiate (a) $\ln x^3$ (b) $\ln\sqrt{2x + 1}$ (c) $\ln\dfrac{x + 1}{x - 1}$.
Product and quotient rules
Differentiate (a) $x\ln x$ (b) $\dfrac{\ln x}{x}$.
Your turn
Find the stationary point of $y = \dfrac{\ln x}{x}$.
Show the working
$y' = \dfrac{1 - \ln x}{x^2} = 0$ when $\ln x = 1$, so $x = e$. Then $y = \dfrac{\ln e}{e} = \dfrac1e$. The stationary point is $\left(e, \dfrac1e\right)$.
Find the gradient of $y = \ln x$ at $x = 4$.
$y' = \dfrac1x = \dfrac14 = 0.25$.
$\dfrac{d}{dx}\ln(3x + 1) =$
Derivative of the inside over the inside: $\dfrac{3}{3x + 1}$.
Find the derivative of $\ln(x^2 + 4)$ at $x = 2$.
$\dfrac{2x}{x^2 + 4} = \dfrac{4}{8} = 0.5$.
$\dfrac{d}{dx}\ln 5x =$
$\ln 5x = \ln 5 + \ln x$, and the constant $\ln 5$ differentiates to $0$.
Find the derivative of $\ln x^3$ at $x = 2$.
$\ln x^3 = 3\ln x$, with derivative $\dfrac3x = 1.5$ at $x = 2$.
Find the derivative of $x\ln x$ at $x = e$.
$\ln x + 1 = \ln e + 1 = 2$.
Find the derivative of $\ln\dfrac{x + 1}{x - 1}$ at $x = 3$.
$\ln(x + 1) - \ln(x - 1)$ has derivative $\dfrac{1}{x + 1} - \dfrac{1}{x - 1} = \tfrac14 - \tfrac12 = -0.25$.
Find the $x$-value of the stationary point of $y = \dfrac{\ln x}{x}$, to two decimal places.
$y' = \dfrac{1 - \ln x}{x^2} = 0$ when $\ln x = 1$, so $x = e \approx 2.72$.
Exam style: find the minimum value of $y = \ln(x^2 - 2x + 5)$, to two decimal places.
$y' = \dfrac{2x - 2}{x^2 - 2x + 5}$. The bottom is $(x - 1)^2 + 4 \gt 0$, so $y' = 0$ only at $x = 1$, with $y'$ going from $-$ to $+$. The minimum is $\ln 4 \approx 1.39$.
Exam style: find the derivative of $\ln\sqrt{\dfrac{1 + x}{1 - x}}$ at $x = 0.5$, to two decimal places.
It equals $\tfrac12\ln(1 + x) - \tfrac12\ln(1 - x)$, with derivative $\dfrac{1}{2(1 + x)} + \dfrac{1}{2(1 - x)} = \dfrac{1}{1 - x^2}$. At $x = 0.5$: $\dfrac{1}{0.75} \approx 1.33$.
Coaching Centre