Maths WorkshopMaths problems with full solutions
Exercise 7Calculus › Single-variable calculus › Integration › Improper integralsL1Added 2 Nov 2026

An integral whose integrand blows up

#improper integrals#logarithm#limits

Statement

Show that ∫01ln⁡x dx\displaystyle\int_0^1\ln x\,dx converges and compute it.

Hint

An antiderivative of ln⁡x\ln x is xln⁡x−xx\ln x-x. Integrate on [ε,1][\varepsilon,1] and let ε→0+\varepsilon\to0^+, using εln⁡ε→0\varepsilon\ln\varepsilon\to0.

Show solutionHide solution

Solution

Antiderivative. (xln⁡x−x)′=ln⁡x+1−1=ln⁡x(x\ln x-x)'=\ln x+1-1=\ln x.

Computation. For 0<ε<10<\varepsilon<1,
∫ε1ln⁡x dx=[xln⁡x−x]ε1=−1−(εln⁡ε−ε).\int_\varepsilon^1\ln x\,dx=\bigl[x\ln x-x\bigr]_\varepsilon^1=-1-(\varepsilon\ln\varepsilon-\varepsilon).
As ε→0+\varepsilon\to0^+, εln⁡ε→0\varepsilon\ln\varepsilon\to0 and ε→0\varepsilon\to0, so the limit is −1-1.

Answer. The integral converges, and ∫01ln⁡x dx=−1\displaystyle\int_0^1\ln x\,dx=-1.

Remark. The integrand tends to −∞-\infty at 00, yet the area is finite: ln⁡x\ln x grows slower than any x−px^{-p} with p>0p>0, so the comparison with ∫01x−1/2dx<∞\int_0^1x^{-1/2}dx<\infty already shows convergence.