Triple integrals
Remember how double integrals can be written as iterated integrals. Triple integrals are essentially the same thing as double integrals. (We just add a third dimension.) We will turn triple integrals into (triple) iterated integrals.
Just as with double integrals, the only trick is determining the limits on the iterated integrals. (Unfortunately, it’s harder to draw in three dimensions.)
Defined by Riemann sums
Let be the density of some three-dimensional solid . We want to define the triple integral of over to be the total mass of .
As with double integrals, we define the integral with Riemann sums. We chop up the solid into small boxes, say with dimensions , , . If happened to be a cube, this chopping might look something like this.

The volume of each small box is
Think of the boxes as being arranged in layers, with each layer arranged into rows and columns. We can then index the boxes so that box refers to the box in the th row, the th column, and the th layer.
For each box, we pick a point in the box to represent that box. For box , we call that point . Pretend that the density of box is constant, i.e., that the density is everywhere in that box. The mass of box is its density times it volume:
We sum up these approximate masses to estimate the total mass of the solid . We obtain the Riemann sum
where the sum is over all small boxes.
Let , , and , (and the number of small boxes go to infinity). The Riemann sum approaches the triple integral over the solid ,
assuming is continuous. The triple integral is the actual mass of .
Triple iterated integrals
If the solid is a cube defined by , , and , then we can easily write the triple integral as an iterated integral. We could first integrate from to , then integrate from to , and finally integrate from to ,
This order of integration corresponds to taking the Riemann sum and first summing over rows , then summing over columns , and finally summing over layers .
Just as with double integrals, other orders of integration are possible. We could, for example, first integrate , then integrate , and lastly integrate ,
The iterated integral is simple when the solid is a rectangular solid (like a cube, but where all edges aren’t necessarily the same length). For more complicated shapes, finding the limits of integration can be tricky. We’ll do some examples in class.
For now, just remember these rules, which are analogous to the rules we had for limits on double iterated integrals.
- The outer limits have to be constant. They cannot depend on any of the variables.
- The middle limits can depend on the variable from the outer integral only. They cannot depend on the variable from the inner integral.
- The inner limits can depend on the variable from the outer integral and the variable from the middle integral.
So, for example, the following integral makes sense
It describes the integral of over the region defined by
(not that you should be able to visualize what looks like).
The following integral does not make sense
Can you see why? The outer integral depends on both and (but isn’t defined until you go inside the middle integral, and isn’t defined until you go inside the inner integral). Also, the middle integral depends on .
Click here for triple integral examples.