Skip to main content
Logo image

APEX Calculus

Section 14.2 Double Integration and Volume

The definite integral of f over [a,b], abf(x)dx, was introduced as “the signed area under the curve.” We approximated the value of this area by first subdividing [a,b] into n subintervals, where the ith subinterval has length Δxi, and letting ci be any value in the ith subinterval. We formed rectangles that approximated part of the region under the curve with width Δxi, height f(ci), and hence with area f(ci)Δxi. Summing all the rectangle’s areas gave an approximation of the definite integral, and Theorem 5.3.26 stated that
abf(x)dx=limΔx0f(ci)Δxi,
connecting the area under the curve with sums of the areas of rectangles.
We use a similar approach in this section to find volume under a surface.
Figure 14.2.1. Introducing the double integral
Let R be a closed, bounded region in the xy-plane and let z=f(x,y) be a continuous function defined on R. We wish to find the signed volume under the graph of f over R. (We use the term “signed volume” to denote that space above the xy-plane, under f, will have a positive volume; space above f and under the xy-plane will have a “negative” volume, similar to the notion of signed area used before.)
We start by partitioning R into n rectangular subregions as shown in Figure 14.2.2.(a). For simplicity’s sake, we let all widths be Δx and all heights be Δy. Note that the sum of the areas of the rectangles is not equal to the area of R, but rather is a close approximation. Arbitrarily number the rectangles 1 through n, and pick a point (xi,yi) in the ith subregion.
Figure 14.2.2. Developing a method for finding signed volume under a surface
The volume of the rectangular solid whose base is the ith subregion and whose height is f(xi,yi) is Vi=f(xi,yi)ΔxΔy. Such a solid is shown in Figure 14.2.2.(b). Note how this rectangular solid only approximates the true volume under the surface; part of the solid is above the surface and part is below.
For each subregion Ri used to approximate R, create the rectangular solid with base area ΔxΔy and height f(xi,yi). The sum of all rectangular solids is
i=1nf(xi,yi)ΔxΔy.
This approximates the signed volume under f over R. As we have done before, to get a better approximation we can use more rectangles to approximate the region R.
In general, each rectangle could have a different width Δxj and height Δyk, giving the ith rectangle an area ΔAi=ΔxjΔyk and the ith rectangular solid a volume of f(xi,yi)ΔAi. Let ΔA denote the length of the longest diagonal of all rectangles in the subdivision of R; ΔA0 means each rectangle’s width and height are both approaching 0. If f is a continuous function, as ΔA shrinks (and hence n) the summation i=1nf(xi,yi)ΔAi approximates the signed volume better and better. This leads to a definition.

Definition 14.2.3. Double Integral, Signed Volume.

Let z=f(x,y) be a continuous function defined over a closed, bounded region R in the xy-plane. The signed volume V under f over R is denoted by the double integral
V=Rf(x,y)dA.
Alternate notations for the double integral are
Rf(x,y)dA=Rf(x,y)dxdy=Rf(x,y)dydx.
Figure 14.2.4. Defining the double integral
Definition 14.2.3 does not state how to find the signed volume, though the notation offers a hint. We need the next two theorems to evaluate double integrals to find volume.
This theorem states that we can find the exact signed volume using a limit of sums. The partition of the region R is not specified, so any partitioning where the diagonal of each rectangle shrinks to 0 results in the same answer.
This does not offer a very satisfying way of computing volume, though. Our experience has shown that evaluating the limits of sums can be tedious. We seek a more direct method.
Recall Theorem 7.2.3 in Section 7.2. This stated that if A(x) gives the cross-sectional area of a solid at x, then abA(x)dx gave the volume of that solid over [a,b].
Consider Figure 14.2.6, where a surface z=f(x,y) is drawn over a region R. Fixing a particular x value, we can consider the area under f over R where x has that fixed value. That area can be found with a definite integral, namely
A(x)=g1(x)g2(x)f(x,y)dy.
Remember that though the integrand contains x, we are viewing x as fixed. Also note that the bounds of integration are functions of x: the bounds depend on the value of x.
Figure 14.2.6. Finding volume under a surface by sweeping out a cross-sectional area
As A(x) is a cross-sectional area function, we can find the signed volume V under f by integrating it:
V=abA(x)dx=ab(g1(x)g2(x)f(x,y)dy)dx=abg1(x)g2(x)f(x,y)dydx.
This gives a concrete method for finding signed volume under a surface. We could do a similar procedure where we started with y fixed, resulting in an iterated integral with the order of integration dxdy. The following theorem states that both methods give the same result, which is the value of the double integral. It is such an important theorem it has a name associated with it.
Note that once again the bounds of integration follow the “curve to curve, point to point” pattern discussed in the previous section. In fact, one of the main points of the previous section is developing the skill of describing a region R with the bounds of an iterated integral. Once this skill is developed, we can use double integrals to compute many quantities, not just signed volume under a surface.
Figure 14.2.8. Fubini’s Theorem and iterated integrals

