A double integral adds up a quantity spread over a flat region. A triple integral does the same thing over a solid region in space. It gives volume, mass, total charge, and average values of functions of three variables, and almost all of the technique carries over from double integrals.
From boxes to triple integrals
Start with a function f(x,y,z) defined on a box B=[a,b]×[c,d]×[r,s]. Cut the box into small sub-boxes of volume ΔV=ΔxΔyΔz, pick a sample point (xijk∗,yijk∗,zijk∗) in each one, and add:
i∑j∑k∑f(xijk∗,yijk∗,zijk∗)ΔV.
As the sub-boxes shrink, these Riemann sums approach the triple integral∭Bf(x,y,z)dV.
If f=1, each term is just the volume of a sub-box, so ∭E1dV is the volume of E. If f is a density, the triple integral is a mass.
Fubini's Theorem for boxes
If f is continuous on B=[a,b]×[c,d]×[r,s], then
∭Bf(x,y,z)dV=∫rs∫cd∫abf(x,y,z)dxdydz,
and the three integrations can be done in any of the six possible orders.
You work from the inside out: integrate with respect to the innermost variable while holding the other two constant, then the next, then the last.
Worked example: A separable integrand on a box
Evaluate ∭Bxyz2dV, where B=[0,1]×[−1,2]×[0,3].
Solution. The integrand is a product of a function of x, a function of y and a function of z, and the limits are constants, so the integral splits into three single integrals:
Most solids are not boxes. The most common way to describe a solid E is to say it lies between two surfaces, one below and one above, over a region D in the xy-plane:
E={(x,y,z):(x,y)∈D,u1(x,y)≤z≤u2(x,y)}.
Here D is the projection (shadow) of E onto the xy-plane. For such a region,
∭EfdV=∬D[∫u1(x,y)u2(x,y)f(x,y,z)dz]dA.
The inner integral runs from the bottom surface to the top surface. What is left is a double integral over D, which you set up exactly as in the earlier lessons.
Setting up a triple integral
Decide which variable goes innermost (often z). Find the lower and upper surfaces: those are its limits.
Project the solid onto the plane of the other two variables to get D.
Describe D with limits, as for a double integral: the middle limits may depend on the outer variable, and the outer limits are constants.
You can just as well project onto the yz-plane (with x innermost) or the xz-plane (with y innermost). Choose whichever makes the bounding surfaces easiest to write.
Worked example: A tetrahedron
Let E be the solid tetrahedron bounded by the coordinate planes and the plane x+y+z=1. Evaluate ∭EzdV.
Solution. The bottom is z=0 and the top is z=1−x−y. The shadow D on the xy-plane is the triangle x≥0, y≥0, x+y≤1, which is 0≤x≤1, 0≤y≤1−x. So
The integrand is even, so this is ∫01(1−x4)dx=1−51=54.
Common mistake
The limits must get simpler as you move outward. The innermost limits may involve both outer variables, the middle limits may involve only the outermost variable, and the outermost limits must be constants. If your final answer still contains a variable, a limit is in the wrong place.
Changing the order
Sometimes an integral is easier in a different order. To switch, describe the same solid a different way. For the tetrahedron x,y,z≥0, x+y+z≤1, putting y innermost gives 0≤y≤1−x−z, and the shadow on the xz-plane is the triangle 0≤x≤1, 0≤z≤1−x: