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 f(x,y,z) be the density of some three-dimensional solid W. We want to define the triple integral of f over W to be the total mass of W.
As with double integrals, we define the integral with Riemann sums. We chop up the solid W into small boxes, say with dimensions Δx, Δy, Δz. If W happened to be a cube, this chopping might look something like this.

The volume of each small box is
| ΔV = ΔxΔyΔz. |
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 ijk refers to the box in the ith row, the jth column, and the kth layer.
For each box, we pick a point in the box to represent that box. For box ijk, we call that point (xijk,yijk,zijk). Pretend that the density of box ijk is constant, i.e., that the density is f(xijk,yijk,zijk) everywhere in that box. The mass of box ijk is its density times it volume:
| f(xijk,yijk,zijk)ΔV. |
We sum up these approximate masses to estimate the total mass of the solid W. We obtain the Riemann sum
| ∑ ijkf(xijk,yijk,zijk)ΔV, |
Let Δx → 0, Δy → 0, and Δz → 0, (and the number of small boxes go to infinity). The Riemann sum approaches the triple integral over the solid W,
![]() |
Triple iterated integrals
If the solid W is a cube defined by a ≤ x ≤ b, c ≤ y ≤ d, and p ≤ z ≤ q, then we can easily write the triple integral as an iterated integral. We could first integrate x from a to b, then integrate y from c to d, and finally integrate z from p to q,
![]() |
Just as with double integrals, other orders of integration are possible. We could, for example, first integrate z, then integrate x, and lastly integrate y,
![]() |
The iterated integral is simple when the solid W 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
![]() |
| 2 ≤ z ≤ 3, | ||
| 1 - z ≤ y ≤ 0, | ||
| - y2 - z2 ≤ x ≤ y2 + z2 |
The following integral does not make sense
![]() |
Click here for triple integral examples.




