Double Integrals and Fubini's Theorem
What you will be able to do
Given a double integral over a rectangle, the learner can evaluate it as an iterated integral in either order, state the hypothesis that guarantees the two agree, and say what changes when the region is not a rectangle.
Orientation
Accumulating over a region rather than an interval
A single integral adds up contributions along an interval. Replace the interval with a region of the plane and the construction is unchanged: chop, multiply each piece by a height, add, take a limit. Area elements stand where widths stood.
That definition is exact and almost useless for computing. A two-dimensional limit over shrinking rectangles is not something to evaluate by hand.
What makes it practical is a theorem. Fubini's theorem says the two-dimensional limit equals two ordinary one-dimensional integrals performed in sequence, and over a rectangle with a continuous integrand, in either order. So
The freedom to choose is a property of the rectangle. Constant limits are what let the orders be exchanged as written. Over a region whose boundary bends, the inner limits depend on the outer variable, and the two orders sweep the region differently, in vertical strips or in horizontal ones. Exchanging the written limits there describes a different region and produces a different number.
So this unit has two things to get right: the mechanics of holding one variable fixed while integrating the other, and the question of when the order is actually free.
Definition
What Fubini claims, and what it requires
The canonical definition states the double integral as a limit and Fubini's theorem as its evaluation. What follows is why the theorem carries a hypothesis and what the hypothesis is doing.
The two sides are different objects.
Why continuity suffices. On a closed bounded rectangle a continuous function is uniformly continuous and bounded, so the Riemann sums converge and the order in which the two limits are taken cannot change the value. Absolute integrability,
What goes wrong without it. The standard counterexample takes
Why the inner integration treats the outer variable as a constant. Fixing
Why a non-rectangular region breaks the symmetry. Constant limits make the region a product of two intervals, so describing it by
Worked example
An iterated integral, evaluated both ways
A double integral, both orders:
Inner first, over
Then over
Reversing the order:
Check: a
Example
Integrands and regions worth recognising
Four cases, chosen because each one settles a different question about what the order and the region cost.
---
1. A separable integrand, where the double integral is a product. Over
But because the integrand factors as
The factorisation needs both conditions.
---
2. A region where the order decides how much work it is. Consider
As written, the inner integral
The inner integration produced the factor
---
3. A region needing two pieces in one order and one in the other. Let
Sweeping in vertical strips, the upper boundary changes at
Sweeping in horizontal strips, each strip at height
Both give the triangle's area of 1. The choice of order is not about correctness; it is about how many pieces the region breaks into.
---
4. Where Fubini has nothing to say. Over
The two iterated integrals both exist and come to
Nothing in the arithmetic of either iterated integral signals this. Each is a perfectly ordinary calculation returning a finite number. Only checking the hypothesis does, and the hypothesis fails because
---
What the four have in common. The region and the integrand together decide what is possible: whether the integral factors, whether either order is computable, how many pieces are needed, and whether the orders agree at all. None of that is visible from the notation
Figure
Vertical and horizontal slicing of one region
The triangle
Vertically, on the left: for each
Horizontally, on the right: for each
Both describe the same set of points and both are correct; only one is computable in closed form. The limits differ because the slices differ, and seeing the two families of slices is what makes the change of limits obvious rather than a rule to memorise.
Procedure
Evaluating an iterated integral
To evaluate a double integral over a rectangle.
- Choose an order. Over a rectangle either works, by Fubini.
- Integrate the inner variable, holding the outer one fixed as a constant, its symbols pass through untouched.
- Substitute the inner limits, leaving an expression in the outer variable alone.
- Integrate that over the outer limits.
Check: redo it in the opposite order. Agreement is a strong check on both, and disagreement over a rectangle with a continuous integrand means an arithmetic slip rather than a failure of Fubini.
Over a non-rectangular region the inner limits are functions of the outer variable, and swapping the order means redescribing the region, not exchanging the limits as written.
Non-example
Errors an iterated integral invites
Swapping the limits of a non-rectangular double integral. Over a rectangle the limits are constants and either order works. Over a region where the inner limits depend on the outer variable, exchanging the order requires describing the region the other way round, reversing the written limits produces a different region and a different number.
Treating Fubini as unconditional. Over a rectangle with a continuous integrand the two orders agree, and disagreement means an arithmetic slip. That is a consequence of the hypothesis, not a general fact about integration: without continuity or absolute integrability the two iterated integrals can genuinely differ, and the two-dimensional integral may not exist at all. Quoting "either order works" without the rectangle and the continuity is quoting a conclusion without its premise.
Reading the inner limits as fixed when they are not. Over a region bounded by
Application
Totals over a region
Mass, probability and marginalisation. Mass is
Why the order matters in practice. Marginalising a joint density integrates out one variable, and which one is integrated first is the difference between obtaining
The through-line. A single integral accumulates along an interval. A double integral accumulates over a region, and Fubini is what makes that accumulation computable by two ordinary integrations rather than a limit nobody could evaluate directly.