Chapter 4 · Integration: Riemann to Lebesgue

4.5 The Lebesgue Integral and Convergence Theorems

Lebesgue's integral for simple, non-negative and integrable functions; the monotone convergence theorem, Fatou's lemma and the dominated convergence theorem; when limits and integrals may be exchanged and when they may not; Riemann versus Lebesgue; and the space $L^1$.

A large part of analysis consists of exchanging two limiting operations: a limit with an integral, a series with an integral, a derivative with an integral. With the Riemann integral this is a delicate business. A pointwise limit of integrable functions need not be integrable at all (the indicators of finite sets of rationals increase to the Dirichlet function), and even uniform convergence, the usual Riemann-world sufficient condition, is far too strong for practice and useless on unbounded intervals. Lebesgue's integral, built on the measure of §4.4, comes with three theorems that settle almost every such question in one line: the monotone convergence theorem (increasing non-negative sequences), Fatou's lemma (an inequality that always holds for non-negative functions), and the dominated convergence theorem (anything bounded by a fixed integrable function).

These theorems are the working tools of probability (an expectation is a Lebesgue integral), Fourier analysis, partial differential equations and mathematical physics, and they are the most examined part of this chapter. CSIR NET Part B asks for limits such as $\lim_n\int_0^n(1-\frac xn)^n\,dx$ or for Lebesgue integrals of functions defined differently on rationals, Cantor sets and their complements; Part C offers sequences $f_n$ and asks for which of them $\lim\int f_n=\int\lim f_n$, or which statements about $L^1$ functions must hold. The wrong options are always the four classical ways in which "mass" can escape — collected in Example 4 and in the ⚠️ box.

The Integral of Non-negative Functions

Throughout, $E$ is a measurable subset of $\mathbb{R}$ and "measurable" means Lebesgue measurable (§4.4). We use the conventions $0\cdot\infty=0$ and $a+\infty=\infty$ for $a\in[0,\infty]$.

📘 Definition 4.23 — Integral of a non-negative simple function

If $\varphi=\sum_{i=1}^ra_i\mathbf 1_{E_i}$ is simple on $E$ with $a_i\ge0$ and $E_1,\dots,E_r$ disjoint measurable sets covering $E$, its integral is $$\int_E\varphi=\sum_{i=1}^ra_i\,m(E_i)\in[0,\infty],$$ and for measurable $A\subseteq E$, $\int_A\varphi=\int_E\varphi\,\mathbf 1_A=\sum_ia_i\,m(A\cap E_i)$.

The value does not depend on the representation: if also $\varphi=\sum_jb_j\mathbf 1_{F_j}$ with disjoint $F_j$, then on each non-empty $E_i\cap F_j$ we have $a_i=b_j$, and both sums equal $\sum_{i,j}a_i\,m(E_i\cap F_j)$ by additivity of $m$. For example $\int_{[0,1]}\mathbf 1_{\mathbb Q}=1\cdot m(\mathbb Q\cap[0,1])+0\cdot m([0,1]\setminus\mathbb Q)=0$.

📐 Theorem 4.45 — Properties of the simple integral
Let $\varphi,\psi\ge0$ be simple on $E$ and $a,b\ge0$. Then (1) $\int(a\varphi+b\psi)=a\int\varphi+b\int\psi$; (2) $\varphi\le\psi$ implies $\int\varphi\le\int\psi$; (3) $A\mapsto\int_A\varphi$ is countably additive: if $A=\bigcup_kA_k$ with disjoint measurable $A_k$, then $\int_A\varphi=\sum_k\int_{A_k}\varphi$.

Proof. Write $\varphi=\sum a_i\mathbf 1_{E_i}$, $\psi=\sum b_j\mathbf 1_{F_j}$ and use the common refinement $\{E_i\cap F_j\}$: on $E_i\cap F_j$, $a\varphi+b\psi$ takes the value $aa_i+bb_j$, so $\int(a\varphi+b\psi)=\sum_{i,j}(aa_i+bb_j)m(E_i\cap F_j)$, which is $a\int\varphi+b\int\psi$. If $\varphi\le\psi$, then $a_i\le b_j$ whenever $E_i\cap F_j\ne\varnothing$, which gives (2). For (3), $\int_A\varphi=\sum_ia_i\,m(A\cap E_i)=\sum_ia_i\sum_km(A_k\cap E_i)$, and this equals $\sum_k\int_{A_k}\varphi$ by countable additivity of $m$ and rearrangement of non-negative terms. ∎

📘 Definition 4.24 — The Lebesgue integral of a non-negative function
For measurable $f:E\to[0,\infty]$, $$\int_Ef=\int_Ef\,dm=\sup\Big\{\int_E\varphi\ :\ \varphi\text{ simple},\ 0\le\varphi\le f\Big\}\in[0,\infty].$$ By Theorem 4.45(2) this agrees with Definition 4.23 when $f$ itself is simple. We write $\int_Af=\int_Ef\mathbf 1_A$ for measurable $A\subseteq E$, and $\int_a^bf$ for $\int_{[a,b]}f$ when no confusion with the Riemann integral can arise (by Theorem 4.55 the two agree whenever both exist).

Compare with the Riemann integral: there, $f$ was approximated from below by step functions, constant on intervals; here by simple functions, constant on arbitrary measurable sets. That single change is what lets $\mathbf 1_{\mathbb Q}$ have an integral.

