# 14.6 ​Volume Between Surfaces and Triple Integration

We learned in Section 14.2 how to compute the signed volume $V$ under a surface $z=f(x,y)$ over a region $R$: $V=\iint_{R}f(x,y)\operatorname{d}\!A$. It follows naturally that if $f(x,y)\geq g(x,y)$ on $R$, then the volume between $f(x,y)$ and $g(x,y)$ on $R$ is

 $V=\iint_{R}f(x,y)\operatorname{d}\!A-\iint_{R}g(x,y)\operatorname{d}\!A=\iint_% {R}\bigl{(}f(x,y)-g(x,y)\bigr{)}\operatorname{d}\!A.$
###### Theorem 14.6.1 Volume Between Surfaces

Let $f$ and $g$ be continuous functions on a closed, bounded region $R$, where $f(x,y)\geq g(x,y)$ for all $(x,y)$ in $R$. The volume $V$ between $f$ and $g$ over $R$ is

 $V=\iint_{R}\bigl{(}f(x,y)-g(x,y)\bigr{)}\operatorname{d}\!A.$
###### Example 14.6.1 Finding volume between surfaces

Find the volume of the space region bounded by the planes $z=3x+y-4$ and $z=8-3x-2y$ where $x,y>0$. In Figure 14.6.1(a) the planes are drawn; in (b), only the defined region is given. margin: (a) (b) Figure 14.6.1: Finding the volume between the planes given in Example 14.6.1. Λ

SolutionWe need to determine the region $R$ over which we will integrate. To do so, we need to determine where the planes intersect. They have common $z$-values when $3x+y-4=8-3x-2y$. Applying a little algebra, we have:

 $\displaystyle 3x+y-4$ $\displaystyle=8-3x-2y$ $\displaystyle 6x+3y$ $\displaystyle=12$ $\displaystyle 2x+y$ $\displaystyle=4$

The planes intersect along the line $2x+y=4$. Therefore the region $R$ is bounded by $x=0$, $y=0$, and $y=4-2x$; we can convert these bounds to integration bounds of $0\leq x\leq 2$, $0\leq y\leq 4-2x$. Thus

 $\displaystyle V$ $\displaystyle=\iint_{R}\bigl{(}8-3x-2y-(3x+y-4)\bigr{)}\operatorname{d}\!A$ $\displaystyle=\int_{0}^{2}\int_{0}^{4-2x}\bigl{(}12-6x-3y\bigr{)}\operatorname% {d}\!y\operatorname{d}\!x$ $\displaystyle=16\text{units}^{3}.$

The volume between the surfaces is $16$ cubic units.

In the preceding example, we found the volume by evaluating the integral

 $\displaystyle\int_{0}^{2}\int_{0}^{4-2x}\bigl{(}8-3x-2y-(3x+y-4)\bigr{)}% \operatorname{d}\!y\operatorname{d}\!x.$

Note how we can rewrite the integrand as an integral, much as we did in Section 14.1:

 $8-3x-2y-(3x+y-4)=\int_{3x+y-4}^{8-3x-2y}\operatorname{d}\!z.$

Thus we can rewrite the double integral that finds volume as

 $\int_{0}^{2}\int_{0}^{4-2x}\bigl{(}8-3x-2y-(3x+y-4)\bigr{)}\operatorname{d}\!y% \operatorname{d}\!x=\int_{0}^{2}\int_{0}^{4-2x}\left(\int_{3x+y-4}^{8-3x-2y}% \operatorname{d}\!z\right)\operatorname{d}\!y\operatorname{d}\!x.$

This no longer looks like a “double integral,” but more like a “triple integral.” Just as our first introduction to double integrals was in the context of finding the area of a plane region, our introduction into triple integrals will be in the context of finding the volume of a space region.

margin: (a) (b) Figure 14.6.2: Approximating the volume of a region $D$ in space. Λ

To formally find the volume of a closed, bounded region $D$ in space, such as the one shown in Figure 14.6.2(a), we start with an approximation. Break $D$ into $n$ rectangular solids; the solids near the boundary of $D$ may possibly not include portions of $D$ and/or include extra space. In Figure 14.6.2(b), we zoom in on a portion of the boundary of $D$ to show a rectangular solid that contains space not in $D$; as this is an approximation of the volume, this is acceptable and this error will be reduced as we shrink the size of our solids.

The volume $\Delta V_{i}$ of the $i^{\text{\,th}}$ solid $D_{i}$ is $\Delta V_{i}=\Delta x_{i}\Delta y_{i}\Delta z_{i}$, where $\Delta x_{i}$, $\Delta y_{i}$ and $\Delta z_{i}$ give the dimensions of the rectangular solid in the $x$, $y$ and $z$ directions, respectively. By summing up the volumes of all $n$ solids, we get an approximation of the volume $V$ of $D$:

 $V\approx\sum_{i=1}^{n}\Delta V_{i}=\sum_{i=1}^{n}\Delta x_{i}\Delta y_{i}% \Delta z_{i}.$

Let $\left\lVert\Delta D\right\rVert$ represent the length of the longest diagonal of rectangular solids in the subdivision of $D$. As $\left\lVert\Delta D\right\rVert\to 0$, the volume of each solid goes to 0, as do each of $\Delta x_{i}$, $\Delta y_{i}$ and $\Delta z_{i}$, for all $i$. Our calculus experience tells us that taking a limit as $\left\lVert\Delta D\right\rVert\to 0$ turns our approximation of $V$ into an exact calculation of $V$. Before we state this result in a theorem, we use a definition to define some terms.

###### Definition 14.6.1 Triple Integrals, Iterated Integration (Part I)

Let $D$ be a closed, bounded region in space. Let $a$ and $b$ be real numbers, let $g_{1}(x)$ and $g_{2}(x)$ be continuous functions of $x$, and let $f_{1}(x,y)$ and $f_{2}(x,y)$ be continuous functions of $x$ and $y$.

1. (a)

The volume $V$ of $D$ is denoted by a triple integral, $\displaystyle V=\iiint_{D}\operatorname{d}\!V$.

2. (b)

The iterated integral $\displaystyle\int_{a}^{b}\int_{g_{1}(x)}^{g_{2}(x)}\int_{f_{1}(x,y)}^{f_{2}(x,% y)}\operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x$ is evaluated as

 $\int_{a}^{b}\int_{g_{1}(x)}^{g_{2}(x)}\int_{f_{1}(x,y)}^{f_{2}(x,y)}% \operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x=\int_{a}^{b}\int_{g_% {1}(x)}^{g_{2}(x)}\left(\int_{f_{1}(x,y)}^{f_{2}(x,y)}\operatorname{d}\!z% \right)\operatorname{d}\!y\operatorname{d}\!x.$

Evaluating the above iterated integral is triple integration.

Our informal understanding of the notation $\iiint_{D}\operatorname{d}\!V$ is “sum up lots of little volumes over $D$,” analogous to our understanding of $\iint_{R}\operatorname{d}\!A$ and $\iint_{R}\operatorname{d}\!m$. We now state the major theorem of this section.

###### Theorem 14.6.2 Triple Integration (Part I)

Let $D$ be a closed, bounded region in space and let $\Delta D$ be any subdivision of $D$ into $n$ rectangular solids, where the $i^{\text{\,th}}$ subregion $D_{i}$ has dimensions $\Delta x_{i}\times\Delta y_{i}\times\Delta z_{i}$ and volume $\Delta V_{i}$.

1. (a)

