From Darboux Sums to Lebesgue Integrability
The previous tutorial showed that Darboux sums bound the Lebesgue integral of a bounded measurable function. For a continuous function, the bounds become arbitrarily close, giving agreement of the two integrals. We now remove the continuity assumption: every bounded Riemann integrable function on a closed bounded interval is Lebesgue integrable, and the two integrals agree.
There is a point to settle before applying the Darboux Bounds Theorem: that theorem assumes Lebesgue measurability, while a Riemann integrable function is initially described using partitions and sums. We will use partitions with small upper-minus-lower sums to construct measurable step functions that approach the function outside a null set. Completeness of Lebesgue measure then gives measurability everywhere.
Throughout, let \(a<b\), and let \(f:[a,b]\to\mathbb{R}\) be bounded and Riemann integrable. For a partition \(P=\{a=x_0<x_1<\cdots<x_n=b\}\), write \(m_i\) and \(M_i\) for the infimum and supremum of \(f\) on \([x_{i-1},x_i]\). Define step functions \(l_P\) and \(u_P\) to take the values \(m_i\) and \(M_i\), respectively, on \([x_{i-1},x_i)\), and to take \(m_n\) and \(M_n\) at \(b\).
The functions \(l_P\) and \(u_P\) are measurable step functions. Their integrals are the corresponding Darboux sums, by the simple-function integral formula and the fact that the partition endpoints have measure zero. We will use partitions for which the difference on the right tends to zero.
Small Darboux Gaps Give Measurability
Proof. Since \(f\) is Riemann integrable, for every positive integer \(n\) there is a partition \(P_n\) such that \(U(f,P_n)-L(f,P_n)<2^{-2n}\). Let \(l_n=l_{P_n}\), \(u_n=u_{P_n}\), and \(h_n=u_n-l_n\). Then \(h_n\) is measurable and nonnegative, and \(\int_{[a,b]}h_n\,d\lambda<2^{-2n}\).
Consider the measurable set \(E_n=\{x\in[a,b]:h_n(x)\geq 2^{-n}\}\). On \(E_n\), the function \(h_n\) is at least \(2^{-n}\), so monotonicity of the nonnegative integral gives \(2^{-n}\lambda(E_n)\leq\int_{[a,b]}h_n\,d\lambda<2^{-2n}\). Therefore \(\lambda(E_n)<2^{-n}\), and hence \(\sum_{n=1}^{\infty}\lambda(E_n)<\infty\). By the First Borel–Cantelli Lemma, the set \(N=\limsup_{n\to\infty}E_n\) has measure zero.
If \(x\notin N\), then \(x\) belongs to only finitely many \(E_n\). Thus, for all sufficiently large \(n\), \(h_n(x)<2^{-n}\). Since \(l_n(x)\leq f(x)\leq u_n(x)\), it follows that \(0\leq f(x)-l_n(x)\leq h_n(x)<2^{-n}\) for all such \(n\). Consequently, \(l_n(x)\to f(x)\) for every \(x\notin N\).
The function \(g=\limsup_{n\to\infty}l_n\) is measurable by the measurability theorem for limsup, and it is finite because \(f\) is bounded and each \(l_n\) takes values between a bound for \(f\) and its negative. Outside \(N\), the sequence \(l_n\) converges to \(f\), so \(g=f\) there. For any open set \(O\subseteq\mathbb{R}\), the sets \(f^{-1}(O)\) and \(g^{-1}(O)\) can differ only at points of \(N\). Since \(g^{-1}(O)\) is measurable, completeness of Lebesgue measure implies that every subset of \(N\) is measurable. It follows that \(f^{-1}(O)\) is measurable. The preimage characterization of measurability proves that \(f\) is Lebesgue measurable.
The Integrals Agree
Proof. By the measurability lemma, \(f\) is Lebesgue measurable. Because \(f\) is bounded, there is a finite constant \(C\geq0\) such that \(|f(x)|\leq C\) for every \(x\in[a,b]\). The interval has finite measure \(\lambda([a,b])=b-a\), so monotonicity of the integral gives \(\int_{[a,b]}|f|\,d\lambda\leq C(b-a)<\infty\). Thus \(f\) is Lebesgue integrable.
Let \(R\) denote the Riemann integral of \(f\), and let \(I=\int_{[a,b]}f\,d\lambda\). For each positive integer \(n\), choose a partition \(P_n\) with \(U(f,P_n)-L(f,P_n)<2^{-2n}\). The Darboux Bounds Theorem applies now that \(f\) is measurable, giving \(L(f,P_n)\leq I\leq U(f,P_n)\). By the definition of the Riemann integral through lower and upper Darboux sums, \(L(f,P_n)\leq R\leq U(f,P_n)\) as well. Both \(I\) and \(R\) therefore lie in the same interval, so \(|I-R|\leq U(f,P_n)-L(f,P_n)<2^{-2n}\). This holds for every \(n\), and the bound tends to zero. Hence \(I=R\), as claimed.
Worked Examples
Worked Example: A Bounded Step Function
On \([0,1]\), define \(f\) by \(f(x)=0\) for \(0\leq x<1/3\), \(f(x)=2\) for \(1/3\leq x<2/3\), and \(f(x)=-1\) for \(2/3\leq x\leq1\). This is a bounded step function, and it is Riemann integrable: partitions can include the two breakpoints, with the intervals touching them made arbitrarily short. Away from those intervals \(f\) is constant, so only the short intervals contribute to the difference between upper and lower sums.
The function is measurable, and its values on the three intervals give $$ \int_{[0,1]} f\,d\lambda =0\cdot\frac13+2\cdot\frac13-1\cdot\frac13 =\frac13. $$ The theorem shows that its Riemann integral has the same value. The choices of \(f\) at the breakpoints do not change this calculation: a finite set has measure zero, and its contribution to upper and lower sums can be confined to intervals of arbitrarily small total length.
Worked Example: Changing a Function at One Point
Define \(f:[0,1]\to\mathbb{R}\) by \(f(x)=x\) when \(x\neq1/2\), and \(f(1/2)=4\). To check Riemann integrability directly, take a partition with a small interval \([1/2-\delta,1/2+\delta]\) around the exceptional point. On this interval the oscillation of \(f\) is at most \(4\), so its contribution to the upper-minus-lower sum is at most \(8\delta\). On the remaining intervals, \(f(x)=x\), whose oscillation on each interval is its length. If their maximum length is \(\eta\), their total contribution is at most \(\eta\sum_i(x_i-x_{i-1})\leq\eta\). Taking \(\delta\) and \(\eta\) arbitrarily small makes the Darboux gap arbitrarily small.
The function is therefore Riemann integrable and, by the theorem, Lebesgue integrable with the same value as its Riemann integral. Since it differs from \(x\) only at the singleton \(\{1/2\}\), which is null, its Lebesgue integral is $$ \int_{[0,1]} f\,d\lambda =\int_{[0,1]}x\,d\lambda =\left[\frac{x^2}{2}\right]_0^1 =\frac12-0 =\frac12. $$ Thus the Riemann integral is also \(1/2\), despite the function's value \(4\) at \(x=1/2\).
Worked Example: A Function with a Corner
Let \(f(x)=|x-1/4|\) on \([0,1]\). For any two points \(x,y\), the reverse triangle inequality gives \(\bigl||x-1/4|-|y-1/4|\bigr|\leq|x-y|\). Therefore the oscillation of \(f\) on each partition interval is at most that interval's length. If \(P\) has maximum interval length \(\eta\), then \(U(f,P)-L(f,P)\leq\eta\sum_i(x_i-x_{i-1})=\eta\). Partitions with arbitrarily small mesh show that \(f\) is Riemann integrable.
The function is nonnegative. Splitting the integral at \(1/4\) gives $$ \int_0^1 |x-1/4|\,dx =\int_0^{1/4}(1/4-x)\,dx+\int_{1/4}^1(x-1/4)\,dx =\frac{1}{32}+\frac{9}{32} =\frac{5}{16}. $$ By the theorem, its Lebesgue integral is finite and equals this Riemann integral. The corner does not obstruct either integrability or agreement.
Why the Hypotheses Matter
The proof uses two distinct features of the setting. First, Riemann integrability supplies partitions whose Darboux gaps tend to zero. That controls the measurable step-function bounds and leads to measurability outside a null set. Second, boundedness on a finite interval ensures that \(\int|f|\,d\lambda\) is finite. Measurability alone would not provide that finiteness.
There is also a useful distinction between measurability and pointwise convergence in the proof. The lower step functions need not converge to \(f\) at every point. The small integral gaps instead show that they converge outside a null set; completeness then handles any remaining points. This is why the conclusion is Lebesgue measurability, even though the approximation initially controls the function only almost everywhere.
The theorem completes the comparison begun in the previous tutorial. For a bounded Riemann integrable function on a closed bounded interval, the Lebesgue integral is not merely available: it equals the Riemann integral. The result does not assert that every Lebesgue integrable function is Riemann integrable; the indicator of the rationals from the previous tutorial shows that the reverse implication can fail.
Check Your Understanding
Use the approximation argument and the hypotheses of the theorem to answer the following questions.
- How do the step functions \(l_P\) and \(u_P\) relate pointwise to \(f\), and what is the integral of their difference?
- Why does the estimate on \(\int h_n\,d\lambda\) imply that the set where \(h_n\geq2^{-n}\) has small measure?
- What does the First Borel–Cantelli Lemma tell us about points that belong to infinitely many of the exceptional sets \(E_n\)?
- Where does completeness of Lebesgue measure enter the proof of measurability?
- Which hypotheses ensure that the Lebesgue integral of \(f\) is finite?