Example 14.2.9. Evaluating a double integral.

Let f(x,y)=xy+ey. Find the signed volume under f on the region R, which is the rectangle with corners (3,1) and (4,2) pictured in Figure 14.2.10, using Fubini’s Theorem and both orders of integration.
Figure 14.2.10. Finding the signed volume under a surface in Example 14.2.9
Solution.
We wish to evaluate R(xy+ey)dA. As R is a rectangle, the bounds are easily described as 3x4 and 1y2.
Using the order dydx:
R(xy+ey)dA=3412(xy+ey)dydx=34([12xy2+ey]|12)dx=34(32x+e2e)dx=(34x2+(e2e)x)|34=214+e2e9.92.
Now we check the validity of Fubini’s Theorem by using the order dxdy:
R(xy+ey)dA=1234(xy+ey)dxdy=12([12x2y+xey]|34)dy=12(72y+ey)dy=(74y2+ey)|12=214+e2e9.92.
Both orders of integration return the same result, as expected.

Example 14.2.11. Evaluating a double integral.

Evaluate R(3xyx2y2+6)dA, where R is the triangle bounded by x=0, y=0 and x/2+y=1, as shown in Figure 14.2.12.
Figure 14.2.12. Finding the signed volume under the surface in Example 14.2.11
Solution.
While it is not specified which order we are to use, we will evaluate the double integral using both orders to help drive home the point that it does not matter which order we use.
Using the order dydx: The bounds on y go from “curve to curve,” i.e., 0y1x/2, and the bounds on x go from “point to point,” i.e., 0x2.
R(3xyx2y2+6)dA=020x2+1(3xyx2y2+6)dydx=02(32xy2x2y13y3+6y)|0x2+1dx=02(1112x3114x2x+173)dx=(1148x41112x312x2+173x)|02=173=5.6.
Now lets consider the order dxdy. Here x goes from “curve to curve,” 0x22y, and y goes from “point to point,” 0y1:
R(3xyx2y2+6)dA=01022y(3xyx2y2+6)dxdy=01(32x2y13x3xy2+6x)|022ydy=01(323y322y2+2y+283)dy=(83y4223y3+y2+283y)|01=173=5.6.
We obtained the same result using both orders of integration.
Figure 14.2.13. Further examples of double integrals over rectangles
Note how in these examples that the bounds of integration depend only on R; the bounds of integration have nothing to do with f(x,y). This is an important concept, so we include it as a Key Idea.

Key Idea 14.2.14. Double Integration Bounds.

When evaluating Rf(x,y)dA using an iterated integral, the bounds of integration depend only on R. The function f does not determine the bounds of integration.
Before doing another example, we give some properties of double integrals. Each should make sense if we view them in the context of finding signed volume under a surface, over a region.
Figure 14.2.17. Evaluating a double integral over a more general region

Example 14.2.18. Evaluating a double integral.

Let f(x,y)=sin(x)cos(y) and R be the triangle with vertices (1,0), (1,0) and (0,1) (see Figure 14.2.19). Evaluate the double integral Rf(x,y)dA.
Figure 14.2.19. Finding the signed volume under a surface in Example 14.2.18
Solution.
If we attempt to integrate using an iterated integral with the order dydx, note how there are two upper bounds on R meaning we’ll need to use two iterated integrals. We would need to split the triangle into two regions along the y-axis, then use Theorem 14.2.15, Part 5.
Instead, let’s use the order dxdy. The curves bounding x are y1x1y; the bounds on y are 0y1. This gives us:
Rf(x,y)dA=01y11ysin(x)cos(y)dxdy=01(cos(x)cos(y))|y11ydy=01cos(y)(cos(1y)+cos(y1))dy.
Recall that the cosine function is an even function; that is, cos(x)=cos(x). Therefore, from the last integral above, we have cos(y1)=cos(1y). Thus the integrand simplifies to 0, and we have
Rf(x,y)dA=010dy=0.
It turns out that over R, there is just as much volume above the xy-plane as below (look again at Figure 14.2.19), giving a final signed volume of 0.
Figure 14.2.20. Finding the volume of a tetrahedron