The volume $V$ of $D$ is

 $V=\iiint_{D}\operatorname{d}\!V=\lim_{\left\lVert\Delta D\right\rVert\to 0}% \sum_{i=1}^{n}\Delta V_{i}=\lim_{\left\lVert\Delta D\right\rVert\to 0}\sum_{i=% 1}^{n}\Delta x_{i}\Delta y_{i}\Delta z_{i}.$
2. (b)

If $D$ is defined as the region bounded by the planes $x=a$ and $x=b$, the cylinders $y=g_{1}(x)$ and $y=g_{2}(x)$, and the surfaces $z=f_{1}(x,y)$ and $z=f_{2}(x,y)$, where $a, $g_{1}(x)\leq g_{2}(x)$ and $f_{1}(x,y)\leq f_{2}(x,y)$ on $D$, then

 $\iiint_{D}\operatorname{d}\!V=\int_{a}^{b}\int_{g_{1}(x)}^{g_{2}(x)}\int_{f_{1% }(x,y)}^{f_{2}(x,y)}\operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x.$
3. (c)

$V$ can be determined using iterated integration with other orders of integration (there are 6 total), as long as $D$ is defined by the region enclosed by a pair of planes, a pair of cylinders, and a pair of surfaces.

We evaluated the area of a plane region $R$ by iterated integration, where the bounds were “from curve to curve, then from point to point.” Theorem 14.6.2 allows us to find the volume of a space region with an iterated integral with bounds “from surface to surface, then from curve to curve, then from point to point.” In the iterated integral

 $\int_{a}^{b}\int_{g_{1}(x)}^{g_{2}(x)}\int_{f_{1}(x,y)}^{f_{2}(x,y)}% \operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x,$

the bounds $a\leq x\leq b$ and $g_{1}(x)\leq y\leq g_{2}(x)$ define a region $R$ in the $x$-$y$ plane over which the region $D$ exists in space. However, these bounds are also defining surfaces in space; $x=a$ is a plane and $y=g_{1}(x)$ is a cylinder. The combination of these 6 surfaces enclose, and define, $D$.

Examples will help us understand triple integration, including integrating with various orders of integration.

margin: (a) (b) Figure 14.6.3: The region $D$ used in Example 14.6.2 in (a); in (b), the region found by collapsing $D$ onto the $x$-$y$ plane. Λ
###### Example 14.6.2 Finding the volume of a space region with triple integration

Find the volume of the space region in the 1st octant bounded by the plane $z=2-y/3-2x/3$, shown in Figure 14.6.3(a), using the order of integration $\operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x$. Set up the triple integrals that give the volume in the other 5 orders of integration.

SolutionStarting with the order of integration $\operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x$, we need to first find bounds on $z$. The region $D$ is bounded below by the plane $z=0$ (because we are restricted to the first octant) and above by $z=2-y/3-2x/3$; $0\leq z\leq 2-y/3-2x/3$.

To find the bounds on $y$ and $x$, we “collapse” the region onto the $x$-$y$ plane, giving the triangle shown in Figure 14.6.3(b). (We know the equation of the line $y=6-2x$ in two ways. First, by setting $z=0$, we have $0=2-y/3-2x/3\Rightarrow y=6-2x$. Secondly, we know this is going to be a straight line between the points $(3,0)$ and $(0,6)$ in the $x$-$y$ plane.)

We define that region $R$, in the integration order of $\operatorname{d}\!y\operatorname{d}\!x$, with bounds $0\leq y\leq 6-2x$ and $0\leq x\leq 3$. Thus the volume $V$ of the region $D$ is:

 $\displaystyle V$ $\displaystyle=\iiint_{D}\operatorname{d}\!V$ $\displaystyle=\int_{0}^{3}\int_{0}^{6-2x}\int_{0}^{2-\frac{1}{3}y-\frac{2}{3}x% }\operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x$ $\displaystyle=\int_{0}^{3}\int_{0}^{6-2x}\left(\int_{0}^{2-\frac{1}{3}y-\frac{% 2}{3}x}\operatorname{d}\!z\right)\operatorname{d}\!y\operatorname{d}\!x$ $\displaystyle=\int_{0}^{3}\int_{0}^{6-2x}z\Big{|}_{0}^{2-\frac{1}{3}y-\frac{2}% {3}x}\operatorname{d}\!y\operatorname{d}\!x$ $\displaystyle=\int_{0}^{3}\int_{0}^{6-2x}\left(2-\frac{1}{3}y-\frac{2}{3}x% \right)\operatorname{d}\!y\operatorname{d}\!x.$ From this step on, we are evaluating a double integral as done many times before. We skip these steps and give the final volume, $\displaystyle=6\ \text{units}^{3}.$

The order $\operatorname{d}\!z\operatorname{d}\!x\operatorname{d}\!y$:

Now consider the volume using the order of integration $\operatorname{d}\!z\operatorname{d}\!x\operatorname{d}\!y$. The bounds on $z$ are the same as before, $0\leq z\leq 2-y/3-2x/3$. Collapsing the space region on the $x$-$y$ plane as shown in Figure 14.6.3(b), we now describe this triangle with the order of integration $\operatorname{d}\!x\operatorname{d}\!y$. This gives bounds $0\leq x\leq 3-y/2$ and $0\leq y\leq 6$. Thus the volume is given by the triple integral

 $V=\int_{0}^{6}\int_{0}^{3-\frac{1}{2}y}\int_{0}^{2-\frac{1}{3}y-\frac{2}{3}x}% \operatorname{d}\!z\operatorname{d}\!x\operatorname{d}\!y.$

The order $\operatorname{d}\!x\operatorname{d}\!y\operatorname{d}\!z$:

Following our “surface to surface…” strategy, we need to determine the $x$-surfaces that bound our space region. To do so, approach the region “from behind,” in the direction of increasing $x$. The first surface we hit as we enter the region is the $y$-$z$ plane, defined by $x=0$. We come out of the region at the plane $z=2-y/3-2x/3$; solving for $x$, we have $x=3-y/2-3z/2$. Thus the bounds on $x$ are: $0\leq x\leq 3-y/2-3z/2$.

We now need to collapse the space region onto the $y$-$z$ plane, as we see in Figure 14.6.4(a). (Again, we find the equation of the line $z=2-y/3$ by setting $x=0$ in the equation $x=3-y/2-3z/2$.) We need to find bounds on this region with the order $\operatorname{d}\!y\operatorname{d}\!z$. The curves that bound $y$ are $y=0$ and $y=6-3z$; the points that bound $z$ are 0 and 2. Thus the triple integral giving volume is:

 $\begin{gathered}0\leq x\leq 3-y/2-3z/2\\ 0\leq y\leq 6-3z\\ 0\leq z\leq 2\end{gathered}\qquad\Rightarrow\qquad\int_{0}^{2}\int_{0}^{6-3z}% \int_{0}^{3-y/2-3z/2}\operatorname{d}\!x\operatorname{d}\!y\operatorname{d}\!z.$
margin: (a) (b) Figure 14.6.4: The region $D$ in Example 14.6.2 is collapsed onto the $y$-$z$ plane in (a); in (b), the region is collapsed onto the $x$-$z$ plane. Λ

The order $\operatorname{d}\!x\operatorname{d}\!z\operatorname{d}\!y$:

The $x$-bounds are the same as the order above. We now consider the triangle in Figure 14.6.4(a) and describe it with the order $\operatorname{d}\!z\operatorname{d}\!y$: $0\leq z\leq 2-y/3$ and $0\leq y\leq 6$. Thus the volume is given by:

 $\begin{gathered}0\leq x\leq 3-y/2-3z/2\\ 0\leq z\leq 2-y/3\\ 0\leq y\leq 6\end{gathered}\qquad\Rightarrow\qquad\int_{0}^{6}\int_{0}^{2-y/3}% \int_{0}^{3-y/2-3z/2}\operatorname{d}\!x\operatorname{d}\!z\operatorname{d}\!y.$

The order $\operatorname{d}\!y\operatorname{d}\!z\operatorname{d}\!x$:

We now need to determine the $y$-surfaces that determine our region. Approaching the space region from “behind” and moving in the direction of increasing $y$, we first enter the region at $y=0$, and exit along the plane $z=2-y/3-2x/3$. Solving for $y$, this plane has equation $y=6-2x-3z$. Thus $y$ has bounds $0\leq y\leq 6-2x-3z$.

Now collapse the region onto the $x$-$z$ plane, as shown in Figure 14.6.4(b). The curves bounding this triangle are $z=0$ and $z=2-2x/3$; $x$ is bounded by the points $x=0$ to $x=3$. Thus the triple integral giving volume is:

 $\begin{gathered}0\leq y\leq 6-2x-3z\\ 0\leq z\leq 2-2x/3\\ 0\leq x\leq 3\end{gathered}\qquad\Rightarrow\qquad\int_{0}^{3}\int_{0}^{2-2x/3% }\int_{0}^{6-2x-3z}\operatorname{d}\!y\operatorname{d}\!z\operatorname{d}\!x.$

The order $\operatorname{d}\!y\operatorname{d}\!x\operatorname{d}\!z$:

The $y$-bounds are the same as in the order above. We now determine the bounds of the triangle in Figure 14.6.4(b) using the order $\operatorname{d}\!y\operatorname{d}\!x\operatorname{d}\!z$. We see $x$ is bounded by $x=0$ and $x=3-3z/2$; $z$ is bounded between $z=0$ and $z=2$. This leads to the triple integral:

 $\begin{gathered}0\leq y\leq 6-2x-3z\\ 0\leq x\leq 3-3z/2\\ 0\leq z\leq 2\end{gathered}\qquad\Rightarrow\qquad\int_{0}^{2}\int_{0}^{3-3z/2% }\int_{0}^{6-2x-3z}\operatorname{d}\!y\operatorname{d}\!x\operatorname{d}\!z.$

This problem was long, but hopefully useful, demonstrating how to determine bounds with every order of integration to describe the region $D$. In practice, we only need 1, but being able to do them all gives us flexibility to choose the order that suits us best.

In the previous example, we collapsed the surface into the $x$-$y$, $x$-$z$, and $y$-$z$ planes as we determined the “curve to curve, point to point” bounds of integration. Since the surface was a triangular portion of a plane, this collapsing, or projecting, was simple: the projection of a straight line in space onto a coordinate plane is a line.

The following example shows us how to do this when dealing with more complicated surfaces and curves.

margin: (a) (b) Figure 14.6.5: Finding the projections of the curve of intersection in Example 14.6.3. Λ
###### Example 14.6.3 Finding the projection of a curve in space onto the coordinate planes

Consider the surfaces $z=3-x^{2}-y^{2}$ and $z=2y$, as shown in Figure 14.6.5(a). The curve of their intersection is shown, along with the projection of this curve into the coordinate planes, shown dashed. Find the equations of the projections into the coordinate planes.

SolutionThe two surfaces are $z=3-x^{2}-y^{2}$ and $z=2y$. To find where they intersect, it is natural to set them equal to each other: $3-x^{2}-y^{2}=2y$. This is an implicit function of $x$ and $y$ that gives all points $(x,y)$ in the $x$-$y$ plane where the $z$ values of the two surfaces are equal.

We can rewrite this implicit function by completing the square:

 $3-x^{2}-y^{2}=2y\quad\Rightarrow\quad y^{2}+2y+x^{2}=3\quad\Rightarrow\quad(y+% 1)^{2}+x^{2}=4.$

Thus in the $x$-$y$ plane the projection of the intersection is a circle with radius 2, centered at $(0,-1)$.

To project onto the $x$-$z$ plane, we do a similar procedure: find the $x$ and $z$ values where the $y$ values on the surface are the same. We start by solving the equation of each surface for $y$. In this particular case, it works well to actually solve for $y^{2}$:

 \begin{aligned} z&=3-x^{2}-y^{2}\\ z&=2y\end{aligned}\qquad\Rightarrow\qquad\begin{aligned} y^{2}&=3-x^{2}-z\\ y^{2}&=z^{2}/4\end{aligned}

Thus we have (after again completing the square):

 $3-x^{2}-z=z^{2}/4\quad\Rightarrow\quad\frac{(z+2)^{2}}{16}+\frac{x^{2}}{4}=1,$

and ellipse centered at $(0,-2)$ in the $x$-$z$ plane with a major axis of length 8 and a minor axis of length 4.

Finally, to project the curve of intersection into the $y$-$z$ plane, we solve equation for $x$. Since $z=2y$ is a cylinder that lacks the variable $x$, it becomes our equation of the projection in the $y$-$z$ plane.

All three projections are shown in Figure 14.6.5(b).

margin: (a) (b) Figure 14.6.6: The region $D$ in Example 14.6.4 is shown in (a); in (b), it is collapsed onto the $x$-$y$ plane. Λ
###### Example 14.6.4 Finding the volume of a space region with triple integration

Set up the triple integrals that find the volume of the space region $D$ where $x^{2}+y^{2}\leq 1$ and $0\leq z\leq-y$, as shown in Figure 14.6.6(a), with the orders of integration $\operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x$, $\operatorname{d}\!y\operatorname{d}\!x\operatorname{d}\!z$ and $\operatorname{d}\!x\operatorname{d}\!z\operatorname{d}\!y$.

SolutionThe order $\operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x$:

The region $D$ is bounded below by the plane $z=0$ and above by the plane $z=-y$. The cylinder $x^{2}+y^{2}=1$ does not offer any bounds in the $z$-direction, as that surface is parallel to the $z$-axis. Thus $0\leq z\leq-y$.

Collapsing the region into the $x$-$y$ plane, we get part of the region bounded by the circle with equation $x^{2}+y^{2}=1$ as shown in Figure 14.6.6(b). As a function of $x$, this half circle has equation $y=-\sqrt{1-x^{2}}$. Thus $y$ is bounded below by $-\sqrt{1-x^{2}}$ and above by $y=0$: $-\sqrt{1-x^{2}}\leq y\leq 0$. The $x$ bounds of the half circle are $-1\leq x\leq 1$. All together, the bounds of integration and triple integral are as follows:

 $\begin{gathered}0\leq z\leq-y\\ -\sqrt{1-x^{2}}\leq y\leq 0\\ -1\leq x\leq 1\end{gathered}\qquad\Rightarrow\qquad\int_{-1}^{1}\int_{-\sqrt{1% -x^{2}}}^{0}\int_{0}^{-y}\operatorname{d}\!z\operatorname{d}\!y\operatorname{d% }\!x.$

We evaluate this triple integral:

 $\displaystyle\int_{-1}^{1}\int_{-\sqrt{1-x^{2}}}^{0}\int_{0}^{-y}\operatorname% {d}\!z\operatorname{d}\!y\operatorname{d}\!x$ $\displaystyle=\int_{-1}^{1}\int_{-\sqrt{1-x^{2}}}^{0}\bigl{(}-y\bigr{)}% \operatorname{d}\!y\operatorname{d}\!x$ $\displaystyle=\int_{-1}^{1}\bigl{(}-\frac{1}{2}y^{2}\bigr{)}\Big{|}_{-\sqrt{1-% x^{2}}}^{0}\operatorname{d}\!x$ $\displaystyle=\int_{-1}^{1}\frac{1}{2}\bigl{(}1-x^{2}\bigr{)}\operatorname{d}\!x$ $\displaystyle=\left.\left(\frac{1}{2}\left(x-\frac{1}{3}x^{3}\right)\right)% \right|_{-1}^{1}$ $\displaystyle=\frac{2}{3}\text{units}^{3}.$

With the order $\operatorname{d}\!y\operatorname{d}\!x\operatorname{d}\!z$:

The region is bounded “below” in the $y$-direction by the surface $x^{2}+y^{2}=1\Rightarrow y=-\sqrt{1-x^{2}}$ and “above” by the surface $y=-z$. Thus the $y$ bounds are $-\sqrt{1-x^{2}}\leq y\leq-z$.

margin: (a) (b) Figure 14.6.7: The region $D$ in Example 14.6.4 is shown collapsed onto the $x$-$z$ plane in (a); in (b), it is collapsed onto the $y$-$z$ plane. Λ

Collapsing the region onto the $x$-$z$ plane gives the region that is shown in Figure 14.6.7(a); this half disk is bounded by a circle with equation $x^{2}+z^{2}=1$. (We find this curve by solving each surface for $y^{2}$, then setting them equal to each other. We have $y^{2}=1-x^{2}$ and $y=-z\Rightarrow y^{2}=z^{2}$. Thus $x^{2}+z^{2}=1$.) It is bounded below by $x=-\sqrt{1-z^{2}}$ and above by $x=\sqrt{1-z^{2}}$, where $z$ is bounded by $0\leq z\leq 1$. All together, we have:

 $\begin{gathered}-\sqrt{1-x^{2}}\leq y\leq-z\\ -\sqrt{1-z^{2}}\leq x\leq\sqrt{1-z^{2}}\\ 0\leq z\leq 1\end{gathered}\qquad\Rightarrow\qquad\int_{0}^{1}\int_{-\sqrt{1-z% ^{2}}}^{\sqrt{1-z^{2}}}\int_{-\sqrt{1-x^{2}}}^{-z}\operatorname{d}\!y% \operatorname{d}\!x\operatorname{d}\!z.$

With the order $\operatorname{d}\!x\operatorname{d}\!z\operatorname{d}\!y$:

$D$ is bounded below by the surface $x=-\sqrt{1-y^{2}}$ and above by $\sqrt{1-y^{2}}$. We then collapse the region onto the $y$-$z$ plane and get the triangle shown in Figure 14.6.7(b). (The hypotenuse is the line $z=-y$, just as the plane.) Thus $z$ is bounded by $0\leq z\leq-y$ and $y$ is bounded by $-1\leq y\leq 0$. This gives:

 $\begin{gathered}-\sqrt{1-y^{2}}\leq x\leq\sqrt{1-y^{2}}\\ 0\leq z\leq-y\\ -1\leq y\leq 0\end{gathered}\qquad\Rightarrow\qquad\int_{-1}^{0}\int_{0}^{-y}% \int_{-\sqrt{1-y^{2}}}^{\sqrt{1-y^{2}}}\operatorname{d}\!x\operatorname{d}\!z% \operatorname{d}\!y.$

The following theorem states two things that should make “common sense” to us. First, using the triple integral to find volume of a region $D$ should always return a positive number; we are computing volume here, not signed volume. Secondly, to compute the volume of a “complicated” region, we could break it up into subregions and compute the volumes of each subregion separately, summing them later to find the total volume.

###### Theorem 14.6.3 Properties of Triple Integrals

Let $D$ be a closed, bounded region in space, and let $D_{1}$ and $D_{2}$ be non-overlapping regions such that $D=D_{1}\bigcup D_{2}$.

1. (a)

$\displaystyle\iiint_{D}\operatorname{d}\!V\geq 0$

2. (b)

$\displaystyle\iiint_{D}\operatorname{d}\!V=\iiint_{D_{1}}\operatorname{d}\!V+% \iiint_{D_{2}}\operatorname{d}\!V.$

We use this latter property in the next example.

###### Example 14.6.5 Finding the volume of a space region with triple integration

Find the volume of the space region $D$ bounded by the coordinate planes, $z=1-x/2$ and $z=1-y/4$, as shown in Figure 14.6.8(a). Set up the triple integrals that find the volume of $D$ in all 6 orders of integration. margin: (a) (b) Figure 14.6.8: The region $D$ in Example 14.6.5 is shown in (a); in (b), it is collapsed onto the $x$-$y$ plane. Λ

SolutionFollowing the bounds-determining strategy of “surface to surface, curve to curve, and point to point,” we can see that the most difficult orders of integration are the two in which we integrate with respect to $z$ first, for there are two “upper” surfaces that bound $D$ in the $z$-direction. So we start by noting that we have

 $0\leq z\leq 1-\frac{1}{2}x\quad\text{and}\quad 0\leq z\leq 1-\frac{1}{4}y.$

We now collapse the region $D$ onto the $x$-$y$ axis, as shown in Figure 14.6.8(b). The boundary of $D$, the line from $(0,0,1)$ to $(2,4,0)$, is shown in part (b) of the figure as a dashed line; it has equation $y=2x$. (We can recognize this in two ways: one, in collapsing the line from $(0,0,1)$ to $(2,4,0)$ onto the $x$-$y$ plane, we simply ignore the $z$-values, meaning the line now goes from $(0,0)$ to $(2,4)$. Secondly, the two surfaces meet where $z=1-x/2$ is equal to $z=1-y/4$: thus $1-x/2=1-y/4\Rightarrow y=2x.$)

We use the second property of Theorem 14.6.3 to state that

 $\iiint_{D}\operatorname{d}\!V=\iiint_{D_{1}}\operatorname{d}\!V+\iiint_{D_{2}}% \operatorname{d}\!V,$

where $D_{1}$ and $D_{2}$ are the space regions above the plane regions $R_{1}$ and $R_{2}$, respectively. Thus we can say

 $\iiint_{D}\operatorname{d}\!V=\iint_{R_{1}}\left(\int_{0}^{1-x/2}\operatorname% {d}\!z\right)\operatorname{d}\!A+\iint_{R_{2}}\left(\int_{0}^{1-y/4}% \operatorname{d}\!z\right)\operatorname{d}\!A.$

All that is left is to determine bounds of $R_{1}$ and $R_{2}$, depending on whether we are integrating with order $\operatorname{d}\!x\operatorname{d}\!y$ or $\operatorname{d}\!y\operatorname{d}\!x$. We give the final integrals here, leaving it to the reader to confirm these results.

$\operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x$:
\displaystyle\begin{gathered}\hidden@noalign{}\hfil\displaystyle 0\leq z\leq 1% -x/2\\ \hidden@noalign{}\hfil\displaystyle 0\leq y\leq 2x\\ \hidden@noalign{}\hfil\displaystyle 0\leq x\leq 2\end{gathered}\qquad\qquad% \begin{gathered}\hidden@noalign{}\hfil\displaystyle 0\leq z\leq 1-y/4\\ \hidden@noalign{}\hfil\displaystyle 2x\leq y\leq 4\\ \hidden@noalign{}\hfil\displaystyle 0\leq x\leq 2\end{gathered} $\displaystyle\iiint_{D}\operatorname{d}\!V=\int_{0}^{2}\int_{0}^{2x}\int_{0}^{% 1-x/2}\operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x+\int_{0}^{2}% \int_{2x}^{4}\int_{0}^{1-y/4}\operatorname{d}\!z\operatorname{d}\!y% \operatorname{d}\!x$

