Learning Objectives
- Recognize when a function of three variables is integrable over a rectangular box.
- Evaluate a triple integral by expressing it as an iterated integral.
- Recognize when a function of three variables is integrable over a closed and bounded region.
- Simplify a calculation by changing the order of integration of a triple integral.
Integrable Functions of Three Variables
We can define a rectangular box BB in R3R3 as B={(x,y,z)∣a ≤ x ≤ b,c ≤ y ≤ d,e ≤ z ≤ f}B={(x,y,z)∣a ≤ x ≤ b,c ≤ y ≤ d,e ≤ z ≤ f}. We follow a similar procedure to what we did in Double Integrals over Rectangular Regions. We divide the interval [a,b][a,b] into ll subintervals [xi−1,xi][xi−1,xi] of equal length Δx=xi−xi−1lΔx=xi−xi−1l, divide the interval [c,d][c,d] into mm subintervals [yi−1,yi][yi−1,yi] of equal length Δy=yj−yj−1mΔy=yj−yj−1m, and divide the interval [e,f][e,f] into nn subintervals [zi−1,zi][zi−1,zi] of equal length Δz=zk−zk−1nΔz=zk−zk−1n. Then the rectangular box BB is subdivided into lmnlmn subboxes Bijk=[xi−1,xi] × [yi−1,yi] × [zi−1,zi]Bijk=[xi−1,xi] × [yi−1,yi] × [zi−1,zi], as shown in Figure 1.

Figure 1. A rectangular box in R3R3 divided into subboxes by planes parallel to the coordinate planes.
For each ii, jj, and kk, consider a sample point (x∗ijk,y∗ijk,z∗ijk)(x∗ijk,y∗ijk,z∗ijk) in each sub-box BijkBijk. We see that its volume is ΔV=ΔxΔyΔzΔV=ΔxΔyΔz. Form the triple Riemann sum
l∑i=1m∑j=1n∑k=1f(x∗ijk,y∗ijk,z∗ijk)ΔxΔyΔzl∑i=1m∑j=1n∑k=1f(x∗ijk,y∗ijk,z∗ijk)ΔxΔyΔz.
We define the triple integral in terms of the limit of a triple Riemann sum, as we did for the double integral in terms of a double Riemann sum.
definition
The triple integral of a function f(x,y,z)f(x,y,z) over a rectangular box BB is defined as
liml,m,n→∞ l∑i=1m∑j=1n∑k=1 f(x∗ijk,y∗ijk,z∗ijk)ΔxΔyΔz=∭Bf(x,y,z)dVliml,m,n→∞ l∑i=1m∑j=1n∑k=1 f(x∗ijk,y∗ijk,z∗ijk)ΔxΔyΔz=∭Bf(x,y,z)dV
if this limit exists.
When the triple integral exists on BB, the function f(x,y,z)f(x,y,z) is said to be integrable on BB. Also, the triple integral exists if f(x,y,z)f(x,y,z) is continuous on BB. Therefore, we will use continuous functions for our examples. However, continuity is sufficient but not necessary; in other words, ff is bounded on BB and continuous except possibly on the boundary of BB The sample point (x∗ijk,y∗ijk,z∗ijk)(x∗ijk,y∗ijk,z∗ijk) can be any point in the rectangular sub-box BijkBijk and all the properties of a double integral apply to a triple integral. Just as the double integral has many practical applications, the triple integral also has many applications, which we discuss in later sections.
Now that we have developed the concept of the triple integral, we need to know how to compute it. Just as in the case of the double integral, we can have an iterated triple integral, and consequently, a version of Fubini’s thereom for triple integrals exists.
theorem: fubini’s theorem for triple integrals
If f(x,y,z)f(x,y,z) is continuous on a rectangular box B=[a,b] × [c,d] × [e,f]B=[a,b] × [c,d] × [e,f], then
∭Bf(x,y,z)dV=∫fe∫dc∫baf(x,y,z)dx dy dz∭Bf(x,y,z)dV=∫fe∫dc∫baf(x,y,z)dx dy dz.
This integral is also equal to any of the other five possible orderings for the iterated triple integral.
For aa, bb, cc, dd, ee, and ff real numbers, the iterated triple integral can be expressed in six different orderings:
∫fe∫dc∫baf(x,y,z)dx dy dz=∫fe(∫dc(∫baf(x,y,z)dx)dy)dz=∫dc(∫fe(∫baf(x,y,z)dx)dz)dy=∫ba(∫fe(∫dcf(x,y,z)dy)dz)dx=∫fe(∫ba(∫dcf(x,y,z)dy)dx)dz=∫ec(∫ba(∫fef(x,y,z)dz)dx)dy=∫ba(∫ec(∫fef(x,y,z)dz)dy)dx.∫fe∫dc∫baf(x,y,z)dx dy dz=∫fe(∫dc(∫baf(x,y,z)dx)dy)dz=∫dc(∫fe(∫baf(x,y,z)dx)dz)dy=∫ba(∫fe(∫dcf(x,y,z)dy)dz)dx=∫fe(∫ba(∫dcf(x,y,z)dy)dx)dz=∫ec(∫ba(∫fef(x,y,z)dz)dx)dy=∫ba(∫ec(∫fef(x,y,z)dz)dy)dx.
For a rectangular box, the order of integration does not make any significant difference in the level of difficulty in computation. We compute triple integrals using Fubini’s Theorem rather than using the Riemann sum definition. We follow the order of integration in the same way as we did for double integrals (that is, from inside to outside).
Example: evaluating a triple integral 1
Evaluate the triple integral ∫z=1z=0∫y=4y=2∫x=5x=−1(x+yz2)dx dy dz.
Example: evaluating a triple integral 2
Evaluate the triple integral ∭Bx2yzdV where
B={(x,y,z)∣−2 ≤ x ≤ 1,0 ≤ y ≤ 3,1 ≤ z ≤ 5} as shown in the following figure.