Example 14.2.21. Evaluating a double integral.

Evaluate R(4y)dA, where R is the region bounded by the parabolas y2=4x and x2=4y, graphed in Figure 14.2.22.
Figure 14.2.22. Finding the volume under the surface in Example 14.2.21
Solution.
Graphing each curve can help us find their points of intersection. Solving analytically, the second equation tells us that y=x2/4. Substituting this value in for y in the first equation gives us x4/16=4x. Solving for x:
x416=4xx464x=0x(x364)=0x=0,4.
Thus we’ve found analytically what was easy to approximate graphically: the regions intersect at (0,0) and (4,4), as shown in Figure 14.2.22.
We now choose an order of integration: dydx or dxdy? Either order works; since the integrand does not contain x, choosing dxdy might be simpler — at least, the first integral is very simple.
Thus we have the following “curve to curve, point to point” bounds:
y2/4x2y, and 0y4.
Therefore,
R(4y)dA=04y2/42y(4y)dxdy=04(x(4y))|y2/42ydy=04((2yy24)(4y))dy=04(y34y22y3/2+8y1/2)dy=(y416y334y5/25+16y3/23)|04=17615=11.73.
The signed volume under the surface z=f(x,y) is about 11.7 cubic units.
Figure 14.2.23. Evaluating a double integral over a general region
In the previous section we practiced changing the order of integration of a given iterated integral, where the region R was not explicitly given. Changing the bounds of an integral is more than just an test of understanding. Rather, there are cases where integrating in one order is really hard, if not impossible, whereas integrating with the other order is feasible.

Example 14.2.24. Changing the order of integration.

Rewrite the iterated integral 03y3ex2dxdy with the order dydx. Comment on the feasibility to evaluate each integral.
Solution.
Once again we make a sketch of the region over which we are integrating to facilitate changing the order. The bounds on x are from x=y to x=3; the bounds on y are from y=0 to y=3. These curves are sketched in Figure 14.2.25, enclosing the region R.
Figure 14.2.25. Determining the region R determined by the bounds of integration in Example 14.2.24
To change the bounds, note that the curves bounding y are y=0 up to y=x; the triangle is enclosed between x=0 and x=3. Thus the new bounds of integration are 0yx and 0x3, giving the iterated integral 030xex2dydx.
How easy is it to evaluate each iterated integral? Consider the order of integrating dxdy, as given in the original problem. The first indefinite integral we need to evaluate is ex2dx; we have stated before (see Section 5.5) that this integral cannot be evaluated in terms of elementary functions. We are stuck.
Changing the order of integration makes a big difference here. In the second iterated integral, we are faced with ex2dy; integrating with respect to y gives us yex2+C, and the first definite integral evaluates to
0xex2dy=xex2.
Thus
030xex2dydx=03(xex2)dx.
This last integral is easy to evaluate with substitution, giving a final answer of 12(1e9)0.5. Figure 14.2.26 shows the surface over R.
Figure 14.2.26. Showing the surface z=f(x,y) defined in Example 14.2.24 over its region R
In short, evaluating one iterated integral is impossible; the other iterated integral is relatively simple.
Figure 14.2.27. Two more examples of changing the order of integration
Definition 5.4.34 defines the average value of a single-variable function f(x) on the interval [a,b] as
 average value of f(x) on [a,b] =1baabf(x)dx;
that is, it is the “area under f over an interval divided by the length of the interval.” We make an analogous statement here: the average value of z=f(x,y) over a region R is the volume under f over R divided by the area of R.

Definition 14.2.28. The Average Value of f on R.

Let z=f(x,y) be a continuous function defined over a closed, bounded region R in the xy-plane. The average value of f on R is
 average value of f on R =Rf(x,y)dARdA.

Example 14.2.29. Finding average value of a function over a region R.