$\operatorname{d}\!z\operatorname{d}\!x\operatorname{d}\!y$:
\displaystyle\begin{gathered}\hidden@noalign{}\hfil\displaystyle 0\leq z\leq 1% -x/2\\ \hidden@noalign{}\hfil\displaystyle y/2\leq x\leq 2\\ \hidden@noalign{}\hfil\displaystyle 0\leq y\leq 4\end{gathered}\qquad\qquad% \begin{gathered}\hidden@noalign{}\hfil\displaystyle 0\leq z\leq 1-y/4\\ \hidden@noalign{}\hfil\displaystyle 0\leq x\leq y/2\\ \hidden@noalign{}\hfil\displaystyle 0\leq y\leq 4\end{gathered} $\displaystyle\iiint_{D}\operatorname{d}\!V=\int_{0}^{4}\int_{y/2}^{2}\int_{0}^% {1-x/2}\operatorname{d}\!z\operatorname{d}\!x\operatorname{d}\!y+\int_{0}^{4}% \int_{0}^{y/2}\int_{0}^{1-y/4}\operatorname{d}\!z\operatorname{d}\!x% \operatorname{d}\!y$

margin: (a) (b) Figure 14.6.9: The region $D$ in Example 14.6.5 is shown collapsed onto the $x$-$z$ plane in (a); in (b), it is collapsed onto the $y$-$z$ plane. Λ

The remaining four orders of integration do not require a sum of triple integrals. In Figure 14.6.9 we show $D$ collapsed onto the other two coordinate planes. Using these graphs, we give the final orders of integration here, again leaving it to the reader to confirm these results.

$\operatorname{d}\!y\operatorname{d}\!x\operatorname{d}\!z$:
$\begin{gathered}0\leq y\leq 4-4z\\ 0\leq x\leq 2-2z\\ 0\leq z\leq 1\end{gathered}\qquad\Rightarrow\qquad\int_{0}^{1}\int_{0}^{2-2z}% \int_{0}^{4-4z}\operatorname{d}\!y\operatorname{d}\!x\operatorname{d}\!z$ $\operatorname{d}\!y\operatorname{d}\!z\operatorname{d}\!x$:
$\begin{gathered}0\leq y\leq 4-4z\\ 0\leq z\leq 1-x/2\\ 0\leq x\leq 2\end{gathered}\qquad\Rightarrow\qquad\int_{0}^{2}\int_{0}^{1-x/2}% \int_{0}^{4-4z}\operatorname{d}\!y\operatorname{d}\!x\operatorname{d}\!z$ $\operatorname{d}\!x\operatorname{d}\!y\operatorname{d}\!z$:
$\begin{gathered}0\leq x\leq 2-2z\\ 0\leq y\leq 4-4z\\ 0\leq z\leq 1\end{gathered}\qquad\Rightarrow\qquad\int_{0}^{1}\int_{0}^{4-4z}% \int_{0}^{2-2z}\operatorname{d}\!x\operatorname{d}\!y\operatorname{d}\!z$ $\operatorname{d}\!x\operatorname{d}\!z\operatorname{d}\!y$:
$\begin{gathered}0\leq x\leq 2-2z\\ 0\leq z\leq 1-y/4\\ 0\leq y\leq 4\end{gathered}\qquad\Rightarrow\qquad\int_{0}^{4}\int_{0}^{1-y/4}% \int_{0}^{2-2z}\operatorname{d}\!x\operatorname{d}\!z\operatorname{d}\!y$

We give one more example of finding the volume of a space region.

###### Example 14.6.6 Finding the volume of a space region

Set up a triple integral that gives the volume of the space region $D$ bounded by $z=2x^{2}+2$ and $z=6-2x^{2}-y^{2}$. These surfaces are plotted in Figure 14.6.10(a) and (b), respectively; the region $D$ is shown in part (c) of the figure.

(a) (b) (c) Figure 14.6.10: The region $D$ is bounded by the surfaces shown in (a) and (b); $D$ is shown in (c).

SolutionThe main point of this example is this: integrating with respect to $z$ first is rather straightforward; integrating with respect to $x$ first is not.

The order $\operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x$:

The bounds on $z$ are clearly $2x^{2}+2\leq z\leq 6-2x^{2}-y^{2}$. Collapsing $D$ onto the $x$-$y$ plane gives the ellipse shown in Figure 14.6.10(c). The equation of this ellipse is found by setting the two surfaces equal to each other:

 $2x^{2}+2=6-2x^{2}-y^{2}\quad\Rightarrow\quad 4x^{2}+y^{2}=4\quad\Rightarrow% \quad x^{2}+\frac{y^{2}}{4}=1.$

We can describe this ellipse with the bounds

 $-\sqrt{4-4x^{2}}\leq y\leq\sqrt{4-4x^{2}}\quad\text{and}\quad-1\leq x\leq 1.$

Thus we find volume as

 $\begin{gathered}2x^{2}+2\leq z\leq 6-2x^{2}-y^{2}\\ -\sqrt{4-4x^{2}}\leq y\leq\sqrt{4-4x^{2}}\\ -1\leq x\leq 1\end{gathered}\qquad\Rightarrow\qquad\displaystyle\int_{-1}^{1}% \int_{-\sqrt{4-4x^{2}}}^{\sqrt{4-4x^{2}}}\int_{2x^{2}+2}^{6-2x^{2}-y^{2}}% \operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x$

The order $\operatorname{d}\!y\operatorname{d}\!z\operatorname{d}\!x$:

Integrating with respect to $y$ is not too difficult. Since the surface $z=2x^{2}+2$ is a cylinder whose directrix is the $y$-axis, it does not create a border for $y$. The paraboloid $z=6-2x^{2}-y^{2}$ does; solving for $y$, we get the bounds

 $-\sqrt{6-2x^{2}-z}\leq y\leq\sqrt{6-2x^{2}-z}.$

Collapsing $D$ onto the $x$-$z$ axes gives the region shown in Figure 14.6.11(a); the lower curve is from the cylinder, with equation $z=2x^{2}+2$. The upper curve is from the paraboloid; with $y=0$, the curve is $z=6-2x^{2}$. Thus bounds on $z$ are $2x^{2}+2\leq z\leq 6-2x^{2}$; the bounds on $x$ are $-1\leq x\leq 1$. Thus we have:

 $\begin{gathered}-\sqrt{6-2x^{2}-z}\leq y\leq\sqrt{6-2x^{2}-z}\\ 2x^{2}+2\leq z\leq 6-2x^{2}\\ -1\leq x\leq 1\end{gathered}\Rightarrow\quad\int_{-1}^{1}\int_{2x^{2}+2}^{6-2x% ^{2}}\int_{-\sqrt{6-2x^{2}-z}}^{\sqrt{6-2x^{2}-z}}\operatorname{d}\!y% \operatorname{d}\!z\operatorname{d}\!x.$
margin: (a) (b) Figure 14.6.11: The region $D$ in Example 14.6.6 is collapsed onto the $x$-$z$ plane in (a); in (b), it is collapsed onto the $y$-$z$ plane. Λ

The order $\operatorname{d}\!x\operatorname{d}\!z\operatorname{d}\!y$:

This order takes more effort as $D$ must be split into two subregions. The two surfaces create two sets of upper/lower bounds in terms of $x$; the cylinder creates bounds

 $-\sqrt{z/2-1}\leq x\leq\sqrt{z/2-1}$

for region $D_{1}$ and the paraboloid creates bounds

 $-\sqrt{3-y^{2}/2-z^{2}/2}\leq x\leq\sqrt{3-y^{2}/2-z^{2}/2}$

for region $D_{2}$.

Collapsing $D$ onto the $y$-$z$ axes gives the regions shown in Figure 14.6.11(b). We find the equation of the curve $z=4-y^{2}/2$ by noting that the equation of the ellipse seen in Figure 14.6.10(c) has equation

 $x^{2}+y^{2}/4=1\quad\Rightarrow\quad x=\sqrt{1-y^{2}/4}.$