📐 Theorem 4.46 — Basic properties for non-negative functions
Let $f,g:E\to[0,\infty]$ be measurable.
  1. If $f\le g$ then $\int_Ef\le\int_Eg$; if $A\subseteq B\subseteq E$ are measurable then $\int_Af\le\int_Bf$.
  2. $\int_Ecf=c\int_Ef$ for $c\in[0,\infty)$.
  3. If $m(E)=0$ then $\int_Ef=0$.
  4. (Markov's inequality.) $m(\{f\ge t\})\le\dfrac1t\displaystyle\int_Ef$ for every $t\gt0$.
  5. $\int_Ef=0$ if and only if $f=0$ a.e. on $E$.
  6. If $\int_Ef\lt\infty$ then $f\lt\infty$ a.e. on $E$.

Proof. (1) Every simple $\varphi\le f$ also satisfies $\varphi\le g$; and $\varphi\mathbf 1_A\le\varphi\mathbf 1_B$. (2) For $c\gt0$, $\varphi\mapsto c\varphi$ is a bijection between simple functions below $f$ and below $cf$; $c=0$ is clear. (3) Every simple $\varphi$ has $\int_E\varphi=\sum a_im(E_i)=0$. (4) The simple function $t\,\mathbf 1_{\{f\ge t\}}$ lies below $f$, so $t\,m(\{f\ge t\})\le\int f$. (5) If $f=0$ outside a null set $N$, every simple $\varphi\le f$ vanishes outside $N$, so $\int\varphi=\int_N\varphi=0$. Conversely, if $\int f=0$ then by (4) each $\{f\ge\frac1k\}$ is null, and so is their union $\{f\gt0\}$. (6) $\{f=\infty\}\subseteq\{f\ge t\}$, so $m(\{f=\infty\})\le\frac1t\int f\to0$ as $t\to\infty$. ∎

📐 Theorem 4.47 — Monotone convergence theorem (Beppo Levi)
Let $f_n:E\to[0,\infty]$ be measurable with $0\le f_1\le f_2\le\cdots$ and $f_n(x)\to f(x)$ for every $x\in E$ (or for a.e. $x$). Then $$\lim_{n\to\infty}\int_Ef_n=\int_Ef.$$

Proof. Changing $f_n$ and $f$ on a null set $N$ changes none of the integrals (for simple $\varphi$, $\int_E\varphi=\int_{E\setminus N}\varphi$ by Theorem 4.45(3); take suprema), so assume convergence everywhere. $f$ is measurable (Theorem 4.41). Since $f_n\le f_{n+1}\le f$, the integrals $\int f_n$ increase to a limit $L\le\int f$.

For the reverse inequality, fix a simple $\varphi$ with $0\le\varphi\le f$ and a number $c\in(0,1)$, and let $A_n=\{x\in E:f_n(x)\ge c\,\varphi(x)\}$. These sets are measurable and increase with $n$. They exhaust $E$: if $\varphi(x)=0$ then $x\in A_1$; if $\varphi(x)\gt0$ then $f(x)\ge\varphi(x)\gt c\varphi(x)$, so $f_n(x)\ge c\varphi(x)$ for large $n$. Hence $$\int_Ef_n\ge\int_{A_n}f_n\ge c\int_{A_n}\varphi\ \longrightarrow\ c\int_E\varphi,$$ where the limit uses the countable additivity of $A\mapsto\int_A\varphi$ (Theorem 4.45(3)) and continuity from below (Theorem 4.36(1)). So $L\ge c\int_E\varphi$. Letting $c\to1$ and taking the supremum over $\varphi$ gives $L\ge\int_Ef$. ∎

The factor $c\lt1$ is the whole trick: with $c=1$ the sets $A_n=\{f_n\ge\varphi\}$ might never exhaust $E$ (if $f_n\lt f=\varphi$ everywhere).

📐 Theorem 4.48 — Consequences of monotone convergence
Let $f,g,g_k:E\to[0,\infty]$ be measurable.
  1. $\int_E(f+g)=\int_Ef+\int_Eg$.
  2. (Term-by-term integration.) $\displaystyle\int_E\sum_{k=1}^\infty g_k=\sum_{k=1}^\infty\int_Eg_k$.
  3. $\int_Ef=\lim_n\int_E\varphi_n$ for the simple functions $\varphi_n=\min(n,2^{-n}\lfloor2^nf\rfloor)$ of Theorem 4.42.
  4. $\nu(A)=\int_Af$ defines a countably additive function on the measurable subsets of $E$, and $\nu(A)=0$ whenever $m(A)=0$.

Proof. (3) is Theorem 4.47 applied to $\varphi_n\uparrow f$. (1) If $\varphi_n\uparrow f$ and $\psi_n\uparrow g$ are simple, then $\varphi_n+\psi_n\uparrow f+g$, and by MCT and Theorem 4.45(1), $\int(f+g)=\lim\int(\varphi_n+\psi_n)$, which is $\lim\big(\int\varphi_n+\int\psi_n\big)=\int f+\int g$. (2) By (1) and induction, $\int\sum_{k\le n}g_k=\sum_{k\le n}\int g_k$; the partial sums increase to $\sum_kg_k$, so MCT finishes. (4) Apply (2) to $g_k=f\mathbf 1_{A_k}$; the last claim is Theorem 4.46(3). ∎

Part (3) is Lebesgue's "slice the range" integral, and with Tonelli's theorem (Theorem 4.57) it becomes the layer-cake formula $\int_Ef=\int_0^\infty m(\{f\gt t\})\,dt$ — the formula behind the Lebesgue sums in the teaser of the chapter introduction.

✏️ Example 1 — Integrals by monotone convergence
(a) Show that $f(x)=x^{-1/2}$ is Lebesgue integrable on $(0,1]$ with $\int_{(0,1]}f=2$. (b) Prove $\displaystyle\int_0^1\frac{-\log x}{1-x}\,dx=\frac{\pi^2}6$. (c) Prove $\displaystyle\int_0^\infty\frac{x^3}{e^x-1}\,dx=\frac{\pi^4}{15}$. (d) If $f\ge0$ on $[0,1]$ and $\int_{[0,1]}f=3$, how large can $m(\{f\ge6\})$ be?
(a) $f_n=f\mathbf 1_{[1/n,1]}$ increases to $f$ on $(0,1]$. Each $f_n$ is bounded and continuous on $[\frac1n,1]$, so its Lebesgue integral is the Riemann integral (Theorem 4.55): $\int_{1/n}^1x^{-1/2}dx=2-\frac2{\sqrt n}$. By MCT, $\int_{(0,1]}f=\lim(2-\frac2{\sqrt n})=2$. No "improper" integral is needed: the Lebesgue integral of an unbounded function is defined directly.
(b) For $0\lt x\lt1$, $\frac{-\log x}{1-x}=\sum_{k\ge0}x^k(-\log x)$, a series of non-negative terms. By Theorem 4.48(2) we may integrate term by term. By parts (or $x=e^{-t}$), $\int_0^1x^k(-\log x)\,dx=\int_0^\infty te^{-(k+1)t}dt=\frac1{(k+1)^2}$. So the integral is $\sum_{k\ge0}\frac1{(k+1)^2}=\frac{\pi^2}6\approx1.644934$.
(c) For $x\gt0$, $\frac{x^3}{e^x-1}=x^3\frac{e^{-x}}{1-e^{-x}}=\sum_{k\ge1}x^3e^{-kx}$, again non-negative terms. $\int_0^\infty x^3e^{-kx}dx=\frac{\Gamma(4)}{k^4}=\frac6{k^4}$ (§4.2). Hence the integral is $6\zeta(4)=6\cdot\frac{\pi^4}{90}=\frac{\pi^4}{15}\approx6.49394$ (this is the integral behind the Stefan–Boltzmann law of black-body radiation).
(d) $\frac12$ Markov: $m(\{f\ge6\})\le\frac36=\frac12$. The bound is attained by $f=6\cdot\mathbf 1_{[0,1/2]}$, whose integral is $6\cdot\frac12=3$.
Check Numerical quadrature gives $1.6449341$ for (b) and $6.4939394$ for (c).
Interactive 1 — Monotone Convergence: Simple Functions Climbing to an Unbounded $f$

The shaded staircase is the simple function $\varphi_n=\min\big(n,2^{-n}\lfloor2^nf\rfloor\big)$: the range is cut into levels of height $2^{-n}$ up to the cap $n$. Its integral is computed exactly from the measures of the level sets, $\int\varphi_n=2^{-n}\sum_{k=1}^{n2^n}m(\{f\ge k2^{-n}\})$. Press Play: as $n$ grows, $\varphi_n\uparrow f$ and, by the monotone convergence theorem, $\int\varphi_n\uparrow\int f$ — finite for $x^{-1/2}$, $-\log x$ and $x^{-0.8}$, infinite for $\frac1x$.

n—
∫ φₙ—
∫ f—
∫ f − ∫ φₙ—

Fatou's Lemma and Integrable Functions

📐 Theorem 4.49 — Fatou's lemma
If $f_n:E\to[0,\infty]$ are measurable, then $$\int_E\liminf_{n\to\infty}f_n\ \le\ \liminf_{n\to\infty}\int_Ef_n.$$

Proof. Let $g_n=\inf_{k\ge n}f_k$. Then $g_n$ is measurable, $0\le g_1\le g_2\le\cdots$, and $g_n\uparrow\liminf_nf_n$. By MCT, $\int\liminf f_n=\lim_n\int g_n$. But $g_n\le f_k$ for every $k\ge n$, so $\int g_n\le\inf_{k\ge n}\int f_k$, and letting $n\to\infty$, $\lim\int g_n\le\liminf\int f_k$. ∎

The inequality can be strict. With $f_n=\mathbf 1_{[0,1]}$ for odd $n$ and $f_n=\mathbf 1_{[1,2]}$ for even $n$, $\liminf f_n=\mathbf 1_{\{1\}}$ has integral $0$ while every $\int f_n=1$. With $f_n=n\mathbf 1_{(0,1/n)}$, $\int\liminf f_n=0\lt1$. The hypothesis $f_n\ge0$ matters too: $f_n=-\mathbf 1_{[n,n+1]}$ has $\liminf f_n=0$ but $\int f_n=-1$.

📘 Definition 4.25 — Integrable functions
A measurable $f:E\to[-\infty,\infty]$ is (Lebesgue) integrable on $E$ if $\int_E|f|\lt\infty$; then $$\int_Ef=\int_Ef^+-\int_Ef^-,$$ where $f^+=\max(f,0)$ and $f^-=\max(-f,0)$, so $f=f^+-f^-$ and $|f|=f^++f^-$. The set of integrable functions on $E$ is denoted $\mathcal L^1(E)$.

Lebesgue integrability is absolute: $f$ is integrable if and only if $|f|$ is. There is no Lebesgue analogue of a conditionally convergent improper integral; $\frac{\sin x}{x}$, whose improper integral over $(0,\infty)$ is $\frac\pi2$ (§4.2), is not Lebesgue integrable on $(0,\infty)$ (Example 2).

📐 Theorem 4.50 — Properties of the integral on $\mathcal L^1$
Let $f,g\in\mathcal L^1(E)$ and $a,b\in\mathbb{R}$.
  1. (Linearity.) $af+bg\in\mathcal L^1(E)$ and $\int(af+bg)=a\int f+b\int g$ (where $f,g$ are finite, i.e. a.e.).
  2. (Monotonicity.) $f\le g$ a.e. implies $\int f\le\int g$; and $\big|\int f\big|\le\int|f|$.
  3. If $f=g$ a.e. then $\int f=\int g$; and $f$ is finite a.e.
  4. (Absolute continuity.) For every $\varepsilon\gt0$ there is $\delta\gt0$ such that $\int_A|f|\lt\varepsilon$ for every measurable $A\subseteq E$ with $m(A)\lt\delta$.

Proof. (3) $f$ is finite a.e. by Theorem 4.46(6) applied to $|f|$. If $f=g$ outside a null set $N$, then $\int f^\pm=\int_{E\setminus N}f^\pm+\int_Nf^\pm=\int_{E\setminus N}g^\pm$ (Theorem 4.48(4)), and the same for $g$.

(1) By (3) we may assume $f,g$ real-valued. $|af+bg|\le|a||f|+|b||g|$, so $af+bg$ is integrable. For $h=f+g$: from $h^+-h^-=f^+-f^-+g^+-g^-$ we get $h^++f^-+g^-=h^-+f^++g^+$, a sum of non-negative functions on each side. Integrate using Theorem 4.48(1); all terms are finite, so we can rearrange: $\int h^+-\int h^-=\int f^+-\int f^-+\int g^+-\int g^-$. For $c\ge0$, $(cf)^\pm=cf^\pm$; for $c\lt0$, $(cf)^\pm=|c|f^\mp$; in both cases $\int cf=c\int f$.

(2) $g-f\ge0$ a.e., so $0\le\int(g-f)=\int g-\int f$ by (1). Apply this to $-|f|\le f\le|f|$.

(4) The functions $\min(|f|,n)$ increase to $|f|$, so by MCT there is $n$ with $\int\big(|f|-\min(|f|,n)\big)\lt\frac\varepsilon2$. Put $\delta=\frac\varepsilon{2n}$. If $m(A)\lt\delta$, then $$\int_A|f|\le\int\big(|f|-\min(|f|,n)\big)+\int_A\min(|f|,n),$$ which is less than $\frac\varepsilon2+n\,m(A)\lt\varepsilon$. ∎

✏️ Example 2 — Which functions are Lebesgue integrable?
Decide whether each function is in $\mathcal L^1$ of the given set: (a) $\frac{\sin x}x$ on $(0,\infty)$; (b) $\frac{\sin x}{x^2}$ on $(1,\infty)$ and on $(0,1)$; (c) $f=\sum_{n\ge1}\frac{(-1)^n}n\mathbf 1_{[n,n+1)}$ on $[1,\infty)$; (d) $\frac1{\sqrt x(1+x)}$ on $(0,\infty)$; (e) $\mathbf 1_{\mathbb Q}\cdot x^{-5}$ on $(0,1)$.
(a) No $\int_{(0,\infty)}\frac{|\sin x|}x=\sum_k\int_{k\pi}^{(k+1)\pi}\frac{|\sin x|}x\ge\sum_k\frac2{(k+1)\pi}=\infty$ (by MCT the Lebesgue integral of the non-negative function is the sum of the pieces). The improper Riemann integral converges only thanks to cancellation.
(b) Yes; no On $(1,\infty)$, $\big|\frac{\sin x}{x^2}\big|\le\frac1{x^2}$, which is integrable (MCT, as in Example 1(a)). On $(0,1)$, $\frac{\sin x}{x^2}\ge\frac{2}{\pi}\cdot\frac1x$ (since $\sin x\ge\frac{2x}\pi$ on $[0,\frac\pi2]$) and $\int_{(0,1)}\frac{dx}x=\infty$.
(c) No $\int|f|=\sum_n\frac1n=\infty$, although $\lim_{b\to\infty}\int_1^bf$ exists (it is $\sum\frac{(-1)^n}n=-\log2$, along integer $b$ and hence for all $b$). An alternating series of "slabs" is a conditionally convergent improper integral, not a Lebesgue integral.
(d) Yes It is positive, $\sim x^{-1/2}$ at $0$ and $\sim x^{-3/2}$ at $\infty$; by Theorem 4.56 its Lebesgue integral equals the improper Riemann integral, which is $\pi$ (§4.2, Exercise II.3).
(e) Yes It is $0$ a.e. (off the null set $\mathbb Q$), so its integral is $0$ — however large it is on the rationals.

The Dominated Convergence Theorem

📐 Theorem 4.51 — Lebesgue's dominated convergence theorem
Let $f_n:E\to\mathbb{R}$ be measurable with $f_n\to f$ a.e. on $E$, and suppose there is $g\in\mathcal L^1(E)$ with $|f_n|\le g$ a.e. for every $n$. Then $f\in\mathcal L^1(E)$, $$\lim_{n\to\infty}\int_E|f_n-f|=0,\qquad\text{and hence}\qquad\lim_{n\to\infty}\int_Ef_n=\int_Ef.$$

Proof. Discarding a null set, assume $f_n\to f$ and $|f_n|\le g$ everywhere, with $g$ finite. Then $|f|\le g$, so $f$ is measurable (Theorem 4.41) and integrable. Apply Fatou's lemma to the non-negative functions $h_n=2g-|f_n-f|$ (non-negative because $|f_n-f|\le|f_n|+|f|\le2g$), which converge to $2g$: $$\int2g\le\liminf_n\int\big(2g-|f_n-f|\big)=\int2g-\limsup_n\int|f_n-f|.$$ Since $\int2g$ is finite we may cancel it: $\limsup_n\int|f_n-f|\le0$. Finally $\big|\int f_n-\int f\big|\le\int|f_n-f|\to0$. ∎

📐 Theorem 4.52 — Corollaries: bounded convergence, series, parameters
  1. (Bounded convergence theorem.) If $m(E)\lt\infty$, $f_n\to f$ a.e. on $E$ and $|f_n|\le M$ for all $n$, then $\int_Ef_n\to\int_Ef$.
  2. (Series.) If $g_k$ are measurable and $\sum_k\int_E|g_k|\lt\infty$, then $\sum_kg_k(x)$ converges absolutely for a.e. $x$, its sum is integrable, and $\int_E\sum_kg_k=\sum_k\int_Eg_k$.
  3. (Continuity in a parameter.) Let $f(x,t)$ be defined for $x\in E$, $t\in(a,b)$, measurable in $x$ for each $t$, with $|f(x,t)|\le g(x)$ for all $t$, where $g\in\mathcal L^1(E)$. If $t\mapsto f(x,t)$ is continuous at $t_0$ for a.e. $x$, then $F(t)=\int_Ef(x,t)\,dx$ is continuous at $t_0$.
  4. (Differentiation under the integral sign.) If, in addition, $f(\cdot,t)\in\mathcal L^1(E)$, $\frac{\partial f}{\partial t}(x,t)$ exists for all $t\in(a,b)$ and all $x\in E$, and $\big|\frac{\partial f}{\partial t}(x,t)\big|\le h(x)$ for all $x,t$ with $h\in\mathcal L^1(E)$, then $F$ is differentiable and $F'(t)=\int_E\frac{\partial f}{\partial t}(x,t)\,dx$.

Proof. (1) Dominate by the constant $M$, which is integrable because $m(E)\lt\infty$. (2) By Theorem 4.48(2), $G=\sum_k|g_k|$ has $\int G=\sum\int|g_k|\lt\infty$, so $G\lt\infty$ a.e. (Theorem 4.46(6)); where $G(x)\lt\infty$ the series $\sum g_k(x)$ converges absolutely. Its partial sums are dominated by $G$, and DCT gives the formula. (3) By the sequential criterion (§3.1) it suffices to show $F(t_n)\to F(t_0)$ for every sequence $t_n\to t_0$; and $f(\cdot,t_n)\to f(\cdot,t_0)$ a.e. with domination by $g$. (4) Fix $t$ and $s_n\to0$ with $s_n\ne0$. By the mean value theorem (§3.3), the difference quotients $q_n(x)=\frac{f(x,t+s_n)-f(x,t)}{s_n}$ equal $\frac{\partial f}{\partial t}(x,\xi_n)$ for some $\xi_n$ between $t$ and $t+s_n$, so $|q_n|\le h$; and $q_n(x)\to\frac{\partial f}{\partial t}(x,t)$. DCT gives $\frac{F(t+s_n)-F(t)}{s_n}=\int q_n\to\int\frac{\partial f}{\partial t}(x,t)\,dx$. ∎

🧭 Problem-solving strategy — exchanging a limit and an integral
  1. Find the pointwise limit $f(x)=\lim f_n(x)$ (a.e. is enough). Expressions such as $(1\pm\frac xn)^n\to e^{\pm x}$, $n\sin\frac xn\to x$, $x^{1/n}\to1$ $(x\gt0)$, $x^n\to0$ $(0\le x\lt1)$ recur constantly.
  2. Non-negative and increasing? Use MCT — no integrability needed, and the answer may be $\infty$.
  3. Look for a dominating function $g$ independent of $n$, with $\int g\lt\infty$. Standard bounds: $(1-\frac xn)^n\le e^{-x}$ on $[0,n]$; $(1+\frac xn)^n\ge1+x$, and for $n\ge2$ $(1+\frac xn)^{n}\ge(1+\frac x2)^2$; $|\sin u|\le|u|$; $\frac{nx}{1+n^2x^2}\le\frac12$; $x^{1/n}\ge x$ on $[0,1]$. The best candidate is $\sup_n|f_n|$ — DCT applies (with $g=\sup_{n}|f_n|$) exactly when this is integrable, possibly after discarding finitely many $n$.
  4. Bounded functions on a set of finite measure? Bounded convergence theorem.
  5. No domination? Then compute $\int f_n$ directly (often by substitution); expect the answer to differ from $\int f$, and identify the escaping mass: a spike at a point, a bump sliding to infinity, or a function spreading thinly over an ever larger set (Example 4). Fatou's inequality $\int f\le\liminf\int f_n$ still holds when $f_n\ge0$.
✏️ Example 3 — Four limits of integrals
Evaluate (a) $\displaystyle\lim_{n\to\infty}\int_0^\infty\Big(1+\frac xn\Big)^{-n}dx$; (b) $\displaystyle\lim_{n\to\infty}\int_0^1\frac{nx}{1+n^2x^2}\,dx$; (c) $\displaystyle\lim_{n\to\infty}\int_0^\infty\frac{n\sin(x/n)}{x(1+x^2)}\,dx$; (d) $\displaystyle\lim_{n\to\infty}\int_0^1n^2xe^{-nx}\,dx$.
(a) $1$ Pointwise, $(1+\frac xn)^{-n}\to e^{-x}$. For $n\ge2$ the binomial theorem gives $(1+\frac xn)^n\ge1+x+\frac{n(n-1)}2\frac{x^2}{n^2}\ge1+\frac{x^2}4$, so $0\le f_n\le\frac1{1+x^2/4}$, which is integrable on $[0,\infty)$ (integral $\pi$). By DCT the limit is $\int_0^\infty e^{-x}dx=1$. Check: directly, $\int_0^\infty(1+\frac xn)^{-n}dx=\frac n{n-1}\to1$. (For $n=1$ the integral diverges — domination is only needed for all large $n$.)
(b) $0$ For $x\gt0$, $\frac{nx}{1+n^2x^2}\le\frac{nx}{n^2x^2}=\frac1{nx}\to0$; and $0\le\frac{nx}{1+n^2x^2}\le\frac12$ (AM–GM: $1+n^2x^2\ge2nx$). Bounded convergence on $[0,1]$: the limit is $0$. Check: the integral is $\frac{\log(1+n^2)}{2n}\to0$. Note that $\sup_{[0,1]}f_n=\frac12$ for every $n$: the convergence is not uniform, yet the exchange is legitimate.
(c) $\frac\pi2$ $n\sin\frac xn\to x$, so the integrand tends to $\frac1{1+x^2}$. Since $|\sin u|\le|u|$, $\big|\frac{n\sin(x/n)}{x(1+x^2)}\big|\le\frac{1}{1+x^2}\in\mathcal L^1(0,\infty)$. DCT: the limit is $\int_0^\infty\frac{dx}{1+x^2}=\frac\pi2$. (Numerically: $1.5552$ at $n=50$, $1.5692$ at $n=500$.)
(d) $1$, not $0$ Pointwise $n^2xe^{-nx}\to0$ for every $x\in[0,1]$. But substituting $u=nx$, $\int_0^1n^2xe^{-nx}dx=\int_0^nue^{-u}du=1-(n+1)e^{-n}\to1$. The mass concentrates near $0$ (the maximum, $\frac ne$ at $x=\frac1n$, blows up). No integrable dominating function exists: with $n=\lceil\frac1x\rceil$ we have $n\ge\frac1x$ and $nx\lt1+x\le2$, so $\sup_nn^2xe^{-nx}\ge\frac1x\,e^{-2}$, which is not integrable near $0$. Fatou's inequality $0\le1$ holds, strictly.
✏️ Example 4 — The four ways mass escapes
For each sequence find $f=\lim f_n$, $\lim\int f_n$ and $\int f$, and say which hypothesis of MCT/DCT fails: (a) spike: $f_n=n\mathbf 1_{(0,1/n)}$ on $[0,1]$; (b) sliding bump: $f_n=\mathbf 1_{[n,n+1]}$ on $\mathbb{R}$; (c) flattening: $f_n=\frac1n\mathbf 1_{[0,n]}$ on $\mathbb{R}$; (d) typewriter: for $n=2^k+j$ with $0\le j\lt2^k$, $f_n=\mathbf 1_{[j2^{-k},(j+1)2^{-k}]}$ on $[0,1]$.
(a) $f_n(x)\to0$ for every $x$ (once $\frac1n\le x$; and $f_n(0)=0$), while $\int f_n=1$. Not monotone, and $\sup_nf_n(x)=\lceil\frac1x\rceil-1\ge\frac1x-1$ is not integrable: mass escapes vertically into a point.
(b) $f_n\to0$ everywhere, $\int f_n=1$. $\sup_{k\ge n}f_k=\mathbf 1_{[n,\infty)}$, not integrable: mass escapes to infinity.
(c) $f_n\to0$ uniformly on $\mathbb{R}$ ($\sup|f_n|=\frac1n$), yet $\int f_n=1$. $\sup_{k\ge n}f_k(x)=\frac1{\max(n,\lceil x\rceil)}$ behaves like $\frac1x$, not integrable: mass spreads out. Uniform convergence controls integrals only on sets of finite measure.
(d) Here $\int f_n=2^{-k}\to0=\int0$, so $\int|f_n-0|\to0$ — but $f_n(x)$ converges for no $x\in[0,1]$: each $x$ is covered once in every block $2^k\le n\lt2^{k+1}$, so $f_n(x)=1$ infinitely often and $=0$ infinitely often. Convergence of integrals (even in the $L^1$ sense) does not imply pointwise convergence. (A subsequence, e.g. $n=2^k$, converges a.e. — this is always possible, by Theorem 4.54.)
Moral In (a)–(c), $\lim\int f_n=1\gt0=\int\lim f_n$: Fatou's inequality is strict, and in each case $\sup_nf_n\notin\mathcal L^1$. Interactive 2 draws $\sup_{k\ge n}f_k$ for you.
Interactive 2 — Escaping Mass and the Dominating Envelope

The shaded region is $f_n$ (its area is $\int f_n$), the dashed green curve the pointwise limit $f$, and the amber curve the envelope $G_n=\sup_{k\ge n}f_k$ — the smallest function that dominates the tail of the sequence. Press Play to increase $n$. The dominated convergence theorem applies exactly when some $G_n$ has finite integral; watch the readout $\int G_n$.

n—
∫ fₙ—
∫ lim fₙ—
∫ Gₙ (envelope)—
✏️ Example 5 — Differentiating under the integral sign
Let $F(t)=\displaystyle\int_0^\infty e^{-x^2}\cos(tx)\,dx$ for $t\in\mathbb{R}$. Justify differentiation under the integral sign, show that $F'(t)=-\frac t2F(t)$, and deduce $F(t)=\frac{\sqrt\pi}2e^{-t^2/4}$.
Domination $|e^{-x^2}\cos tx|\le e^{-x^2}$ and $\big|\frac\partial{\partial t}e^{-x^2}\cos tx\big|=|xe^{-x^2}\sin tx|\le xe^{-x^2}$; both bounds are integrable on $[0,\infty)$ and independent of $t$. By Theorem 4.52(4), $F'(t)=-\int_0^\infty xe^{-x^2}\sin(tx)\,dx$.
By parts With $u=\sin tx$, $dv=xe^{-x^2}dx$, $v=-\frac12e^{-x^2}$: $\int_0^\infty xe^{-x^2}\sin tx\,dx=\big[-\tfrac12e^{-x^2}\sin tx\big]_0^\infty+\frac t2\int_0^\infty e^{-x^2}\cos tx\,dx=\frac t2F(t)$. So $F'=-\frac t2F$.
Solve $\big(e^{t^2/4}F(t)\big)'=e^{t^2/4}\big(F'+\frac t2F\big)=0$, so $F(t)=F(0)e^{-t^2/4}$ with $F(0)=\int_0^\infty e^{-x^2}dx=\frac{\sqrt\pi}2$ (§4.2).
Check At $t=1.7$: quadrature gives $0.4302959$, and $\frac{\sqrt\pi}2e^{-0.7225}=0.4302959$. (This is the statement that the Fourier transform of a Gaussian is a Gaussian.)
📘 Definition 4.26 — The space $L^1$
Call $f,g\in\mathcal L^1(E)$ equivalent if $f=g$ a.e. The set of equivalence classes is $L^1(E)$, with the norm $$\|f\|_1=\int_E|f|.$$ By Theorem 4.46(5), $\|f\|_1=0$ only for the class of $0$ (that is why we pass to classes), and $\|f+g\|_1\le\|f\|_1+\|g\|_1$, $\|cf\|_1=|c|\|f\|_1$. We say $f_n\to f$ in $L^1$ (or in mean) if $\|f_n-f\|_1\to0$.
📐 Theorem 4.53 — $L^1$ is a Banach space; dense subspaces
  1. (Riesz–Fischer.) $L^1(E)$ is complete: every Cauchy sequence in $\|\cdot\|_1$ converges in $L^1$.
  2. Simple integrable functions, step functions, and continuous functions vanishing outside a bounded interval are dense in $L^1(\mathbb{R})$.

