15.2: Double Integrals over General Regions
( \newcommand{\kernel}{\mathrm{null}\,}\)
- Recognize when a function of two variables is integrable over a general region.
- Evaluate a double integral by computing an iterated integral over a region bounded by two vertical lines and two functions of x, or two horizontal lines and two functions of y.
- Simplify the calculation of an iterated integral by changing the order of integration.
- Use double integrals to calculate the volume of a region between two surfaces or the area of a plane region.
- Solve problems involving double improper integrals.
Previously, we studied the concept of double integrals and examined the tools needed to compute them. We learned techniques and properties to integrate functions of two variables over rectangular regions. We also discussed several applications, such as finding the volume bounded above by a function over a rectangular region, finding area by integration, and calculating the average value of a function of two variables.
In this section we consider double integrals of functions defined over a general bounded region D on the plane. Most of the previous results hold in this situation as well, but some techniques need to be extended to cover this more general case.
General Regions of Integration
An example of a general bounded region D on a plane is shown in Figure 15.2.1. Since D is bounded on the plane, there must exist a rectangular region R on the same plane that encloses the region D that is, a rectangular region R exists such that D is a subset of R(D⊆R).

Suppose z=f(x,y) is defined on a general planar bounded region D as in Figure 15.2.1. In order to develop double integrals of f over D we extend the definition of the function to include all points on the rectangular region R and then use the concepts and tools from the preceding section. But how do we extend the definition of f to include all the points on R? We do this by defining a new function g(x,y) on R as follows:
g(x,y)={f(x,y),if(x,y)is inD0,if(x,y)is inRbut not inD
Note that we might have some technical difficulties if the boundary of D is complicated. So we assume the boundary to be a piecewise smooth and continuous simple closed curve. Also, since all the results developed in the section on Double Integrals over Rectangular Regions used an integrable function f(x,y) we must be careful about g(x,y) and verify that g(x,y) is an integrable function over the rectangular region R. This happens as long as the region D is bounded by simple closed curves. For now we will concentrate on the descriptions of the regions rather than the function and extend our theory appropriately for integration.
We consider two types of planar bounded regions.
A region D in the (x,y)-plane is of Type I if it lies between two vertical lines and the graphs of two continuous functions g1(x) and g2(x). That is (Figure 15.2.2),
D={(x,y)|a≤x≤b, g1(x)≤y≤g2(x)}.
A region D in the xy-plane is of Type II if it lies between two horizontal lines and the graphs of two continuous functions h1(y) and h2(y). That is (Figure 15.2.3),
D={(x,y)|c≤y≤d, h1(y)≤x≤h2(y)}.


Consider the region in the first quadrant between the functions y=√x and y=x3 (Figure 15.2.4). Describe the region first as Type I and then as Type II.

When describing a region as Type I, we need to identify the function that lies above the region and the function that lies below the region. Here, region D is bounded above by y=√x and below by y=x3 in the interval for x in [0,1]. Hence, as Type I, D is described as the set {(x,y)|0≤x≤1, x3≤y≤3√x}.
However, when describing a region as Type II, we need to identify the function that lies on the left of the region and the function that lies on the right of the region. Here, the region D is bounded on the left by x=y2 and on the right by x=3√y in the interval for y in [0,1]. Hence, as Type II, D is described as the set {(x,y)|0≤y≤1, y2≤x≤3√y}.
Consider the region in the first quadrant between the functions y=2x and y=x2. Describe the region first as Type I and then as Type II.
- Hint
-
Graph the functions, and draw vertical and horizontal lines.
- Answer
-
Type I and Type II are expressed as {(x,y)|0≤x≤2, x2≤y≤2x} and {(x,y)|0≤y≤4, 12y≤x≤√y}, respectively.
Double Integrals over Non-rectangular Regions
To develop the concept and tools for evaluation of a double integral over a general, nonrectangular region, we need to first understand the region and be able to express it as Type I or Type II or a combination of both. Without understanding the regions, we will not be able to decide the limits of integrations in double integrals. As a first step, let us look at the following theorem.
Suppose g(x,y) is the extension to the rectangle R of the function f(x,y) defined on the regions D and R as shown in Figure 15.2.1 inside R. Then g(x,y) is integrable and we define the double integral of f(x,y) over D by
∬Df(x,y)dA=∬Rg(x,y)dA.
The right-hand side of this equation is what we have seen before, so this theorem is reasonable because R is a rectangle and ∬Rg(x,y)dA has been discussed in the preceding section. Also, the equality works because the values of g(x,y) are 0 for any point (x,y) that lies outside D and hence these points do not add anything to the integral. However, it is important that the rectangle R contains the region D.
As a matter of fact, if the region D is bounded by smooth curves on a plane and we are able to describe it as Type I or Type II or a mix of both, then we can use the following theorem and not have to find a rectangle R containing the region.
For a function f(x,y) that is continuous on a region D of Type I, we have
∬Df(x,y)dA=∬Df(x,y)dy dx=∫ba[∫g2(x)g1(x)f(x,y)dy]dx.
Similarly, for a function f(x,y) that is continuous on a region D of Type II, we have
∬Df(x,y)dA=∬Df(x,y)dx dy=∫dc[∫h2(y)h1(y)f(x,y)dx]dy.
The integral in each of these expressions is an iterated integral, similar to those we have seen before. Notice that, in the inner integral in the first expression, we integrate f(x,y) with x being held constant and the limits of integration being g1(x) and g2(x). In the inner integral in the second expression, we integrate f(x,y) with y being held constant and the limits of integration are h1(x) and h2(x).
Evaluate the integral ∬Dx2exydA where D is shown in Figure 15.2.5.
Solution
First construct the region as a Type I region (Figure 15.2.5). Here D={(x,y)|0≤x≤2, 12x≤y≤1}. Then we have
∬Dx2exydA=∫x=2x=0∫y=1y=1/2xx2exydydx.

Therefore, we have
∫x=2x=0∫y=1y=12xx2exydydx=∫x=2x=0[∫y=1y=12xx2exydy]dxIterated integral for a Type I region.=∫x=2x=0[x2exyx]|y=1y=1/2xdxIntegrate with respect to y=∫x=2x=0[xex−xex2/2]dxIntegrate with respect to x=[xex−ex−e12x2]|x=2x=0=2.
In Example 15.2.2, we could have looked at the region in another way, such as D={(x,y)|0≤y≤1, 0≤x≤2y} (Figure 15.2.6).

This is a Type II region and the integral would then look like
∬Dx2exydA=∫y=1y=0∫x=2yx=0x2exydx dy.
However, if we integrate first with respect to x this integral is lengthy to compute because we have to use integration by parts twice.
Evaluate the integral
∬D(3x2+y2)dA
where D={(x,y)|−2≤y≤3, y2−3≤x≤y+3}.
Solution
Notice that D can be seen as either a Type I or a Type II region, as shown in Figure 15.2.7. However, in this case describing D as Type I is more complicated than describing it as Type II. Therefore, we use D as a Type II region for the integration.

Choosing this order of integration, we have
∬D(3x2+y2)dA=∫y=3y=−2∫x=y+3x=y2−3(3x2+y2)dx dy=∫y=3y=−2(x3+xy2)|y+3y2−3dyIterated integral, Type II region=∫y=3y=−2((y+3)3+(y+3)y2−(y2−3)3−(y2−3)y2)dy=∫3−2(54+27y−12y2+2y3+8y4−y6)dyIntegrate with respect to x.=[54y+27y22−4y3+y42+8y55−y77]3−2=23757.
Sketch the region D and evaluate the iterated integral ∬Dxy dy dx where D is the region bounded by the curves y=cos x and y=sin x in the interval [−3π/4, π/4].
- Hint
-
Express D as a Type I region, and integrate with respect to y first.
- Answer
-
π4
Recall from Double Integrals over Rectangular Regions the properties of double integrals. As we have seen from the examples here, all these properties are also valid for a function defined on a non-rectangular bounded region on a plane. In particular, property 3 states:
If R=S∪T and S∩T=0 except at their boundaries, then
∬Rf(x,y)dA=∬Sf(x,y)dA+∬Tf(x,y)dA.
Similarly, we have the following property of double integrals over a non-rectangular bounded region on a plane.
Suppose the region D can be expressed as D=D1∪D2 where D1 and D2 do not overlap except at their boundaries. Then
∬Df(x,y)dA=∬D1f(x,y)dA+∬D2f(x,y)dA.
This theorem is particularly useful for non-rectangular regions because it allows us to split a region into a union of regions of Type I and Type II. Then we can compute the double integral on each piece in a convenient way, as in the next example.
Express the region D shown in Figure 15.2.8 as a union of regions of Type I or Type II, and evaluate the integral
∬D(2x+5y)dA.

Solution
The region D is not easy to decompose into any one type; it is actually a combination of different types. So we can write it as a union of three regions D1, D2, and D3 where, D1={(x,y)|−2≤x≤0, 0≤y≤(x+2)2}, D2={(x,y)|0≤y≤4, 0≤x≤(y−116y3)}, and D3={(x,y)|−4≤y≤0, −2≤x≤(y−116y3)}. These regions are illustrated more clearly in Figure 15.2.9.

Here D1 is Type I and D2 and D3 are both of Type II. Hence,
∬D(2x+5y)dA=∬D1(2x+5y)dA+∬D2(2x+5y)dA+∬D3(2x+5y)dA=∫x=0x=−2∫y=(x+2)2y=0(2x+5y)dy dx+∫y=4y=0∫x=y−(1/16)y3x=0(2x+5y)dx dy+∫y=0y=−4∫x=y−(1/16)y3x=−2(2x+5y)dx dy=∫x=0x=−2[12(2+x)2(20+24x+5x2)]dx+∫y=4y=0[1256y6−716y4+6y2]dy+∫y=0y=−4[1256y6−716y4+6y2+10y−4]dy=403+166435−169635=1304105.
Now we could redo this example using a union of two Type II regions (see Exercise 15.2.4 below).
Consider the region bounded by the curves y=lnx and y=ex in the interval [1,2]. Decompose the region into smaller regions of Type II.
- Hint
-
Sketch the region, and split it into three regions to set it up.
- Answer
-
{(x,y)|0≤y≤1, 1≤x≤ey}∪{(x,y)|1≤y≤e, 1≤x≤2}∪{(x,y)|e≤y≤e2, lny≤x≤2}
Redo Example 15.2.4 using a union of two Type II regions.
- Hint
-
{(x,y)|0≤y≤4, √y−2≤x≤(y−116y3)}∪{(x,y)|−4≤y≤0, −2≤x≤(y−116y3)}
- Answer
-
Same as in the example shown.
Changing the Order of Integration
As we have already seen when we evaluate an iterated integral, sometimes one order of integration leads to a computation that is significantly simpler than the other order of integration. Sometimes the order of integration does not matter, but it is important to learn to recognize when a change in order will simplify our work.
Reverse the order of integration in the iterated integral
∫x=√2x=0∫y=2−x2y=0xex2dy dx.
Then evaluate the new iterated integral.
Solution
The region as presented is of Type I. To reverse the order of integration, we must first express the region as Type II. Refer to Figure 15.2.10.

We can see from the limits of integration that the region is bounded above by y=2−x2 and below by y=0 where x is in the interval [0,√2]. By reversing the order, we have the region bounded on the left by x=0 and on the right by x=√2−y where y is in the interval [0,2]. We solved y=2−x2 in terms of x to obtain x=√2−y.
Hence
∫√20∫2−x20xex2dy dx=∫20∫√2−y0xex2dx dyReverse the order of integration then use substitution.=∫20[12ex2|√2−y0]dy=∫2012(e2−y−1)dy=−12(e2−y+y)|20=12(e2−3).
Consider the iterated integral
∬Rf(x,y)dx dy
where z=f(x,y)=x−2y over a triangular region R that has sides on x=0, y=0, and the line x+y=1. Sketch the region, and then evaluate the iterated integral by
- integrating first with respect to y and then
- integrating first with respect to x.
Solution
A sketch of the region appears in Figure 15.2.11.

We can complete this integration in two different ways.
a. One way to look at it is by first integrating y from y=0 to y=1−x vertically and then integrating x from x=0 to x=1:
∬Rf(x,y)dx dy=∫x=1x=0∫y=1−xy=0(x−2y)dy dx=∫x=1x=0(xy−y2)|y=1−xy=0dx=∫x=1x=0[x(1−x)−(1−x)2]dx=∫x=1x=0[−1+3x−2x2]dx=[−x+32x2−23x3]|x=1x=0=−16.
b. The other way to do this problem is by first integrating x from x=0 to x=1−y horizontally and then integrating y from y=0 to y=1:
∬Rf(x,y)dxdy=∫y=1y=0∫x=1−yx=0(x−2y)dxdy=∫y=1y=0[12x2−2xy]x=1−yx=0dy=∫y=1y=0[12(1−y)2−2y(1−y)]dy=∫y=1y=0[12−3y+52y2]dy=[12y−32y2+56y3]|y=1y=0=−16.
Evaluate the iterated integral ∬D(x2+y2)dA over the region D in the first quadrant between the functions y=2x and y=x2. Evaluate the iterated integral by integrating first with respect to y and then integrating first with resect to x.
- Hint
-
Sketch the region and follow Example 15.2.6.
- Answer
-
21635
Calculating Volumes, Areas, and Average Values
We can use double integrals over general regions to compute volumes, areas, and average values. The methods are the same as those in Double Integrals over Rectangular Regions, but without the restriction to a rectangular region, we can now solve a wider variety of problems.
Find the volume of the solid bounded by the planes x=0, y=0, z=0, and 2x+3y+z=6.
Solution
The solid is a tetrahedron with the base on the xy-plane and a height z=6−2x−3y. The base is the region D bounded by the lines, x=0, y=0 and 2x+3y=6 where z=0 (Figure 15.2.12). Note that we can consider the region D as Type I or as Type II, and we can integrate in both ways.

First, consider D as a Type I region, and hence D={(x,y)|0≤x≤3, 0≤y≤2−23x}.
Therefore, the volume is
V=∫x=3x=0∫y=2−(2x/3)y=0(6−2x−3y)dy dx=∫x=3x=0[(6y−2xy−32y2)|y=2−(2x/3)y=0]dx=∫x=3x=0[23(x−3)2]dx=6.
Now consider D as a Type II region, so D={(x,y)|0≤y≤2, 0≤x≤3−32y}. In this calculation, the volume is
V=∫y=2y=0∫x=3−(3y/2)x=0(6−2x−3y)dx dy=∫y=2y=0[(6x−x2−3xy)|x=3−(3y/2)x=0]dy=∫y=2y=0[94(y−2)2]dy=6.
Therefore, the volume is 6 cubic units.
Find the volume of the solid bounded above by f(x,y)=10−2x+y over the region enclosed by the curves y=0 and y=ex where x is in the interval [0,1].
- Hint
-
Sketch the region, and describe it as Type I.
- Answer
-
e24+10e−494 cubic units
Finding the area of a rectangular region is easy, but finding the area of a non-rectangular region is not so easy. As we have seen, we can use double integrals to find a rectangular area. As a matter of fact, this comes in very handy for finding the area of a general non-rectangular region, as stated in the next definition.
The area of a plane-bounded region D is defined as the double integral
∬D1dA.
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, as we will see in the later sections of this chapter.
Find the area of the region bounded below by the curve y=x2 and above by the line y=2x in the first quadrant (Figure 15.2.13).

Solution
We just have to integrate the constant function f(x,y)=1 over the region. Thus, the area A of the bounded region is ∫x=2x=0∫y=2xy=x2dy dx or ∫y=4y=0∫x=√yx=y/2dx dy:
A=∬D1dx dy=∫x=2x=0∫y=2xy=x21dy dx=∫x=2x=0(y|y=2xy=x2)dx=∫x=2x=0(2x−x2)dx=(x2−x33)|20=43.
Find the area of a region bounded above by the curve y=x3 and below by y=0 over the interval [0,3].
- Hint
-
Sketch the region.
- Answer
-
814 square units
We can also use a double integral to find the average value of a function over a general region. The definition is a direct extension of the earlier formula.
If f(x,y) is integrable over a plane-bounded region D with positive area A(D), then the average value of the function is
fave=1A(D)∬Df(x,y)dA.
Note that the area is A(D)=∬D1dA.
Find the average value of the function f(x,y)=7xy2 on the region bounded by the line x=y and the curve x=√y (Figure 15.2.14).

Solution
First find the area A(D) where the region D is given by the figure. We have
A(D)=∬D1dA=∫y=1y=0∫x=√yx=y1dx dy=∫y=1y=0[x|x=√yx=y]dy=∫y=1y=0(√y−y)dy=23y2/3−y22|10=16
Then the average value of the given function over this region is
fave=1A(D)∬Df(x,y)dA=1A(D)∫y=1y=0∫x=√yx=y7xy2dx dy=11/6∫y=1y=0[72x2y2|x=√yx=y]dy=6∫y=1y=0[72y2(y−y2)]dy=6∫y=1y=0[72(y3−y4)]dy=422(y44−y55)|10=4240=2120.
Find the average value of the function f(x,y)=xy over the triangle with vertices (0,0), (1,0) and (1,3).
- Hint
-
Express the line joining (0,0) and (1,3) as a function y=g(x).
- Answer
-
34
Improper Double Integrals
An improper double integral is an integral ∬DfdA where either D is an unbounded region or f is an unbounded function. For example, D={(x,y)||x−y|≥2} is an unbounded region, and the function f(x,y)=1/(1−x2−2y2) over the ellipse x2+3y2≥1 is an unbounded function. Hence, both of the following integrals are improper integrals:
- ∬Dxy dA where D={(x,y)||x−y|≥2};
- ∬D11−x2−2y2dA where D={(x,y)|x2+3y2≤1}.
In this section we would like to deal with improper integrals of functions over rectangles or simple regions such that f has only finitely many discontinuities. Not all such improper integrals can be evaluated; however, a form of Fubini’s theorem does apply for some types of improper integrals.
If D is a bounded rectangle or simple region in the plane defined by
{(x,y):a≤x≤b, g(x)≤y≤h(x)} and also by
{(x,y):c≤y≤d, j(y)≤x≤k(y)} and f is a nonnegative function on D with finitely many discontinuities in the interior of D then
∬Df dA=∫x=bx=a∫y=h(x)y=g(x)f(x,y)dy dx=∫y=dy=c∫x=k(y)x=j(y)f(x,y)dx dy
It is very important to note that we required that the function be nonnegative on D for the theorem to work. We consider only the case where the function has finitely many discontinuities inside D.
Consider the function f(x,y)=eyy over the region D={(x,y):0≤x≤1, x≤y≤√x}.
Notice that the function is nonnegative and continuous at all points on D except (0,0). Use Fubini’s theorem to evaluate the improper integral.
Solution
First we plot the region D (Figure 15.2.15); then we express it in another way.

The other way to express the same region D is
D={(x,y):0≤y≤1, y2≤x≤y}.
Thus we can use Fubini’s theorem for improper integrals and evaluate the integral as
∫y=1y=0∫x=yx=y2eyydx dy.
Therefore, we have
∫y=1y=0∫x=yx=y2eyydx dy=∫y=1y=0eyyx|x=yx=y2dy=∫y=1y=0eyy(y−y2)dy=∫10(ey−yey)dy=e−2.
As mentioned before, we also have an improper integral if the region of integration is unbounded. Suppose now that the function f is continuous in an unbounded rectangle R.
If R is an unbounded rectangle such as R = \big\{(x,y)\,: \, a \leq x \leq \infty, \space c \leq y \leq \infty \big\}, then when the limit exists, we have
\iint\limits_R f(x,y) \,dA = \lim_{(b,d) \rightarrow (\infty, \infty)} \int_a^b \left(\int_c^d f (x,y) \,dy \right) dx = \lim_{(b,d) \rightarrow (\infty, \infty)} \int_c^d \left(\int_a^b f(x,y) \,dx \right) dy. \nonumber
The following example shows how this theorem can be used in certain cases of improper integrals.
Evaluate the integral \iint\limits_R xye^{-x^2-y^2}\,dA where R is the first quadrant of the plane.
Solution
The region R is the first quadrant of the plane, which is unbounded. So
\begin{align*} \iint\limits_R xye^{-x^2-y^2} \,dA &= \lim_{(b,d) \rightarrow (\infty, \infty)} \int_{x=0}^{x=b} \left(\int_{y=0}^{y=d} xye^{-x^2-y^2} dy\right) \,dx \\ &= \lim_{(b,d) \rightarrow (\infty, \infty)} \int_{y=0}^{x=b} xye^{-x^2-y^2} \,dy \\ &= \lim_{(b,d) \rightarrow (\infty, \infty)} \frac{1}{4} \left(1 - e^{-b^2}\right) \left( 1 - e^{-d^2}\right) = \frac{1}{4} \end{align*}
Thus,
\iint\limits_R xye^{-x^2-y^2}\,dA \nonumber
is convergent and the value is \frac{1}{4}.
\iint\limits_D \frac{y}{\sqrt{1 - x^2 - y^2}}dA \nonumber where D = \big\{(x,y)\,: \, x \geq 0, \space y \geq 0, \space x^2 + y^2 \leq 1 \big\}.
- Hint
-
Notice that the integral is nonnegative and discontinuous on x^2 + y^2 = 1. Express the region D as D = \big\{(x,y)\,: \, 0 \leq x \leq 1, \space 0 \leq y \leq \sqrt{1 - x^2} \big\} and integrate using the method of substitution.
- Answer
-
\frac{\pi}{4}
In some situations in probability theory, we can gain insight into a problem when we are able to use double integrals over general regions. Before we go over an example with a double integral, we need to set a few definitions and become familiar with some important properties.
Consider a pair of continuous random variables X and Y such as the birthdays of two people or the number of sunny and rainy days in a month. The joint density function f of X and Y satisfies the probability that (X,Y) lies in a certain region D:
P((X,Y) \in D) = \iint\limits_D f(x,y) \,dA. \nonumber
Since the probabilities can never be negative and must lie between 0 and 1 the joint density function satisfies the following inequality and equation:
f(x,y) \geq 0 \space \text{and} \space \iint\limits_R f(x,y) \,dA = 1. \nonumber
The variables X and Y are said to be independent random variables if their joint density function is the product of their individual density functions:
f(x,y) = f_1(x) f_2(y). \nonumber
At Sydney’s Restaurant, customers must wait an average of 15 minutes for a table. From the time they are seated until they have finished their meal requires an additional 40 minutes, on average. What is the probability that a customer spends less than an hour and a half at the diner, assuming that waiting for a table and completing the meal are independent events?
Solution
Waiting times are mathematically modeled by exponential density functions, with m being the average waiting time, as
f(t) = \begin{cases} 0, & \text{if}\; t<0 \\ \dfrac{1}{m}e^{-t/m}, & \text{if} \; t\geq 0.\end{cases} \nonumber
if X and Y are random variables for ‘waiting for a table’ and ‘completing the meal,’ then the probability density functions are, respectively,
f_1(x) = \begin{cases} 0, & \text{if}\; x<0. \\ \dfrac{1}{15} e^{-x/15}, & \text{if} \; x\geq 0. \end{cases} \quad \text{and} \quad f_2(y) = \begin{cases} 0, & \text{if}\; y<0 \\ \dfrac{1}{40} e^{-y/40}, & \text{if}\; y\geq 0. \end{cases} \nonumber
Clearly, the events are independent and hence the joint density function is the product of the individual functions
f(x,y) = f_1(x)f_2(y) = \begin{cases} 0, & \text{if} \; x<0 \; \text{or} \; y<0, \\ \dfrac{1}{600} e^{-x/15}, & \text{if} \; x,y\geq 0 \end{cases} \nonumber
We want to find the probability that the combined time X + Y is less than 90 minutes. In terms of geometry, it means that the region D is in the first quadrant bounded by the line x + y = 90 (Figure \PageIndex{16}).

Hence, the probability that (X,Y) is in the region D is
P(X + Y \leq 90) = P((X,Y) \in D) = \iint\limits_D f(x,y) \,dA = \iint\limits_D \frac{1}{600}e^{-x/15} e^{-y/40} \,dA. \nonumber
Since x + y = 90 is the same as y = 90 - x, we have a region of Type I, so
\begin{align*} D &= \big\{(x,y)\,|\,0 \leq x \leq 90, \space 0 \leq y \leq 90 - x\big\}, \\[6pt] P(X + Y \leq 90) &= \frac{1}{600} \int_{x=0}^{x=90} \int_{y=0}^{y=90-x} e^{-(/15}e^{-y/40}dx \space dy = \frac{1}{600} \int_{x=0}^{x=90} \int_{y=0}^{y=90-x}e^{-x/15}e^{-y/40} dx \space dy \\[6pt] &= \frac{1}{600} \int_{x=0}^{x=90} \int_{y=0}^{y=90-x} e^{-(x/15+y/40)}dx \space dy = 0.8328 \end{align*}
Thus, there is an 83.2\% chance that a customer spends less than an hour and a half at the restaurant.
Another important application in probability that can involve improper double integrals is the calculation of expected values. First we define this concept and then show an example of a calculation.
In probability theory, we denote the expected values E(X) and E(Y) respectively, as the most likely outcomes of the events. The expected values E(X) and E(Y) are given by
E(X) = \iint\limits_S x\,f(x,y) \,dA \space and \space E(Y) = \iint\limits_S y\,f (x,y) \,dA, \nonumber
where S is the sample space of the random variables X and Y.
Find the expected time for the events ‘waiting for a table’ and ‘completing the meal’ in Example \PageIndex{12}.
Solution
Using the first quadrant of the rectangular coordinate plane as the sample space, we have improper integrals for E(X) and E(Y). The expected time for a table is
\begin{align*} E(X) &= \iint\limits_S x\frac{1}{600} e^{-x/15}e^{-y/40} \, dA\\[6pt] &= \frac{1}{600} \int_{x=0}^{x=\infty} \int_{y=0}^{y=\infty} xe^{-x/15} e^{-y/40}dA\\[6pt] &= \frac{1}{600} \lim_{(a,b) \rightarrow (\infty, \infty)} \int_{x=0}^{x=a} \int_{y=0}^{y=b} xe^{-x/15} e^{-y/40} dx \space dy \\[6pt] &= \frac{1}{600} \left(\lim_{a\rightarrow \infty}\int_{x=0}^{x=a} xe^{-x/15} dx \right) \left( \lim_{b\rightarrow \infty} \int_{y=0}^{y=b} e^{-y/40} dy \right) \\[6pt] &= \frac{1}{600}\left(\left. (\lim_{a\rightarrow \infty} (-15e^{-x/15}(x + 15)))\right|_{x=0}^{x=a} \right) \left( \left. ( \lim_{b\rightarrow \infty}(-40e^{-y/40})) \right|_{y=0}^{y=b}\right) \\[6pt] &=\frac{1}{600} \left( \lim_{a \rightarrow \infty} (-15e^{-a/15} (x + 15) + 225) \right)\left(\lim_{b\rightarrow \infty} (-40e^{-b/40} + 40) \right) \\[6pt] &= \frac{1}{600} (225)(40) = 15. \end{align*}
A similar calculation shows that E(Y) = 40. This means that the expected values of the two random events are the average waiting time and the average dining time, respectively.
The joint density function for two random variables X and Y is given by
f(x,y) =\begin{cases}\frac{1}{600} (x^2 + y^2),\; & \text{if} \; \leq x \leq 15, \; 0 \leq y \leq 10 \\ 0, & \text{otherwise} \end{cases} \nonumber
Find the probability that X is at most 10 and Y is at least 5.
- Hint
-
Compute the probability
P(X \leq 10, \space Y \geq 5) = \int_{x=-\infty}^{10} \int_{y=5}^{y=10} \frac{1}{6000} (x^2 + y^2) dy \space dx. \nonumber
- Answer
-
\frac{55}{72} \approx 0.7638
Key Concepts
- A general bounded region D on the plane is a region that can be enclosed inside a rectangular region. We can use this idea to define a double integral over a general bounded region.
- To evaluate an iterated integral of a function over a general nonrectangular region, we sketch the region and express it as a Type I or as a Type II region or as a union of several Type I or Type II regions that overlap only on their boundaries.
- We can use double integrals to find volumes, areas, and average values of a function over general regions, similarly to calculations over rectangular regions.
- We can use Fubini’s theorem for improper integrals to evaluate some types of improper integrals.
Key Equations
- Iterated integral over a Type I region
\iint\limits_D f(x,y) \,dA = \iint\limits_D f(x,y) \,dy \space dx = \int_a^b \left[\int_{g_1(x)}^{g_2(x)} f(x,y) \,dy \right] dx \nonumber
- Iterated integral over a Type II region
\iint\limits_D f(x,y) \,dA = \iint\limits_D (x,y) \,dx \space dy = \int_c^d \left[ \int_{h_1(y)}^{h_2(y)} f(x,y) \,dx \right] dy \nonumber
Glossary
- improper double integral
- a double integral over an unbounded region or of an unbounded function
- Type I
- a region D in the xy- plane is Type I if it lies between two vertical lines and the graphs of two continuous functions g_1(x) and g_2(x)
- Type II
- a region D in the xy-plane is Type II if it lies between two horizontal lines and the graphs of two continuous functions h_1(y) and h_2(h)