Section 5.4Triple Integrals
In Double Integrals over Rectangular Regions, we discussed the double integral of a function \(f(x,y)\) of two variables over a rectangular region in the plane. In this section we define the triple integral of a function \(f(x,y,z)\) of three variables over a rectangular solid box in space, \({ℝ}^{3}.\) Later in this section we extend the definition to more general regions in \({ℝ}^{3}.\)
Integrable Functions of Three Variables
We can define a rectangular box \(B\) in \({ℝ}^{3}\) as \(B=\{(x,y,z)|a\le x\le b,c\le y\le d,e\le z\le f\}.\) We follow a similar procedure to what we did in Double Integrals over Rectangular Regions. We divide the interval \([a,b]\) into \(l\) subintervals \([{x}_{i-1},{x}_{i}]\) of equal length \(\Delta x=\frac{b-a}{l},\) divide the interval \([c,d]\) into \(m\) subintervals \([{y}_{j-1},{y}_{j}]\) of equal length \(\Delta y=\frac{d-c}{m},\) and divide the interval \([e,f]\) into \(n\) subintervals \([{z}_{k-1},{z}_{k}]\) of equal length \(\Delta z=\frac{f-e}{n}.\) Then the rectangular box \(B\) is subdivided into \(lmn\) subboxes \({B}_{ijk}=[{x}_{i-1},{x}_{i}]\,\times \,[{y}_{j-1},{y}_{j}]\,\times \,[{z}_{k-1},{z}_{k}],\) as shown in Figure 1.