Proof (sketch). (1) Given a Cauchy sequence, choose $n_1\lt n_2\lt\cdots$ with $\|f_{n_{k+1}}-f_{n_k}\|_1\lt2^{-k}$. By Theorem 4.52(2), $\sum_k|f_{n_{k+1}}-f_{n_k}|$ is integrable and finite a.e., so the telescoping series $f_{n_1}+\sum_k(f_{n_{k+1}}-f_{n_k})$ converges a.e. to some $f$, dominated by $|f_{n_1}|+\sum_k|f_{n_{k+1}}-f_{n_k}|\in\mathcal L^1$. DCT gives $f_{n_k}\to f$ in $L^1$, and a Cauchy sequence with a convergent subsequence converges. (2) For $f\ge0$, the simple $\varphi_n\uparrow f$ of Theorem 4.42 satisfy $\|f-\varphi_n\|_1\to0$ by DCT (dominated by $f$); split a general $f$ into $f^\pm$. A simple integrable function is a combination of indicators $\mathbf 1_A$ with $m(A)\lt\infty$, and by Exercise I.9 of §4.4 each $A$ is close in measure to a finite union of intervals, i.e. $\mathbf 1_A$ is close in $L^1$ to a step function; finally a step function is approximated in $L^1$ by continuous piecewise-linear functions (round off each jump over a short interval). ∎

