From areas to volumes
The area under a curve y = f(x) is built from thin vertical strips: each is a height times a small width, and integrating adds them up. A surface z = f(x, y) standing over a region of the xy-plane encloses a solid, and the same idea, used twice, gives its volume.
Cut the solid with a vertical plane at a fixed y. The cut face is a flat region under a curve, so it has an area. Cut again a little further along, and the slab between the two cuts has a volume of about that area times the gap. Adding all the slabs gives the volume.
The dome over the disc , with the slice at y = 0.45 picked out in gold. The face under that curve has area , and stacking every such face from y = −1 to y = 1 gives the dome’s volume, .
The inner integral: one slice
Take f(x, y) = xy over the rectangle , . Hold y fixed. The slice is the curve z = xy, a function of x alone with y as a constant, and its area is . This is ordinary integration in x: y is carried along like any constant factor.
At y = 1.5 the slice is the line z = 1.5x from x = 0 to x = 2, and the area under it is A(1.5) = 3, the triangle with base 2 and height 3.
The slice of z = xy at y = 1.5: the line z = 1.5x over . The shaded face has area , which is 2y at y = 1.5.
The outer integral: stack the slices
A slab of thickness dy at position y has volume A(y) dy, so the volume is . Putting the inner integral inside the outer one gives the double integral : an integral of integrals, read from the inside out, with dx belonging to the inner and dy to the outer.
So the volume is the area under the graph of A(y). The slice areas grow from 0 at y = 0 to 6 at y = 3, and the area under that straight line is 9.
The slice area A(y) = 2y plotted against y from 0 to 3. The shaded area under it, , is the volume under z = xy over the rectangle.
Either order, and a check by sums
Slice the other way, holding x fixed: , and . The same solid, sliced in the other direction, has the same volume. And because xy is x times y, the integral also splits into .
A double integral is the limit of a double sum. Cut the rectangle into a 100 by 100 grid of small rectangles, each of area 0.02 × 0.03, and add up f times the area of each. Taking f at each lower-left corner gives 8.82; at each upper-right corner, 9.18; at each center, 9. The volume is squeezed between the first two.
When f is not a product
For over , , the inner integral is . The term is a constant in x, so it integrates to times the width, 1. The outer integral is .
The other order gives , and again. A midpoint sum on a 100 by 100 grid gives 3.3332.
A region that is not a rectangle
Over the triangle , below the line y = x, the slices have different lengths, so the inner limits depend on the outer variable. Holding x fixed, y runs from 0 up to x: . Then .
Holding y fixed instead, x runs from y to 2. The inner integral is at x = 2 minus its value at x = y, which is , and . The limits change with the order; the volume does not.
The triangle , under the line y = x. For the x marked, 1.2, the inner integral runs in y from the point on the x-axis, y = 0, up to the point on the line, y = x = 1.2.
The usual mistakes
Multiplying the area of the region by the greatest height. For xy over the 2 by 3 rectangle that gives 6 × 6 = 36, the volume of the box around the solid; the surface is far lower than 6 over most of the rectangle, and the double integral gives 9.
Swapping the limits with the variables. In the inner limits 0 and 2 belong to x, because dx is the inner differential.
Integrating the other variable in the inner integral. In , is a constant: it integrates to , not .
Keeping rectangle limits on a triangle. Over the triangle below y = x, the inner integral in y stops at y = x, not at 2.
A heap of gravel
In the application below, the depth of a heap of gravel is a function of position on a rectangular patch. Integrating the depth along the length gives the area of a cross-section, and integrating that across the width gives the volume, first of the whole heap and then of the part at one end.
Worked example: A Heap of Gravel on a Rectangular Patch: Its Volume, and the Volume at One End
Question A heap of gravel stands on a rectangular patch of ground 12 meters long and 8 meters wide. With the origin at the center of the patch, x meters along its length and y meters across it, the gravel is h(x, y) = 1.5(1 − x236)(1 − y216) meters deep, for −6 ≤ x ≤ 6 and −4 ≤ y ≤ 4. (a) Find the volume of the heap as a double integral over the rectangle. (b) A loader first clears the part of the heap beyond the line x = 3, the last 3 meters at one end. Find the volume it clears, and compare it with a quarter of the heap.
1.(a) The volume is ∫−44∫−66 h(x, y) dx dy. Integrate first in x, holding y constant, so that 1.5(1 − y216) is a constant factor: ∫−66(1 − x236)dx = [x − x3108]−66 = (6 − 2) − (−6 + 2) = 8.
(a) Seen from above, the curves join points where the gravel is 0.5 and 1.0 meters deep. The straight line is a slice across the heap at one value of y; integrating the depth along it gives the area of that cross-section. 2.So the cross-section of the heap at y has area 1.5 × 8 × (1 − y216) = 12(1 − y216) square meters. Integrate it across the width: ∫−4412(1 − y216)dy = 12[y − y348]−44 = 12 × 163 = 64 cubic meters.
The cross-section at y has an area of 12(1 − y216) square meters, and integrating it from y = −4 to y = 4 gives 64 cubic meters. 3.Check: over its interval, 1 − x236 has an average of 812 = 23, and 1 − y216 has an average of 163 ÷ 8 = 23. So the heap fills 23 × 23 = 49 of the box around it, 12 by 8 by 1.5 meters: 49 × 144 = 64 cubic meters.
The heap fills 49 of the box, 12 by 8 by 1.5 meters, that stands around it. 4.(b) The part beyond x = 3 lies over the rectangle 3 ≤ x ≤ 6, −4 ≤ y ≤ 4. The integral across the width is unchanged, 163, and ∫36(1 − x236)dx = [x − x3108]36 = (6 − 2) − (3 − 0.25) = 1.25.
(b) The end beyond x = 3 covers a quarter of the patch, but only the shallow edge of the heap. 5.So the loader clears 1.5 × 1.25 × 163 = 10 cubic meters. A quarter of the heap is 16 cubic meters, and the end holds only 1064 ≈ 15.6 percent of the heap, because the gravel is shallowest near the end.
It holds 10 cubic meters, less than a quarter of the 64, because the gravel there is shallow.
Answer: (a) 64 cubic meters; (b) 10 cubic meters, less than a quarter of the heap, 16 cubic meters, because the gravel is shallow near the end
Common mistakes
- Multiplying the area of the patch by the greatest depth, 96 × 1.5 = 144 cubic meters. That is the volume of the box around the heap; the depth falls to 0 at every edge, and the double integral adds up the actual depth over each small piece of ground.
- Taking the end beyond x = 3 to hold a quarter of the gravel because it is a quarter of the length. The gravel there is shallow, so the end holds 10 cubic meters, not 16.