For each \(i,j,\,\text{and}\,k,\) consider a sample point \(({x}_{ijk}^{*},{y}_{ijk}^{*},{z}_{ijk}^{*})\) in each sub-box \({B}_{ijk}.\) We see that its volume is \(\Delta V=\Delta x\Delta y\Delta z.\) Form the triple Riemann sum
\[∑i=1l∑j=1m∑k=1nf({x}_{ijk}^{*},{y}_{ijk}^{*},{z}_{ijk}^{*})\Delta x\Delta y\Delta 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.
The triple integral of a function \(f(x,y,z)\) over a rectangular box \(B\) is defined as
\[\underset{l,m,n\to \infty }{\text{lim}}∑i=1l∑j=1m∑k=1nf({x}_{ijk}^{*},{y}_{ijk}^{*},{z}_{ijk}^{*})\Delta x\Delta y\Delta z=\underset{B}{∭}f(x,y,z)dV\]
if this limit exists.
When the triple integral exists on \(B,\) the function \(f(x,y,z)\) is said to be integrable on \(B.\) Also, the triple integral exists if \(f(x,y,z)\) is continuous on \(B.\) Therefore, we will use continuous functions for our examples. However, continuity is sufficient but not necessary; in other words, \(f\) is bounded on \(B\) and continuous except possibly on the boundary of \(B.\) The sample point \(({x}_{ijk}^{*},{y}_{ijk}^{*},{z}_{ijk}^{*})\) can be any point in the rectangular sub-box \({B}_{ijk}\) 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.
If \(f(x,y,z)\) is continuous on a rectangular box \(B=[a,b]\,\times \,[c,d]\,\times \,[r,s],\) then
\[\underset{B}{∭}f(x,y,z)dV=∫rs\,∫cd\,∫abf(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 \(a,b,c,d,e,\) and \(f\) real numbers, the iterated triple integral can be expressed in six different orderings:
\[\begin{array}{ll}∫rs\,∫cd\,∫abf(x,y,z)dx\,dy\,dz & =∫rs(∫cd(∫abf(x,y,z)dx)dy)dz=∫cd(∫rs(∫abf(x,y,z)dx)dz)dy \\ & =∫ab(∫rs(∫cdf(x,y,z)dy)dz)dx=∫rs(∫ab(∫cdf(x,y,z)dy)dx)dz \\ & =∫ce(∫ab(∫rsf(x,y,z)dz)dx)dy=∫ab(∫ce(∫rsf(x,y,z)dz)dy)dx.\end{array}\]
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).
Evaluate the triple integral \({∫}_{z=0}^{z=1}{∫}_{y=2}^{y=4}{∫}_{x=-1}^{x=5}(x+y{z}^{2})dx\,dy\,dz.\)
Integrate innermost with respect to x first as specified, holding y and z fixed, then work outward.
The order of integration is specified in the problem, so integrate with respect to \(x\) first, then y, and then \(z.\)
\[\begin{array}{llll} \\ \\ \\ \\ \,{∫}_{z=0}^{z=1}{∫}_{y=2}^{y=4}{∫}_{x=-1}^{x=5}(x+y{z}^{2})dx\,dy\,dz & & & \\ ={∫}_{z=0}^{z=1}{∫}_{y=2}^{y=4}[{\frac{{x}^{2}}{2}+xy{z}^{2}|}_{x=-1}^{x=5}]dy\,dz & & & \text{Integrate with respect to}\,x. \\ ={∫}_{z=0}^{z=1}{∫}_{y=2}^{y=4}[12+6y{z}^{2}]dy\,dz & & & \text{Evaluate.} \\ ={∫}_{z=0}^{z=1}[{12y+6\frac{{y}^{2}}{2}{z}^{2}|}_{y=2}^{y=4}]dz & & & \text{Integrate with respect to}\,y. \\ ={∫}_{z=0}^{z=1}[24+36{z}^{2}]dz & & & \text{Evaluate.} \\ ={[24z+36\frac{{z}^{3}}{3}]}_{z=0}^{z=1}=36. & & & \text{Integrate with respect to}\,z.\end{array}\]
Evaluate the triple integral \(\underset{B}{∭}{x}^{2}yz\,dV\) where \(B=\{(x,y,z)|-2\le x\le 1,0\le y\le 3,1\le z\le 5\}\) as shown in the following figure.

Since the order isn't specified, pick any convenient order — integrate with respect to y first, then x, then z.
The order is not specified, but we can use the iterated integral in any order without changing the level of difficulty. Choose, say, to integrate y first, then x, and then z.
\(\begin{array}{ll}\underset{B}{∭}{x}^{2}yz\,dV & =∫15\,∫-21\,∫03[{x}^{2}yz]dy\,dx\,dz=∫15\,∫-21[{{x}^{2}\frac{{y}^{2}}{2}z|}_{0}^{3}]dx\,dz \\ & =∫15\,∫-21\frac{9}{2}{x}^{2}z\,dx\,dz=∫15[{\frac{9}{2}\frac{{x}^{3}}{3}z|}_{-2}^{1}]dz=∫15\frac{27}{2}z\,dz={\frac{27}{2}\frac{{z}^{2}}{2}|}_{1}^{5}=162.\end{array}\)
Now try to integrate in a different order just to see that we get the same answer. Choose to integrate with respect to \(x\) first, then \(z,\) and then \(y.\)
\[\begin{array}{ll}\underset{B}{∭}{x}^{2}yz\,dV & =∫03\,∫15\,∫-21[{x}^{2}yz]dx\,dz\,dy=∫03\,∫15[{\frac{{x}^{3}}{3}yz|}_{-2}^{1}]dz\,dy \\ & =∫03\,∫153yz\,dz\,dy=∫03[{3y\frac{{z}^{2}}{2}|}_{1}^{5}]dy=∫0336y\,dy={36\frac{{y}^{2}}{2}|}_{0}^{3}=18(9-0)=162.\end{array}\]
Evaluate the triple integral \(\underset{B}{∭}z\,\text{sin}\,x\,\text{cos}\,y\,dV\) where \(B=\{(x,y,z)|0\le x\le \pi ,\frac{3\pi }{2}\le y\le 2\pi ,1\le z\le 3\}.\)
\(\underset{B}{∭}z\,\text{sin}\,x\,\text{cos}\,y\,dV=8\)
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 \({ℝ}^{3}.\) 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 \({ℝ}^{3}\) has the form
\[E=\{(x,y,z)|(x,y)\in D,{u}_{1}(x,y)\le z\le {u}_{2}(x,y)\}\]
for two functions \(z={u}_{1}(x,y)\) and \(z={u}_{2}(x,y),\) such that \({u}_{1}(x,y)\le {u}_{2}(x,y)\) for all \((x,y)\) in \(D\) as shown in the following figure.

The triple integral of a continuous function \(f(x,y,z)\) over a general three-dimensional region
\[E=\{(x,y,z)|(x,y)\in D,{u}_{1}(x,y)\le z\le {u}_{2}(x,y)\}\]
in \({ℝ}^{3},\) where \(D\) is the projection of \(E\) onto the \(xz\) -plane, is
\[\underset{E}{∭}f(x,y,z)dV=\underset{D}{∬}[∫{u}_{1}(x,y){u}_{2}(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={u}_{1}(x,z)\) and \(y={u}_{2}(x,z)\) such that \({u}_{1}(x,z)\le {u}_{2}(x,z)\) for all \((x,z)\) in \(D.\) Then we can describe the solid region \(E\) in \({ℝ}^{3}\) as
\[E=\{(x,y,z)|(x,z)\in D,{u}_{1}(x,z)\le y\le {u}_{2}(x,z)\}\]
where \(D\) is the projection of \(E\) onto the \(xz\) -plane and the triple integral is
\[\underset{E}{∭}f(x,y,z)dV=\underset{D}{∬}[∫{u}_{1}(x,z){u}_{2}(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={u}_{1}(y,z)\) and \(x={u}_{2}(y,z)\) such that \({u}_{1}(y,z)\le {u}_{2}(y,z)\) for all \((y,z)\) in \(D,\) then the solid region \(E\) in \({ℝ}^{3}\) can be described as
\[E=\{(x,y,z)|(y,z)\in D,{u}_{1}(y,z)\le x\le {u}_{2}(y,z)\}\]
where \(D\) is the projection of \(E\) onto the \(yz\) -plane and the triple integral is
\[\underset{E}{∭}f(x,y,z)dV=\underset{D}{∬}[∫{u}_{1}(y,z){u}_{2}(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\le x\le b,{g}_{1}(x)\le y\le {g}_{2}(x),{u}_{1}(x,y)\le z\le {u}_{2}(x,y)\}.\]

Then the triple integral becomes
\[\underset{E}{∭}f(x,y,z)dV=∫ab\,∫{g}_{1}(x){g}_{2}(x)\,∫{u}_{1}(x,y){u}_{2}(x,y)f(x,y,z)dz\,dy\,dx.\]
If \(D\) in the \(xy\) -plane is of Type II (Figure 5), then
\[E=\{(x,y,z)|c\le y\le d,{h}_{1}(y)\le x\le {h}_{2}(y),{u}_{1}(x,y)\le z\le {u}_{2}(x,y)\}.\]

Then the triple integral becomes
\[\underset{E}{∭}f(x,y,z)dV={∫}_{y=c}^{y=d}{∫}_{x={h}_{1}(y)}^{x={h}_{2}(y)}{∫}_{z={u}_{1}(x,y)}^{z={u}_{2}(x,y)}f(x,y,z)dz\,dx\,dy.\]
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.\)
Describe the tetrahedron as 0≤x≤1, 0≤y≤1-x, 0≤z≤1-x-y, then integrate from the inside out.
Figure 6 shows the solid tetrahedron \(E\) and its projection \(D\) on the \(xy\) -plane.

We can describe the solid region tetrahedron as
\[E=\{(x,y,z)|0\le x\le 1,0\le y\le 1-x,0\le z\le 1-x-y\}.\]
Hence, the triple integral is
\[\underset{E}{∭}f(x,y,z)dV={∫}_{x=0}^{x=1}{∫}_{y=0}^{y=1-x}{∫}_{z=0}^{z=1-x-y}(5x-3y)dz\,dy\,dx.\]
To simplify the calculation, first evaluate the integral \({∫}_{z=0}^{z=1-x-y}(5x-3y)dz.\) We have
\[{∫}_{z=0}^{z=1-x-y}(5x-3y)dz=(5x-3y)(1-x-y).\]
Now evaluate the integral \({∫}_{y=0}^{y=1-x}(5x-3y)(1-x-y)dy,\) obtaining
\[{∫}_{y=0}^{y=1-x}(5x-3y)(1-x-y)dy=\frac{1}{2}{(x-1)}^{2}(6x-1).\]
Finally, evaluate
\[{∫}_{x=0}^{x=1}\frac{1}{2}{(x-1)}^{2}(6x-1)dx=\frac{1}{12}.\]
Putting it all together, we have
\[\underset{E}{∭}f(x,y,z)dV={∫}_{x=0}^{x=1}{∫}_{y=0}^{y=1-x}{∫}_{z=0}^{z=1-x-y}(5x-3y)dz\,dy\,dx=\frac{1}{12}.\]
Just as we used the double integral \(\underset{D}{∬}1dA\) to find the area of a general bounded region \(D,\) we can use \(\underset{E}{∭}1dV\) to find the volume of a general solid bounded region \(E.\) The next example illustrates the method.
Find the volume of a right pyramid that has the square base in the \(xy\) -plane \([-1,1]\,\times \,[-1,1]\) and vertex at the point \((0,0,1)\) as shown in the following figure.

Find the square cross-section of the pyramid at height z, then integrate 1 over that cross-section from z=0 to z=1.
In this pyramid the value of \(z\) changes from \(0\,\text{to}\,1,\) and at each height \(z,\) the cross section of the pyramid for any value of \(z\) is the square \([-1+z,1-z]\,\times \,[-1+z,1-z].\) Hence, the volume of the pyramid is \(\underset{E}{∭}1dV\) where
\[E=\{(x,y,z)|0\le z\le 1,-1+z\le y\le 1-z,-1+z\le x\le 1-z\}.\]
Thus, we have
\[\underset{E}{∭}1dV={∫}_{z=0}^{z=1}{∫}_{y=-1+z}^{y=1-z}{∫}_{x=-1+z}^{x=1-z}1dx\,dy\,dz={∫}_{z=0}^{z=1}{∫}_{y=-1+z}^{y=1-z}(2-2z)dy\,dz={∫}_{z=0}^{z=1}{(2-2z)}^{2}dz=\frac{4}{3}.\]
Hence, the volume of the pyramid is \(\frac{4}{3}\) cubic units.
Consider the solid sphere \(E=\{(x,y,z)|{x}^{2}+{y}^{2}+{z}^{2}\le 9\}.\) Write the triple integral \(\underset{E}{∭}f(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.
\(\underset{E}{∭}1dV={∫}_{x=-3}^{x=3}{∫}_{y=\text{-}\sqrt{9-{x}^{2}}}^{y=\sqrt{9-{x}^{2}}}{∫}_{z=\text{-}\sqrt{9-{x}^{2}-{y}^{2}}}^{z=\sqrt{9-{x}^{2}-{y}^{2}}}1dz\,dy\,dx=36\pi .\)
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.
Consider the iterated integral
\[∫x=0x=1\,∫y=0y={x}^{2}\,∫z=0z={y}^{2}f(x,y,z)dz\,dy\,dx.\]
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.\)
Sketch the solid's projections onto each coordinate plane to rewrite the same region with x as the innermost variable.
The best way to do this is to sketch the region \(E\) and its projections onto each of the three coordinate planes. Thus, let
\[E=\{(x,y,z)|0\le x\le 1,0\le y\le {x}^{2},0\le z\le {y}^{2}\}.\]
and
\[∫x=0x=1\,∫y=0y={x}^{2}\,∫z=0z={y}^{2}f(x,y,z)dz\,dy\,dx=\underset{E}{∭}f(x,y,z)dV.\]
We need to express this triple integral as
\[∫y=cy=d\,∫z={v}_{1}(y)z={v}_{2}(y)\,∫x={u}_{1}(y,z)x={u}_{2}(y,z)f(x,y,z)dx\,dz\,dy.\]
Knowing the region \(E\) we can draw the following projections (Figure 8):
on the \(xy\) -plane is \({D}_{1}=\{(x,y)|0\le x\le 1,0\le y\le {x}^{2}\}=\{(x,y)|0\le y\le 1,\sqrt{y}\le x\le 1\},\)
on the \(yz\) -plane is \({D}_{2}=\{(y,z)|0\le y\le 1,0\le z\le {y}^{2}\},\) and
on the \(xz\) -plane is \({D}_{3}=\{(x,z)|0\le x\le 1,0\le z\le {x}^{4}\}.\)

Now we can describe the same region \(E\) as \(\{(x,y,z)|0\le y\le 1,0\le z\le {y}^{2},\sqrt{y}\le x\le 1\},\) and consequently, the triple integral becomes
\[∫y=cy=d\,∫z={v}_{1}(y)z={v}_{2}(y)\,∫x={u}_{1}(y,z)x={u}_{2}(y,z)f(x,y,z)dx\,dz\,dy=∫y=0y=1\,∫z=0z={y}^{2}\,∫x=\sqrt{y}x=1f(x,y,z)dx\,dz\,dy.\]
Now assume that \(f(x,y,z)=xyz\) in each of the integrals. Then we have
\[\begin{array}{l} \\ \\ \\ \\ \\ \,∫x=0x=1\,∫y=0y={x}^{2}\,∫z=0z={y}^{2}xyz\,dz\,dy\,dx \\ =∫x=0x=1\,∫y=0y={x}^{2}[{xy\frac{{z}^{2}}{2}|}_{z=0}^{z={y}^{2}}]dy\,dx=∫x=0x=1\,∫y=0y={x}^{2}(x\frac{{y}^{5}}{2})dy\,dx=∫x=0x=1[{x\frac{{y}^{6}}{12}|}_{y=0}^{y={x}^{2}}]dx=∫x=0x=1\frac{{x}^{13}}{12}dx=\frac{1}{168}, \\ \,∫y=0y=1\,∫z=0z={y}^{2}\,∫x=\sqrt{y}x=1xyz\,dx\,dz\,dy \\ =∫y=0y=1\,∫z=0z={y}^{2}[{yz\frac{{x}^{2}}{2}|}_{\sqrt{y}}^{1}]dz\,dy \\ =∫y=0y=1\,∫z=0z={y}^{2}(\frac{yz}{2}-\frac{{y}^{2}z}{2})dz\,dy=∫y=0y=1[{\frac{y{z}^{2}}{4}-\frac{{y}^{2}{z}^{2}}{4}|}_{z=0}^{z={y}^{2}}]dy=∫y=0y=1(\frac{{y}^{5}}{4}-\frac{{y}^{6}}{4})dy=\frac{1}{168}.\end{array}\]
The answers match.
Write five different iterated integrals equal to the given integral
\[∫z=0z=4\,∫y=0y=4-z\,∫x=0x=\sqrt{y}f(x,y,z)dx\,dy\,dz.\]
(i) \(∫z=0z=4\,∫x=0x=\sqrt{4-z}\,∫y={x}^{2}y=4-zf(x,y,z)dy\,dx\,dz,\) (ii) \(∫y=0y=4\,∫z=0z=4-y\,∫x=0x=\sqrt{y}f(x,y,z)dx\,dz\,dy,\) (iii) \(∫y=0y=4\,∫x=0x=\sqrt{y}\,∫z=0z=4-yf(x,y,z)dz\,dx\,dy,\) (iv) \(∫x=0x=2\,∫y={x}^{2}y=4\,∫z=0z=4-yf(x,y,z)dz\,dy\,dx,\) (v) \(∫x=0x=2\,∫z=0z=4-{x}^{2}\,∫y={x}^{2}y=4-zf(x,y,z)dy\,dz\,dx\)
Evaluate the triple integral \(\underset{E}{∭}\sqrt{{x}^{2}+{z}^{2}}dV,\) where \(E\) is the region bounded by the paraboloid \(y={x}^{2}+{z}^{2}\) (Figure 9) and the plane \(y=4.\)

Notice integrating in the given order is difficult; project E onto the xz-plane instead and switch the order to integrate y first.
The projection of the solid region \(E\) onto the \(xy\) -plane is the region bounded above by \(y=4\) and below by the parabola \(y={x}^{2}\) as shown.

Thus, we have
\[E=\{(x,y,z)|-2\le x\le 2,{x}^{2}\le y\le 4,\text{-}\sqrt{y-{x}^{2}}\le z\le \sqrt{y-{x}^{2}}\}.\]
The triple integral becomes
\[\underset{E}{∭}\sqrt{{x}^{2}+{z}^{2}}dV=∫x=-2x=2\,∫y={x}^{2}y=4\,∫z=\text{-}\sqrt{y-{x}^{2}}z=\sqrt{y-{x}^{2}}\sqrt{{x}^{2}+{z}^{2}}dz\,dy\,dx.\]
This expression is difficult to compute, so consider the projection of \(E\) onto the \(xz\) -plane. This is a circular disc \({x}^{2}+{z}^{2}\le 4.\) So we obtain
\[\underset{E}{∭}\sqrt{{x}^{2}+{z}^{2}}dV=∫x=-2x=2\,∫y={x}^{2}y=4\,∫z=\text{-}\sqrt{y-{x}^{2}}z=\sqrt{y-{x}^{2}}\sqrt{{x}^{2}+{z}^{2}}dz\,dy\,dx=∫x=-2x=2\,∫z=\text{-}\sqrt{4-{x}^{2}}z=\sqrt{4-{x}^{2}}\,∫y={x}^{2}+{z}^{2}y=4\sqrt{{x}^{2}+{z}^{2}}dy\,dz\,dx.\]
Here the order of integration changes from being first with respect to \(z,\) then \(y,\) and then \(x\) to being first with respect to \(y,\) then to \(z,\) and then to \(x.\) It will soon be clear how this change can be beneficial for computation. We have
\[∫x=-2x=2\,∫z=\text{-}\sqrt{4-{x}^{2}}z=\sqrt{4-{x}^{2}}\,∫y={x}^{2}+{z}^{2}y=4\sqrt{{x}^{2}+{z}^{2}}dy\,dz\,dx=∫x=-2x=2\,∫z=\text{-}\sqrt{4-{x}^{2}}z=\sqrt{4-{x}^{2}}(4-{x}^{2}-{z}^{2})\sqrt{{x}^{2}+{z}^{2}}dz\,dx.\]
Now use the polar substitution \(x=r\,\text{cos}\,θ,z=r\,\text{sin}\,θ,\) and \(dz\,dx=r\,dr\,dθ\) in the \(xz\) -plane. This is essentially the same thing as when we used polar coordinates in the \(xy\) -plane, except we are replacing \(y\) by \(z.\) Consequently the limits of integration change and we have, by using \({r}^{2}={x}^{2}+{z}^{2},\)
\[\begin{array}{ll}∫x=-2x=2\,∫z=\text{-}\sqrt{4-{x}^{2}}z=\sqrt{4-{x}^{2}}(4-{x}^{2}-{z}^{2})\sqrt{{x}^{2}+{z}^{2}}dz\,dx & =∫θ=0θ=2\pi \,∫r=0r=2(4-{r}^{2})rr\,dr\,dθ \\ & =∫02\pi [{\frac{4{r}^{3}}{3}-\frac{{r}^{5}}{5}|}_{0}^{2}]dθ=∫02\pi \frac{64}{15}dθ=\frac{128\pi }{15}.\end{array}\]
Average Value of a Function of Three Variables
Recall that we found the average value of a function of two variables by evaluating the double integral over a region on the plane and then dividing by the area of the region. Similarly, we can find the average value of a function in three variables by evaluating the triple integral over a solid region and then dividing by the volume of the solid.
If \(f(x,y,z)\) is integrable over a solid bounded region \(E\) with positive volume \(V(E),\) then the average value of the function is
\[{f}_{\text{ave}}=\frac{1}{V(E)}\underset{E}{∭}f(x,y,z)dV.\]
Note that the volume is \(V(E)=\underset{E}{∭}1dV.\)
The temperature at a point \((x,y,z)\) of a solid \(E\) bounded by the coordinate planes and the plane \(x+y+z=1\) is \(T(x,y,z)=(xy+8z+20)\text{°}\text{C}\text{.}\) Find the average temperature over the solid.
Compute the triple integral of the temperature over E and the volume V(E) separately, then divide to get the average.
Use the theorem given above and the triple integral to find the numerator and the denominator. Then do the division. Notice that the plane \(x+y+z=1\) has intercepts \((1,0,0),(0,1,0),\) and \((0,0,1).\) The region \(E\) looks like
\[E=\{(x,y,z)|0\le x\le 1,0\le y\le 1-x,0\le z\le 1-x-y\}.\]
Hence the triple integral of the temperature is
\[\underset{E}{∭}f(x,y,z)dV=∫x=0x=1\,∫y=0y=1-x\,∫z=0z=1-x-y(xy+8z+20)dz\,dy\,dx=\frac{147}{40}.\]
The volume evaluation is \(V(E)=\underset{E}{∭}1dV=∫x=0x=1\,∫y=0y=1-x\,∫z=0z=1-x-y1dz\,dy\,dx=\frac{1}{6}.\)
Hence the average value is \({T}_{\text{ave}}=\frac{147\text{/}40}{1\text{/}6}=\frac{6(147)}{40}=\frac{441}{20}\) degrees Celsius.
Find the average value of the function \(f(x,y,z)=xyz\) over the cube with sides of length \(4\) units in the first octant with one vertex at the origin and edges parallel to the coordinate axes.
\({f}_{\text{ave}}=8\)
Key Concepts
- To compute a triple integral we use Fubini’s theorem, which states that if \(f(x,y,z)\) is continuous on a rectangular box \(B=[a,b]\,\times \,[c,d]\,\times \,[e,f],\) then
and is also equal to any of the other five possible orderings for the iterated triple integral.\[\underset{B}{∭}f(x,y,z)dV=∫ef\,∫cd\,∫abf(x,y,z)dx\,dy\,dz\]
(See Example 1 and Example 2.) - To compute the volume of a general solid bounded region \(E\) we use the triple integral
\[V(E)=\underset{E}{∭}1dV.\]
(See Example 4.) - Interchanging the order of the iterated integrals does not change the answer. As a matter of fact, interchanging the order of integration can help simplify the computation. (See Example 5 and Example 6.)
- To compute the average value of a function over a general three-dimensional region, we use
\[{f}_{\text{ave}}=\frac{1}{V(E)}\underset{E}{∭}f(x,y,z)dV.\]
(See Example 7.)
Key Equations
| Triple integral | \(\underset{l,m,n\to \infty }{\text{lim}}∑i=1l∑j=1m∑k=1nf({x}_{ijk}^{*},{y}_{ijk}^{*},{z}_{ijk}^{*})\Delta x\Delta y\Delta z=\underset{B}{∭}f(x,y,z)dV\) |
Section Exercises
In the following exercises, evaluate the triple integrals over the rectangular solid box \(B.\)
\(\underset{B}{∭}(2x+3{y}^{2}+4{z}^{3})dV,\) where \(B=\{(x,y,z)|0\le x\le 1,0\le y\le 2,0\le z\le 3\}\)
\(192\)
\(\underset{B}{∭}(xy+yz+xz)dV,\) where \(B=\{(x,y,z)|1\le x\le 2,0\le y\le 2,1\le z\le 3\}\)
\(\underset{B}{∭}(x\,\text{cos}\,y+z)dV,\) where \(B=\{(x,y,z)|0\le x\le 1,0\le y\le \pi ,-1\le z\le 1\}\)
\(0\)
\(\underset{B}{∭}(z\,\text{sin}\,x+{y}^{2})dV,\) where \(B=\{(x,y,z)|0\le x\le \pi ,0\le y\le 1,-1\le z\le 2\}\)
In the following exercises, change the order of integration by integrating first with respect to \(z,\) then \(x,\) then \(y.\)
\(∫01\,∫12\,∫23({x}^{2}+\text{ln}\,y+z)dx\,dy\,dz\)
\(∫12\,∫23\,∫01({x}^{2}+\text{ln}\,y+z)dz\,dx\,dy=\frac{35}{6}+2\,\text{ln}\,2\)
\(∫-11\,∫03\,∫01(z{e}^{x}+2y)dx\,dy\,dz\)
\(∫-12\,∫13\,∫04({x}^{2}z+\frac{1}{y})dx\,dy\,dz\)
\(∫13\,∫04\,∫-12({x}^{2}z+\frac{1}{y})dz\,dx\,dy=64+12\,\text{ln}\,3\)
\(∫12\,∫-2-1\,∫01\frac{x+y}{z}dx\,dy\,dz\)
Let \(F,G,\,\text{and}\,H\) be continuous functions on \([a,b],[c,d],\) and \([e,f],\) respectively, where \(a,b,c,d,e,\,\text{and}\,f\) are real numbers such that \(a<b,c<d,\,\text{and}\,e<f.\) Show that
\[∫ab\,∫cd\,∫efF(x)G(y)H(z)dz\,dy\,dx=(∫abF(x)dx)(∫cdG(y)dy)(∫efH(z)dz).\]
Let \(F,G,\,\text{and}\,H\) be differential functions on \([a,b],[c,d],\) and \([e,f],\) respectively, where \(a,b,c,d,e,\,\text{and}\,f\) are real numbers such that \(a<b,c<d,\,\text{and}\,e<f.\) Show that
\[∫ab\,∫cd\,∫ef{F}^{\prime }(x){G}^{\prime }(y){H}^{\prime }(z)dz\,dy\,dx=[F(b)-F(a)]\,[G(d)-G(c)]\,[H(f)-H(e)].\]
In the following exercises, evaluate the triple integrals over the bounded region \(E=\{(x,y,z)|a\le x\le b,{h}_{1}(x)\le y\le {h}_{2}(x),e\le z\le f\}.\)
\(\underset{E}{∭}(2x+5y+7z)dV,\) where \(E=\{(x,y,z)|0\le x\le 1,0\le y\le -x+1,1\le z\le 2\}\)
\(\frac{77}{12}\)
\(\underset{E}{∭}(y\,\text{ln}\,x+z)dV,\) where \(E=\{(x,y,z)|1\le x\le e,0\le y\le \text{ln}\,x,0\le z\le 1\}\)
\(\underset{E}{∭}(\text{sin}\,x+\text{sin}\,y)dV,\) where \(E=\{(x,y,z)|0\le x\le \frac{\pi }{2},\text{-}\text{cos}\,x\le y\le \text{cos}\,x,-1\le z\le 1\}\)
\(2\)
\(\underset{E}{∭}(xy+yz+xz)dV,\) where \(E=\{(x,y,z)|0\le x\le 1,\text{-}{x}^{2}\le y\le {x}^{2},0\le z\le 1\}\)
In the following exercises, evaluate the triple integrals over the indicated bounded region \(E.\)
\(\underset{E}{∭}(x+2yz)dV,\) where \(E=\{(x,y,z)|0\le x\le 1,0\le y\le x,0\le z\le 5-x-y\}\)
\(\frac{439}{120}\)
\(\underset{E}{∭}({x}^{3}+{y}^{3}+{z}^{3})dV,\) where \(E=\{(x,y,z)|0\le x\le 2,0\le y\le 2x,0\le z\le 4-x-y\}\)
\(\underset{E}{∭}y\,dV,\) where \(E=\{(x,y,z)|-1\le x\le 1,\text{-}\sqrt{1-{x}^{2}}\le y\le \sqrt{1-{x}^{2}},0\le z\le 1-{x}^{2}-{y}^{2}\}\)
\(0\)
\(\underset{E}{∭}x\,dV,\) where \(E=\{(x,y,z)|-2\le x\le 2,-\sqrt{4-{x}^{2}}\le y\le \sqrt{4-{x}^{2}},0\le z\le 4-{x}^{2}-{y}^{2}\}\)
In the following exercises, evaluate the triple integrals over the bounded region \(E\) of the form \(E=\{(x,y,z)|{g}_{1}(y)\le x\le {g}_{2}(y),c\le y\le d,e\le z\le f\}.\)
\(\underset{E}{∭}{x}^{2}dV,\) where \(E=\{(x,y,z)|1-{y}^{2}\le x\le {y}^{2}-1,-1\le y\le 1,1\le z\le 2\}\)
\(-\frac{64}{105}\)
\(\underset{E}{∭}(\text{sin}\,x+y)dV,\) where \(E=\{(x,y,z)|-{y}^{4}\le x\le {y}^{4},0\le y\le 2,0\le z\le 4\}\)
\(\underset{E}{∭}(x-yz)dV,\) where \(E=\{(x,y,z)|-{y}^{6}\le x\le \sqrt{y},0\le y\le 1,-1\le z\le 1\}\)
\(\frac{11}{26}\)
\(\underset{E}{∭}zdV,\) where \(E=\{(x,y,z)|2-2y\le x\le 2+\sqrt{y},0\le y\le 1,2\le z\le 3\}\)
In the following exercises, evaluate the triple integrals over the bounded region
\[E=\{(x,y,z)|{g}_{1}(y)\le x\le {g}_{2}(y),c\le y\le d,{u}_{1}(x,y)\le z\le {u}_{2}(x,y)\}.\]
\(\underset{E}{∭}zdV,\) where \(E=\{(x,y,z)|-y\le x\le y,0\le y\le 1,0\le z\le 1-{x}^{4}-{y}^{4}\}\)
\(\frac{113}{450}\)
\(\underset{E}{∭}(xz+1)dV,\) where \(E=\{(x,y,z)|0\le x\le \sqrt{y},0\le y\le 2,0\le z\le 1-{x}^{2}-{y}^{2}\}\)
\(\underset{E}{∭}(x-z)dV,\) where \(E=\{(x,y,z)|-\sqrt{1-{y}^{2}}\le x\le 0,0\le y\le \frac{1}{2},0\le z\le 1-{x}^{2}-{y}^{2}\}\)
\(\frac{-609-216\sqrt{3}-80\pi }{5760}\approx -0.21431\)
\(\underset{E}{∭}(x+y)dV,\) where \(E=\{(x,y,z)|0\le x\le \sqrt{1-{y}^{2}},0\le y\le 1,0\le z\le 1-x\}\)
In the following exercises, evaluate the triple integrals over the bounded region
\(E=\{(x,y,z)|(x,y)\in D,{u}_{1}(x,y)\le z\le {u}_{2}(x,y)\},\) where \(D\) is the projection of \(E\) onto the \(xy\) -plane.
\(\underset{D}{∬}(∫12(x+z)dz)dA,\) where \(D=\{(x,y)|{x}^{2}+{y}^{2}\le 1\}\)
\(\frac{3\pi }{2}\)
\(\underset{D}{∬}(∫13x(z+1)dz)dA,\) where \(D=\{(x,y)|{x}^{2}-{y}^{2}\ge 1,1\le x\le \sqrt{5}\}\)
\(\underset{D}{∬}(∫010-x-y(x+2z)dz)dA,\) where \(D=\{(x,y)|y\ge 0,x\ge 0,x+y\le 10\}\)
\(1250\)
\(\underset{D}{∬}(∫04{x}^{2}+4{y}^{2}y\,dz)dA,\) where \(D=\{(x,y)|{x}^{2}+{y}^{2}\le 4,y\ge 1,x\ge 0\}\)
The solid \(E\) bounded by \({y}^{2}+{z}^{2}=9,z=0,x=0,\) and \(x=5\) is shown in the following figure. Evaluate the integral \(\underset{E}{∭}z\,dV\) by integrating first with respect to \(z,\) then \(y,\,\text{and then}\,x.\)
\(∫05\,∫-33\,∫0\sqrt{9-{y}^{2}}z\,dz\,dy\,dx=90\)
The solid \(E\) bounded by \(y=\sqrt{x},\) \(x=4,\) \(y=0,\) \(z=-2\) , and \(z=1\) is given in the following figure. Evaluate the integral \(\underset{E}{∭}xyz\,dV\) by integrating first with respect to \(x,\) then \(y,\) and then \(z.\)
[T] The volume of a solid \(E\) is given by the integral \(∫-20\,∫x0\,∫0{x}^{2}+{y}^{2}dz\,dy\,dx.\) Use a computer algebra system (CAS) to graph \(E\) and find its volume. Round your answer to two decimal places.
\(V=5.33\)
[T] The volume of a solid \(E\) is given by the integral \(∫-10\,∫\text{-}{x}^{2}0\,∫01+\sqrt{{x}^{2}+{y}^{2}}dz\,dy\,dx.\) Use a CAS to graph \(E\) and find its volume \(V.\) Round your answer to two decimal places.
In the following exercises, use two circular permutations of the variables \(x,y,\,\text{and}\,z\) to write new integrals whose values equal the value of the original integral. A circular permutation of \(x,y,\,\text{and}\,z\) is the arrangement of the numbers in one of the following orders: \(y,z,\,\text{and}\,x\,\text{or}\,z,x,\,\text{and}\,y.\)
\(∫01\,∫13\,∫24({x}^{2}{z}^{2}+1)dx\,dy\,dz\)
\(∫01\,∫13\,∫24({y}^{2}{z}^{2}+1)dz\,dx\,dy;\) \(∫01\,∫13\,∫24({x}^{2}{y}^{2}+1)dy\,dz\,dx\)
\(∫13\,∫01\,∫0\text{-y}+1(2y+5z+7x)dz\,dy\,dx\)
\(∫01\,∫\text{-}yy\,∫01-{x}^{4}-{y}^{4}{e}^{x}\,dz\,dx\,dy\)
\(∫01\,∫\text{-z}z\,∫01-{y}^{4}-{z}^{4}{e}^{x}\,dx\,dy\,dz; ∫01\,∫\text{-x}x\,∫01-{z}^{4}-{x}^{4}ln z\,dy\,dz\,dx\)
\(∫-11\,∫01\,∫\text{-}{y}^{6}\sqrt{y}(x+yz)dx\,dy\,dz\)
Set up the integral that gives the volume of the solid \(E\) bounded by \({y}^{2}={x}^{2}+{z}^{2}\) and \(y=a,\) where \(a>0\) and \(y \ge 0\)
\(V=∫-aa\,∫-\sqrt{{a}^{2}-{z}^{2}}\sqrt{{a}^{2}-{z}^{2}}∫\sqrt{{x}^{2}+{z}^{2}}{a}^{2}dy\,dx\,dz\)
Set up the integral that gives the volume of the solid \(E\) bounded by \(x={y}^{2}+{z}^{2}\) and \(x={a}^{2},\) where \(a>0.\)
Find the average value of the function \(f(x,y,z)=x+y+z\) over the parallelepiped determined by \(x=0,x=1,y=0,y=3,z=0,\) and \(z=5.\)
\(\frac{9}{2}\)
Find the average value of the function \(f(x,y,z)=xyz\) over the solid \(E=[0,1]\,\times \,[0,1]\,\times \,[0,1]\) situated in the first octant.
Find the volume of the solid \(E\) that lies under the plane \(x+y+z=9\) and whose projection onto the \(xy\) -plane is bounded by \(x=\sqrt{y-1},x=0,\) and \(x+y=7.\)
\(\frac{156}{5}\)
Find the volume of the solid E that lies under the plane \(2x+y+z=8\) and whose projection onto the \(xy\) -plane is bounded by \(x={\text{sin}}^{-1}y,y=0,\) and \(x=\frac{\pi }{2}.\)
Consider the pyramid with the base in the \(xy\) -plane of \([-2,2]\,\times \,[-2,2]\) and the vertex at the point \((0,0,8).\)
- Show that the equations of the planes of the lateral faces of the pyramid are \(4y+z=8,\) \(4y-z=-8,\) \(4x+z=8,\) and \(-4x+z=8.\)
- Find the volume of the pyramid.
a. Answers may vary; b. \(\frac{128}{3}\)
Consider the pyramid with the base in the \(xy\) -plane of \([-3,3]\,\times \,[-3,3]\) and the vertex at the point \((0,0,9).\)
- Show that the equations of the planes of the side faces of the pyramid are \(3x+z=9,-3x+z=9,-3y+z=9,\text{ and }3y+z=9\)
- Find the volume of the pyramid.
The solid \(E\) bounded by the sphere of equation \({x}^{2}+{y}^{2}+{z}^{2}={r}^{2}\) with \(r>0\) and located in the first octant is represented in the following figure.
- Write the triple integral that gives the volume of \(E\) by integrating first with respect to \(z,\) then with \(y,\) and then with \(x.\)
- Rewrite the integral in part a. as an equivalent integral in five other orders.
a. \(∫0r\,∫0\sqrt{{r}^{2}-{x}^{2}}\,∫0\sqrt{{r}^{2}-{x}^{2}-{y}^{2}}dz\,dy\,dx;\) b. \(∫0r\,∫0\sqrt{{r}^{2}-{y}^{2}}\,∫0\sqrt{{r}^{2}-{x}^{2}-{y}^{2}}dz\,dx\,dy,\) \(∫0r\,∫0\sqrt{{r}^{2}-{z}^{2}}\,∫0\sqrt{{r}^{2}-{x}^{2}-{z}^{2}}dy\,dx\,dz,\) \(∫0r\,∫0\sqrt{{r}^{2}-{x}^{2}}\,∫0\sqrt{{r}^{2}-{x}^{2}-{z}^{2}}dy\,dz\,dx,\) \(∫0r\,∫0\sqrt{{r}^{2}-{z}^{2}}\,∫0\sqrt{{r}^{2}-{y}^{2}-{z}^{2}}dx\,dy\,dz,\) \(∫0r\,∫0\sqrt{{r}^{2}-{y}^{2}}\,∫0\sqrt{{r}^{2}-{y}^{2}-{z}^{2}}dx\,dz\,dy\)
The solid \(E\) bounded by the equation \(9{x}^{2}+4{y}^{2}+{z}^{2}=1\) and located in the first octant is represented in the following figure.
- Write the triple integral that gives the volume of \(E\) by integrating first with respect to \(z,\) then with \(y,\) and then with \(x.\)
- Rewrite the integral in part a. as an equivalent integral in five other orders.
Find the volume of the prism with vertices \((0,0,0),(2,0,0),(2,3,0),\) \((0,3,0),(0,0,1),\,\text{and}\,(2,0,1).\)
\(3\)
Find the volume of the prism with vertices \((0,0,0),(4,0,0),(4,6,0),\) \((0,6,0),(0,0,1),\,\text{and}\,(4,0,1).\)
The solid \(E\) bounded by \(z=10-2x-y\) and situated in the first octant is given in the following figure. Find the volume of the solid.
\(\frac{250}{3}\)
The solid \(E\) bounded by \(z=1-{x}^{2}\) and \(y=5\) and situated in the first octant is given in the following figure. Find the volume of the solid.
The midpoint rule for the triple integral \(\underset{B}{∭}f(x,y,z)dV\) over the rectangular solid box \(B\) is a generalization of the midpoint rule for double integrals. The region \(B\) is divided into subboxes of equal sizes and the integral is approximated by the triple Riemann sum \(∑i=1l∑j=1m∑k=1nf(\bar{{x}_{i}},\bar{{y}_{j}},\bar{{z}_{k}})\Delta V,\) where \((\bar{{x}_{i}},\bar{{y}_{j}},\bar{{z}_{k}})\) is the center of the box \({B}_{ijk}\) and \(\Delta V\) is the volume of each subbox. Apply the midpoint rule to approximate \(\underset{B}{∭}{x}^{2}dV\) over the solid \(B=\{(x,y,z)|0\le x\le 1,0\le y\le 1,0\le z\le 1\}\) by using a partition of eight cubes of equal size. Round your answer to three decimal places.
\(\frac{5}{16}\approx 0.313\)
[T]
- Apply the midpoint rule to approximate \(\underset{B}{∭}{e}^{\text{-}{x}^{2}}dV\) over the solid \(B=\{(x,y,z)|0\le x\le 1,0\le y\le 1,0\le z\le 1\}\) by using a partition of eight cubes of equal size. Round your answer to three decimal places.
- Use a CAS to improve the above integral approximation in the case of a partition of \({n}^{3}\) cubes of equal size, where \(n=3,4\text{,…,}\,10.\)
Suppose that the temperature in degrees Celsius at a point \((x,y,z)\) of a solid \(E\) bounded by the coordinate planes and \(x+y+z=5\) is \(T(x,y,z)=xz+5z+10.\) Find the average temperature over the solid.
\(\frac{35}{2}\)
Suppose that the temperature in degrees Fahrenheit at a point \((x,y,z)\) of a solid \(E\) bounded by the coordinate planes and \(x+y+z=5\) is \(T(x,y,z)=x+y+xy.\) Find the average temperature over the solid.
Show that the volume of a right square pyramid of height \(h\) and side length \(a\) is \(v=\frac{h{a}^{2}}{3}\) by using triple integrals.
Show that the volume of a regular right hexagonal prism of edge length \(a\) is \(\frac{3{a}^{3}\sqrt{3}}{2}\) by using triple integrals.
Show that the volume of a regular right hexagonal pyramid of edge length \(a\) is \(\frac{{a}^{3}\sqrt{3}}{2}\) by using triple integrals.
If the charge density at an arbitrary point \((x,y,z)\) of a solid \(E\) is given by the function \(ρ(x,y,z),\) then the total charge inside the solid is defined as the triple integral \(\underset{E}{∭}ρ(x,y,z)dV.\) Assume that the charge density of the solid \(E\) enclosed by the paraboloids \(x=5-{y}^{2}-{z}^{2}\) and \(x={y}^{2}+{z}^{2}-5\) is equal to the distance from an arbitrary point of \(E\) to the origin. Set up the integral that gives the total charge inside the solid \(E.\)
Glossary
- triple integral
- the triple integral of a continuous function \(f(x,y,z)\) over a rectangular solid box \(B\) is the limit of a Riemann sum for a function of three variables, if this limit exists