📐 Theorem 4.54 — $L^1$ convergence and a.e. convergence
If $f_n\to f$ in $L^1(E)$, then some subsequence $f_{n_k}\to f$ a.e. Neither of "$f_n\to f$ in $L^1$" and "$f_n\to f$ a.e." implies the other.

Proof. Choose $n_k$ increasing with $\|f_{n_k}-f\|_1\lt2^{-k}$; then $\sum_k\int|f_{n_k}-f|\lt\infty$, so by Theorem 4.52(2) $\sum_k|f_{n_k}(x)-f(x)|\lt\infty$ for a.e. $x$, and the terms tend to $0$. The typewriter sequence of Example 4(d) converges in $L^1$ but nowhere pointwise; the spike $n\mathbf 1_{(0,1/n)}$ converges everywhere but not in $L^1$ ($\|f_n-0\|_1=1$). ∎

Riemann versus Lebesgue

📐 Theorem 4.55 — Riemann integrable functions are Lebesgue integrable
If $f:[a,b]\to\mathbb{R}$ is Riemann integrable, then $f$ is Lebesgue measurable and integrable on $[a,b]$, and its Lebesgue integral equals its Riemann integral.

Proof. $f$ is bounded, $|f|\le M$. By Riemann's criterion (§4.1) choose partitions $P_1\subseteq P_2\subseteq\cdots$, each refining the previous one, with $U(f,P_n)-L(f,P_n)\to0$. For $P_n$ with subintervals $I_k$ and $m_k=\inf_{I_k}f$, $M_k=\sup_{I_k}f$, define step functions $\ell_n=\sum_km_k\mathbf 1_{I_k}$ and $u_n=\sum_kM_k\mathbf 1_{I_k}$ (using half-open subintervals, say). Off the countable set $Q$ of all partition points, $\ell_n\le f\le u_n$; the $\ell_n$ increase and the $u_n$ decrease (refinement), and their Lebesgue integrals are exactly the Darboux sums: $\int\ell_n=L(f,P_n)$, $\int u_n=U(f,P_n)$.

Let $\ell=\lim\ell_n$ and $u=\lim u_n$; they are measurable, bounded by $M$, and $\ell\le f\le u$ off $Q$. By the bounded convergence theorem, $$\int_{[a,b]}(u-\ell)=\lim_n\big(U(f,P_n)-L(f,P_n)\big)=0.$$ Since $u-\ell\ge0$, Theorem 4.46(5) gives $u=\ell$ a.e.; hence $f=\ell$ a.e., so $f$ is measurable (Theorem 4.41(5), completeness of Lebesgue measure) and $\int_{[a,b]}f=\int\ell=\lim L(f,P_n)$, which is the Riemann integral. ∎

The converse fails badly: $\mathbf 1_{\mathbb Q}$ and $\mathbf 1_{K_\alpha}$ (a fat Cantor set) are Lebesgue integrable on $[0,1]$, with integrals $0$ and $1-\alpha$, but not Riemann integrable. The first is at least equal a.e. to a Riemann integrable function (the zero function); the second is not even that — any $g=\mathbf 1_{K_\alpha}$ a.e. is still discontinuous at each point of $K_\alpha$, since every neighbourhood of such a point meets both $K_\alpha$ and its complement in sets of positive measure.

📐 Theorem 4.56 — Improper Riemann integrals and Lebesgue integrals
Let $f$ be Riemann integrable on every $[a,b]$, $b\gt a$. Then $f\in\mathcal L^1([a,\infty))$ if and only if the improper integral $\int_a^\infty|f(x)|\,dx$ converges, and in that case the Lebesgue integral $\int_{[a,\infty)}f$ equals the improper Riemann integral $\int_a^\infty f$. The same holds for integrals of the second kind.

Proof. The functions $|f|\mathbf 1_{[a,n]}$ increase to $|f|$; by MCT and Theorem 4.55, $\int_{[a,\infty)}|f|=\lim_n\int_a^n|f|$, which is finite exactly when the improper integral of $|f|$ converges (the partial integrals increase). If it does, then for any $b_k\to\infty$ the functions $f\mathbf 1_{[a,b_k]}$ converge to $f$ and are dominated by $|f|\in\mathcal L^1$, so DCT gives $\int_a^{b_k}f\to\int_{[a,\infty)}f$; thus the improper integral exists and has the same value. ∎

