3.3: Double Integrals Over General Regions
- Last updated
- Dec 18, 2020
- Save as PDF
- Page ID
- 54088
( \newcommand{\kernel}{\mathrm{null}\,}\)
Learning Objectives
- 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 3.3.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 3.3.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.
Definition: Type I and Type II 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 3.3.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 3.3.3),
D={(x,y)|c≤y≤d, h1(y)≤x≤h2(y)}.


Example 3.3.1: Describing a Region as Type I and Also as Type II
Consider the region in the first quadrant between the functions y=√x and y=x3 (Figure 3.3.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}.
Exercise 3.3.1
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.
Theorem: Double Integrals over Nonrectangular Regions
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 3.3.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.
Theorem: Fubini’s Theorem (Strong Form)
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).
Example 3.3.2: Evaluating an Iterated Integral over a Type I Region
Evaluate the integral ∬Dx2exydA where D is shown in Figure 3.3.5.
Solution
First construct the region as a Type I region (Figure 3.3.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 3.3.2, we could have looked at the region in another way, such as D={(x,y)|0≤y≤1, 0≤x≤2y} (Figure 3.3.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.
Example 3.3.3: Evaluating an Iterated Integral over a Type II Region
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 3.3.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.
Exercise 3.3.2
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.
Theorem: Decomposing Regions into Smaller Regions
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.
Example 3.3.4: Decomposing Regions
Express the region D shown in Figure 3.3.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 3.3.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 3.3.4 below).
Exercise 3.3.3
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}
Exercise 3.3.4
Redo Example 3.3.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.
Example 3.3.5: Changing the Order of Integration
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 3.3.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).
Example 3.3.6: Evaluating an Iterated Integral by Reversing the Order of Integration
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 3.3.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.
Exercise 3.3.5
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 3.3.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.
Example 3.3.7: Finding the Volume of a Tetrahedron
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 3.3.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.
Exercise 3.3.6
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.
Definition: Double Integrals
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.
Example 3.3.8: Finding the Area of a Region
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 3.3.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.
Exercise 3.3.7
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.
Definition: The Average Value of a Function
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.
Example 3.3.9: Finding an Average Value
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 3.3.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.
Exercise 3.3.8
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.
Theorem: Fubini’s Theorem for 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.
Example 3.3.10: Evaluating a Double Improper Integral
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 3.3.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.
Theorem: Improper Integrals on an Unbounded Region
If R is an unbounded rectangle such as R={(x,y):a≤x≤∞, c≤y≤∞}, then when the limit exists, we have
∬Rf(x,y)dA=lim(b,d)→(∞,∞)∫ba(∫dcf(x,y)dy)dx=lim(b,d)→(∞,∞)∫dc(∫baf(x,y)dx)dy.
The following example shows how this theorem can be used in certain cases of improper integrals.
Example 3.3.11
Evaluate the integral ∬Rxye−x2−y2dA where R is the first quadrant of the plane.
Solution
The region R is the first quadrant of the plane, which is unbounded. So
∬Rxye−x2−y2dA=lim(b,d)→(∞,∞)∫x=bx=0(∫y=dy=0xye−x2−y2dy)dx=lim(b,d)→(∞,∞)∫x=by=0xye−x2−y2dy=lim(b,d)→(∞,∞)14(1−e−b2)(1−e−d2)=14
Thus,
∬Rxye−x2−y2dA
is convergent and the value is 14.
Exercise 3.3.9
∬Dy√1−x2−y2dA where D={(x,y):x≥0, y≥0, x2+y2≤1}.
- Hint
-
Notice that the integral is nonnegative and discontinuous on x2+y2=1. Express the region D as D={(x,y):0≤x≤1, 0≤y≤√1−x2} and integrate using the method of substitution.
- Answer
-
π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.
Definition: Joint Density Function
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)∈D)=∬Df(x,y)dA.
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)≥0 and ∬Rf(x,y)dA=1.
Definition: Independent Random Variables
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)=f1(x)f2(y).
Example 3.3.12: Application to Probability
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)={0,ift<01me−t/m,ift≥0.
if X and Y are random variables for ‘waiting for a table’ and ‘completing the meal,’ then the probability density functions are, respectively,
f1(x)={0,ifx<0.115e−x/15,ifx≥0.andf2(y)={0,ify<0140e−y/40,ify≥0.
Clearly, the events are independent and hence the joint density function is the product of the individual functions
f(x,y)=f1(x)f2(y)={0,ifx<0ory<0,1600e−x/15,ifx,y≥0
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 3.3.16).

Hence, the probability that (X,Y) is in the region D is
P(X+Y≤90)=P((X,Y)∈D)=∬Df(x,y)dA=∬D1600e−x/15e−y/40dA.
Since x+y=90 is the same as y=90−x, we have a region of Type I, so
D={(x,y)|0≤x≤90, 0≤y≤90−x},P(X+Y≤90)=1600∫x=90x=0∫y=90−xy=0e−(/15e−y/40dx dy=1600∫x=90x=0∫y=90−xy=0e−x/15e−y/40dx dy=1600∫x=90x=0∫y=90−xy=0e−(x/15+y/40)dx dy=0.8328
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.
Definition: Expected Values
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)=∬Sxf(x,y)dA and E(Y)=∬Syf(x,y)dA,
where S is the sample space of the random variables X and Y.
Example 3.3.13: Finding Expected Value
Find the expected time for the events ‘waiting for a table’ and ‘completing the meal’ in Example 3.3.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
E(X)=∬Sx1600e−x/15e−y/40dA=1600∫x=∞x=0∫y=∞y=0xe−x/15e−y/40dA=1600lim(a,b)→(∞,∞)∫x=ax=0∫y=by=0xe−x/15e−y/40dx dy=1600(lima→∞∫x=ax=0xe−x/15dx)(limb→∞∫y=by=0e−y/40dy)=1600((lima→∞(−15e−x/15(x+15)))|x=ax=0)((limb→∞(−40e−y/40))|y=by=0)=1600(lima→∞(−15e−a/15(x+15)+225))(limb→∞(−40e−b/40+40))=1600(225)(40)=15.
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.
Exercise 3.3.10
The joint density function for two random variables X and Y is given by
f(x,y)={116250(x2+y2),if0≤x≤15,0≤y≤100,otherwise
Find the probability that X is at most 10 and Y is at least 5.
- Hint
-
Compute the probability
P(X≤10, Y≥5)=∫x=10x=0∫y=10y=5116250(x2+y2)dy dx.
- Answer
-
P(X≤10, Y≥5)=1139≈0.28205
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
∬Df(x,y)dA=∬Df(x,y)dy dx=∫ba[∫g2(x)g1(x)f(x,y)dy]dx
- Iterated integral over a Type II region
∬Df(x,y)dA=∬D(x,y)dx dy=∫dc[∫h2(y)h1(y)f(x,y)dx]dy
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 g1(x) and g2(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 h1(y) and h2(h)