Triple integrals and volume

A double integral sums a function over a flat region and, in the special case f=1f=1, hands you an area. Push the same idea one dimension further and you get a triple integral: a sum of function values over a solid 3D region VV, evaluated as three nested single integrals. Set the integrand to 11 and the machinery collapses to the volume of VV — a single formula that replaces every ad-hoc geometric volume rule you have memorized for prisms, cones and tetrahedra. The real work is rarely the integration itself; it is reading the solid's shape correctly enough to write down the six limits of integration.

The core insight

A triple integral ∭Vf(x,y,z) dV\iiint_V f(x,y,z)\,dV evaluated as three nested single integrals generalizes the double integral one dimension further, and setting f=1f=1 gives the volume of the solid VV.

The core idea

Setting up the iterated integral. If the solid VV is described by a≤x≤ba\le x\le b, g1(x)≤y≤g2(x)g_1(x)\le y\le g_2(x), h1(x,y)≤z≤h2(x,y)h_1(x,y)\le z\le h_2(x,y), the triple integral is evaluated innermost-first:

∭Vf(x,y,z) dV=∫ab∫g1(x)g2(x)∫h1(x,y)h2(x,y)f(x,y,z) dz dy dx.\iiint_V f(x,y,z)\,dV = \int_a^b\int_{g_1(x)}^{g_2(x)}\int_{h_1(x,y)}^{h_2(x,y)} f(x,y,z)\,dz\,dy\,dx.

where: the innermost integral (over zz) treats x,yx,y as constants and produces a function of x,yx,y; the middle integral (over yy) treats xx as constant and produces a function of xx; the outer integral (over xx) finishes the job as an ordinary single integral. The three variables can be integrated in any of six orders, and the point of choosing one order over another is purely practical — the same solid can have simple limits in one order and painful ones in another.

Volume as the special case. Taking f(x,y,z)=1f(x,y,z)=1 gives

Volume(V)=∭VdV,\text{Volume}(V) = \iiint_V dV,

exactly mirroring how ∬R1 dA\iint_R 1\,dA gives a plane area — the same summing idea, one dimension up.

Reading the solid. The limits almost always come from a picture, not from algebra alone. Fix xx and yy and ask which zz-values lie inside VV — that is the innermost pair of limits. Then look at the shadow (projection) the solid casts on the xyxy-plane — that 2D region supplies the outer double-integral limits, exactly as in plane double integrals.

Choosing an order. All six orderings of x,y,zx,y,z give the same numerical answer, but they are not equally easy to set up. A solid bounded by a single slanted plane and the three coordinate planes, like the tetrahedron below, is naturally described with zz innermost because its upper surface is a single explicit function z=h(x,y)z=h(x,y); a solid described instead as "between two cylinders" might integrate far more cleanly with xx or yy innermost. Before writing any limits, look at which variable's bounding surfaces are given as single explicit functions of the other two — that variable is usually the easiest to make innermost.

Figure
A tetrahedron in the first octant with its shadow triangle on the base plane and a vertical strip showing the z limits between the base and the slanted face
Setting up limits: shadow region first, then z between the surfaces apex, z = 1 - x - y vertical strip: z limits base, z = 0 project x y x + y = 1 outer limits: 0 to 1-x, then 0 to 1 Inner limit: 0 to 1-x-y for z. Outer limits: the shadow triangle in x and y.

The formula for the volume of a right-angled tetrahedron

Derive, from the definition of a triple integral, the volume of the general first-octant tetrahedron bounded by the coordinate planes x=0x=0, y=0y=0, z=0z=0 and the slanted plane x/a+y/a+z/a=1x/a+y/a+z/a=1 with mutually perpendicular edges of length aa meeting at the origin, and show the result is V=a3/6V=a^3/6, the standard formula for such a right-angled corner solid.

Step 1. Identify the region. The plane x+y+z=ax+y+z=a cuts the three axes at (a,0,0)(a,0,0), (0,a,0)(0,a,0), (0,0,a)(0,0,a), so the solid sits in the first octant, capped above by z=a−x−yz=a-x-y and below by z=0z=0. Its shadow on the xyxy-plane is the triangle x≥0x\ge0, y≥0y\ge0, x+y≤ax+y\le a.

Step 2. Write the iterated integral. With zz innermost, then yy, then xx:

V=∫0a∫0a−x∫0a−x−ydz dy dx.V = \int_0^a\int_0^{a-x}\int_0^{a-x-y} dz\,dy\,dx.

Step 3. Integrate over zz. The innermost integral is ∫0a−x−ydz=a−x−y\int_0^{a-x-y}dz = a-x-y, a linear function of x,yx,y that gives the "height" of the solid above each point of the shadow triangle.

Step 4. Integrate over yy. \int_0^{a-x}(a-x-y)\,dy = \left[(a-x)y-\frac{y^2}{2}\right]_0^{a-x} = (a-x)^2 - \frac{(a-x)^2}{2} = \frac{(a-x)^2}{2}.