So absolutely convergent improper integrals are Lebesgue integrals, while conditionally convergent ones ($\int_0^\infty\frac{\sin x}x$, $\int_1^\infty\sin(x^2)\,dx$) are not; they are limits of Lebesgue integrals over $[0,b]$.

📐 Theorem 4.57 — Tonelli and Fubini (statement)
Let $m_2$ be Lebesgue measure on $\mathbb{R}^2$ (built from rectangles exactly as $m$ is built from intervals) and $f$ an $m_2$-measurable function on $\mathbb R^2$.
  1. (Tonelli.) If $f\ge0$, then $x\mapsto\int f(x,y)\,dy$ and $y\mapsto\int f(x,y)\,dx$ are measurable (defined a.e.) and $$\iint f\,dm_2=\int\Big(\int f(x,y)\,dy\Big)dx=\int\Big(\int f(x,y)\,dx\Big)dy,$$ all three possibly $\infty$.
  2. (Fubini.) If $\iint|f|\,dm_2\lt\infty$ — which, by Tonelli, may be checked on either iterated integral of $|f|$ — the same equalities hold, with finite values.

The integrability hypothesis in Fubini's theorem is essential. For $f(x,y)=\frac{x^2-y^2}{(x^2+y^2)^2}$ on $(0,1]^2$, $\frac{\partial}{\partial y}\frac{y}{x^2+y^2}=f(x,y)$, so $\int_0^1f(x,y)\,dy=\frac1{1+x^2}$ and $\int_0^1\!\int_0^1f\,dy\,dx=\frac\pi4$; since $f(y,x)=-f(x,y)$, the other order gives $-\frac\pi4$. By Tonelli, $\iint|f|=\infty$. (§4.2 used Tonelli, legitimately, for the non-negative integrand in $\Gamma(p)\Gamma(q)=\Gamma(p+q)B(p,q)$.)