Figure 2. Evaluating a triple integral over a given rectangular box.
try it
Evaluate the triple integral ∭Bz sin x cos y dV where
B={(x,y,z)∣0 ≤ x ≤ π,3π2 ≤ y ≤ 2π,1 ≤ z ≤ 3}.
Watch the following video to see the worked solution to the above Try It
Try It
Triple Integrals over a General Bounded Region
We now expand the definition of the triple integral to compute a triple integral over a more general bounded region E in R3. The general bounded regions we will consider are of three types. First, let D be the bounded region that is a projection of E onto the xy-plane. Suppose the region E in R3 has the form
E={(x,y,z)∣(x,y) ∈ D,u1(x,y) ≤ z ≤ u2(x,y)}.
For two functions z=u1(x,y) and z=u2(x,y), such that u1(x,y) ≤ u2(x,y) for all (x,y) in D as shown in the following figure.

Figure 3. We can describe region E as the space between u1(x,y) and u2(x,y) above the projection D of E onto the xy-plane.
theorem: triple integral over a general region
The triple integral of a continuous function f(x,y,z) over a general three-dimensional region
E={(x,y,z)∣(x,y) ∈ D,u1(x,y) ≤ z ≤ u2(x,y)}
in R3, where D is the projection of E onto the xy–plane, is
∭Ef(x,y,z)dV=∬D[∫u2(x,y)u1(x,y)f(x,y,z)dz]dA.
Similarly, we can consider a general bounded region D in the xy-plane and two functions y=u1(x,z) and y=u2(x,z) such that u1(x,z) ≤ u2(x,z) for all (x,z) in D. Then we can describe the solid region E in R3 as
E={(x,y,z)∣(x,z) ∈ D,u1(x,z) ≤ z ≤ u2(x,z)}
where D is the projection of E onto the xy-plane and the triple integral is
∭Ef(x,y,z)dV=∬D[∫u2(x,z)u1(x,z)f(x,y,z)dy]dA.
Finally, if D is a general bounded region in the yz-plane and we have two functions x=u1(y,z) and x=u2(y,z) such that u1(y,z) ≤ u2(y,z) for all (y,z) in D, then the solid region E in R3 can be described as
E={(x,y,z)∣(y,z) ∈ D,u1(y,z) ≤ z ≤ u2(y,z)}
where D is the projection of E onto the yz-plane and the triple integral is
∭Ef(x,y,z)dV=∬D[∫u2(y,z)u1(y,z)f(x,y,z)dx]dA.
Note that the region D in any of the planes may be of Type I or Type II as described in Double Integrals over General Regions. If D in the xy-plane is of Type I (Figure 4), then
E={(x,y,z)∣a ≤ x ≤ b,g1(x) ≤ y ≤ g2(x),u1(x,y) ≤ z ≤ u2(x,y)}.

