Skip to content

Area between two curves and ∫01ln⁡x dx\int_0^1\ln x\,\mathrm{d}x

Math I: Calculus · Mock exam, Question 5(b)–(c) · 14 points · Lectures 11–12

Problem

  • (b) Find the area enclosed by 2y2−y=x+22y^2-y=x+2 and y2=x.y^2=x\text{.} [6 points]
  • (c) Evaluate ∫01ln⁡x dx\int_0^1\ln x\,\mathrm{d}x in two different ways. [8 points]

What you need

Plan

In (b) both curves are easy to write as xx in terms of y,y\text{,} so integrate in y:y\text{:} area =∫(right−left) dy.=\int(\text{right}-\text{left})\,\mathrm{d}y\text{.} In (c), ln⁡x\ln x is unbounded near 0,0\text{,} so this is an improper integral: write it as a limit before integrating. The two methods are integration by parts, and the substitution x=e−t,x=\mathrm{e}^{-t}\text{,} which turns it into an integral over [0,∞).[0,\infty)\text{.}

Step-by-step solution

Try each step yourself before you open it.

(b) Step 1 · Write both curves as functions of y (1 point)
x=2y2−y−2,x=y2.x=2y^2-y-2,\quad x=y^2.
(b) Step 2 · Find the intersections (2 points)

y2=2y2−y−2y^2=2y^2-y-2 gives y2−y−2=0,y^2-y-2=0\text{,} that is (y−2)(y+1)=0.(y-2)(y+1)=0\text{.} The curves meet at y=−1y=-1 and y=2.y=2\text{.}

(b) Step 3 · Which curve is on the right? (1 point)

For −1<y<2,-1<y<2\text{,}

y2−(2y2−y−2)=−(y−2)(y+1)>0,y^2-(2y^2-y-2)=-(y-2)(y+1)>0,

so x=y2x=y^2 is the right boundary and x=2y2−y−2x=2y^2-y-2 the left one.

(b) Step 4 · Set up and evaluate (2 points)
Area=∫−12(−y2+y+2) dy=[−y33+y22+2y]−12=103−(−76)=92.\begin{aligned} \text{Area}&=\int_{-1}^{2}\left(-y^2+y+2\right)\,\mathrm{d}y\\ &=\left[-\frac{y^3}{3}+\frac{y^2}{2}+2y\right]_{-1}^{2}\\ &=\frac{10}{3}-\left(-\frac{7}{6}\right)=\frac{9}{2}. \end{aligned}

Concept: Fundamental theorem of calculus, part 2

(c) Method 1, Step 1 · Write the improper integral as a limit (1 point)

ln⁡x→−∞\ln x\to-\infty as x→0+,x\to0^+\text{,} so

∫01ln⁡x dx=lim⁡ε→0+∫ε1ln⁡x dx.\int_0^1\ln x\,\mathrm{d}x=\lim_{\varepsilon\to0^+}\int_{\varepsilon}^{1}\ln x\,\mathrm{d}x.

Concept: Improper integral

(c) Method 1, Step 2 · Integrate by parts (1 point)

With u=ln⁡xu=\ln x and v′=1,v'=1\text{,}

∫ε1ln⁡x dx=[xln⁡x]ε1−∫ε11 dx=−εln⁡ε−(1−ε).\int_{\varepsilon}^{1}\ln x\,\mathrm{d}x =\big[x\ln x\big]_{\varepsilon}^{1}-\int_{\varepsilon}^{1}1\,\mathrm{d}x =-\varepsilon\ln\varepsilon-(1-\varepsilon).
(c) Method 1, Step 3 · Take the limit (2 points)

εln⁡ε→0\varepsilon\ln\varepsilon\to0 as ε→0+.\varepsilon\to0^+\text{.} One way: by L'Hôpital's rule,

lim⁡ε→0+ln⁡ε1/ε=lim⁡ε→0+1/ε−1/ε2=lim⁡ε→0+(−ε)=0.\lim_{\varepsilon\to0^+}\frac{\ln\varepsilon}{1/\varepsilon} =\lim_{\varepsilon\to0^+}\frac{1/\varepsilon}{-1/\varepsilon^2} =\lim_{\varepsilon\to0^+}(-\varepsilon)=0.

So the integral equals 0−1=−1.0-1=-1\text{.}

(c) Method 2, Step 1 · Substitute x = e^(−t) (2 points)

Let x=e−t.x=\mathrm{e}^{-t}\text{.} Then ln⁡x=−t\ln x=-t and dx=−e−t dt;\mathrm{d}x=-\mathrm{e}^{-t}\,\mathrm{d}t\text{;} x=1x=1 corresponds to t=0t=0 and x→0+x\to0^+ to t→∞.t\to\infty\text{.} So

∫01ln⁡x dx=∫∞0(−t)(−e−t) dt=−∫0∞te−t dt.\int_0^1\ln x\,\mathrm{d}x =\int_{\infty}^{0}(-t)\left(-\mathrm{e}^{-t}\right)\,\mathrm{d}t =-\int_0^{\infty}t\mathrm{e}^{-t}\,\mathrm{d}t.

The orientation flips because xx decreases as tt increases; keep track of the sign.

Concept: Integration by substitution, type 2

(c) Method 2, Step 2 · Evaluate the new integral (2 points)

On [0,R],[0,R]\text{,} integration by parts gives

∫0Rte−t dt=[−te−t]0R+∫0Re−t dt=−Re−R+1−e−R→1,\int_0^R t\mathrm{e}^{-t}\,\mathrm{d}t =\big[-t\mathrm{e}^{-t}\big]_0^R+\int_0^R\mathrm{e}^{-t}\,\mathrm{d}t =-R\mathrm{e}^{-R}+1-\mathrm{e}^{-R}\to1,

because Re−R→0R\mathrm{e}^{-R}\to0 and e−R→0.\mathrm{e}^{-R}\to0\text{.} Hence again ∫01ln⁡x dx=−1.\int_0^1\ln x\,\mathrm{d}x=-1\text{.}

Where marks are lost

  • Integrating in xx in (b). It can be done, but the region then needs several pieces. Integrating in yy needs one.
  • Treating ∫01ln⁡x dx\int_0^1\ln x\,\mathrm{d}x as an ordinary integral. Write the limit; the mark for justifying εln⁡ε→0\varepsilon\ln\varepsilon\to0 depends on it.
  • Losing the sign in the substitution. Swapping the limits and the minus sign from dx\mathrm{d}x must be done together.
  • Giving the same method twice. "Two different ways" means two genuinely different routes.