Substitute this expression for $x$ in either surface equation, $z=6-2x^{2}-y^{2}$ or $z=2x^{2}+2$. In both cases, we find

 $z=4-\frac{1}{2}y^{2}.$

Region $R_{1}$, corresponding to $D_{1}$, has bounds

 $2\leq z\leq 4-y^{2}/2,\quad-2\leq y\leq 2$

and region $R_{2}$, corresponding to $D_{2}$, has bounds

 $4-y^{2}/2\leq z\leq 6-y^{2},\quad-2\leq y\leq 2.$

Thus the volume of $D$ is given by:

 $\int_{-2}^{2}\int_{2}^{4-y^{2}/2}\int_{-\sqrt{z/2-1}}^{\sqrt{z/2-1}}% \operatorname{d}\!x\operatorname{d}\!z\operatorname{d}\!y+\int_{-2}^{2}\int_{4% -y^{2}/2}^{6-y^{2}}\int_{-\sqrt{3-y^{2}/2-z^{2}/2}}^{\sqrt{3-y^{2}/2-z^{2}/2}}% \operatorname{d}\!x\operatorname{d}\!z\operatorname{d}\!y.$

If all one wanted to do in Example 14.6.6 was find the volume of the region $D$, one would have likely stopped at the first integration setup (with order $\operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x$) and computed the volume from there. However, we included the other two methods (1) to show that it could be done, “messy” or not, and (2) because sometimes we “have” to use a less desirable order of integration in order to actually integrate.

## Triple Integration and Functions of Three Variables

There are uses for triple integration beyond merely finding volume, just as there are uses for integration beyond “area under the curve.” These uses start with understanding how to integrate functions of three variables, which is effectively no different than integrating functions of two variables. This leads us to a definition, followed by an example.

###### Definition 14.6.2 Iterated Integration, (Part II)

Let $D$ be a closed, bounded region in space, over which $g_{1}(x)$, $g_{2}(x)$, $f_{1}(x,y)$, $f_{2}(x,y)$ and $h(x,y,z)$ are all continuous, and let $a$ and $b$ be real numbers.

The iterated integral $\displaystyle\int_{a}^{b}\int_{g_{1}(x)}^{g_{2}(x)}\int_{f_{1}(x,y)}^{f_{2}(x,% y)}h(x,y,z)\operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x$ is evaluated as

 $\int_{a}^{b}\int_{g_{1}(x)}^{g_{2}(x)}\int_{f_{1}(x,y)}^{f_{2}(x,y)}h(x,y,z)% \operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x=\int_{a}^{b}\int_{g_% {1}(x)}^{g_{2}(x)}\left(\int_{f_{1}(x,y)}^{f_{2}(x,y)}h(x,y,z)\operatorname{d}% \!z\right)\operatorname{d}\!y\operatorname{d}\!x.$
###### Example 14.6.7 Evaluating a triple integral of a function of three variables

Evaluate $\displaystyle\int_{0}^{1}\int_{x^{2}}^{x}\int_{x^{2}-y}^{2x+3y}\bigl{(}xy+2xz% \bigr{)}\operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x$.

SolutionWe evaluate this integral according to Definition 14.6.2.

$\displaystyle\int_{0}^{1}\int_{x^{2}}^{x}\int_{x^{2}-y}^{2x+3y}\bigl{(}xy+2xz% \bigr{)}\operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x$

 $\displaystyle=\int_{0}^{1}\int_{x^{2}}^{x}\left(\int_{x^{2}-y}^{2x+3y}\bigl{(}% xy+2xz\bigr{)}\operatorname{d}\!z\right)\operatorname{d}\!y\operatorname{d}\!x$ $\displaystyle=\int_{0}^{1}\int_{x^{2}}^{x}\left(\bigl{(}xyz+xz^{2}\bigr{)}\Big% {|}_{x^{2}-y}^{2x+3y}\right)\operatorname{d}\!y\operatorname{d}\!x$ $\displaystyle=\int_{0}^{1}\int_{x^{2}}^{x}\Biggl{(}xy(2x+3y)+x(2x+3y)^{2}-% \Bigl{(}xy(x^{2}-y)+x(x^{2}-y)^{2}\Bigr{)}\Biggr{)}\operatorname{d}\!y% \operatorname{d}\!x$ $\displaystyle=\int_{0}^{1}\int_{x^{2}}^{x}\Bigl{(}-x^{5}+x^{3}y+4x^{3}+14x^{2}% y+12xy^{2}\Bigr{)}\operatorname{d}\!y\operatorname{d}\!x.$ We continue as we have in the past, showing fewer steps. $\displaystyle=\int_{0}^{1}\Biggl{(}-\frac{7}{2}x^{7}-8x^{6}-\frac{7}{2}x^{5}+1% 5x^{4}\Biggr{)}\operatorname{d}\!x$ $\displaystyle=\frac{281}{336}.$

We now know how to evaluate a triple integral of a function of three variables; we do not yet understand what it means. We build up this understanding in a way very similar to how we have understood integration and double integration.

Let $h(x,y,z)$ be a continuous function of three variables, defined over some space region $D$. We can partition $D$ into $n$ rectangular-solid subregions, each with dimensions $\Delta x_{i}\times\Delta y_{i}\times\Delta z_{i}$. Let $(x_{i},y_{i},z_{i})$ be some point in the $i^{\,\text{th}}$ subregion, and consider the product $h(x_{i},y_{i},z_{i})\Delta x_{i}\Delta y_{i}\Delta z_{i}$. It is the product of a function value (that’s the $h(x_{i},y_{i},z_{i})$ part) and a small volume $\Delta V_{i}$ (that’s the $\Delta x_{i}\Delta y_{i}\Delta z_{i}$ part). One of the simplest understanding of this type of product is when $h$ describes the density of an object, for then $h\times\text{volume}=\text{mass}$.

We can sum up all $n$ products over $D$. Again letting $\left\lVert\Delta D\right\rVert$ represent the length of the longest diagonal of the $n$ rectangular solids in the partition, we can take the limit of the sums of products as $\left\lVert\Delta D\right\rVert\to 0$. That is, we can find

 $S=\lim_{\left\lVert\Delta D\right\rVert\to 0}\sum_{i=1}^{n}h(x_{i},y_{i},z_{i}% )\Delta V_{i}=\lim_{\left\lVert\Delta D\right\rVert\to 0}\sum_{i=1}^{n}h(x_{i}% ,y_{i},z_{i})\Delta x_{i}\Delta y_{i}\Delta z_{i}.$

While this limit has lots of interpretations depending on the function $h$, in the case where $h$ describes density, $S$ is the total mass of the object described by the region $D$.

We now use the above limit to define the triple integral, give a theorem that relates triple integrals to iterated iteration, followed by the application of triple integrals to find the centers of mass of solid objects.

margin: Note: In the marginal note at Theorem 14.2.1, we showed how the summation of rectangles over a region $R$ in the plane could be viewed as a double sum, leading to the double integral. Likewise, we can view the sum $\displaystyle\sum_{i=1}^{n}h(x_{i},y_{i},z_{i})\Delta x_{i}\Delta y_{i}\Delta z% _{i}$ as a triple sum, $\sum_{k=1}^{p}\sum_{j=1}^{n}\sum_{i=1}^{m}h(x_{i},y_{j},z_{k})\Delta x_{i}% \Delta y_{j}\Delta z_{k},$ which we evaluate as $\sum_{k=1}^{p}\left(\sum_{j=1}^{n}\left(\sum_{i=1}^{m}h(x_{i},y_{j},z_{k})% \Delta x_{i}\right)\Delta y_{j}\right)\Delta z_{k}.$ Here we fix a $k$ value, which establishes the $z$-height of the rectangular solids on one “level” of all the rectangular solids in the space region $D$. The inner double summation adds up all the volumes of the rectangular solids on this level, while the outer summation adds up the volumes of each level. This triple summation understanding leads to the $\iiint_{D}$ notation of the triple integral, as well as the method of evaluation shown in Theorem 14.6.4. Λ
###### Definition 14.6.3 Triple Integral