✏️ Example 6 — Lebesgue integrals of functions Riemann could not handle
Compute the Lebesgue integral over $[0,1]$ (or $(0,1]$), and decide Riemann integrability: (a) $f(x)=x$ for irrational $x$, $f(x)=x^2$ for rational $x$; (b) $f(x)=\sin x$ for $x\in C$ (the Cantor set), $f(x)=x^2$ otherwise; (c) $f(x)=1/\lfloor1/x\rfloor$; (d) $f(x)=\lfloor1/x\rfloor$; (e) $f=\mathbf 1_{K_\alpha}$, a fat Cantor set.
(a) $\frac12$ $f=x$ a.e. (they differ only on $\mathbb Q$), so $\int f=\int_0^1x\,dx=\frac12$. Not Riemann integrable: at irrational $x\in(0,1)$, rationals $r\to x$ give $f(r)=r^2\to x^2\ne x$; so $f$ is discontinuous at every irrational point of $(0,1)$ (and in fact at every point except $0$ and $1$), a set of positive measure.
(b) $\frac13$ $f=x^2$ off the null set $C$, so $\int f=\frac13$. This one is Riemann integrable: it is bounded and continuous at every point of the open set $[0,1]\setminus C$ (where it equals $x^2$), so its discontinuities lie in the null set $C$; Lebesgue's criterion applies, and the value is the same.
(c) $\frac{\pi^2}6-1$ On $(\frac1{n+1},\frac1n]$, $\lfloor1/x\rfloor=n$, so $f=\sum_n\frac1n\mathbf 1_{(1/(n+1),1/n]}$ and by Theorem 4.48(2), $\int f=\sum_{n\ge1}\frac1n\Big(\frac1n-\frac1{n+1}\Big)=\sum\frac1{n^2}-\sum\Big(\frac1n-\frac1{n+1}\Big)=\frac{\pi^2}6-1\approx0.644934$. Riemann integrable too: bounded, with countably many jumps.
(d) $\infty$ $\int f=\sum_nn\big(\frac1n-\frac1{n+1}\big)=\sum_n\frac1{n+1}=\infty$. So $f$ is finite everywhere on $(0,1]$ but not integrable.
(e) $1-\alpha$ $\int\mathbf 1_{K_\alpha}=m(K_\alpha)=1-\alpha$ (Theorem 4.39); not Riemann integrable, and not a.e. equal to any Riemann integrable function (see the remark after Theorem 4.55).
✏️ Example 7 — Prove or disprove
(a) If $f_n,f\in\mathcal L^1(E)$, $f_n\to f$ a.e. and $\int|f_n|\to\int|f|$, then $\int|f_n-f|\to0$. (b) If $f_n\ge0$, $f_n\to0$ a.e. on $[0,1]$ and $\int f_n\to0$, then $\sup_nf_n$ is integrable. (c) If $f\in\mathcal L^1(\mathbb{R})$ then $f(x)\to0$ as $x\to\infty$. (d) If $f\in\mathcal L^1(\mathbb{R})$ then $\int_{[n,\infty)}|f|\to0$. (e) If $f\in\mathcal L^1[0,1]$ then $\int_0^1x^nf(x)\,dx\to0$.
(a) True (Scheffé's lemma; Riesz.) The functions $h_n=|f_n|+|f|-|f_n-f|$ are non-negative and tend to $2|f|$ a.e. Fatou: $\int2|f|\le\liminf\int h_n=2\int|f|-\limsup\int|f_n-f|$. Cancel the finite number $2\int|f|$.
(b) False Let $f_n=\frac{n}{\log(n+1)}\mathbf 1_{(0,1/n)}$. Then $f_n\to0$ everywhere and $\int f_n=\frac1{\log(n+1)}\to0$. For $x\in[\frac1{n+1},\frac1n)$ we have $x\lt\frac1n$, so $\sup_kf_k(x)\ge f_n(x)=\frac n{\log(n+1)}$. If moreover $x\le\frac12$, then $n\gt\frac1x-1\ge\frac1{2x}\ge1$, and since $t\mapsto\frac t{\log(1+t)}$ increases for $t\ge1$, $\sup_kf_k(x)\ge\frac{1/(2x)}{\log(1+1/(2x))}\ge\frac1{2x\log(2/x)}$. But $\int_0^{1/2}\frac{dx}{x\log(2/x)}=\int_{\log4}^\infty\frac{du}u=\infty$ (with $u=\log\frac2x$). So DCT is sufficient but not necessary for exchanging limit and integral.
(c) False Place a triangular spike of height $1$ and base $\frac2{n^2}$ at each integer $n\ge2$: continuous, integrable (total area $\sum\frac1{n^2}$), with $f(n)=1$. (Compare §4.2, Example 5.)
(d) True $|f|\mathbf 1_{[n,\infty)}\to0$ pointwise and is dominated by $|f|$; DCT.
(e) True $x^nf(x)\to0$ for $0\le x\lt1$, i.e. a.e., and $|x^nf(x)|\le|f(x)|$; DCT.
⚠️ Counterexamples and pitfalls
  1. $\lim\int f_n\ne\int\lim f_n$ in general. Spike $n\mathbf 1_{(0,1/n)}$, sliding bump $\mathbf 1_{[n,n+1]}$, flattening $\frac1n\mathbf 1_{[0,n]}$, concentration $n^2xe^{-nx}$: all tend to $0$ pointwise with integrals tending to $1$.
  2. Uniform convergence is not enough on sets of infinite measure. $\frac1n\mathbf 1_{[0,n]}\to0$ uniformly on $\mathbb{R}$ with $\int=1$. On a set of finite measure, uniform convergence (indeed bounded convergence) suffices.
  3. Fatou is an inequality, in one direction, for non-negative functions. It can be strict; $\int\liminf f_n\ge\liminf\int f_n$ is false; and without $f_n\ge0$ even Fatou fails ($f_n=-\mathbf 1_{[n,n+1]}$).
  4. MCT is for increasing sequences. For decreasing ones it fails: $\mathbf 1_{[n,\infty)}\downarrow0$ with integrals $\infty$. It holds for decreasing sequences when $\int f_1\lt\infty$ (apply DCT, or MCT to $f_1-f_n$).
  5. Improper Riemann integrable $\not\Rightarrow$ Lebesgue integrable. $\frac{\sin x}{x}$ on $(0,\infty)$; $\sum\frac{(-1)^n}n\mathbf 1_{[n,n+1)}$. Only absolutely convergent improper integrals are Lebesgue integrals.
  6. Lebesgue integrable $\not\Rightarrow$ Riemann integrable, even on $[a,b]$ and even for bounded functions: $\mathbf 1_{\mathbb Q}$, $\mathbf 1_{K_\alpha}$; and $\mathbf 1_{K_\alpha}$ is not a.e. equal to any Riemann integrable function.
  7. $L^1$ convergence and a.e. convergence are independent. Typewriter: $L^1$ but nowhere; spike: everywhere but not $L^1$. $L^1$ convergence does give an a.e. convergent subsequence.
  8. $f\in L^1(\mathbb{R})$ does not mean $f\to0$ at $\infty$, nor $f$ bounded — not even for continuous $f$ (spikes of height $n$ and area $n^{-2}$).
  9. $\int f=0$ gives $f=0$ a.e. only for $f\ge0$ (or when $\int_Af=0$ for every measurable $A$, Exercise II.7).
  10. Fubini needs $\iint|f|\lt\infty$. $\frac{x^2-y^2}{(x^2+y^2)^2}$ on $(0,1]^2$ has iterated integrals $\frac\pi4$ and $-\frac\pi4$. Tonelli (no integrability needed) is for $f\ge0$.
  11. The fundamental theorem of calculus can fail for Lebesgue integrals. The Cantor function $c$ has $c'=0$ a.e., so $\int_0^1c'=0\ne1=c(1)-c(0)$; $F(x)-F(a)=\int_a^xF'$ needs $F$ absolutely continuous, a strengthening of bounded variation (§4.3).

Exercises

I
Non-negative functions and monotone convergence.
  • 1 On $[0,1]$ let $f=1$ on the Cantor set $C$, $f=2$ on $(\mathbb Q\cap[0,1])\setminus C$, and $f=3$ elsewhere. Compute $\int_{[0,1]}f$.
  • 2 Show that $\int_{(0,1]}\lfloor1/x\rfloor\,dx=\infty$, although $\lfloor1/x\rfloor$ is finite at every point, and that $x\lfloor 1/x\rfloor$ is integrable on $(0,1]$.
  • 3 Prove $\displaystyle\int_0^1\frac{-\log(1-x)}{x}\,dx=\frac{\pi^2}6$.
  • 4 Prove $\displaystyle\int_0^\infty\frac{x^2}{e^x-1}\,dx=2\zeta(3)$, where $\zeta(3)=\sum_{k\ge1}k^{-3}$.
  • 5 Let $f\ge0$ be measurable on $[0,1]$ with $\int f=2$. Show $m(\{f\ge10\})\le\frac15$, and find an $f$ for which equality holds.
  • 6 Show that MCT fails for $f_n=\mathbf 1_{[n,\infty)}$ (a decreasing sequence), and prove: if $f_1\ge f_2\ge\cdots\ge0$ and $\int f_1\lt\infty$, then $\int f_n\to\int\lim f_n$.
  • 7 Let $(q_n)$ enumerate $\mathbb Q$ and $f(x)=\sum_{n\ge1}2^{-n}|x-q_n|^{-1/2}\mathbf 1_{\{|x-q_n|\lt1\}}$. Show that $\int_{\mathbb{R}}f=4$, hence $f\lt\infty$ a.e., although $f$ is unbounded on every interval.
  • 8 Let $f\ge0$ be integrable on $\mathbb{R}$. Show that $F(x)=\int_{(-\infty,x]}f$ is continuous and increasing, with $\lim_{x\to\infty}F(x)=\int_{\mathbb{R}}f$.
1 $3$: $f$ is simple; its values $1$ and $2$ are taken on null sets ($C$ and a countable set), and $f=3$ on a set of measure $1$.
2 $\lfloor1/x\rfloor=n$ on $(\frac1{n+1},\frac1n]$, a set of measure $\frac1{n(n+1)}$, so $\int\lfloor1/x\rfloor=\sum_n\frac n{n(n+1)}=\sum\frac1{n+1}=\infty$ (MCT). On the other hand $1-x\lt x\lfloor1/x\rfloor\le1$, so $x\lfloor1/x\rfloor$ is bounded and measurable on a set of finite measure: integrable.
3 $\frac{-\log(1-x)}x=\sum_{k\ge1}\frac{x^{k-1}}k$, non-negative terms on $(0,1)$; integrate term by term (Theorem 4.48(2)): $\sum_k\frac1{k^2}=\frac{\pi^2}6$.
4 $\frac{x^2}{e^x-1}=\sum_{k\ge1}x^2e^{-kx}$ and $\int_0^\infty x^2e^{-kx}dx=\frac{2}{k^3}$; sum: $2\zeta(3)\approx2.404114$.
5 Markov: $m(\{f\ge10\})\le\frac{2}{10}$. Equality for $f=10\cdot\mathbf 1_{[0,1/5]}$.
6 $\mathbf 1_{[n,\infty)}\downarrow0$ but $\int=\infty$ for all $n$. If $\int f_1\lt\infty$: $f_1-f_n\uparrow f_1-f$ (where $f=\lim f_n$; all finite a.e.), so by MCT $\int f_1-\int f_n\to\int f_1-\int f$; subtract the finite number $\int f_1$. (Or: DCT with $g=f_1$.)
7 $\int_{|x-q|\lt1}|x-q|^{-1/2}dx=2\int_0^1t^{-1/2}dt=4$. By Theorem 4.48(2), $\int f=\sum_n2^{-n}\cdot4=4$. Hence $f\lt\infty$ a.e. (Theorem 4.46(6)); but near each rational $q_n$, $f\ge2^{-n}|x-q_n|^{-1/2}\to\infty$, and rationals are dense. (Squaring gives a function finite a.e. that is not integrable on any interval.)
8 $F$ increases since $f\ge0$. For $x_k\to x$, $\big|F(x_k)-F(x)\big|=\int_{J_k}f$ with $J_k$ the interval between $x_k$ and $x$; $m(J_k)\to0$, so this tends to $0$ by absolute continuity (Theorem 4.50(4)). $\lim_{x\to\infty}F(x)=\int f$ by MCT along $x=n$ and monotonicity of $F$.
II
Fatou's lemma and integrable functions.
  • 1 For $f_n=\mathbf 1_{[0,1]}$ ($n$ odd) and $f_n=\mathbf 1_{[1,2]}$ ($n$ even), compute $\int\liminf f_n$, $\liminf\int f_n$, $\int\limsup f_n$ and $\limsup\int f_n$.
  • 2 Show that the conclusion of Fatou's lemma fails for $f_n=-\mathbf 1_{[n,n+1]}$ on $\mathbb{R}$. Which hypothesis is violated?
  • 3 Decide: $\frac{\sin x}x\in\mathcal L^1(0,\infty)$? $\ \frac{\sin x}{x^2}\in\mathcal L^1(1,\infty)$? $\ \frac{\sin x}{x^{3/2}}\in\mathcal L^1(0,\infty)$?
  • 4 For which real $a$ is $x^ae^{-x}\in\mathcal L^1(0,\infty)$? For which $a$ is $x^a\in\mathcal L^1(0,1)$, and $x^a\in\mathcal L^1(1,\infty)$?
  • 5 Let $f\in\mathcal L^1(\mathbb{R})$. Prove that $\int_{\{|x|\gt n\}}|f|\to0$ and $n\,m(\{|f|\gt n\})\to0$.
  • 6 Give a continuous $f:\mathbb{R}\to(0,\infty)$ in $\mathcal L^1(\mathbb{R})$ with $\limsup_{x\to\infty}f(x)=\infty$.
  • 7 Let $f\in\mathcal L^1(E)$ with $\int_Af=0$ for every measurable $A\subseteq E$. Prove $f=0$ a.e.
1 $\liminf f_n=\mathbf 1_{\{1\}}$ and $\limsup f_n=\mathbf 1_{[0,2]}$. So $\int\liminf f_n=0\lt\liminf\int f_n=1$ and $\int\limsup f_n=2\gt\limsup\int f_n=1$. (For $f_n\le g\in\mathcal L^1$ the "reverse Fatou" inequality $\limsup\int f_n\le\int\limsup f_n$ holds, and here it is strict.)
2 $\liminf f_n=0$ pointwise, so $\int\liminf f_n=0$, while $\liminf\int f_n=-1$: $0\le-1$ is false. The functions are not non-negative (and not bounded below by an integrable function).
3 No (Example 2(a)); yes ($\le x^{-2}$); yes: near $0$, $\frac{\sin x}{x^{3/2}}\le x^{-1/2}$, and on $[1,\infty)$ it is at most $x^{-3/2}$ in absolute value.
4 $x^ae^{-x}$: near $0$ it is $\sim x^a$, integrable iff $a\gt-1$; at $\infty$ always integrable. So $a\gt-1$ (and then $\int=\Gamma(a+1)$). $x^a\in\mathcal L^1(0,1)$ iff $a\gt-1$; $x^a\in\mathcal L^1(1,\infty)$ iff $a\lt-1$; never both.
5 $|f|\mathbf 1_{\{|x|\gt n\}}\to0$ pointwise with domination by $|f|$: DCT. Next, $n\,m(\{|f|\gt n\})\le\int_{\{|f|\gt n\}}|f|$, and $|f|\mathbf 1_{\{|f|\gt n\}}\to0$ a.e. (as $|f|\lt\infty$ a.e.), dominated by $|f|$: DCT again.
6 $f(x)=e^{-x^2}+\sum_{n\ge2}g_n(x)$, where $g_n$ is a triangular spike of height $n$ and base $[n-n^{-3},n+n^{-3}]$ (area $n^{-2}$). The spikes have disjoint supports, so $f$ is continuous and positive, $\int f=\sqrt\pi+\sum_{n\ge2}n^{-2}\lt\infty$, and $f(n)\ge n$.
7 Take $A=\{f\gt0\}$: $\int_Af^+=\int_Af=0$, so $f^+=0$ a.e. (Theorem 4.46(5)); similarly with $A=\{f\lt0\}$ for $f^-$.
III
Dominated convergence: evaluate and justify.
  • 1 $\displaystyle\lim_{n\to\infty}\int_0^1\frac{1+nx^2}{(1+x^2)^n}\,dx$
  • 2 $\displaystyle\lim_{n\to\infty}\int_0^\infty\frac{dx}{(1+x/n)^n\,x^{1/n}}$
  • 3 $\displaystyle\lim_{n\to\infty}\int_0^n\Big(1-\frac xn\Big)^ne^{x/2}\,dx$
  • 4 $\displaystyle\lim_{n\to\infty}\int_0^1\frac{n^{3/2}x}{1+n^2x^2}\,dx$
  • 5 $\displaystyle\lim_{n\to\infty}\int_0^\infty ne^{-nx}\cos x\,dx$ — by DCT after substituting $u=nx$, and directly.
  • 6 $\displaystyle\lim_{n\to\infty}\int_0^1g(x^n)\,dx$ for continuous $g:[0,1]\to\mathbb{R}$.
  • 7 Prove $\displaystyle\int_0^1\frac{\log(1/x)}{1+x}\,dx=\frac{\pi^2}{12}$ (justify the term-by-term integration).
  • 8 For $F(t)=\displaystyle\int_0^\infty e^{-x}\frac{\sin tx}{x}\,dx$, show $F'(t)=\frac1{1+t^2}$ and $F(t)=\tan^{-1}t$.
  • 9 Give $f_n\ge0$ continuous on $[0,\infty)$ with $f_n\to0$ uniformly and $\int f_n=1$ for all $n$. Which hypothesis of the dominated convergence theorem fails?
Check: the integrals of III.1–5 for growing $n$ against the claimed limits
n (last point)—
∫ fₙ—
claimed limit—
1 $0$. Bernoulli: $(1+x^2)^n\ge1+nx^2$, so $0\le f_n\le1$; for $x\gt0$, $f_n(x)\le\frac{1+nx^2}{1+nx^2+\binom n2x^4}\to0$. Bounded convergence on $[0,1]$. (Slow: about $0.0596$ at $n=500$.)
2 $1$. The integrand $\to e^{-x}$. For $n\ge2$: on $(0,1)$, $x^{-1/n}\le x^{-1/2}$ and $(1+x/n)^{-n}\le1$; on $[1,\infty)$, $x^{-1/n}\le1$ and $(1+\frac xn)^{-n}\le(1+\frac x2)^{-2}$ (since $(1+\frac xn)^n$ increases with $n$). The function $g=x^{-1/2}\mathbf 1_{(0,1)}+(1+\frac x2)^{-2}\mathbf 1_{[1,\infty)}$ is integrable. Limit $\int_0^\infty e^{-x}=1$.
3 $2$. Write the integrand as $\mathbf 1_{[0,n]}(1-\frac xn)^ne^{x/2}\to e^{-x/2}$. Since $\log(1-t)\le-t$, $(1-\frac xn)^n\le e^{-x}$ on $[0,n]$, so the integrand is at most $e^{-x/2}$. DCT: $\int_0^\infty e^{-x/2}dx=2$.
4 $0$. With $u=nx$ the integral is $n^{-1/2}\int_0^n\frac{u\,du}{1+u^2}=\frac{\log(1+n^2)}{2\sqrt n}\to0$. (Also by DCT: with $u=nx$, $\frac{n^{3/2}x}{1+n^2x^2}=\frac1{\sqrt x}\cdot\frac{u^{3/2}}{1+u^2}\le\frac C{\sqrt x}$, where $C=\max_{u\ge0}\frac{u^{3/2}}{1+u^2}\lt\infty$; this bound is integrable on $(0,1)$, and the pointwise limit is $0$.)
5 $1$. With $u=nx$: $\int_0^\infty e^{-u}\cos\frac un\,du\to\int_0^\infty e^{-u}du=1$ (dominated by $e^{-u}$). Directly, $\int_0^\infty ne^{-nx}\cos x\,dx=\frac{n^2}{n^2+1}$.
6 $g(0)$. $g(x^n)\to g(0)$ for $0\le x\lt1$, and $|g(x^n)|\le\max|g|$: bounded convergence.
7 On $(0,1)$, $\frac1{1+x}=\sum_{k\ge0}(-x)^k$ with partial sums $s_N=\frac{1-(-x)^N}{1+x}$, $|s_N|\le\frac{2}{1+x}\le2$. So $|s_N(x)\log\frac1x|\le2\log\frac1x\in\mathcal L^1(0,1)$, and DCT allows term-by-term integration: $\sum_k(-1)^k\int_0^1x^k\log\frac1x\,dx=\sum_{k\ge0}\frac{(-1)^k}{(k+1)^2}=\frac{\pi^2}{12}\approx0.822467$. (Alternatively, Theorem 4.52(2) applies directly, since $\sum_k\int_0^1x^k\log\frac1x\,dx=\sum_k\frac1{(k+1)^2}\lt\infty$.)
8 $\big|\frac{\partial}{\partial t}e^{-x}\frac{\sin tx}x\big|=e^{-x}|\cos tx|\le e^{-x}$, and $|e^{-x}\frac{\sin tx}{x}|\le|t|e^{-x}$; Theorem 4.52(4) gives $F'(t)=\int_0^\infty e^{-x}\cos tx\,dx=\frac1{1+t^2}$. With $F(0)=0$, $F(t)=\tan^{-1}t$. (At $t=1.7$: $1.0390723$ both ways.)
9 $f_n(x)=\frac1ne^{-x/n}$. Then $\sup f_n=\frac1n\to0$ and $\int_0^\infty f_n=1$. No integrable $g$ dominates all of them: for $x\ge1$ take $n=\lceil x\rceil\le2x$, so $\sup_nf_n(x)\ge\frac1{2x}e^{-1}$, which is not integrable on $[1,\infty)$.
IV
Riemann versus Lebesgue; Fubini; harder problems.
  • 1 Let $f(x)=x^2$ for rational $x$ and $f(x)=x^3$ for irrational $x$ in $[0,1]$. Compute $\int_{[0,1]}f$ and decide Riemann integrability.
  • 2 Let $q_1,q_2,\dots$ enumerate $\mathbb{Q}\cap[0,1]$ and $f_n=\mathbf 1_{\{q_1,\dots,q_n\}}$. Show each $f_n$ is Riemann integrable with integral $0$, $f_n\uparrow\mathbf 1_{\mathbb Q\cap[0,1]}$, which is not Riemann integrable, and find its Lebesgue integral.
  • 3 Compute $\displaystyle\int_{(0,1]}\frac{dx}{\lfloor1/x\rfloor^2}$ in closed form.
  • 4 For $f(x,y)=\frac{x^2-y^2}{(x^2+y^2)^2}$ on $(0,1]^2$, compute both iterated integrals, and show directly that $\iint|f|=\infty$.
  • 5 Let $f\in\mathcal L^1[0,1]$ with $\int_0^xf=0$ for every $x\in[0,1]$. Prove $f=0$ a.e.
  • 6 (Riemann–Lebesgue lemma.) Prove that $\int_{\mathbb{R}}f(x)\sin(nx)\,dx\to0$ for every $f\in\mathcal L^1(\mathbb{R})$. (First take $f=\mathbf 1_{[a,b]}$, then use Theorem 4.53(2).)
  • 7 Using Tonelli's theorem, prove the layer-cake formula $\int_Ef=\int_0^\infty m(\{f\gt t\})\,dt$ for measurable $f\ge0$, and use it to compute $\int_{(0,1]}x^{-1/2}dx$ by "slicing the range".
1 $f=x^3$ a.e., so $\int f=\frac14$. $f$ is continuous only where $x^2=x^3$, i.e. at $0$ and $1$; discontinuous on $(0,1)$, which has measure $1$: not Riemann integrable.
2 Each $f_n$ is $0$ except at finitely many points: Riemann integrable with integral $0$ (§4.1). The $f_n$ increase pointwise to $\mathbf 1_{\mathbb Q\cap[0,1]}$, the Dirichlet function, which is not Riemann integrable (§4.1). Lebesgue: MCT gives $\lim\int f_n=0=\int\mathbf 1_{\mathbb Q\cap[0,1]}$. The Lebesgue integral is closed under monotone limits; the Riemann integral is not.
3 $\sum_n\frac1{n^2}\cdot\frac1{n(n+1)}$, and $\frac1{n^3(n+1)}=\frac1{n^3}-\frac1{n^2}+\frac1n-\frac1{n+1}$. So the integral is $\zeta(3)-\zeta(2)+1\approx1.2020569-1.6449341+1=0.5571228$.
4 $\int_0^1f\,dy=\big[\frac y{x^2+y^2}\big]_0^1=\frac1{1+x^2}$, so $\int_0^1\!\!\int_0^1f\,dy\,dx=\frac\pi4$; by antisymmetry the other order gives $-\frac\pi4$. Directly: in polar coordinates $|f|=\frac{|\cos2\theta|}{r^2}$, and over the quarter-disc $r\le1$, $\iint|f|=\int_0^{\pi/2}|\cos2\theta|\,d\theta\int_0^1\frac{r\,dr}{r^2}=1\cdot\infty$.
5 $\int_If=0$ for every interval $I\subseteq[0,1]$ (differences), hence for every open $U$ (a countable disjoint union of intervals; DCT with $|f|$ to pass to the union). For measurable $A$, take open $U_k\supseteq A$ with $m(U_k\setminus A)\to0$ (Theorem 4.37); absolute continuity gives $\int_Af=\lim\int_{U_k}f=0$. Exercise II.7 finishes.
6 For $f=\mathbf 1_{[a,b]}$, $\int_a^b\sin nx\,dx=\frac{\cos na-\cos nb}n\to0$; by linearity this holds for step functions. Given $f\in\mathcal L^1$ and $\varepsilon\gt0$, choose a step function $s$ with $\|f-s\|_1\lt\varepsilon$; then $\big|\int f\sin nx\big|\le\|f-s\|_1+\big|\int s\sin nx\big|\lt2\varepsilon$ for large $n$.
7 $f(x)=\int_0^\infty\mathbf 1_{\{t\lt f(x)\}}\,dt$; the function $(x,t)\mapsto\mathbf 1_{\{t\lt f(x)\}}$ is non-negative and measurable, so Tonelli lets us swap: $\int_Ef=\int_0^\infty m(\{x:f(x)\gt t\})\,dt$. For $x^{-1/2}$ on $(0,1]$: $m(\{x^{-1/2}\gt t\})=1$ for $t\lt1$ and $t^{-2}$ for $t\ge1$, so $\int=1+\int_1^\infty t^{-2}dt=2$.
🎯 Exam corner CSIR Part BCSIR Part CGATE MA

E1. CSIR Part B GATE MA The value of $\displaystyle\lim_{n\to\infty}\int_0^1\frac{n\,x^{n-1}}{1+x}\,dx$ is (A) $0$; (B) $\frac12$; (C) $\log2$; (D) $1$.

Trap $nx^{n-1}\to0$ for $0\le x\lt1$, so the integrand tends to $0$ a.e. — but there is no integrable domination ($\int_0^1nx^{n-1}=1$), and the answer is not $0$.
Substitute $u=x^n$, $du=nx^{n-1}dx$: the integral is $\int_0^1\frac{du}{1+u^{1/n}}$. Now $u^{1/n}\to1$ for $0\lt u\le1$ and the integrand lies in $[\frac12,1]$: by bounded convergence the limit is $\int_0^1\frac12\,du=\frac12$. (Numerically $0.5025$ at $n=100$.)
Answer (B).

E2. CSIR Part B Let $f\ge0$ be Lebesgue measurable on $[0,1]$ with $\int_{[0,1]}f=\frac14$. The largest possible value of $m(\{x:f(x)\ge1\})$ is (A) $\frac1{16}$; (B) $\frac12$; (C) $\frac14$; (D) $1$.

Bound Markov: $m(\{f\ge1\})\le\frac11\int f=\frac14$.
Attained $f=\mathbf 1_{[0,1/4]}$ has integral $\frac14$ and $m(\{f\ge1\})=\frac14$.
Answer (C).

E3. CSIR Part B $\displaystyle\lim_{n\to\infty}\int_0^n\Big(1+\frac xn\Big)^ne^{-2x}\,dx$ equals (A) $1$; (B) $\frac12$; (C) $2$; (D) $\infty$.

Limit $\mathbf 1_{[0,n]}(1+\frac xn)^ne^{-2x}\to e^xe^{-2x}=e^{-x}$.
Domination $\log(1+t)\le t$ gives $(1+\frac xn)^n\le e^x$, so the integrand is at most $e^{-x}\in\mathcal L^1(0,\infty)$. DCT: the limit is $\int_0^\infty e^{-x}dx=1$ (numerically $0.9905$ at $n=100$).
Answer (A). (B) comes from forgetting the factor $(1+\frac xn)^n$; (D) from bounding it by $e^{2x}$ carelessly.

E4. CSIR Part C For which of the following sequences on $[0,1]$ is $\displaystyle\lim_{n\to\infty}\int_0^1f_n=\int_0^1\lim_{n\to\infty}f_n$? (One or more options may be correct.) (A) $f_n=n\mathbf 1_{(0,1/n)}$; (B) $f_n(x)=x^n$; (C) $f_n(x)=nx^n(1-x)$; (D) $f_n(x)=n^2xe^{-nx}$.

(A) No $\int f_n=1$ for all $n$, while $f_n\to0$ everywhere.
(B) Yes $x^n\to0$ a.e., $0\le x^n\le1$: bounded convergence; indeed $\int x^n=\frac1{n+1}\to0$.
(C) Yes $nx^n(1-x)\to0$ for $0\le x\lt1$, and $\int_0^1nx^n(1-x)\,dx=\frac n{n+1}-\frac n{n+2}=\frac n{(n+1)(n+2)}\to0$. (Here $\sup_{[0,1]}f_n=\big(\frac{n}{n+1}\big)^{n+1}\to\frac1e$: bounded, so bounded convergence applies as well.)
(D) No $f_n\to0$ pointwise but $\int_0^1f_n=1-(n+1)e^{-n}\to1$ (Example 3(d)).
Answer (B) and (C).

E5. CSIR Part C Let $f\in L^1(\mathbb{R})$. Which of the following must be true? (A) $f$ is bounded. (B) $\lim_{x\to\infty}f(x)=0$. (C) $\lim_{n\to\infty}\int_n^{n+1}|f(x)|\,dx=0$. (D) $m(\{x:|f(x)|\gt t\})\le\frac1t\int_{\mathbb{R}}|f|$ for every $t\gt0$.

(A) False $|x|^{-1/2}\mathbf 1_{(-1,1)}$; or continuous spikes of height $n$ and area $n^{-2}$.
(B) False Spikes of height $1$ and area $n^{-2}$ at the integers (Example 7(c)).
(C) True $\int_n^{n+1}|f|\le\int_{[n,\infty)}|f|\to0$ by DCT (Example 7(d)).
(D) True Markov's inequality for $|f|$ (with $\{|f|\gt t\}\subseteq\{|f|\ge t\}$).
Answer (C) and (D).

E6. CSIR Part C Which of the following are true? (A) Every Riemann integrable function on $[a,b]$ is Lebesgue integrable, with the same integral. (B) If the improper Riemann integral $\int_0^\infty f(x)\,dx$ converges, then $f\in L^1(0,\infty)$. (C) The indicator function of a closed nowhere dense subset of $[0,1]$ of positive measure is Lebesgue integrable but not Riemann integrable. (D) If $f_n\to f$ in $L^1[0,1]$, then $f_n(x)\to f(x)$ for almost every $x$.

(A) True Theorem 4.55.
(B) False $\frac{\sin x}x$: the improper integral is $\frac\pi2$, but $\int_0^\infty\frac{|\sin x|}x=\infty$ (Theorem 4.56).
(C) True Such a set (e.g. a fat Cantor set) is closed, hence measurable, so its indicator is integrable with integral equal to its measure; it is discontinuous at every point of the set (empty interior), a set of positive measure, so Lebesgue's criterion rules out Riemann integrability.
(D) False The typewriter sequence (Example 4(d)): $\|f_n\|_1\to0$ but $f_n(x)$ converges for no $x$. Only a subsequence converges a.e. (Theorem 4.54).
Answer (A) and (C).
🧑‍🏫 For the teacher

Suggested plan — 3 lectures × 60 min.

  1. Building the integral; MCT. Definitions 4.23–4.24 with the picture "simple functions are constant on measurable sets, not on intervals". Theorem 4.46 (do Markov carefully — it is examined), the MCT with its proof (spend time on why $c\lt1$ is needed), Theorem 4.48, Example 1. Project Interactive 1 and compare $x^{-1/2}$ with $\frac1x$.
  2. Fatou, integrable functions, DCT. Fatou with the three counterexamples in the text, Definition 4.25, Theorem 4.50 (prove absolute continuity), Example 2, then the DCT with its two-line proof via Fatou. The strategy box and Example 3 on the board; let students find the dominating function in (a)–(c) before you show it, and ask why (d) has none.
  3. Escaping mass, $L^1$, Riemann vs Lebesgue. Example 4 with Interactive 2 (all four modes), Theorems 4.52–4.54, Example 5. Theorem 4.55 with its proof, Theorem 4.56, Tonelli/Fubini with the counterexample (let a student compute both orders). Finish with the Exam corner E4 and E6 as a class vote.

Discussion questions. (1) MCT needs no integrability hypothesis and DCT needs a dominating function. Why is there no "DCT without domination", and what replaces it in probability (uniform integrability)? (2) In which sense is the Lebesgue integral "absolute", and what is lost compared with improper Riemann integrals? (3) Each of the four escaping-mass examples has $\sup_nf_n\notin L^1$. Is the converse true — does $\lim\int f_n\ne\int\lim f_n$ whenever $\sup_n f_n\notin L^1$? (Example 7(b) says no.)

Misconceptions to watch for. "Pointwise convergence lets me pass to the limit"; "uniform convergence is always enough"; using Fatou backwards or for sign-changing functions; applying MCT to decreasing sequences; believing $\frac{\sin x}x\in L^1(0,\infty)$ because $\int_0^\infty\frac{\sin x}x=\frac\pi2$; "$L^1$ functions tend to $0$ at infinity"; swapping iterated integrals without checking $\iint|f|\lt\infty$.

Suggested homework. I(2, 3, 5, 6, 7), II(1, 3, 4, 5), III(1, 2, 3, 6, 7, 9), IV(1, 2, 4, 5); Exam corner E1, E3, E4, E6.

🔬 Research–Teaching NexusResearch-tutored · optional, about 60 minutes

Research question. A gambler plays "double or nothing" with a fair coin, starting with one unit and staking everything each round. Her expected fortune is $1$ after every round, yet she is ruined with probability $1$. How can $\mathbb E[X_n]=1$ for all $n$ while $X_n\to0$ almost surely — and what does this have to do with the dominated convergence theorem?

Why it matters. Expectations are Lebesgue integrals, and "$\lim\mathbb E[X_n]=\mathbb E[\lim X_n]$" is exactly the exchange of limit and integral. Its failure underlies the danger of doubling ("martingale") betting systems, the need for credit limits and margin requirements in finance, and the stopping-time conditions in the optional stopping theorem used to price American options and to analyse clinical trials that stop early.

What to do.

  1. Model the coin tosses on $([0,1],m)$: the $k$-th toss is the $k$-th binary digit of $\omega$. Show that the fortune after $n$ rounds is $X_n(\omega)=2^n\mathbf 1_{[0,2^{-n})}(\omega)$ — a dyadic version of the spike of Example 4(a) — so $\int X_n=1$ and $X_n\to0$ a.e.
  2. Compute $\sup_nX_n$ and show that $\int\sup_nX_n=\infty$, so no integrable function dominates the fortunes.
  3. Simulate (seeded generator) $N=10^5$ gamblers for $n=1,\dots,30$ rounds and plot the sample mean of $X_n$ against $n$. Explain why it collapses to $0$ for $n$ beyond about $\log_2N$, even though every $\mathbb E[X_n]=1$.
  4. Now give the gambler a credit limit: she stops when her fortune reaches $2^K$. Show the new fortunes are dominated by $2^K$, and use the bounded convergence theorem to compute $\lim_n\mathbb E[X_n]$.

Tools: Python or a spreadsheet; Interactive 2 (spike mode) for the picture.

Hand in: The computations of steps 1, 2 and 4, the plot of step 3, and a paragraph explaining which hypothesis of the dominated convergence theorem the unlimited game violates.

Going further. Read about uniform integrability and Vitali's convergence theorem: on a probability space, $X_n\to X$ a.s. and $(X_n)$ uniformly integrable imply $\mathbb E[X_n]\to\mathbb E[X]$, and uniform integrability is also necessary for $L^1$ convergence. Check that the doubling fortunes are not uniformly integrable.

Instructor note: $\sup_nX_n(\omega)=2^k$ for $\omega\in[2^{-k-1},2^{-k})$, so $\int\sup_nX_n=\sum_{k\ge0}2^k\cdot2^{-k-1}=\infty$. In the simulation, the chance that at least one of $N$ gamblers survives $n$ rounds is about $1-e^{-N2^{-n}}$, about $0.09$ for $n=20$ and $N=10^5$, so sample means are usually $0$ there (and occasionally about $10.5$). With the cap $2^K$ the fortunes form a bounded sequence converging a.e. to $0$ or $2^K$, and $\lim\mathbb E[X_n]=2^K\cdot2^{-K}=1$ — the cap restores the exchange of limit and expectation.

🧪 Self-check quiz

0/5 correct

Q1. The Lebesgue integral $\int_{[0,1]}\mathbf 1_{\mathbb Q}\,dm$ is

Q2. Fatou's lemma states that for measurable $f_n\ge0$,

Q3. For $f_n=n\mathbf 1_{(0,1/n)}$ on $[0,1]$, $\int f_n=1$ but $\int\lim f_n=0$. Which hypothesis of the dominated convergence theorem fails?

Q4. The function $\frac{\sin x}{x}$ on $(0,\infty)$

Q5. $\displaystyle\lim_{n\to\infty}\int_0^\infty\Big(1+\frac xn\Big)^{-n}dx$ equals