4.4.16 · D3Multivariable Calculus

Worked examples — Double integrals over rectangles — Fubini's theorem

2,289 words10 min readBack to topic

This page is a drill of cases. The parent note built the machine (freeze → fill → file). Here we run that machine through every kind of input a rectangle can throw at you: positive surfaces, surfaces that dip below the plane, zero answers, degenerate rectangles, separable shortcuts, a physics word problem, and an exam twist where the order of integration decides whether you finish in one line or one hour.

Before we start, one reminder in plain words. A double integral is the signed volume trapped between the surface and the flat floor (the -plane) over the rectangle . "Signed" means: where the surface is above the floor the volume counts positive, where it dips below the floor it counts negative. Keep that picture — most of the cases below are just which sign wins.


The scenario matrix

Every rectangular double integral you meet falls into one of these cells. The worked examples are tagged with the cell they cover.

# Case class What's tricky about it Example
A All-positive integrand Surface entirely above floor → answer is a genuine positive volume Ex 1
B Sign-changing integrand Surface crosses the floor → signed cancellation, answer can be small or zero Ex 2
C Answer is exactly zero (symmetry) Positive lump exactly cancels negative lump Ex 3
D Separable shortcut → split into two 1-D integrals Ex 4
E Degenerate rectangle ( or ) Zero-width slab → volume must be Ex 5
F Order matters for effort One order is one line, the other needs parts Ex 6
G Real-world word problem (units!) Translate a physical quantity into ; carry units Ex 7
H Exam twist: constant / average value Reinterpret the integral as an average height Ex 8

We will hit all eight cells.


Ex 1 — Cell A: all-positive integrand (a real volume)

Look at the surface first — it is a valley floor curving upward in both directions.

Figure — Double integrals over rectangles — Fubini's theorem

Step 1 — Freeze , integrate over (fill the inner integral). Why this step? Freezing turns the inner job into an ordinary 1-D integral in ; the term is a frozen constant, so its antiderivative in is . The result is the cross-sectional area of the solid at position .

Step 2 — File into the outer integral. Why this step? Adding up all the thin slabs is exactly Volume by slicing (single-variable) — one dimension down.

Verify: Swap the order. By symmetry ( leaves the integrand unchanged) the inner- integral also gives , and the outer gives again. Answer sits in the predicted range . ✅


Ex 2 — Cell B: sign-changing integrand

Figure — Double integrals over rectangles — Fubini's theorem

The red patch (below floor, ) is a small triangle near the origin; the blue region (above floor) dominates.

Step 1 — Inner integral over (freeze ). Why this step? Constant integrates to ; the genuinely -dependent term integrates to . Note is itself negative for — that is the below-floor part showing up.

Step 2 — Outer integral over .

Verify: Split into signed pieces. and . Difference . ✅ Positive and small, as forecast.


Ex 3 — Cell C: answer is exactly zero (symmetry)

Step 1 — Recognise it's separable, split it. Why this step? with , ; the product rule for separable integrands (parent note) turns one 2-D job into two 1-D jobs.

Step 2 — Evaluate the -factor. Why this step? Any factor being zero forces the whole product to zero — no need to finish the -integral. This is the odd-function-over-symmetric-interval cancellation made rigorous.

Verify: The -factor is too — but we only needed one zero factor. Product . ✅


Ex 4 — Cell D: separable shortcut with a twist

Step 1 — Split into a product of two 1-D integrals. Why this step? Variables never mix and both limits are constants, so the double integral factors — the whole point of Cell D.

Step 2 — The -factor by parts. Choose , so : Why this step? Integration by parts is the tool for a product "polynomial exponential" — differentiating kills the polynomial factor in one step, which is exactly what parts is designed to exploit.

Step 3 — The -factor and the product.

Verify: Numerically exactly; times gives . ✅ Matches the forecast.


Ex 5 — Cell E: degenerate rectangle (zero width)

Step 1 — Read the outer limits. Why this step? The inner integral produces some function — it doesn't matter what — because the outer integral runs from to .

Step 2 — Apply the zero-length rule. Why this step? is a fundamental property of definite integrals: no interval, no accumulation. Geometrically the "solid" is a flat sheet of zero thickness — volume .

Verify: Even brute force agrees. Inner: , a finite . Outer . ✅ This is the degenerate limiting case — always check for it before grinding algebra.


Ex 6 — Cell F: order matters for effort

Step 1 — Integrate over first (freeze ). Why this step? Because exactly matches the integrand — the out front is precisely the chain-rule factor. Choosing first is what makes this a one-liner. This is Fubini in action: same solid, cheaper slicing direction.

Step 2 — Integrate the result over .

Verify: — positive, below , as forecast. Sanity-check the other order: needs integration by parts and produces a messier expression that also integrates to — same answer, far more work. ✅ Fubini earns its keep here.


Ex 7 — Cell G: real-world word problem (carry units!)

Step 1 — Set up the mass integral. Why this step? Each tiny tile of area (m²) carries mass (kg). Summing tiles is precisely a 2-D Riemann sum whose limit is the double integral — the physical meaning of .

Step 2 — Inner integral over (freeze ). Why this step? is a frozen constant in , integrating to ; the true -term gives .

Step 3 — Outer integral over .

Verify: Units: ✅. Value matches the average-density estimate exactly (because is linear, the mean density really is the value at the centre : , times area = ). ✅


Ex 8 — Cell H: exam twist (average value / constant height)

Step 1 — Recall the definition of average value. Why this step? Average height = (total volume)(base area). This is the 2-D twin of the single-variable mean . It answers: "what flat height gives the same volume?"

Step 2 — Compute the volume (separable). Why this step? is separable, so it splits into two 1-D integrals — the fastest route.

Step 3 — Divide by the area.

Verify: A box of base area and height has volume — matching the computed volume. ✅ And lies inside the range , as forecast.


Recall Quick self-test across all cells

Which cell has a guaranteed zero answer before computing? ::: Cell E (degenerate rectangle, or ) — and Cell C when an odd factor spans a symmetric interval. Mass of a plate needs which integral? ::: (density times area, summed) — Cell G. When does choosing the integration order save real work? ::: Cell F — when one order's integrand is already a recognisable derivative (here ). Average value formula over ? ::: .


Connections

  • Riemann sums — the word-problem mass (Ex 7) is a 2-D Riemann sum limit.
  • Volume by slicing (single-variable) — every "file the inner into the outer" step (Ex 1).
  • Change of order of integration — Cell F (Ex 6) chooses the cheaper slicing direction.
  • Double integrals over general regions — next: non-constant inner limits (here they're always numbers).
  • Fubini–Tonelli theorem — guarantees the order-swaps used above are legal.
  • Triple integrals — add a third slicing direction for mass of a solid, not a plate.