Learning goals and exact theorem class
Define a proper double integral through upper and lower rectangular sums, prove continuous integrability, and prove Fubini's theorem for continuous functions on a compact rectangle. Then examine the extra boundary argument needed for ordinary nonrectangular regions.
Let with . A grid consists of partitions of each coordinate interval. Its cells are closed subrectangles with disjoint interiors. For bounded , let be its infimum and supremum on cell , of area . Define and .
1. The definition and its useful criterion
Refining a grid raises lower sums and lowers upper sums. Given any two grids, their common refinement proves every lower sum is at most every upper sum. Thus the lower integral is at most the upper integral , and both are finite by boundedness. The function is Riemann integrable when these numbers agree, with common value .
Theorem: rectangular Darboux criterion
The bounded function is integrable if and only if for every some grid has .
Proof. If both integrals equal , choose a lower sum above and an upper sum below , then refine both grids. The new gap is below . Conversely any such grid bounds . Arbitrarily small gaps force equality. The proof is the supremum argument in two dimensions, not an assumption of Fubini's theorem.
Theorem: continuity implies proper integrability
If is continuous on , it is bounded and uniformly continuous there. Write . Choose a distance scale making output differences less than . A sufficiently fine grid has every cell diameter smaller than that scale, so each oscillation is at most . Therefore , proving integrability.
For any tags , the corresponding finite sum lies between the grid's lower and upper sums. Thus whenever the grid gap is small, its tagged approximation is close to the integral. This statement is a consequence of the definition, not a new limiting convention.
Worked example 2.1.1
(An integral computed from the definition)
Let on and let be the grid of squares . Since increases in each variable on the square, and , and every cell has area . Using ,
The gap is , so the Darboux criterion proves integrability directly. Every lower sum is at most and every upper sum at least ; since both sums tend to , the integral is . No iterated integral and no Fubini theorem was used. The same value from the separable formula proved below is a check, not the argument.
Quick check
(Let on . For the grid with equal subintervals of and no subdivision of , find . Would subdividing as well make the gap smaller?)
On a cell, depends only on .
Solution · Answer
The cells are , each of area , and on each . Hence , which tends to zero. Subdividing does not change the gap: the oscillation on every smaller cell is still , and the cell areas in each column still add to . A grid needs to be fine only in the directions in which the function varies.
2. Prove the continuous rectangle Fubini theorem
Theorem
For continuous on ,
First, the iterated integrals exist. Each one-variable slice is continuous and integrable. Let . Uniform continuity of gives
Hence is continuous and integrable. The reversed inner-integral function is continuous by the same argument.
Next, squeeze them between the two-dimensional sums. On every cell, . For a fixed in its th strip, integrate these bounds over each interval and add:
Integrate over that strip and sum over . The result is . The double integral lies between the same bounds. Grids with arbitrarily small gap therefore force equality. Repeating with coordinates reversed proves the second equality. No order of an unproved infinite double sum was exchanged; only finite sums, ordinary integral inequalities and the Darboux criterion were used.
A separable continuous integrand consequently has integral . This is an integration identity under the stated hypotheses, not a claim about probabilistic independence in an unspecified experiment.
Proof X-ray
Continuity is spent twice, in different roles
Uniform continuity first makes the inner integral a continuous function of the outer variable, so the outer integral exists before any comparison is made. After that, the argument needs only one fact per cell: the function lies between the cell infimum and supremum, and these bounds are integrated first in the inner variable, then in the outer one. Grids with arbitrarily small Darboux gap, which exist because the function is continuous on the compact rectangle, then close the gap between the two bounds.
Worked example 2.1.2
(The theorem chooses the order, not the answer)
Let on . It is continuous, so the theorem says both iterated integrals equal the double integral. Integrating in first is immediate:
In the other order, integration by parts gives, for ,
This expression is undefined at , but it has limit there, which is the value of the inner integral at ; the inner-integral function is continuous, exactly as the existence step of the proof guarantees. The outer integral looks difficult until one notices that . Hence
The two orders agree, as they must. The theorem guarantees the agreement in advance, so in practice one simply chooses the order with the easier antiderivatives.
Quick check
(Compute by choosing the order of integration.)
One of the two inner integrals has an immediate antiderivative.
Solution · Answer
The integrand is continuous on the compact rectangle, so either order is allowed. Integrate in first: . Then . Integrating in first would require integration by parts.
Counterexample mode
Equal iterated integrals do not prove integrability
Claim: if both iterated integrals exist and are equal, the double integral exists. Let be the set of points in the open unit square with prime and , and let on and elsewhere on . A vertical line meets only if for a prime , and then only in the points , because a fraction with is already in lowest terms. So each vertical slice of vanishes except at finitely many points, its integral is , and the iterated integral in is ; the same holds for horizontal slices. But is dense in the square, since can be made smaller than the side of any cell, and its complement is dense too. Every cell therefore has and , so and for every grid, and is not integrable. In the theorem, the existence of the double integral is proved from continuity; it is not a consequence of the iterated integrals.
3. Why ordinary curved boundaries do not destroy proper integrability
Let with continuous , and let be continuous on . This is a compact set. Choose a bounding rectangle with . The clamping map
is continuous, maps into and fixes every point of . Consequently is a continuous extension to . In the estimates below write for this extension. Now set it to zero outside within . This zero extension may jump across the boundary, so one cannot cite continuity everywhere.
Instead control boundary cells. In a vertical grid strip, uniform continuity makes the oscillation of either boundary graph as small as desired. The cells meeting that graph can be covered by a rectangle whose height is at most that oscillation plus two vertical mesh widths. Summing strip widths shows the total area of these graph-boundary cells tends to zero as both mesh widths tend to zero. The two vertical end boundaries can likewise be covered by strips of arbitrarily small total area.
If , boundary cells contribute at most times their total area to the upper-lower gap. Cells away from the boundary lie wholly inside or wholly outside the region; inside, uniform continuity of makes their oscillations small, and outside the function is zero. Choose the boundary area small first and then the ordinary cell oscillation small. The total gap becomes arbitrarily small, proving integrability of the zero extension and therefore of over .
The same bounds show that its integral is : on each strip, changing the vertical endpoints and the input changes the inner integral by uniformly small amounts, while the vanishing boundary-cell area controls the endpoints. Explicitly, using the bounding rectangle's vertical span ,
so the inner-integral function is continuous, and the finite-strip Darboux squeeze applies after excluding the already controlled boundary cells. This establishes the common continuous-simple-region case. More general region or improper versions require their own hypotheses and are not inferred from this proof.
4. Quantitative grids and bounded discontinuities
If is Lipschitz with constant on the unit square, each cell of an -by- grid has oscillation at most . Since total area is one, . Thus a mesh can be selected from a desired error rather than chosen by trial. For , the exact gap is , agreeing with .
A bounded function changed at finitely many points has the same integral: cover those points by grid cells of arbitrarily small total area and bound their contribution by the finite uniform magnitude. But unbounded singular behavior near a single point is not covered by that argument. The rational improper counterexample in the coordinate/slicing extension has unequal iterated values precisely because the required bounded/absolute-integrability control fails.
Worked example 2.1.3
(A jump along a diagonal)
Let where and where on , so jumps across the diagonal. Use the grid of squares . If , every point of has , so there. If , every point has , so . The remaining cells, with or , each contain a point of the diagonal and a point above it, so and . There are such cells, hence
The gap tends to zero, so is integrable, and since the integral is , the area of the triangle . Only the cells meeting the jump contribute to the gap, and their total area tends to zero; this is the boundary-cell estimate of the curved-boundary proof in its simplest form.
Quick check
(Let on the diagonal of and elsewhere. Using the grid of the preceding example, find and , and conclude that , although the diagonal contains infinitely many points.)
Count the cells that contain at least one point of the diagonal, including those that touch it only at a corner.
Solution · Answer
Every cell contains points off the diagonal, so and . A cell meets the diagonal exactly when : the cells with contain a segment of it, and the cells with touch it at a corner. These cells have , so . Hence is integrable with integral . The finite-alteration argument covers only finitely many points; here the exceptional set is infinite, but it is still covered by cells of total area tending to zero.
Graded construction and proof tasks
- Definition. Prove a common grid refinement makes every lower sum less than or equal to every upper sum. Why is boundedness needed before taking the real supremum and infimum?
- Existence before interchange. In the Fubini proof, explain why slice integrability alone would not establish the existence of the outer integral. Supply the uniform-continuity estimate that does.
- Error certificate. For a Lipschitz function on the unit square, give a sufficient integer mesh size making the upper-lower gap below . Check the exact gap for .
- Counterexample. Let when both coordinates are rational and zero otherwise on the unit square. Prove it is bounded but not Riemann integrable. Do the continuous Fubini hypotheses hold?
- Boundary logic. Why is extending by zero across a curved boundary not generally continuous? Explain how the boundary-cell area estimate repairs the proper-integrability proof.
- Finite alteration. Prove changing a continuous rectangular integrand at finitely many points leaves its double integral unchanged. Explain why the same sentence cannot be used to dismiss an unbounded puncture-neighborhood singularity.
Full solutions
- Add all coordinate partition points to get a common grid. Refinement raises the first lower sum and lowers the second upper sum, while on that grid every cell infimum is at most its supremum. Thus for arbitrary grids. A finite bound on bounds every sum in magnitude by that bound times rectangle area, ensuring the extrema used to define the lower and upper integrals are finite real numbers.
- The outer integrand is the slice integral , and arbitrary collections of integrable slices need not yield an integrable outer function. Here , and compact uniform continuity makes that supremum tend to zero. Thus the outer integrand is continuous, supplying its integrability before an equality is asserted.
- Choose an integer ; if , any grid has zero gap. For , each uniform cell has range width and area . Summing cells gives exact gap , matching the displayed bound with .
- Every nondegenerate cell contains a pair of rational coordinates, giving supremum one, and also a point with an irrational coordinate, giving infimum zero. Hence every grid has upper sum one and lower sum zero. The criterion fails. The function is not continuous; at rational fixed , its slice is the nonintegrable rational indicator, so the existence issue is visible even before attempting the outer integral.
- A nonzero boundary value inside can approach a zero exterior value across the boundary, causing a jump. The proof does not pretend otherwise: it confines all such jumps to boundary cells of arbitrarily small total area, whose gap contribution is bounded by times that area. Everywhere else ordinary uniform continuity or the zero value controls oscillation. Both ingredients are needed.
- The difference is bounded and supported on finitely many points. For any positive area target, choose sufficiently fine coordinate intervals around those points; the finite union of affected grid cells has total area below that target. Its upper and lower integral magnitudes are at most the difference bound times that area, forcing integral zero. An unbounded singularity has no common bound on those shrinking neighborhoods, so that estimate cannot be applied and no conclusion follows from the exceptional point's area alone.
Summary and terms
A rectangular Darboux integral is defined by coinciding upper and lower sums. A common refinement compares unrelated grids. A boundary-cell estimate controls bounded jumps near ordinary region boundaries. The continuous Fubini theorem follows after proving both double and iterated integrals exist. Improper singularities and more general domains need additional hypotheses, not an automatic extension of a finite-rectangle proof.