Step 5. Integrate over xx and simplify. V = \int_0^a \frac{(a-x)^2}{2}\,dx = \frac12\left[-\frac{(a-x)^3}{3}\right]_0^a = \frac12\left(0+\frac{a^3}{3}\right) = \frac{a^3}{6}. Setting a=1a=1 metre recovers the Pass-1 result V=16 m3V=\tfrac16\ \text{m}^3 exactly, confirming the general formula against the specific case already worked out.

Worked example

Problem. For the box VV: 0≤x≤10\le x\le1, 0≤y≤20\le y\le2, 0≤z≤30\le z\le3, evaluate ∭Vxyz dV\displaystyle\iiint_V xyz\,dV and hence find the average value of f(x,y,z)=xyzf(x,y,z)=xyz over VV.

Step 1. Because VV is a rectangular box with constant limits and f=xyzf=xyz factors as a product of single-variable functions, the triple integral separates:

∭Vxyz dV=(∫01x dx)(∫02y dy)(∫03z dz)=12×2×92=92=4.5.\iiint_V xyz\,dV = \left(\int_0^1x\,dx\right)\left(\int_0^2y\,dy\right)\left(\int_0^3z\,dz\right) = \frac12\times2\times\frac92 = \frac92 = 4.5.

Step 2. Find the volume of the box needed for the average: Volume(V)=∭VdV=1×2×3=6\text{Volume}(V) = \iiint_V dV = 1\times2\times3 = 6 (the same separable-box trick with f=1f=1, so each factor is just the side length).

Step 3. The average value of ff over a solid region is the integral divided by the volume:

fˉ=1Volume(V)∭Vf dV=4.56=0.75.\bar f = \frac{1}{\text{Volume}(V)}\iiint_V f\,dV = \frac{4.5}{6} = 0.75.

The average value of xyzxyz over the box is fˉ=0.75\bar f = 0.75.

Competitive stretch

Step 1. Check the separable shortcut against a direct nested evaluation for one factor. Integrating zz innermost first over the same box: ∫03xyz dz=xy[z22]03=9xy2\int_0^3 xyz\,dz = xy\left[\frac{z^2}{2}\right]_0^3 = \frac{9xy}{2}.

Step 2. Integrate over yy: ∫029xy2 dy=9x2[y22]02=9x2×2=9x\int_0^2 \frac{9xy}{2}\,dy = \frac{9x}{2}\left[\frac{y^2}{2}\right]_0^2 = \frac{9x}{2}\times2 = 9x.

Step 3. Integrate over xx: ∫019x dx=9[x22]01=92=4.5\int_0^1 9x\,dx = 9\left[\frac{x^2}{2}\right]_0^1 = \frac92 = 4.5. This matches the separable-shortcut answer exactly, confirming the shortcut is just a faster route to the same nested integral, not a different calculation.

Common traps

  • Writing the innermost variable's limits as fixed numbers when they actually depend on the other two variables, e.g. treating zz's upper limit as constant when it should be a−x−ya-x-y.
  • Skipping the sketch: for a 3D solid, guessing the shadow region or the height function without visualizing the boundary surfaces is the single biggest source of wrong limits.
  • Forgetting the separable-box shortcut and grinding through a full nested evaluation when the region is a box and ff factors into single-variable pieces.
  • Confusing ∭VdV\iiint_V dV (a pure volume) with ∭Vf dV\iiint_V f\,dV for nontrivial ff (a weighted total, such as mass if ff is a density) — know which quantity a given setup actually represents.

Ask the tutor: if you are unsure how to read off the z limits or the shadow region for a solid described in words, ask the AI tutor to sketch it with you cross-section by cross-section before committing to the integral.

Why does the order of integration matter if the answer is always the same number?

The final value never changes, but the difficulty of getting there does. Some orders make the limits of one or more variables simple constants, while other orders force you to express limits as messy functions of the remaining variables. Always look at how the solid's boundary surfaces are naturally described before picking dz dy dx versus another order — a good choice can turn a painful setup into a short one.

How is average value over a solid different from the ordinary average of a few numbers?

An ordinary average adds finitely many numbers and divides by how many there are. Average value over a solid does the continuous version: it adds up (integrates) the function's value at every point of the region and divides by the total volume, since a solid has infinitely many points and no natural "count" to divide by. The formula fˉ=1Volume(V)∭Vf dV\bar f = \frac{1}{\text{Volume}(V)}\iiint_V f\,dV is exactly that continuous analogue.

Do I always need to convert to spherical or cylindrical coordinates for triple integrals?

No. This topic only requires Cartesian iterated integrals over regions described by inequalities in x, y and z — planes, boxes and simple wedge-shaped solids like the tetrahedron here. Cylindrical and spherical coordinates are a separate, more advanced tool for regions with circular or spherical symmetry and are not part of this syllabus item; stick to Cartesian setups for the problems in this unit.

Before this

Where this leads