4.4.16 · D2Multivariable Calculus

Visual walkthrough — Double integrals over rectangles — Fubini's theorem

2,054 words9 min readBack to topic

Step 1 — What are we even measuring?

WHAT. We have a flat rectangular floor and a curved roof floating above it. We want the amount of space trapped between floor and roof.

WHY. Everything that follows is just a clever way to measure this one blob of space. If you can see the blob clearly, every later step is bookkeeping.

PICTURE. Look at the figure. The black rectangle on the ground is our floor. Its corners are fixed by four plain numbers:

  • runs left-to-right, from the number to the number .
  • runs front-to-back, from the number to the number .
  • The red surface floating above is the roof, written : for every floor point , the roof height there is the number .

The whole quantity we want is the volume of the red-capped solid.

Figure — Double integrals over rectangles — Fubini's theorem

Step 2 — Approximate the volume with tiny towers

WHAT. Before slicing cleanly, we build the volume out of little rectangular columns — the honest, brute-force definition.

WHY. This is where the volume comes from. We chop the floor into a grid of small tiles, stand a tower on each tile as tall as the roof above it, and add up the towers. This is the same trick as Riemann sums, just with tiles instead of intervals.

PICTURE. Each floor tile has width and depth , so its area is

Pick any point inside tile number — the star just means "some sample point in that tile." The tower on it has

Add every tower:

The red tower in the figure is one such term; the grey towers are its neighbours.

Figure — Double integrals over rectangles — Fubini's theorem

The problem: this is a double limit — brutal to evaluate directly. Steps 3–6 turn it into two easy one-dimensional integrals.


Step 3 — Freeze one direction: make a single slice

WHAT. Instead of tiny towers, take a big knife and cut the solid with one flat vertical wall. Freeze at some value and slice straight back through the solid.

WHY. On that frozen wall, is no longer a variable — it is a locked number. So the roof, seen only on this wall, is a plain 1-variable curve . A curve like that bounds an ordinary flat area, and flat areas we already know how to get from single-variable calculus.

PICTURE. The red shaded face in the figure is the cut. Its height at back-position is ; it stretches from to . Its area — call it — is the ordinary integral of that height:

Read as "sweep from to , adding thin vertical strips of the red face."

Figure — Double integrals over rectangles — Fubini's theorem

Step 4 — Slide the slice: area becomes a function of position

WHAT. Now unfreeze and let the cutting wall slide from the left edge to the right edge . At each stopping point the face has a (possibly different) area.

WHY. The solid isn't one slice — it's a continuous stack of them. To describe the whole stack we need to know how the slice-area changes as the wall slides. That gives us a single new function of one variable.

PICTURE. The figure plots the sliding wall at three positions. Below, the black curve is

the slice-area as a function of where the wall sits. The red dot marks from Step 3 — just one point on this curve. Where the roof is tall and wide, is large; where the solid pinches, dips.

Figure — Double integrals over rectangles — Fubini's theorem

Step 5 — Stack the slices back into a volume

WHAT. Give each slice a tiny thickness and glue them side by side to rebuild the solid.

WHY. A slice with face-area and thickness is a thin slab of volume . Adding all slabs from to reassembles the exact solid — this is precisely Volume by slicing (single-variable), the "loaf of bread" idea, one dimension up.

PICTURE. The figure shows the loaf rebuilt from slabs; the red slab is the one at position , with thickness drawn thick for visibility.

Reading it inside-out: first the inner builds one slab's face (Step 3), then the outer sweeps that slab across (Step 5). This nested form is the iterated integral — the "FREEZE, FILL, FILE" from the parent note.

Figure — Double integrals over rectangles — Fubini's theorem

Step 6 — Slice the OTHER way: nothing forced our choice

WHAT. Repeat Steps 3–5, but freeze first and slide the wall front-to-back instead of left-to-right.

WHY. In Step 3 we chose to freeze . That choice was arbitrary — the solid doesn't care which way we point the knife. Freezing gives a slice-area function of :

and stacking those slabs gives the same solid, hence the same volume.

PICTURE. The figure shows the two knife directions side by side over the same solid: the Step-3 slice (grey, cuts along ) and the new slice (red, cuts along ). Same loaf, two grains.

Figure — Double integrals over rectangles — Fubini's theorem

Step 7 — The edge cases: where does this reasoning break?

WHAT. We check the corners: zero heights, negative heights, and roofs so wild that slicing lies to us.

WHY. Contract rule: the reader must never meet a case we skipped. Three matter.

PICTURE. Three panels.

  • Panel A — (degenerate). Flat floor, no roof: every slice-area is , so . Sanity holds.
  • Panel B — (below the floor). If the roof dips under the -plane, that slab counts as negative volume. The double integral is therefore a signed volume: space above the floor minus space below. Slicing still works verbatim — areas just carry a sign.
  • Panel C — not integrable. If blows up (unbounded, non-integrable), a slice-area may not even be a finite number, or the two orders can disagree. Fubini's guarantee vanishes. This is why the hypothesis " continuous / integrable on " is not decoration.
Figure — Double integrals over rectangles — Fubini's theorem

The one-picture summary

Everything in one frame: the solid (Step 1–2), one red slice (Step 3), the slice-area profile (Step 4), the slabs restacked (Step 5), and the twin knife direction (Step 6) — all labelled so you can read the derivation off the picture alone.

Figure — Double integrals over rectangles — Fubini's theorem

Solid under z equals f over R

Freeze x, cut one slice

Slice face area A of x

Give slice thickness dx, stack

Volume equals integral of A of x dx

Freeze y instead

Volume equals integral of B of y dy

Same solid so same V

Fubini theorem

Recall Feynman retelling — the whole walkthrough in plain words

You've got a weird blob sitting on a rectangular table, and you want how much stuff is in it. First you guess by covering the table with tiny squares and standing a little tower on each — add the towers, that's roughly the volume, and shrinking the squares makes it exact. But adding zillions of towers is horrible. So instead you grab a knife. Freeze one direction and slice: each cut shows a flat face, and a flat face has an ordinary area you already know how to measure. Now slide the knife along and watch how the face-area grows and shrinks — that's a single humble curve . Give every slice a sliver of thickness and glue them back: the areas, added up, rebuild the exact volume. The punchline: you could've sliced the loaf the other grain and gotten the same loaf — so the same number. That "same loaf, either grain" is Fubini. The only fine print: it must be a real, tame loaf — if the roof shoots off to infinity in a nasty way, slicing can lie, and you have to be more careful.


Connections