5E

Areas with logarithmic functions

Finding areas under the hyperbola y = 1/x, between a hyperbola and a line, and areas involving y = ln x using the y-axis.

The area under $y = \dfrac1x$ from $1$ to $t$ is exactly $\ln t$. This is one of the neatest facts in the course: the log is a running total of area under the hyperbola. This section uses that link to find areas that Chapter 3 couldn't reach.

Areas under the hyperbola

Since $\displaystyle\int_1^t \dfrac1x\,dx = \ln t - \ln 1 = \ln t$, the area from $1$ to $t$ is $\ln t$. The area grows without limit as $t \to \infty$, but very slowly: to get an area of $10$ you need $t = e^{10} \approx 22\,000$.

Example 1●

Find the exact area under $y = \dfrac1x$ (a) from $x = 1$ to $x = 5$ (b) from $x = -4$ to $x = -1$.

(a) $\Big[\ln x\Big]_1^5 = \ln 5 - \ln 1 = \ln 5$ square units.
The curve is above the axis for x > 0.
(b) $\Big[\ln|x|\Big]_{-4}^{-1} = \ln 1 - \ln 4 = -\ln 4$, so the area is $\ln 4$ square units.
The curve is below the axis for x < 0, so the integral is negative. Area is its absolute value.

Answer (b) matches $\displaystyle\int_1^4 \dfrac1x\,dx = \ln 4$ because $y = \dfrac1x$ is odd: the two branches are point-symmetric about the origin.

Between a hyperbola and a line

Same method as 3G: find where they meet, decide which is on top, then integrate top minus bottom.

Example 2●●

Find the area enclosed between $y = \dfrac1x$ and the line $x + y = \dfrac52$.

$2 = 5x - 2x^2$, so $2x^2 - 5x + 2 = 0$ and $(2x - 1)(x - 2) = 0$. They meet at $x = \tfrac12$ and $x = 2$.
Set 1/x = 5/2 − x and multiply by 2x.
Area $= \displaystyle\int_{1/2}^{2} \left(\tfrac52 - x - \dfrac1x\right)dx$
Test x = 1: the line gives 1.5 and the hyperbola gives 1, so the line is on top.
$= \Big[\tfrac52 x - \tfrac12 x^2 - \ln x\Big]_{1/2}^{2} = (5 - 2 - \ln 2) - \left(\tfrac54 - \tfrac18 - \ln\tfrac12\right)$
$= 3 - \tfrac98 - 2\ln 2 = \tfrac{15}{8} - 2\ln 2 \approx 0.49$ square units.
−ln ½ = ln 2, so the two logs combine to 2 ln 2.
A hyperbola and the line x + y = k

The shaded region lies between the line and y = 1/x. At k = 2.5 it is Example 2.

Try this

Slide $k$ down towards $2$. What happens to the two meeting points and to the area? At $k = 2$ the line $x + y = 2$ touches the hyperbola. Where, and why?

Areas involving $y = \ln x$

Without a given derivative, we can't integrate $\ln x$ with respect to $x$. But $y = \ln x$ rearranges to $x = e^y$, which we can integrate with respect to $y$. So areas between $y = \ln x$ and the $y$-axis are easy.

Example 3●●●

(a) Find the area between $y = \ln x$, the $y$-axis, the $x$-axis and the line $y = 1$. (b) Hence find the area under $y = \ln x$ from $x = 1$ to $x = e$.

(a) $\displaystyle\int_0^1 e^y\,dy = \Big[e^y\Big]_0^1 = e - 1$
Integrate along the y-axis: the width at height y is x = eʸ.
(b) Rectangle area $e \times 1 = e$, so the area under the curve is $e - (e - 1) = 1$.
The rectangle with corners (0, 0) and (e, 1) splits into the piece in (a) and the piece under the curve.

Answer (b) agrees with 5D, where the given derivative $\dfrac{d}{dx}(x\ln x) = \ln x + 1$ also gave $\displaystyle\int_1^e \ln x\,dx = 1$.

Your turn

Find the exact area enclosed between $y = \dfrac2x$ and the line $x + y = 3$.

Show the working

$\dfrac2x = 3 - x$ gives $x^2 - 3x + 2 = 0$, so $x = 1$ or $x = 2$. The line is on top (at $x = 1.5$: $1.5 \gt 1.33$). Area $= \displaystyle\int_1^2 \left(3 - x - \dfrac2x\right)dx = \Big[3x - \tfrac12 x^2 - 2\ln x\Big]_1^2 = (6 - 2 - 2\ln 2) - (3 - \tfrac12) = \tfrac32 - 2\ln 2 \approx 0.11$ square units.

Practice
  1. Find the area under $y = \dfrac1x$ from $x = 1$ to $x = 4$, to two decimal places.

  2. The area under $y = \dfrac1x$ from $x = 1$ to $x = e$ is:

  3. Find the area under $y = \dfrac1x$ from $x = 2$ to $x = 6$, to two decimal places.

  4. Find the area under $y = \dfrac2x$ from $x = 1$ to $x = 4$, to two decimal places.

  5. Find the $x$-values where $y = \dfrac1x$ meets the line $x + y = \dfrac{17}{4}$.

  6. Find the area enclosed between $y = \dfrac1x$ and the line $x + y = \dfrac{10}{3}$, to two decimal places.

  7. Find the area between $y = \ln x$, the $y$-axis, the $x$-axis and the line $y = 1$, to two decimal places.

  8. Find the area between $y = \ln x$, the $y$-axis, the $x$-axis and the line $y = 2$, to two decimal places.

  9. Exam style: the area under $y = \dfrac1x$ from $x = 1$ to $x = a$ is $2$ square units. Find $a$, to two decimal places.

  10. Exam style: for $k \gt 1$, the area under $y = \dfrac1x$ from $x = k$ to $x = k^2$ is $\ln 3$. Find $k$.

Formula sheet