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, , is a Riemann sum. As the grid gets finer the sums approach one number, the double integral . 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 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
The inner limits are where the knife enters and leaves R, the blue points on the floor. On the triangle the slice at x runs from y = 0 to y = x, so the inner integral is : the upper limit depends on x. On the ring , a knife with 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
Both orders shows the two slice areas side by side. They are different functions, rising steadily and 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 , fixing x leaves , and has no elementary antiderivative. Fixing y instead, each slice is a rectangle y wide and tall, and the volume is .
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.