Riemann vs Lebesgue integration
The question
How close can you get to the area under one graph by slicing across its width or up its height?
- 1 SeeFill the area with columns or bands.
- 2 TryPredict what happens when the partition gets finer.
- 3 ProveBuild the argument using length and bounds.
- 4 ApplyCompute areas, volumes, and a sum gap.
Before you start · 3 quick checks on rectangles, bounds, and sequences
Two ideas before you start
2 ideasPick an interval of inputs
A rising line over a lower rectangle on the chosen input interval.
Rectangle height smallest height on the interval
A rectangle of that height stays under the graph across its whole base.
Exact definition
A partition \(P\) divides a closed interval \([a,b]\) into finitely many adjacent closed subintervals \(I_j=[x_{j-1},x_j]\) with positive width \(\Delta x_j=x_j-x_{j-1}\). Their interiors are disjoint. Let \(f\) be bounded on \([a,b]\).
The lower and upper Darboux sums are \(L(f,P)=\sum_j(\inf_{I_j}f)\Delta x_j\) and \(U(f,P)=\sum_j(\sup_{I_j}f)\Delta x_j\). An infimum is the greatest lower bound. A supremum is the least upper bound. On this card the infimum is attained at the left edge of the rectangle.
The Darboux criterion says \(f\) is Riemann integrable if and only if for each \(\varepsilon\gt 0\) some partition \(P\) has \(U(f,P)-L(f,P)\lt\varepsilon\). When the integral exists, it lies between the two sums for every partition.
Pick a level of the output
A V-shaped graph. The thick stretches on the input axis lie at or above the chosen height on the graph.
Width at that height length of the qualifying inputs
A single height can pick out several separated stretches of inputs. Add their lengths to get the width.
Exact definition
For a nonnegative measurable function \(f\) on \([a,b]\), write \(E_t=\{x\in[a,b]:f(x)\ge t\}\) for the inputs at or above height \(t\). Write \(\lambda(E_t)\) for the Lebesgue measure, or length, of that set. For disjoint intervals their lengths add, and including or excluding their endpoints leaves that total unchanged.
For a band from \(s\) to \(t\) with \(s\lt t\), take thickness \(t-s\) times \(\lambda(E_t)\) for a lower area estimate. Every input counted at the top is present throughout the band. A lower estimate built this way groups inputs by height. The formal Lebesgue definition uses functions with finitely many heights.
How a finite set of heights gives an integral
A nonnegative simple function takes finitely many values \(c_k\) on measurable sets \(A_k\). Take the \(A_k\) to be disjoint and to cover the domain. Its Lebesgue integral is \(\sum_k c_k\lambda(A_k)\). For a bounded nonnegative measurable \(f\), the Lebesgue integral is the supremum of these integrals over all such simple functions lying below \(f\).
Measurability here means the sets of inputs at or above each height are Lebesgue measurable. This condition lets us talk about their lengths. The length facts used here are that intervals have their ordinary lengths, measure adds over disjoint measurable sets, subsets of a null set have measure zero, and countable unions of null sets have measure zero. Stage 3 gives a covering argument for the null set it uses.
Fill the same area two ways
- Pick vertical columns or horizontal bands to start filling the graph.
- Change the resolution, then check your fill against the target error.
| Method | Pieces | Fill | Error |
|---|
Where the missing area goes
The graph is a trapezoid. On the flat top one column spans the full plateau. On each ramp the columns have equal widths, and each uses the smaller endpoint height. The uncovered region on each ramp is a row of triangles.
For bands, the thickness is constant. The top of each band meets the two ramps, giving the left and right edges of its rectangle. Its two uncovered triangles are on the ends. The plateau gives even the highest band a positive width.
Here the horizontal estimate equals the integral of the simple function that rounds each height down to the nearest band level. Each point of height \(f(x)\) contributes one thickness for every band top that it reaches. Adding by height and then by input gives the same finite sum. This is why the horizontal calculation illustrates the Lebesgue construction.
Try a graph defined by its inputs
Make a prediction to open the partition explorer.
Switch the tags on a partition
- Change the number of equal subintervals.
- Choose the same type of sample point, called a tag, inside each piece.
Why a stable sample sum can mislead
A tagged sum uses the function value at a single tag in each subinterval, times that subinterval's width. For a Riemann integral the sums have to approach the same value as the largest width goes to zero, for arbitrary choices of tags. Choosing only rational tags or only irrational tags gives two different sequences of sums here. A numerical routine that represents all tags as rational numbers would miss the second sequence.
Horizontal grouping asks for the lengths of the two sets of inputs. In this example the set at the positive height is countable. Its Lebesgue measure is zero even though it meets every subinterval. The proof gives the details.
The Dirichlet function
Use the Darboux criterion and the formula for the Lebesgue integral of a simple function. Write \(Q\) for the rational inputs in the domain and \(Q^c\) for all other inputs in the domain. An arbitrary partition \(P\) has strictly increasing endpoints, so each subinterval has positive length.
Choose the true statement for the next line. The partition is arbitrary throughout.
To find a rational in an open interval \((u,v)\), choose a positive integer \(m\) so large that \(m(v-u)\gt 1\). An integer \(k\) lies strictly between \(mu\) and \(mv\), giving \(k/m\in(u,v)\). To find an irrational there, first use the same rational argument in the translated interval \((u-\sqrt{2},v-\sqrt{2})\), then add \(\sqrt{2}\).
To list the rationals in the unit interval, list fractions with positive denominator in increasing denominator order. Each denominator contributes a finite list. Repeated fractions may be discarded.
Choose what to measure
Each problem has hints and a worked solution. Give an exact fraction or decimal unless the problem asks for rounding.
Further reading
- H. L. Royden and P. M. Fitzpatrick, Real Analysis.
- G. B. Folland, Real Analysis: Modern Techniques and Their Applications.