We can use double integrals over general regions to compute volumes, areas, and average values. The methods are the same as those we used for rectangular regions, but without that restriction, we can now solve a wider variety of problems.
Find the volume of the solid bounded by the planes [latex]x = 0[/latex], [latex]y = 0, \ z = 0[/latex], and [latex]2x+3y+z=6[/latex].
The solid is a tetrahedron with the base on the [latex]xy[/latex]-plane and a height [latex]z=6-2x-3y[/latex] The base is the region [latex]D[/latex] bounded by the lines, [latex]x=0[/latex], [latex]y=0[/latex], and [latex]2x+3y=6[/latex] where [latex]z=0[/latex] (Figure 1). Note that we can consider the region [latex]D[/latex] as Type I or as Type II, and we can integrate in both ways.
Figure 1. A tetrahedron consisting of the three coordinate planes and the plane [latex]\small{z=6-2x-3y}[/latex], with the base bound by [latex]\small{x=0}[/latex], [latex]\small{y=0}[/latex], and [latex]\small{2x+3y=6}[/latex].
First, consider [latex]D[/latex] as a Type I region, and hence [latex]{D} = {\left \{{(x,y)}{\mid}{0} \ {\leq} \ {x} \ {\leq} \ {3,0} \ {\leq} \ {y} \ {\leq} \ {2-{\frac{2}{3}}x} \right \}}[/latex].
Therefore, the volume is
[latex]\hspace{3cm}\begin{align} V&=\displaystyle\int_{x=0}^{x=3}\displaystyle\int_{y=0}^{y=2-(2x/3)}(6-2x-3y)dydx=\displaystyle\int_{x=0}^{x=3}\left[\left(6y-2xy-\frac32y^2\right)\Bigg|_{y=0}^{y=2-(2x/3)}\right]dx \\ &=\displaystyle\int_{x=0}^{x=3}\left[\frac23(x-3)^2\right]dx=6 \end{align}[/latex]
Now consider [latex]D[/latex] as a Type II region, so [latex]{D} = {\left \{{(x,y)}{\mid}{0} \ {\leq} \ {y} \ {\leq} \ {2,0} \ {\leq} \ {x} \ {\leq} \ {3-{\frac{3}{2}}y} \right \}}[/latex]. In this calculation, the volume is
[latex]\hspace{3cm}\begin{align} V&=\displaystyle\int_{y=0}^{y=2}\displaystyle\int_{x=0}^{x=3-(3y/2)}(6-2x-3y)dxdy=\displaystyle\int_{y=0}^{y=2}\left[(6x-x^2-3xy)\bigg|_{x=0}^{x=3-(3y/2)}\right]dy \\ &=\displaystyle\int_{y=0}^{y=2}\left[\frac94(y-2)^2\right]dy=6 \end{align}[/latex]
Therefore, the volume is [latex]6[/latex] cubic units.
Finding Areas Using Double Integrals
Finding the area of a rectangular region is easy, but finding the area of a nonrectangular region is not so easy. As we have seen, we can use double integrals to find a rectangular area. This approach is even more useful for finding the area of a general nonrectangular region, as stated in the next definition.
area of a nonrectangular region
The area of a plane-bounded region [latex]D[/latex] is defined as the double integral:
We have already seen how to find areas in terms of single integration. Here we are seeing another way of finding areas by using double integrals, which can be very useful.
Find the area of the region bounded below by the curve [latex]y=x^{2}[/latex] and above by the line [latex]y=2x[/latex] in the first quadrant (Figure 2).
Figure 2. The region bounded by [latex]y=x^{2}[/latex] and [latex]y=2x[/latex].
We just have to integrate the constant function [latex]f(x, y)=1[/latex] over the region. Thus, the area [latex]A[/latex] of the bounded region is [latex]\displaystyle\int_{x=0}^{x=2}\displaystyle\int_{y=x^2}^{y=2x}dydx[/latex] or [latex]\displaystyle\int_{y=0}^{x=4}\displaystyle\int_{x=y/2}^{x=\sqrt{y}}dxdy[/latex]:
We can also use a double integral to find the average value of a function over a general region. This extends our single-variable approach to two dimensions.
Average Value of a Function (Single-variable version)
[latex]\\[/latex] If [latex]f(x)[/latex] is continuous on [latex][a,b][/latex], then the average value of [latex]f(x)[/latex] on [latex][a,b][/latex] is:
The following definition is a direct extension of the formula above.
average value of a function over a general region
If [latex]f(x, y)[/latex] is integrable over a plane-bounded region [latex]D[/latex] with positive area [latex]A(D)[/latex] then the average value of the function is:
Find the average value of the function [latex]f(x, y)=7xy^{2}[/latex] on the region bounded by the line [latex]x=y[/latex] and the curve [latex]x=\sqrt{y}[/latex] (Figure 3).
Figure 3. The region bounded by [latex]\small{x=y}[/latex] and [latex]\small{x=\sqrt{y}}[/latex]
First find the area [latex]A(D)[/latex] where the region [latex]D[/latex] is given by the figure. We have