Before this section. 4.1 Multiple Riemann integration and Fubini, 1.2 Multivariable differentiability and mean value estimates.
Continuity on a rectangle is a clean sufficient condition for changing the order of integration, but many useful functions have jumps on curves. We now prove a broader bounded Riemann slicing theorem, explain the separate role of slice existence, and examine an improper example where reversing order changes the answer.
1 Oscillation and cell control
For bounded on a rectangle , a cell's oscillation is . The Darboux difference is
Riemann integrability is equivalent to making this sum arbitrarily small. It allows large oscillation if the affected cells have arbitrarily small total area, and small oscillation elsewhere. It does not require every cell to have a continuous restriction.
A bounded set is Jordan null if, for every positive , it is covered by finitely many rectangles with total area below . Finite collections of line segments are Jordan null: divide each segment into short pieces and cover them by thin rectangles, with total area as small as desired. The same holds for a curve on a compact interval, because bounded derivative gives a uniform Lipschitz bound, and the image of each of equal parameter subintervals lies in a square of side , giving total area .
For an explicit cover, write the curve as , , and set . Split the parameter interval into equal parts. The segment estimate bounds the distance from the first image point in each part by . An open axis-parallel square centered there with side covers that entire image part, including its endpoints. The squares have total area , less than any prescribed once . The extra one also covers constant curves; a degenerate parameter interval has a one-point image and is covered by one arbitrarily small square.
If the boundary of a bounded region is Jordan null, its indicator is Riemann integrable. Cells wholly inside or outside have zero oscillation; only cells meeting the boundary contribute. Choose a finite small-area rectangle cover of the boundary and a sufficiently fine grid. The total area of cells meeting this finite cover can be made arbitrarily close to the cover's area by slightly enlarging its rectangles. Thus upper-minus-lower sums tend to zero. Such a region is Jordan measurable, with area .
More generally, a continuous function on multiplied by is integrable: boundedness controls boundary cells, and uniform continuity controls all other cells. This justifies polygonal and smooth-boundary region examples without pretending the zero extension is continuous everywhere.
Worked example 4.2.1
(How many squares cover a quarter circle)
Apply the explicit cover of Section 1 to on , the quarter of the unit circle in the first quadrant. Here for every , so . With equal parameter pieces, the squares of side have total area
To make this smaller than it suffices that , so squares work. The number is not optimal, but it is explicit: the arc is Jordan null, and together with the two radii the boundary of the quarter disc is a finite union of Jordan-null sets, so the quarter disc is Jordan measurable.
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.
Proof X-ray
Where the integrability of F comes from
In the continuous version, was integrable because it was continuous. Here nothing about is known in advance, and the key move is to inherit its regularity from : on each column, the sandwich that traps also bounds the oscillation of by that column's share of the Darboux gap of . Each hypothesis has one job. Integrability of every slice makes defined; integrability of makes the gap small; boundedness of makes every and finite.
Counterexample mode
Integrable slices and equal iterated integrals do not give a double integral
Claim: if every vertical and every horizontal slice of a bounded on is Riemann integrable and the two iterated integrals agree, then is Riemann integrable on the square. Let be the set of points whose two coordinates, each written in lowest terms, have the same denominator , and let .
Fix . If is irrational, the slice is identically zero. If in lowest terms, the slice is nonzero only at points , of which there are at most in ; a function vanishing off finitely many points is integrable with integral . The same holds for horizontal slices, so both iterated integrals exist and equal .
Yet is dense: for a prime and , both fractions and are already in lowest terms, and these grid points come within of every point of the square. The complement of is dense as well, since it contains every point with an irrational coordinate. Every cell of positive area therefore has supremum and infimum , so and for every grid. The theorem's hypothesis that is Riemann integrable on the rectangle is independent of the slice hypothesis; neither can be dropped.
3 Worked region with a jump
On the unit square let when , and zero when . The only discontinuity candidates lie on the diagonal, a Jordan-null set. The preceding region argument proves double integrability. Every vertical and horizontal slice is piecewise continuous, so the theorem applies:
Reversing order gives . The bounds change with the geometric region; the discontinuity does not invalidate Fubini because the actual bounded-integrability and slice hypotheses hold.
Worked example 4.2.2
(A step function with a jump along an antidiagonal)
On let . Since , the function equals where , equals where , and equals only at . Its discontinuities lie on the segment and at the corner, a Jordan-null set, and is bounded, so the region argument of Section 1 proves double integrability. Each vertical slice is a step function with one jump, hence integrable.
For fixed , the slice equals on , so the inner integral is ; the single point when does not affect it. Thus
This is the area of the triangle , as it must be, because coincides with the indicator of that triangle except on the Jordan-null set .
4 Why an improper calculation is different
For , let
For fixed , integration in uses the antiderivative , giving . The outer improper integral from zero to 1 is . Reversing the order uses the antiderivative and yields .
There is no contradiction: the field is unbounded near zero and outside the bounded Riemann theorem. It is not absolutely integrable there. Polar coordinates give and area factor , so any angular sector with bounded away from zero contributes a divergent . The two iterated improper procedures encode different limiting operations. One must not call either result a justified interchange of an ordinary double integral.
There is also a direct Cartesian proof of the absolute divergence, requiring no coordinate substitution. Fix and restrict to , . On this region the function is positive and
The region lies away from the origin and has finite straight boundary pieces. Its zero-extended integrand is bounded Riemann integrable, and every slice is piecewise continuous. The bounded slicing theorem therefore gives
The right side grows without bound as . These proper positive-region integrals are contained in arbitrarily small neighborhoods of the singularity, proving failure of local absolute integrability independently of the polar computation.
See the competing limits in one finite formula
For the singular integrand in Section 4, take and keep both lower cutoffs positive. Ordinary proper integration is valid on and gives
To obtain it, first use the antiderivative , leaving ; integrate those two terms in . As with , the limit is , with . Equal cutoffs give zero, gives , and gives . Thus even rectangular truncations have no common two-parameter limit.
Practice and full solution. Does the zero value for equal cutoffs establish an improper double integral? No. It controls one path only. The other two positive-cutoff paths are equally valid proper rectangles but have incompatible limits. This makes explicit the missing hypothesis behind an attempted order interchange.
Worked example 4.2.3
(Area and centroid between two curves by slices in both directions)
Let . Its boundary consists of the graphs of and over , which meet at and . Parametrize them by and on : both are , so the boundary is Jordan null and is Jordan measurable. Vertical slicing gives
Horizontally, is , , and the same computation in gives . For the centroid, , so . The region is symmetric under , so as well; the horizontal slicing of confirms it.
Quick check
(Show that is Jordan measurable and compute its area by slicing.)
Describe the boundary as two segments and one curve.
Solution · Answer
The boundary is the segment on the -axis, the segment on the -axis, and the arc , , which is . All three are Jordan null, so is Riemann integrable. Each vertical slice is the indicator of , so , the area of a quarter of the unit disc.
Quick check
(On let if is rational and otherwise. Which hypotheses of the theorem in Section 2 hold, and which fail?)
Look at the vertical slices, the horizontal slices and the Darboux sums separately.
Solution · Answer
Every vertical slice is constant ( or ), hence integrable, with for rational and otherwise. Every horizontal slice is the rational indicator in , which is not integrable. The double integral also fails: every cell contains points with rational and with irrational first coordinate, so and . The theorem therefore does not apply, and indeed itself is not integrable, so even the vertical iterated integral does not exist.
Quick check
(In the cutoff formula of the preceding section, find the limit of when with .)
Use with .
Solution · Answer
Here for every , so and the limit is . This is a fourth path value, different from , and . Every gives its own limit in , so no improper double integral of this kernel exists over the square.
Exercises with complete solutions
E1 Foundation. Show the indicator of the triangle has double integral , despite being discontinuous on its boundary.
S1. The triangle's three boundary segments are Jordan null, so its indicator is integrable. Every slice is a step function. Integrating calculates its area.
E2 Slicing. Evaluate the double integral of on and zero elsewhere in the unit square in both orders.
S2. Vertical slicing gives . Horizontal slicing gives .
E3 Hypotheses. Construct a bounded double-integrable function with a nonintegrable vertical slice and explain exactly why the theorem in Section 2 cannot be applied.
S3. Use the vertical-edge rational-indicator example from Section 2. Its double integral is zero, but the slice has lower integral 0 and upper integral 1. The theorem demands slice integrability at every , so its premise fails at that point.
E4 Proof. Show changing a Riemann integrable one-variable function at finitely many points preserves integrability and the integral. Why does this fail for arbitrary dense countable sets?
S4. Cover the finitely many changed points by intervals with arbitrarily small total length. The difference function is bounded and zero off them; its upper absolute integral is bounded by its finite maximum times that total length, hence zero. Adding it preserves the integral. If zero is changed to 1 at every rational point of an interval, both rational and irrational points remain dense; every nontrivial cell has oscillation 1, giving the nonintegrable rational indicator. Countability alone is not a Riemann-integrability guarantee.
Summary
Bounded Riemann integrability permits controlled jump sets, not only continuity. A precise slicing theorem additionally requires the inner integrals to exist. Improper integrals near singularities are different limiting procedures, and absolute convergence or another applicable theorem is needed before reversing their order.