Let $w=h(x,y,z)$ be a continuous function over a closed, bounded space region $D$, and let $\Delta D$ be any partition of $D$ into $n$ rectangular solids with volume $\Delta V_{i}$. The triple integral of $h$ over $D$ is

 $\iiint_{D}h(x,y,z)\operatorname{d}\!V=\lim_{\left\lVert\Delta D\right\rVert\to 0% }\sum_{i=1}^{n}h(x_{i},y_{i},z_{i})\Delta V_{i}.$

The following theorem assures us that the above limit exists for continuous functions $h$ and gives us a method of evaluating the limit.

###### Theorem 14.6.4 Triple Integration (Part II)

Let $w=h(x,y,z)$ be a continuous function over a closed, bounded space region $D$, and let $\Delta D$ be any partition of $D$ into $n$ rectangular solids with volume $V_{i}$.

1. (a)

The limit $\displaystyle\lim_{\left\lVert\Delta D\right\rVert\to 0}\sum_{i=1}^{n}h(x_{i},% y_{i},z_{i})\Delta V_{i}$ exists.

2. (b)

If $D$ is defined as the region bounded by the planes $x=a$ and $x=b$, the cylinders $y=g_{1}(x)$ and $y=g_{2}(x)$, and the surfaces $z=f_{1}(x,y)$ and $z=f_{2}(x,y)$, where $a, $g_{1}(x)\leq g_{2}(x)$ and $f_{1}(x,y)\leq f_{2}(x,y)$ on $D$, then

 $\iiint_{D}h(x,y,z)\operatorname{d}\!V=\int_{a}^{b}\int_{g_{1}(x)}^{g_{2}(x)}% \int_{f_{1}(x,y)}^{f_{2}(x,y)}h(x,y,z)\operatorname{d}\!z\operatorname{d}\!y% \operatorname{d}\!x.$

We now apply triple integration to find the centers of mass of solid objects.

## Mass and Center of Mass

One may wish to review Section 14.4 for a reminder of the relevant terms and concepts.

###### Definition 14.6.4 Mass, Center of Mass of Solids

Let a solid be represented by a region $D$ in space with variable density function $\delta(x,y,z)$.

1. (a)

The mass of the object is $\displaystyle M=\iiint_{D}\operatorname{d}\!m=\iiint_{D}\delta(x,y,z)% \operatorname{d}\!V$.

2. (b)

The moment about the $x$-$y$ plane is $\displaystyle M_{xy}=\iiint_{D}z\delta(x,y,z)\operatorname{d}\!V$.

3. (c)

The moment about the $x$-$z$ plane is $\displaystyle M_{xz}=\iiint_{D}y\delta(x,y,z)\operatorname{d}\!V$.

4. (d)

The moment about the $y$-$z$ plane is $\displaystyle M_{yz}=\iiint_{D}x\delta(x,y,z)\operatorname{d}\!V$.

5. (e)

The center of mass of the object is

 $\bigl{(}\overline{x},\overline{y},\overline{z}\bigr{)}=\left(\frac{M_{yz}}{M},% \frac{M_{xz}}{M},\frac{M_{xy}}{M}\right).$
###### Example 14.6.8 Finding the center of mass of a solid

Find the mass and center of mass of the solid represented by the space region bounded by the coordinate planes and $z=2-y/3-2x/3$, shown in Figure 14.6.12, with constant density $\delta(x,y,z)=3$g/cm${}^{3}$. (Note: this space region was used in Example 14.6.2.)

margin: Figure 14.6.12: Finding the center of mass of this solid in Example 14.6.8. Λ

SolutionWe apply Definition 14.6.4. In Example 14.6.2, we found bounds for the order of integration $\operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x$ to be $0\leq z\leq 2-y/3-2x/3$, $0\leq y\leq 6-2x$ and $0\leq x\leq 3$. We find the mass of the object:

 $\displaystyle M$ $\displaystyle=\iiint_{D}\delta(x,y,z)\operatorname{d}\!V$ $\displaystyle=\int_{0}^{3}\int_{0}^{6-2x}\int_{0}^{2-y/3-2x/3}\bigl{(}3\bigr{)% }\operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x$ $\displaystyle=3\int_{0}^{3}\int_{0}^{6-2x}\int_{0}^{2-y/3-2x/3}\operatorname{d% }\!z\operatorname{d}\!y\operatorname{d}\!x$ $\displaystyle=3(6)=18\text{g}.$

The evaluation of the triple integral is done in Example 14.6.2, so we skipped those steps above. Note how the mass of an object with constant density is simply “density$\times$volume.”

We now find the moments about the planes.

 $\displaystyle M_{xy}$ $\displaystyle=\iiint_{D}3z\operatorname{d}\!V$ $\displaystyle=\int_{0}^{3}\int_{0}^{6-2x}\int_{0}^{2-y/3-2x/3}\bigl{(}3z\bigr{% )}\operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x$ $\displaystyle=\int_{0}^{3}\int_{0}^{6-2x}\frac{3}{2}\bigl{(}2-y/3-2x/3\bigr{)}% ^{2}\operatorname{d}\!y\operatorname{d}\!x$ $\displaystyle=\int_{0}^{3}-\frac{4}{9}\bigl{(}x-3\bigr{)}^{3}\operatorname{d}\!x$ $\displaystyle=9.$

We omit the steps of integrating to find the other moments.

 $\displaystyle M_{yz}$ $\displaystyle=\iiint_{D}3x\operatorname{d}\!V=\frac{27}{2}.$ $\displaystyle M_{xz}$ $\displaystyle=\iiint_{D}3y\operatorname{d}\!V=27.$

The center of mass is

 $\bigl{(}\overline{x},\overline{y},\overline{z}\bigr{)}=\left(\frac{27/2}{18},% \frac{27}{18},\frac{9}{18}\right)=\bigl{(}0.75,1.5,0.5\bigr{)}.$
###### Example 14.6.9 Finding the center of mass of a solid

Find the center of mass of the solid represented by the region bounded by the planes $z=0$ and $z=-y$ and the cylinder $x^{2}+y^{2}=1$, shown in Figure 14.6.13, with density function $\delta(x,y,z)=10+x^{2}+5y-5z$. (Note: this space region was used in Example 14.6.4.)

margin: Figure 14.6.13: Finding the center of mass of this solid in Example 14.6.9. Λ

SolutionAs we start, consider the density function. It is symmetric about the $y$-$z$ plane, and the farther one moves from this plane, the denser the object is. The symmetry indicates that $\overline{x}$ should be 0.

As one moves away from the origin in the $y$ or $z$ directions, the object becomes less dense, though there is more volume in these regions.