Figure 4. A box E where the projection D in the xy-plane is of Type I.
Then the triple integral becomes
∭Ef(x,y,z)dV=∫ba ∫g2(x)g1(x) ∫u2(x,y)u1(x,y)f(x,y,z)dzdydx.
If D in the xy-plane is of Type II (Figure 5), then
E={(x,y,z)∣c ≤ x ≤ d,h1(x) ≤ y ≤ h2(x),u1(x,y) ≤ z ≤ u2(x,y)}.

Figure 5. A box E where the projection D in the xy-plane is of Type II.
Then the triple integral becomes
∭Ef(x,y,z)dV=∫y=dy=c∫x=h2(y)x=h1(y)∫z=u2(x,y)z=u1(x,y)f(x,y,z)dzdxdy.
Example: evaluating a triple integral over a general bounded region
Evaluate the triple integral of the function f(x,y,z)=5x−3y over the solid tetrahedron bounded by the planes x=0, y=0, z=0, and x+y+z=1.
Just as we used the double integral ∬D1dA to find the area of a general bounded region D, we can use ∭E1dV to find the volume of a general solid bounded region E. The next example illustrates the method.
Example: finding a volume by evaluating a triple integral
Find the volume of a right pyramid that has the square base in the xy-plane [−1,1] × [−1,1] and vertex at the point (0,0,1) as shown in the following figure.

Figure 7. Finding the volume of a pyramid with a square base.
try it
Consider the solid sphere E=(x,y,z)∣{x2+y2+z2=9}. Write the triple integral ∭Ef(x,y,z)dV for an arbitrary function f as an iterated integral. Then evaluate this triple integral with f(x,y,z)=1. Notice that this gives the volume of a sphere using a triple integral.
Watch the following video to see the worked solution to the above Try It
Changing the Order of Integration
As we have already seen in double integrals over general bounded regions, changing the order of the integration is done quite often to simplify the computation. With a triple integral over a rectangular box, the order of integration does not change the level of difficulty of the calculation. However, with a triple integral over a general bounded region, choosing an appropriate order of integration can simplify the computation quite a bit. Sometimes making the change to polar coordinates can also be very helpful. We demonstrate two examples here.
Example: changing the order of integration
Consider the iterated integral
∫x=1x=0 ∫y=x2y=0 ∫z=y2z=0f(x,y,z)dzdydx.
The order of integration here is first with respect to z, then y, and then x. Express this integral by changing the order of integration to be first with respect to x, then z, and then y. Verify that the value of the integral is the same if we let f(x,y,z)=xyz.
try it
Write five different iterated integrals equal to the given integral ∫z=4z=0 ∫y=4−zy=0 ∫x=√yx=0f(x,y,z)dxdydz.
Example: changing integration order and coordinate systems
Evaluate the triple integral ∭E√x2+z2dV, where E is the region bounded by the paraboloid y=x2+z2 (Figure 9) and the plane y=4.

Figure 9. Integrating a triple integral over a paraboloid.
Candela Citations
- CP 5.23. Authored by: Ryan Melton. License: CC BY: Attribution
- CP 5.24. Authored by: Ryan Melton. License: CC BY: Attribution
- Calculus Volume 3. Authored by: Gilbert Strang, Edwin (Jed) Herman. Provided by: OpenStax. Located at: https://openstax.org/books/calculus-volume-3/pages/1-introduction. License: CC BY-NC-SA: Attribution-NonCommercial-ShareAlike. License Terms: Access for free at https://openstax.org/books/calculus-volume-3/pages/1-introduction