Fubini and iterated integrals
Compute double integrals by adding cross-sections in either order.
This page turns a double integral over a rectangle into two one-variable integrals. The Riemann-sum definition says what the integral means but is not a practical way to evaluate it. Instead, fix one coordinate, integrate across the resulting slice and then add the slices with a second integral.
When slice endpoints depend on the outer variable, regions bounded by curves extend the method. A change of variables reshapes slices that remain awkward.
Double integral over a rectangle
Let be bounded on . If there is a number such that, for every , some makes every tagged partition with satisfy
then is Riemann integrable over and
Add the slices
Let
Fixing leaves a slice in the -direction. Its signed cross-sectional area is the one-variable integral
provided this integral exists. Adding these areas as varies gives the double integral. Fixing instead gives slices in the other direction.
Cross-section integral
For a function on , when the one-variable integrals exist, the vertical and horizontal cross-section integrals are
They measure the signed areas of slices obtained by fixing or .
When , these are ordinary cross-sectional areas. When takes both signs, negative parts are subtracted.
Fubini's theorem on a rectangle
If is continuous on
then
The inner integral computes one cross-section and the outer integral adds the cross-sections. In
the says that is integrated first and the says that is integrated second. Limits must belong to the variable whose differential they accompany.
The iterated formula remains valid for a bounded piecewise-continuous whose discontinuities lie on finitely many piecewise-smooth curves. This includes zero extensions whose only discontinuities lie on the region boundary.
Unbounded or improper integrals need stronger safeguards. If is measurable and , Fubini's theorem gives the two iterated integrals and permits their order to be exchanged. If is measurable, Tonelli's theorem gives the same equality with values in , even when the integral is infinite. Similarly, if nonnegative functions increase pointwise to a limit, monotone convergence justifies passing the limit through the integral, as in the Basel sum.
An improper calculation should therefore first use bounded truncations (or a nonnegative convergence theorem). It must not subtract two separately divergent integrals.
Choose an order of integration
To compute a double integral over a rectangle:
- inspect the integrand for a direct antiderivative in or ;
- write the corresponding inner integral first;
- evaluate the inner integral while treating the other variable as constant;
- evaluate the remaining one-variable integral;
- use the other order as a check when it is comparably simple.
Under Fubini's hypotheses the two orders give the same value, but they need not be equally convenient.
Computing in both orders
Let
Integrating with respect to first gives
Integrating with respect to first gives
[routine]
Choosing the useful order
Consider
Integrating in first uses the factor already present:
The reverse order leaves as the inner integrand in , which needs integration by parts.
[exam]
Products separate over rectangles
When the integrand is a function of times a function of , the double integral over a rectangle is the product of two single integrals.
Product separation
If is integrable on and is integrable on , then is integrable on and
The factor that does not involve the inner variable pulls out of the inner integral.
[routine]
Why the hypotheses matter
Fubini's theorem is about a genuine double integral. It does not say that two improper iterated integrals must agree.
Different improper iterated integrals
Define on
The values on the axes remove the undefined endpoint without changing any integral. For fixed , split the improper -integral at :
Thus one iterated integral gives
For fixed , split the improper -integral at :
The other order gives
There is no contradiction. The positive and negative parts each have infinite integral near the origin, so is not integrable over the square in the sense Fubini requires. The two calculations are different improper cancellations, not two values of one double integral.
[challenge]