Sketching logarithmic curves
Tangents and normals to logarithmic curves, and finding stationary points and sketching curves involving ln x, paying attention to the domain.
Curves involving $\ln x$ have one feature that polynomials and exponentials don't: a restricted domain. Get the domain first, and most of the sketch falls into place.
Tangents and normals
Find the tangent to $y = \ln x$ at $x = e$, and the normal at $x = 1$.
Domain and limits
- $\ln x$ needs $x \gt 0$. So $\ln(x - 3)$ needs $x \gt 3$, and $\ln(x^2)$ needs only $x \ne 0$.
- Powers beat logs. As $x \to 0^+$, $x\ln x \to 0$, because $x$ shrinks to $0$ faster than $\ln x$ heads to $-\infty$. As $x \to \infty$, $\dfrac{\ln x}{x} \to 0$, because $x$ grows much faster than $\ln x$. You may quote these two limits.
Curve sketching
Sketch $y = x\ln x$.
Drag P along the curve towards the origin and out to the right.
Drag P as close to the $y$-axis as you can. What does the height approach? What does the gradient do? Then find the minimum and check it against Example 2.
Find the turning point and point of inflection of $y = \dfrac{\ln x}{x}$.
Your turn
Find the minimum value of $y = x - \ln x$. Hence show that $\ln x \le x - 1$ for all $x \gt 0$.
Show the working
$y' = 1 - \dfrac1x = 0$ at $x = 1$, and $y'' = \dfrac{1}{x^2} \gt 0$, so the minimum is $y = 1 - 0 = 1$. So $x - \ln x \ge 1$, which rearranges to $\ln x \le x - 1$. (The line $y = x - 1$ is the tangent at $(1, 0)$, and a concave down curve lies below its tangents.)
The domain of $y = \ln(x - 3)$ is:
The log needs $x - 3 \gt 0$.
Find the gradient of the tangent to $y = \ln x$ at $x = 1$.
$y' = \dfrac1x = 1$ at $x = 1$.
The tangent to $y = \ln x$ at $x = e$ meets the $y$-axis at $y = c$. Find $c$.
The tangent is $y - 1 = \dfrac1e(x - e)$, which simplifies to $y = \dfrac{x}{e}$. So $c = 0$.
The normal to $y = \ln x$ at $(1, 0)$ meets the $y$-axis at $y = c$. Find $c$.
The normal has gradient $-1$: $y = -(x - 1) = 1 - x$. So $c = 1$.
Find the $x$-value of the minimum of $y = x\ln x$, to two decimal places.
$y' = \ln x + 1 = 0$ gives $x = e^{-1} \approx 0.37$.
Find the minimum value of $y = x\ln x$, to two decimal places.
At $x = \dfrac1e$: $y = \dfrac1e \times (-1) \approx -0.37$.
The curve $y = x\ln x$ is:
$y'' = \dfrac1x \gt 0$ for all $x$ in the domain.
The domain of $y = \ln x^2$ is:
$x^2 \gt 0$ for every $x$ except $0$.
Exam style: $y = \dfrac{\ln x}{x}$ has $y'' = \dfrac{2\ln x - 3}{x^3}$. Find the $x$-value of the point of inflection, to two decimal places.
$y'' = 0$ when $\ln x = \tfrac32$, so $x = e^{1.5} \approx 4.48$. The sign of $2\ln x - 3$ changes there, and $x^3 \gt 0$.
Exam style: find the minimum value of $y = x - 2\ln x$, to two decimal places.
$y' = 1 - \dfrac2x = 0$ at $x = 2$, and $y'' = \dfrac{2}{x^2} \gt 0$, so it is a minimum. The value is $2 - 2\ln 2 \approx 0.61$.
Coaching Centre