Find the average value of f(x,y)=4y over the region R, which is bounded by the parabolas y2=4x and x2=4y. Note: this is the same function and region as used in Example 14.2.21.
Solution.
In Example 14.2.21 we found
Rf(x,y)dA=04y2/42y(4y)dxdy=17615.
We find the area of R by computing RdA:
RdA=04y2/42ydxdy=163.
Dividing the volume under the surface by the area gives the average value:
 average value of f on R =176/1516/3=115=2.2.
While the surface, as shown in Figure 14.2.30, covers z-values from z=0 to z=4, the “average” z-value on R is 2.2.
Figure 14.2.30. Finding the average value of f in Example 14.2.29
The previous section introduced the iterated integral in the context of finding the area of plane regions. This section has extended our understanding of iterated integrals; now we see they can be used to find the signed volume under a surface.
This new understanding allows us to revisit what we did in the previous section. Given a region R in the plane, we computed R1dA; again, our understanding at the time was that we were finding the area of R. However, we can now view the graph z=1 as a surface, a flat surface with constant z-value of 1. The double integral R1dA finds the volume, under z=1, over R, as shown in Figure 14.2.31. Basic geometry tells us that if the base of a general right cylinder has area A, its volume is Ah, where h is the height. In our case, the height is 1. We were “actually” computing the volume of a solid, though we interpreted the number as an area.
Figure 14.2.31. Showing how an iterated integral used to find area also finds a certain volume
The next section extends our abilities to find “volumes under surfaces.” Currently, some integrals are hard to compute because either the region R we are integrating over is hard to define with rectangular curves, or the integrand itself is hard to deal with. Some of these problems can be solved by converting everything into polar coordinates.

Exercises Exercises

Terms and Concepts

1.
An integral can be interpreted as giving the signed area over an interval; a double integral can be interpreted as giving the signed over a region.
2.
Explain why the following statement is false: Fubini’s Theorem states that
abg1(x)g2(x)f(x,y)dydx=abg1(y)g2(y)f(x,y)dxdy.
3.
Explain why if f(x,y)>0 over a region R, then
Rf(x,y)dA>0.
4.
If Rf(x,y)dA=Rg(x,y)dA, does this imply f(x,y)=g(x,y)?

Problems

Exercise Group.
For the given integral,
  1. Evaluate the given iterated integral, and
  2. rewrite the integral using the other order of integration.
6.
π/2π/20π(sin(x)cos(y))dxdy
7.
040x/2+2(3x2y+2)dydx
9.
011y1y(x+y+2)dxdy
Exercise Group.
In the following exercises:
  1. Sketch the region R given by the problem.
  2. Set up the iterated integrals, in both orders, that evaluate the given double integral for the described region R.
  3. Evaluate one of the iterated integrals to find the signed volume under the surface z=f(x,y) over the region R.
11.
Rx2ydA, where R is bounded by y=x and y=x2.
12.
Rx2ydA, where R is bounded by y=x3 and y=x3.
13.
Rx2y2dA, where R is the rectangle with corners (1,1), (1,1), (1,1) and (1,1).
14.
RyexdA, where R is bounded by x=0, x=y2 and y=1.
15.
R(63x2y)dA, where R is bounded by x=0, y=0 and 3x+2y=6.
16.
ReydA, where R is bounded by y=ln(x) and
y=1e1(x1).
17.
R(x3yx)dA, where R is the half of the circle x2+y2=9 in the first and second quadrants.
18.
R(43y)dA, where R is bounded by y=0, y=x/e and y=ln(x).
Exercise Group.
In the following exercises, state why it is difficult/impossible to integrate the iterated integral in the given order of integration. Change the order of integration and evaluate the new iterated integral.
20.
0π/2xπ/2cos(y2)dydx
22.
1112xtan2(y)1+ln(y)dydx
Exercise Group.
In the following exercises, find the average value of f over the region R. Notice how these functions and regions are related to the iterated integrals given in Exercises 5–8.
23.
f(x,y)=xy+3;R is the rectangle with opposite corners (1,1) and (1,2).
24.
f(x,y)=sin(x)cos(y); R is bounded by x=0, x=π, y=π/2 and y=π/2.
25.
f(x,y)=3x2y+2;R is bounded by the lines y=0, y=2x/2 and x=0.
26.
f(x,y)=x2yxy2; R is bounded by y=x, y=1 and x=3.
You have attempted 1 of 9 activities on this page.