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 [latex]E[/latex] in [latex]{\mathbb{R}^3}[/latex]. The general bounded regions we will consider are of three types.
First, let [latex]D[/latex] be the bounded region that is a projection of [latex]E[/latex] onto the [latex]xy[/latex]-plane. Suppose the region [latex]E[/latex] in [latex]{\mathbb{R}^3}[/latex] has the form:
[latex]E = {{(x,y,z)}{\mid}{(x,y)} \ {\in} \ {{D},{u_1}{(x,y)}} \ {\leq} \ {z} \ {\leq} \ {u_2}{(x,y)} }[/latex].
For two functions [latex]z=u_1(x, y)[/latex] and [latex]z=u_2(x,y)[/latex], such that [latex]{u_1}{(x,y)} \ {\leq} \ {u_2}{(x,y)}[/latex] for all [latex](x, y)[/latex] in [latex]D[/latex] as shown in the following figure.

triple integral over a general region
The triple integral of a continuous function [latex]f(x, y, z)[/latex] over a general three-dimensional region:
[latex]E = \{{(x,y,z)}{\mid}{(x,y)} \ {\in} \ {{D},{u_1}{(x,y)}} \ {\leq} \ {z} \ {\leq} \ {u_2}{(x,y)} \}[/latex]
in [latex]{{\mathbb{R}}^3}[/latex], where [latex]D[/latex] is the projection of [latex]E[/latex] onto the [latex]xy[/latex]–plane, is:
[latex]{\underset{E}{\displaystyle\iiint}{f}{(x,y,z)}{dV} = \underset{D}{\displaystyle\iint}{[{\displaystyle\int^{{u_2}{(x,y)}}_{{u_1}{(x,y)}}}{f}{(x,y,z)}{dz} ]}{dA}}[/latex]
Similarly, we can consider a general bounded region [latex]D[/latex] in the [latex]xy[/latex]-plane and two functions [latex]{y} = {u_1}{(x,z)}[/latex] and [latex]{y} = {u_2}{(x,z)}[/latex] such that [latex]{u_1}{(x,z)} \ {\leq} \ {u_2}{(x,z)}[/latex] for all [latex](x, z)[/latex] in [latex]D[/latex]. Then we can describe the solid region [latex]E[/latex] in [latex]{{\mathbb{R}}^3}[/latex] as:
[latex]{E} = \left \{{(x,y,z)}{\mid}{(x,z)} \ {\in} \ {{D},{u_1}{(x,z)}} \ {\leq} \ {z} \ {\leq} \ {u_2}{(x,z)} \right \}[/latex]
where [latex]D[/latex] is the projection of [latex]E[/latex] onto the [latex]xy[/latex]-plane and the triple integral is:
[latex]\underset{E}{\displaystyle\iiint}{f}{(x,y,z)}{dV} = \underset{D}{\displaystyle\iint}{\left [{\displaystyle\int^{{u_2}{(x,z)}}_{{u_1}{(x,z)}}}{f}{(x,y,z)}{dy} \right ]}{dA}[/latex].
Finally, if [latex]D[/latex] is a general bounded region in the [latex]yz[/latex]-plane and we have two functions [latex]{x} = {u_1}{(y,z)}[/latex] and [latex]{x} = {u_2}{(y,z)}[/latex] such that [latex]{u_1}{(y,z)} \ {\leq} \ {u_2}{(y,z)}[/latex] for all [latex](y, z)[/latex] in [latex]D[/latex], then the solid region [latex]E[/latex] in [latex]{{\mathbb{R}}^3}[/latex] can be described as:
[latex]{E} = \left \{{(x,y,z)}{\mid}{(y,z)} \ {\in} \ {{D},{u_1}{(y,z)}} \ {\leq} \ {z} \ {\leq} \ {u_2}{(y,z)} \right \}[/latex]
where [latex]D[/latex] is the projection of [latex]E[/latex] onto the [latex]yz[/latex]-plane and the triple integral is:
[latex]\underset{E}{\displaystyle\iiint}{f}{(x,y,z)}{dV} = \underset{D}{\displaystyle\iint}{\left [{\displaystyle\int^{{u_2}{(y,z)}}_{{u_1}{(y,z)}}}{f}{(x,y,z)}{dx} \right ]}{dA}[/latex].
Setting Up Triple Integrals with Type I and Type II Regions
Note that the region [latex]D[/latex] in any of the planes may be of Type I or Type II.
A Type I region in the [latex]xy[/latex]-plane has the form: [latex]a \leq x \leq b[/latex] and [latex]g_1(x) \leq y \leq g_2(x)[/latex]. The bounds on [latex]y[/latex] depend on [latex]x[/latex].
A Type II region in the [latex]xy[/latex]-plane has the form: [latex]c \leq y \leq d[/latex] and [latex]h_1(y) \leq x \leq h_2(y)[/latex]. The bounds on [latex]x[/latex] depend on [latex]y[/latex].
These same classifications apply to regions in the [latex]xz[/latex]-plane and [latex]yz[/latex]-plane.
If [latex]D[/latex] in the [latex]xy[/latex]-plane is of Type I (Figure 4), then:
[latex]{E} = \left \{{(x,y,z)}{\mid}{a} \ {\leq} \ {x} \ {\leq} \ {b,{g_1}{(x)}} \ {\leq} \ {y} \ {\leq} \ {g_2{(x)}},{{u_1}{(x,y)}} \ {\leq} \ {z} \ {\leq} \ {u_2}{(x,y)} \right \}[/latex].

Then the triple integral becomes:
[latex]\underset{E}{\displaystyle\iiint}{f}{(x,y,z)}{dV} = {\displaystyle\int_{a}^{b}} \ {\displaystyle\int_{{g_1}{(x)}}^{{g_2}{(x)}}} \ {\displaystyle\int_{{u_1}{(x,y)}}^{{u_2}{(x,y)}}}{f}{(x,y,z)}{dz}{dy}{dx}[/latex].
If [latex]D[/latex] in the [latex]xy[/latex]-plane is of Type II (Figure 5), then:
[latex]{E} = \left \{{(x,y,z)}{\mid}{c} \ {\leq} \ {x} \ {\leq} \ {d,{h_1}{(x)}} \ {\leq} \ {y} \ {\leq} \ {h_2{(x)}},{{u_1}{(x,y)}} \ {\leq} \ {z} \ {\leq} \ {u_2}{(x,y)} \right \}[/latex].

Then the triple integral becomes:
[latex]\underset{E}{\displaystyle\iiint}{f}{(x,y,z)}{dV} = {\displaystyle\int^{y=d}_{y=c}}{\displaystyle\int^{x={{h_2}{(y)}}}_{x={h_1}{(y)}}}{\displaystyle\int^{z={{u_2}{(x,y)}}}_{z={u_1}{(x,y)}}}{f}{(x,y,z)}{dz}{dx}{dy}[/latex].
Using Triple Integrals to Find Volume
Just as we used the double integral [latex]\underset{D}{\displaystyle\iint}{1}{dA}[/latex] to find the area of a general bounded region [latex]D[/latex], we can use [latex]\underset{E}{\displaystyle\iiint}{1}{dV}[/latex] to find the volume of a general solid bounded region [latex]E[/latex]. The next example illustrates the method.
Find the volume of a right pyramid that has the square base in the [latex]xy[/latex]-plane [latex][-1,1] \ {\times} \ [-1,1][/latex] and vertex at the point [latex](0, 0, 1)[/latex] as shown in the following figure.

