Multivariable Calculus · Double integral

Double integral

A double integral of f over a region R is the signed volume between R and the surface z = f(x, y), negative where the surface dips below the floor. Fix x and cut: the slice’s area A(x) is an ordinary integral whose limits are where the knife enters and leaves R. Adding A(x) from left to right gives the volume; for continuous f, cutting at fixed y instead gives the same result.

The double integral in this visualization

On an n × n grid over a region R, each cell whose center lies in R carries a column as tall as f at that center, and the columns’ total volume, ∑f(xi,yj) Δx Δy\sum f(x_i, y_j)\,\Delta x\,\Delta y, is a Riemann sum. As the grid gets finer the sums approach one number, the double integral ∬Rf dA\iint_R f\,dA. Where f is negative a column hangs below the floor and counts negative, so the double integral is a signed volume.

Slicing turns the double integral into two ordinary integrals. For x-slices, the blue knife is the plane x = s. Its slice is the blue panel, and the panel’s signed area A(s)A(s) is an ordinary integral in y. The graph under the view plots A against the knife’s place. With Columns off, the signed area shaded yellow up to the knife is the volume swept so far, and the signed area over the whole range is the double integral. This is the iterated integral. When every slice of R is a single interval, it reads

Two orders of slicing, when every slice is one interval
∬Rf dA=∫ab∫g1(x)g2(x)f(x,y) dy⏟A(x) dx=∫cd∫h1(y)h2(y)f(x,y) dx⏟B(y) dy\iint_R f\,dA = \int_a^b \underbrace{\int_{g_1(x)}^{g_2(x)} f(x, y)\,dy}_{A(x)}\,dx = \int_c^d \underbrace{\int_{h_1(y)}^{h_2(y)} f(x, y)\,dx}_{B(y)}\,dy

The inner limits are where the knife enters and leaves R, the blue points on the floor. On the triangle 0≤y≤x≤20 \le y \le x \le 2 the slice at x runs from y = 0 to y = x, so the inner integral is ∫0x\int_0^x: the upper limit depends on x. On the ring 1≤x2+y2≤41 \le x^2 + y^2 \le 4, a knife with ∣x∣<1|x| < 1 crosses the hole, the slice falls into two pieces, and the inner integral becomes a sum of two integrals, one for each piece.

Changing the order means reading the limits from the region again, not swapping them. On the same triangle a slice at fixed y runs from x = y to x = 2, so

The same triangle, sliced both ways
∫02 ⁣∫0x(1+y) dy dx=∫02 ⁣∫y2(1+y) dx dy=103\int_0^2\!\int_0^x (1 + y)\,dy\,dx = \int_0^2\!\int_y^2 (1 + y)\,dx\,dy = \tfrac{10}{3}

Both orders shows the two slice areas side by side. They are different functions, A(x)=x+x2/2A(x) = x + x^2/2 rising steadily and B(y)=(1+y)(2−y)B(y) = (1 + y)(2 - y) rising and falling, yet the areas under them agree. A finite sum of columns gives the same total added row by row or column by column, and the two iterated integrals are what those two ways of adding become as the grid gets finer. If f is continuous on a closed, bounded region whose boundary is made of finitely many smooth curves, both orders give the double integral. This is Fubini’s theorem, and every preset on this page satisfies it.

Sometimes only one order can be done with elementary functions. Over the triangle 0≤x≤y≤10 \le x \le y \le 1, fixing x leaves ∫x1ey2 dy\int_x^1 e^{y^2}\,dy, and ey2e^{y^2} has no elementary antiderivative. Fixing y instead, each slice is a rectangle y wide and ey2e^{y^2} tall, and the volume is ∫01y ey2 dy=(e−1)/2≈0.859\int_0^1 y\,e^{y^2}\,dy = (e - 1)/2 \approx 0.859.

Things to notice

  • The slice has no thickness. It is an area, not a piece of volume.
  • The columns’ sum is a finite Riemann sum. It approaches the volume as n grows, but need not get closer at every doubling: on the ring it is slightly further at n = 32 than at n = 16.

Controls

  • In perspective a slice looks slanted and narrower than it is. Face the slice turns the camera square to the knife’s plane.

Related