An iterated integral is a sequence of one-variable integrals. A multiple integral is a limit of sums over small cells. Their equality requires a theorem. We establish it first for continuous functions on rectangles, where the hypotheses are transparent, and then use the result to compute and interpret region integrals.
1 Upper and lower sums on rectangles
Let with , . A rectangular grid partitions into cells . For bounded , let and be the supremum and infimum on each cell. Its upper and lower sums are
The upper integral is the infimum of upper sums, and the lower integral is the supremum of lower sums. Refinement increases lower sums and decreases upper sums; common refinements show every lower sum is at most every upper sum. If the two integrals coincide, is Riemann integrable and their common value is .
The equivalent criterion is: for every there is a partition with . To prove sufficiency, put the upper and lower integrals between these two sums. Necessity follows by choosing nearly optimal upper and lower partitions and taking a common refinement.
Theorem. A continuous function on is integrable.
Proof. Compactness makes it uniformly continuous. Choose a grid whose cells have diameter small enough that the oscillation of on each cell is below . Then .
Boundedness alone is not enough: the indicator of points whose two coordinates are rational has infimum 0 and supremum 1 in every positive-area cell, so every lower sum is 0 and every upper sum is .
2 Fubini for continuous functions
Theorem. If is continuous on , then
Proof. Every slice is continuous and hence integrable. Let . Uniform continuity gives
so is continuous. For a fixed grid, on each interval the inner integral lies between the sum of and the sum of . Integrate these bounds over that interval and add: . Choose grids with to identify this value with the double integral. Interchange and for the second equality.
Continuity is a convenient sufficient hypothesis, not a necessary one. More general Riemann or Lebesgue Fubini theorems have different hypotheses; neither is being silently invoked for arbitrary unbounded or improper integrals here.
2 A precise noncontinuous Fubini theorem
Theorem. Let bounded be Riemann integrable on . Suppose for every its slice is Riemann integrable. Then
is Riemann integrable and . If every horizontal slice is also integrable, the two iterated integrals agree.
Proof. Choose a rectangular grid. On an interval and each interval , let be the infimum and supremum of on the product cell. For every , monotonicity of one-variable integrals gives
Therefore the oscillation of on is at most . Multiplying by and summing shows
The right side can be made arbitrarily small, proving integrability of . Integrating the same lower and upper inequalities over and adding puts between and . Taking partitions with vanishing Darboux difference identifies the value. The horizontal result follows by the same argument.
The slice hypothesis is real. Define when and is rational, and zero otherwise on the unit square. Its double integral is zero because only cells touching the vertical edge can contribute. But the slice at is the rational indicator, not Riemann integrable. Therefore the displayed inner integral is not defined for every , despite existence of the double integral. In this particular example, assigning any finite value to and zero elsewhere still gives outer integral zero; that is a separately justified finite-point modification, not automatic slice existence.
3 Worked examples and nonrectangular regions
The zero extensions in the region examples below are not continuous on the rectangle, so the continuous theorem of Section 2 alone is insufficient. Use the bounded-Riemann slicing theorem proved in the noncontinuous-Fubini chapter: double Riemann integrability and integrability of every relevant one-variable slice are separate requirements. For these triangle and parabolic-region examples, boundary covers establish the double integral, while each fixed-coordinate slice is a continuous polynomial on a finite interval, extended by zero with at most endpoint jumps. Thus every slice is Riemann integrable, and that broader theorem applies.
On ,
For the triangle , integrate over a rectangle after extending by zero outside . For continuous integrands, the only new discontinuities lie on the triangle's boundary. This boundary can be covered by rectangles of arbitrarily small total area; away from that cover uniform continuity controls upper-minus-lower sums. Thus the extension is Riemann integrable and slicing gives
Reversing the order uses and , not the original bounds with symbols exchanged. It yields .
For a nonnegative density , mass is and the centroid is when . Unit density on the triangle gives mass and centroid , reflecting that most horizontal extent lies toward the right.
Exercises with complete solutions
E1 Foundation. Integrate over in both orders.
S1. Separation or direct integration gives . Integrating first or first gives the same product because the continuous-rectangle theorem applies.
E2 Region bounds. Reverse the order and evaluate .
S2. The region is , . The reversed integral is . Original order gives .
E3 Density. On the unit square, let . Find the mass and centroid.
S3. . The moment is , so . The moment is , so .
E4 Proof. Show that the function equal to 1 on the line in the unit square and 0 elsewhere is Riemann integrable with integral zero.
S4. Every cell has infimum zero, so lower sums vanish. A uniform grid has at most cells meeting the diagonal, including boundary-touching neighbors. Its upper sum is at most , tending to zero. The Darboux criterion proves integral zero despite discontinuity on the diagonal.
Summary
Multiple integration begins with cell sums, not iterated notation. Uniform continuity establishes integrability for continuous functions, and a squeezing proof establishes Fubini on rectangles. Region geometry determines the bounds, while improper and more general measurable settings require their own theorems.