Though none of the integrals needed to compute the center of mass are particularly hard, they do require a number of steps. We emphasize here the importance of knowing how to set up the proper integrals; in complex situations we can appeal to technology for a good approximation, if not the exact answer. We use the order of integration $\operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x$, using the bounds found in Example 14.6.4. (As these are the same for all four triple integrals, we explicitly show the bounds only for $M$.)

 $\displaystyle M$ $\displaystyle=\iiint_{D}\bigl{(}10+x^{2}+5y-5z\bigr{)}\operatorname{d}\!V$ $\displaystyle=\int_{-1}^{1}\int_{-\sqrt{1-x^{2}}}^{0}\int_{0}^{-y}\bigl{(}10+x% ^{2}+5y-5z\bigr{)}\operatorname{d}\!V$ $\displaystyle=\frac{64}{5}-\frac{15\pi}{16}\approx 3.855.$ $\displaystyle M_{yz}$ $\displaystyle=\iiint_{D}x\bigl{(}10+x^{2}+5y-5z\bigr{)}\operatorname{d}\!V=0.$ $\displaystyle M_{xz}$ $\displaystyle=\iiint_{D}y\bigl{(}10+x^{2}+5y-5z\bigr{)}\operatorname{d}\!V=2-% \frac{61\pi}{48}\approx-1.99.$ $\displaystyle M_{xy}$ $\displaystyle=\iiint_{D}z\bigl{(}10+x^{2}+5y-5z\bigr{)}\operatorname{d}\!V=% \frac{61\pi}{96}-\frac{10}{9}\approx 0.885.$

Note how $M_{yz}=0$, as expected. The center of mass is

 $\bigl{(}\overline{x},\overline{y},\overline{z}\bigr{)}\approx\left(0,\frac{-1.% 99}{3.855},\frac{0.885}{3.855}\right)\approx\bigl{(}0,-0.516,0.230\bigr{)}.$

As stated before, there are many uses for triple integration beyond finding volume. When $h(x,y,z)$ describes a rate of change function over some space region $D$, then $\displaystyle\iiint_{D}h(x,y,z)\operatorname{d}\!V$ gives the total change over $D$. Our one specific example of this was computing mass; a density function is simply a “rate of mass change per volume” function. Integrating density gives total mass.

While knowing how to integrate is important, it is arguably much more important to know how to set up integrals. It takes skill to create a formula that describes a desired quantity; modern technology is very useful in evaluating these formulas quickly and accurately.

## Exercises 14.6

### Terms and Concepts

1. 1.

The strategy for establishing bounds for triple integrals is “             to             ,              to              and              to             .”

2. 2.

Give an informal interpretation of what “$\displaystyle\iiint_{D}\operatorname{d}\!V$” means.

3. 3.

Give two uses of triple integration.

4. 4.

If an object has a constant density $\delta$ and a volume $V$, what is its mass?

### Problems

In Exercises 5–8., two surfaces $f_{1}(x,y)$ and $f_{2}(x,y)$ and a region $R$ in the $x$, $y$ plane are given. Set up and evaluate the double integral that finds the volume between these surfaces over $R$.

1. 5.
$f_{1}(x,y)=8-x^{2}-y^{2}$, $f_{2}(x,y)=2x+y$; $R$ is the square with corners $(-1,-1)$ and $(1,1)$.
2. 6.
$f_{1}(x,y)=x^{2}+y^{2}$, $f_{2}(x,y)=-x^{2}-y^{2}$; $R$ is the square with corners $(0,0)$ and $(2,3)$.
3. 7.
$f_{1}(x,y)=\sin x\cos y$, $f_{2}(x,y)=\cos x\sin y+2$; $R$ is the triangle with corners $(0,0)$, $(\pi,0)$ and $(\pi,\pi)$.
4. 8.
$f_{1}(x,y)=2x^{2}+2y^{2}+3$, $f_{2}(x,y)=6-x^{2}-y^{2}$; $R$ is the disk $x^{2}+y^{2}\leq 1$.

In Exercises 9–16., a domain $D$ is described by its bounding surfaces, along with a graph. Set up the triple integrals that give the volume of $D$ in all 6 orders of integration, and find the volume of $D$ by evaluating the indicated triple integral.

1. 9.
$D$ is bounded by the coordinate planes and $z=2-\frac{2}{3}x-2y$. Evaluate the triple integral with order $\operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x$.
2. 10.
$D$ is bounded by the planes $y=0$, $y=2$, $x=1$, $z=0$ and $z=(3-x)/2$. Evaluate the triple integral with order $\operatorname{d}\!x\operatorname{d}\!y\operatorname{d}\!z$.
3. 11.
$D$ is bounded by the planes $x=0$, $x=2$, $z=-y$ and by $z=y^{2}/2$. Evaluate the triple integral with the order $\operatorname{d}\!y\operatorname{d}\!z\operatorname{d}\!x$.
4. 12.
$D$ is bounded by the planes $z=0$, $y=9$, $x=0$ and by $z=\sqrt{y^{2}-9x^{2}}$. Do not evaluate any triple integral.
5. 13.
$D$ is bounded by the planes $x=2$, $y=1$, $z=0$ and $z=2x+4y-4$. Evaluate the triple integral with the order $\operatorname{d}\!x\operatorname{d}\!y\operatorname{d}\!z$.
6. 14.
$D$ is bounded by the plane $z=2y$ and by $y=4-x^{2}$. Evaluate the triple integral with the order $\operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x$.
7. 15.
$D$ is bounded by the coordinate planes and by $y=1-x^{2}$ and $y=1-z^{2}$. Do not evaluate any triple integral. Which order is easier to evaluate: $\operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x$ or $\operatorname{d}\!y\operatorname{d}\!z\operatorname{d}\!x$? Explain why.
8. 16.
$D$ is bounded by the coordinate planes and by $z=1-y/3$ and $z=1-x$. Evaluate the triple integral with order $\operatorname{d}\!x\operatorname{d}\!y\operatorname{d}\!z$.

In Exercises 17–20., evaluate the triple integral.

1. 17.

$\displaystyle\int_{-\pi/2}^{\pi/2}\int_{0}^{\pi}\int_{0}^{\pi}\big{(}\cos x% \sin y\sin z\big{)}\operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x$

2. 18.

$\displaystyle\int_{0}^{1}\int_{0}^{x}\int_{0}^{x+y}\big{(}x+y+z\big{)}% \operatorname{d}\!z\operatorname{d}\!y\operatorname{d}\!x$

3. 19.

$\displaystyle\int_{0}^{\pi}\int_{0}^{1}\int_{0}^{z}\big{(}\sin(yz)\big{)}% \operatorname{d}\!x\operatorname{d}\!y\operatorname{d}\!z$

4. 20.

$\displaystyle\int_{\pi}^{\pi^{2}}\int_{x}^{x^{3}}\int_{-y^{2}}^{y^{2}}\left(z% \frac{x^{2}y+y^{2}x}{e^{x^{2}+y^{2}}}\right)\operatorname{d}\!z\operatorname{d% }\!y\operatorname{d}\!x$

In Exercises 21–24., find the center of mass of the solid represented by the indicated space region $D$ with density function $\delta(x,y,z)$.

1. 21.
$D$ is bounded by the coordinate planes and $z=2-\frac{2}{3}x-2y$;  $\delta(x,y,z)=10$g/cm${}^{3}$. (Note: this is the same region as used in 9..)
2. 22.
$D$ is bounded by the planes $y=0$, $y=2$, $x=1$, $z=0$ and $z=(3-x)/2$;  $\delta(x,y,z)=2$g/cm${}^{3}$. (Note: this is the same region as used in 10..)
3. 23.
$D$ is bounded by the planes $x=2$, $y=1$, $z=0$ and $z=2x+4y-4$; $\delta(x,y,z)=x^{2}$lb/in${}^{3}$. (Note: this is the same region as used in 13..)
4. 24.
$D$ is bounded by the plane $z=2y$ and by $y=4-x^{2}$. $\delta(x,y,z)=y^{2}$lb/in${}^{3}$. (Note: this is the same region as used in 14..) 