Double Integrals over General Regions

In Double Integrals over Rectangular Regions, 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 [link]. 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(DR).

A rectangle R with a shape D inside of it. Inside D, there is a point labeled g(x, y) = f(x, y). Outside D but still inside R, there is a point labeled g(x, y) = 0.

Suppose z=f(x,y)

is defined on a general planar bounded region D

as in [link]. 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 inD0if(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 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

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 ([link]),

D={(x,y)\|axb,g1(x)yg2(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)andh2(y).

That is ([link]),

D={(x,y)\|cyd,h1(y)xh2(y)}.

The graphs showing a region marked D. In all instances, between a and b, there is a shape that is defined by two functions g1(x) and g2(x). In one instance, the two functions do not touch; in another instance, they touch at the end point a, and in the last instance they touch at both end points.

The graphs show a region marked D. In all instances, between c and d, there is a shape that is defined by two vertically oriented functions x = h1(y) and x = h2(y). In one instance, the two functions do not touch; in the other instance, they touch at the end point c.

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

([link]). Describe the region first as Type I and then as Type II.

The region D is drawn between two functions, namely, y = the square root of x and y = x3.

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 xin[0,1].

Hence, as Type I, D

is described as the set {(x,y)\|0x1,x3yx}.

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=y3

in the interval for y in [0,1].

Hence, as Type II, D

is described as the set {(x,y)\|0y1,y2xy3}.

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.

Type I and Type II are expressed as {(x,y)\|0x2,x2y2x}

and {(x,y)\|0y4,12yxy},

respectively.

Hint

Graph the functions, and draw vertical and horizontal lines.

Double Integrals over Nonrectangular 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.

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 [link] 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.

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)dydx=ab[g1(x)g2(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)dxdy=cd[h1(y)h2(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)andg2(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)andh2(x).

Evaluating an Iterated Integral over a Type I Region

Evaluate the integral Dx2exydA

where D

is shown in [link].

First construct the region D

as a Type I region ([link]). Here D={(x,y)\|0x2,12xy1}.

Then we have

Dx2exydA=x=0x=2y=1/2xy=1x2exydydx.

A triangle marked D drawn with lines y = 1/2 x and y = 1, with vertices (0, 0), (2, 1), and (0, 1). Here, there is a pair of red arrows reaching vertically from one edge to the other.

Therefore, we have

x=0x=2y=12xy=1x2exydydx=x=0x=2[y=1/2xy=1x2exydy]dxIterated integral for a Type I region.=x=0x=2[x2exyx]\|y=1/2xy=1dxIntegrate with respect toyusingu-substitution withu=xywherexis heldconstant.=x=0x=2[xexxex2/2]dxIntegrate with respect toxusingu-substitution withu=12x2.=[xexexe12x2]\|x=0x=2=2

In [link], we could have looked at the region in another way, such as D={(x,y)\|0y1,0x2y}

([link]).

A triangle marked D drawn with lines x = 2y and y = 1, with vertices (0, 0), (2, 1), and (0, 1). Here there is a pair of red arrows reaching horizontally from one edge to the other.

This is a Type II region and the integral would then look like

Dx2exydA=y=0y=1x=0x=2yx2exydxdy.

However, if we integrate first with respect to x,

this integral is lengthy to compute because we have to use integration by parts twice.

Evaluating an Iterated Integral over a Type II Region

Evaluate the integral D(3x2+y2)dA

where ={(x,y)\|2y3,y23xy+3}.

Notice that D

can be seen as either a Type I or a Type II region, as shown in [link]. 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.

This figure consists of two figures labeled a and b. In figure a, a region is bounded by y = the square root of the quantity (x + 3), y = the negative of the square root of the quantity (x + 3), and y = x minus 3, which has points of intersection (6, 3), (1, negative 2), and (0, negative 3). There are vertical lines in the shape, and it is noted that this is a type I region: integrate first with respect to y. In figure b, a region is bounded by x = y2 minus 3 and x = y + 3, which has points of intersection (6, 3), (1, negative 2), and (0, negative 3). There are horizontal lines in the shape, and it is noted that this is a type II region: integrate first with respect to x.

Choosing this order of integration, we have

D(3x2+y2)dA=y=−2y=3x=y23x=y+3(3x2+y2)dxdyIterated integral, Type II region.=y=−2y=3(x3+xy2)\|y23y+3dyIntegrate with respect tox.=y=−2y=3((y+3)3+(y+3)y2(y23)3(y23)y2)dy=−23(54+27y12y2+2y3+8y4y6)dyIntegrate with respect toy.=[54y+27y224y3+y42+8y55y77]\|−23=23757.

Sketch the region D

and evaluate the iterated integral Dxydydx

where D

is the region bounded by the curves y=cosx

and y=sinx

in the interval [−3π/4,π/4].

π/4
Hint

Express D

as a Type I region, and integrate with respect to y

first.

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 nonrectangular bounded region on a plane. In particular, property 3

states:

If R=ST

and ST=

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 nonrectangular bounded region on a plane.

Decomposing Regions into Smaller Regions

Suppose the region D

can be expressed as D=D1D2

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 nonrectangular 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.

Decomposing Regions

Express the region D

shown in [link] as a union of regions of Type I or Type II, and evaluate the integral

D(2x+5y)dA.

A complicated shape enclosed by the lines y = (x + 2) squared, x = 16y minus y cubed, x = negative 2, and y = negative 4. This graph has intersection points (0, 4), (negative 2, 0), (0, negative 4), and (negative 2, negative 4).

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,andD3

where, D1={(x,y)\|2x0,0y(x+2)2},

D2={(x,y)\|0y4,0x(y116y3)}.

These regions are illustrated more clearly in [link].

The same complicated shape enclosed by the lines y = (x + 2) squared, x = 16y minus y cubed, x = negative 2, and y = negative 4. This graph has intersection points (0, 4), (negative 2, 0), (0, negative 4), and (negative 2, negative 4). The area in the first quadrant is marked as D2 and a Type II region. The region in the second quadrant is marked as D1 and is a Type I region. The region in the third quadrant is marked as D3 and is a Type II region.

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=−2x=0y=0y=(x+2)2(2x+5y)dydx+y=0y=4x=0x=y(1/16)y3(2+5y)dxdy+y=−4y=0x=−2x=y(1/16)y3(2x+5y)dxdy=x=−2x=0[12(2+x)2(20+24x+5x2)]+y=0y=4[1256y6716y4+6y2]+y=−4y=0[1256y6716y4+6y2+10y4]=403+166435169635=1304105.

Now we could redo this example using a union of two Type II regions (see the Checkpoint).

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.

{(x,y)\|0y1,1xey}{(x,y)\|1ye,1x2}{(x,y)\|eye2,lnyx2}
Hint

Sketch the region, and split it into three regions to set it up.

Redo [link] using a union of two Type II regions.

Same as in the example shown.

Hint
{(x,y)\|0y4,2+yx(y116y3)}{(x,y)\|4y0,−2x(y116y3)}

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.

Changing the Order of Integration

Reverse the order of integration in the iterated integral x=0x=2y=0y=2x2xex2dydx.

Then evaluate the new iterated integral.

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 [link].

This figure consists of two figures labeled Type I and Type II. In the Type I figure, a curve is given as y = 2 minus x squared, which forms a shape with the x and y axes. There is a vertical line with arrows on the end of it within this shape. In the Type II figure, a curve is given as x = the square root of the quantity (2 minus y), which forms a shape with the x and y axes. There is a horizontal line with arrows on the end of it within this shape.

We can see from the limits of integration that the region is bounded above by y=2x2

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=2y

where y

is in the interval [0,2].

We solved y=2x2

in terms of x

to obtain x=2y.

Hence

0202x2xex2dydx=0202yxex2dxdyReverse the order ofintegration then usesubstitution.=02[12ex2\|02y]dy=0212(e2y1)dy=12(e2y+y)\|02=12(e23).
Evaluating an Iterated Integral by Reversing the Order of Integration

Consider the iterated integral Rf(x,y)dxdy

where z=f(x,y)=x2y

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

  1. integrating first with respect to y

    and then

  2. integrating first with respect to x.

A sketch of the region appears in [link].

The line y = 1 minus x is drawn, and it is also marked as x = 1 minus y. There is a shaded region around x = 0 that comes from the y axis, which projects down to make a shaded region marked y = 0 from the x axis.

We can complete this integration in two different ways.

  1. One way to look at it is by first integrating y

    from

    y=0toy=1x

    vertically and then integrating

    x

    from

    x=0tox=1:
    Rf(x,y)dxdy=x=0x=1y=0y=1x(x2y)dydx=x=0x=1[xy2y2]y=0y=1xdx=x=0x=1[x(1x)(1x)2]dx=x=0x=1[−1+3x2x2]dx=[x+32x223x3]x=0x=1=16.
  2. The other way to do this problem is by first integrating x

    from

    x=0tox=1y

    horizontally and then integrating

    y

    from

    y=0toy=1:
    Rf(x,y)dxdy=y=0y=1x=0x=1y(x2y)dxdy=y=0y=1[12x22xy]x=0x=1ydy=y=0y=1[12(1y)22y(1y)]dy=y=0y=1[123y+52y2]dy=[12y32y2+56y3]y=0y=1=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.

21635
Hint

Sketch the region and follow [link].

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.

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.

The solid is a tetrahedron with the base on the xy

-plane and a height z=62x3y.

The base is the region D

bounded by the lines, x=0,y=0

and 2x+3y=6

where z=0

([link]). Note that we can consider the region D

as Type I or as Type II, and we can integrate in both ways.

This figure shows a tetrahedron bounded by x = 0, y = 0, z = 0, and 2x + 3y = 6 (or z = 6 minus 2x minus 3y).

First, consider D

as a Type I region, and hence D={(x,y)\|0x3,0y223x}.

Therefore, the volume is

V=x=0x=3y=0y=2(2x/3)(62x3y)dydx=x=0x=3[(6y2xy32y2)\|y=0y=2(2x/3)]dx=x=0x=3[23(x3)2]dx=6.

Now consider D

as a Type II region, so D={(x,y)\|0y2,0x332y}.

In this calculation, the volume is

V=y=0y=2x=0x=3(3y/2)(62x3y)dxdy=y=0y=2[(6xx23xy)\|x=0x=3(3y/2)]dy=y=0y=2[94(y2)2]dy=6.

Therefore, the volume is 6

cubic units.

Find the volume of the solid bounded above by f(x,y)=102x+y

over the region enclosed by the curves y=0

and y=ex,

where x

is in the interval [0,1].

e24+10e494

cubic units

Hint

Sketch the region, and describe it as Type I.

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. As a matter of fact, this comes in very handy for finding the area of a general nonrectangular region, as stated in the next definition.

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.

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 ([link]).

The line y = 2 x (also marked x = y/2) is shown, as is y = x squared (also marked x = the square root of y). There are vertical and horizontal shadings giving for small stretch of this region, denoting that it can be treated as a Type I or Type II area.

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=0x=2y=x2y=2xdydx

or y=0x=4x=y/2x=ydxdy:

A=D1dxdy=x=0x=2y=x2y=2x1dydx=x=0x=2[y\|y=x2y=2x]dx=x=0x=2(2xx2)dx=x2x33\|02=43.

Find the area of a region bounded above by the curve y=x3

and below by y=0

over the interval [0,3].

814

square units

Hint

Sketch the region.

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

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.

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

([link]).

The lines x = y and x = the square root of y bound a shaded region. There are horizontal dashed lines marked throughout the region.

First find the area A(D)

where the region D

is given by the figure. We have

A(D)=D1dA=y=0y=1x=yx=y1dxdy=y=0y=1[x\|x=yx=y]dy=y=0y=1(yy)dy=23y3/2y22\|01=16.

Then the average value of the given function over this region is

fave=1A(D)Df(x,y)dA=1A(D)y=0y=1x=yx=y7xy2dxdy=11/6y=0y=1[72x2y2\|x=yx=y]dy=6y=0y=1[72y2(yy2)]dy=6y=0y=1[72(y3y4)]dy=422(y44y55)\|01=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).

34
Hint

Express the line joining (0,0)

and (1,3)

as a function y=g(x).

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)\|\|xy\|2}

is an unbounded region, and the function f(x,y)=1/(1x22y2)

over the ellipse x2+3y21

is an unbounded function. Hence, both of the following integrals are improper integrals:

  1. DxydA

    where

    D={(x,y)\|\|xy\|2};
  2. D11x22y2dA

    where

    D={(x,y)\|x2+3y21}.

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.

Fubini’s Theorem for Improper Integrals

If D

is a bounded rectangle or simple region in the plane defined by {(x,y):axb,g(x)yh(x)}

and also by {(x,y):cyd,j(y)xk(y)}

and f

is a nonnegative function on D

with finitely many discontinuities in the interior of D,

then

DfdA=x=ax=by=g(x)y=h(x)f(x,y)dydx=y=cy=dx=j(y)x=k(y)f(x,y)dxdy.

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.

Evaluating a Double Improper Integral

Consider the function f(x,y)=eyy

over the region D={(x,y):0x1,xyx}.

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.

First we plot the region D

([link]); then we express it in another way.

The line y = x is shown, as is y = the square root of x.

The other way to express the same region D

is

D={(x,y):0y1,y2xy}.

Thus we can use Fubini’s theorem for improper integrals and evaluate the integral as

y=0y=1x=y2x=yeyydxdy.

Therefore, we have

y=0y=1x=y2x=yeyydxdy=y=0y=1eyyx\|x=y2x=ydy=y=0y=1eyy(yy2)dy=01(eyyey)dy=e2.

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.

Improper Integrals on an Unbounded Region

If R

is an unbounded rectangle such as R={(x,y):ax,cy},

then when the limit exists, we have Rf(x,y)dA=lim(b,d)(,)ab(cdf(x,y)dy)dx=lim(b,d)(,)cd(abf(x,y)dy)dy.

The following example shows how this theorem can be used in certain cases of improper integrals.

Evaluating a Double Improper Integral

Evaluate the integral Rxyex2y2dA

where R

is the first quadrant of the plane.

The region R

is the first quadrant of the plane, which is unbounded. So

Rxyex2y2dA=lim(b,d)(,)x=0x=b(y=0y=dxyex2y2dy)dx=lim(b,d)(,)y=0y=d(x=0x=bxyex2y2dy)dy=lim(b,d)(,)14(1eb2)(1ed2)=14

Thus, Rxyex2y2dA

is convergent and the value is 14.

Evaluate the improper integral Dy1x2y2dA

where D={(x,y)x0,y0,x2+y21}.

π4
Hint

Notice that the integral is nonnegative and discontinuous on x2+y2=1.

Express the region D

as D={(x,y):0x1,0y1x2}

and integrate using the method of substitution.

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

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)0andR2f(x,y)dA=1.
Definition

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).
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?

Waiting times are mathematically modeled by exponential density functions, with m

being the average waiting time, as

f(t)={0ift<0,1met/mift0.

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)={0ifx<0,115ex/15ifx0.andf2(y)={0ify<0,140ey/40ify0.

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)={0ifx<0ory<0,1600ex/15ey/60ifx,y0.

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

([link]).

The line x + y = 90 is shown.

Hence, the probability that (X,Y)

is in the region D

is

P(X+Y90)=P((X,Y)D)=Df(x,y)dA=D1600ex/15ey/40dA.

Since x+y=90

is the same as y=90x,

we have a region of Type I, so

D={(x,y)\|0x90,0y90x},P(X+Y90)=1600x=0x=90y=0y=90xex/15ey/40dxdy=1600x=0x=90y=0y=90xex/15ey/40dxdy=1600x=0x=90y=0y=90xe(x/15+y/40)dxdy=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

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)dAandE(Y)=Syf(x,y)dA,

where S

is the sample space of the random variables X

and Y.

Finding Expected Value

Find the expected time for the events ‘waiting for a table’ and ‘completing the meal’ in [link].

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)=Sx1600ex/15ey/40dA=1600x=0x=y=0y=xex/15ey/40dA=1600lim(a,b)(,)x=0x=ay=0y=bxex/15ey/40dxdy=1600(limax=0x=axex/15dx)(limby=0y=bey/40dy)=1600((lima(−15ex/15(x+15)))\|x=0x=a)((limb(−40ey/40))\|y=0y=b)=1600(lima(−15ea/15(x+15)+225))(limb(−40eb/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.

The joint density function for two random variables X

and Y

is given by

f(x,y)={1600(x2+y2)if0x15,0y100otherwise

Find the probability that X

is at most 10

and Y

is at least 5.

55720.7638
Hint

Compute the probability P(X10,Y5)=x=10y=5y=1016000(x2+y2)dydx.

Key Concepts

Key Equations

In the following exercises, specify whether the region is of Type I or Type II.

The region D

bounded by y=x3,

y=x3+1, x=0,

and x=1

as given in the following figure.

A region is bounded by y = 1 + x cubed, y = x cubed, x = 0, and x = 1.

Find the average value of the function f(x,y)=3xy

on the region graphed in the previous exercise.

2720

Find the area of the region D

given in the previous exercise.

The region D

bounded by y=sinx,y=1+sinx,x=0,andx=π2

as given in the following figure.

A region is bounded by y = 1 + sin x, y = sin x, x = 0, and x = pi/2.

Type I but not Type II

Find the average value of the function f(x,y)=cosx

on the region graphed in the previous exercise.

Find the area of the region D

given in the previous exercise.

π2

The region D

bounded by x=y21

and x=1y2

as given in the following figure.

A region is bounded by x = negative 1 + y squared and x = the square root of the quantity (1 minus y squared).

Find the volume of the solid under the graph of the function f(x,y)=xy+1

and above the region in the figure in the previous exercise.

16(8+3π)

The region D

bounded by y=0,x=−10+y,andx=10y

as given in the following figure.

A region is bounded by x = negative 10 + y, x = 10 minus y, and y = 0.

Find the volume of the solid under the graph of the function f(x,y)=x+y

and above the region in the figure from the previous exercise.

10003

The region D

bounded by y=0,x=y1,

x=π2

as given in the following figure.

A region is bounded by x = pi/2, y = 0, and x = negative 1 + y.

The region D

bounded by y=0

and y=x21

as given in the following figure.

A region is bounded by y = 0 and y = negative 1 + x squared.

Type I and Type II

Let D

be the region bounded by the curves of equations y=x,y=x,

and y=2x2.

Explain why D

is neither of Type I nor II.

Let D

be the region bounded by the curves of equations y=cosx

and y=4x2

and the x

-axis. Explain why D

is neither of Type I nor II.

The region D

is not of Type I: it does not lie between two vertical lines and the graphs of two continuous functions g1(x)

and g2(x).

The region D

is not of Type II: it does not lie between two horizontal lines and the graphs of two continuous functions h1(y)

and h2(y).

In the following exercises, evaluate the double integral Df(x,y)dA

over the region D.

f(x,y)=2x+5y

and D={(x,y)\|0x1,x3yx3+1}

f(x,y)=1

and D={(x,y)\|0xπ2,sinxy1+sinx}

π2
f(x,y)=2

and D={(x,y)\|0y1,y1xarccosy}

f(x,y)=xy

and D={(x,y)\|1y1,y21x1y2}

0
f(x,y)=siny

and D

is the triangular region with vertices (0,0),(0,3),and(3,0)

f(x,y)=x+1

and D

is the triangular region with vertices (0,0),(0,2),and(2,2)

23

Evaluate the iterated integrals.

012x3x(x+y2)dydx
012x2x+1(xy+1)dydx
4120
ee2lnu2(v+lnu)dvdu
12u21u(8uv)dvdu
−63
011y21y2(2x+4x3)dxdy
01/214y214y24dxdy
π

Let D

be the region bounded by y=1x2,y=4x2,

and the x

  • and y

-axes.

  1. Show that DxdA=011x24x2xdydx+1204x2xdydx

    by dividing the region

    D

    into two regions of Type I.

  2. Evaluate the integral DxdA.

Let D

be the region bounded by y=1,

y=x, y=lnx,

and the x

-axis.

  1. Show that DydA=010xydydx+1elnx1ydydx

    by dividing

    D

    into two regions of Type I.

  2. Evaluate the integral DydA.

a. Answers may vary; b. 23

  1. Show that Dy2dA=−10x2x2y2dydx+01x2x2y2dydx

    by dividing the region

    D

    into two regions of Type I, where

    D={(x,y)\|yx,yx,y2x2}.
  2. Evaluate the integral Dy2dA.

Let D

be the region bounded by y=x2,y=x+2,

and y=x.

  1. Show that DxdA=01yyxdxdy+12y2yxdxdy

    by dividing the region

    D

    into two regions of Type II, where

    D={(x,y)\|yx2,yx,yx+2}.
  2. Evaluate the integral DxdA.

a. Answers may vary; b. 812

The region D

bounded by x=0,y=x5+1,

and y=3x2

is shown in the following figure. Find the area A(D)

of the region D.

A region is bounded by y = 1 + x to the fifth power, y = 3 minus x squared, and x = 0.

The region D

bounded by y=cosx,y=4cosx,

and x=±π3

is shown in the following figure. Find the area A(D)

of the region D.

A region is bounded by y = cos x, y = 4 + cos x, x = negative 1, and x = 1.

8π3

Find the area A(D)

of the region D={(x,y)\|y1x2,y4x2,y0,x0}.

Let D

be the region bounded by y=1,y=x,y=lnx,

and the x

-axis. Find the area A(D)

of the region D.

e32

Find the average value of the function f(x,y)=siny

on the triangular region with vertices (0,0),(0,3),

and (3,0).

Find the average value of the function f(x,y)=x+1

on the triangular region with vertices (0,0),(0,2),

and (2,2).

23

In the following exercises, change the order of integration and evaluate the integral.

−1π/20x+1sinxdydx
01x11xxdydx
01x11xxdydx=−100y+1xdxdy+0101yxdxdy=13
−10y+1y+1y2dxdy
1/21/2y2+1y2+1ydxdy
1/21/2y2+1y2+1ydxdy=12x21x21ydydx=0

The region D

is shown in the following figure. Evaluate the double integral D(x2+y)dA

by using the easier order of integration.

A region is bounded by y = negative 4 + x squared and y = 4 minus x squared.

The region D

is given in the following figure. Evaluate the double integral D(x2y2)dA

by using the easier order of integration.

A region is bounded by y to the fourth power = 1 minus x and y to the fourth power = 1 + x.

D(x2y2)dA=−11y411y4(x2y2)dxdy=4644095

Find the volume of the solid under the surface z=2x+y2

and above the region bounded by y=x5

and y=x.

Find the volume of the solid under the plane z=3x+y

and above the region determined by y=x7

and y=x.

45

Find the volume of the solid under the plane z=xy

and above the region bounded by x=tany,x=tany,

and x=1.

Find the volume of the solid under the surface z=x3

and above the plane region bounded by x=siny,x=siny,

and x=1.

5π32

Let g

be a positive, increasing, and differentiable function on the interval [a,b].

Show that the volume of the solid under the surface z=g(x)

and above the region bounded by y=0,

y=g(x), x=a,

and x=b

is given by 12(g2(b)g2(a)).

Let g

be a positive, increasing, and differentiable function on the interval [a,b],

and let k

be a positive real number. Show that the volume of the solid under the surface z=g(x)

and above the region bounded by y=g(x),y=g(x)+k,x=a,

and x=b

is given by k(g(b)g(a)).

Find the volume of the solid situated in the first octant and determined by the planes z=2,

z=0,x+y=1,x=0,andy=0.

Find the volume of the solid situated in the first octant and bounded by the planes x+2y=1,

x=0,y=0,z=4,andz=0.
1

Find the volume of the solid bounded by the planes x+y=1,xy=1,x=0,z=0,

and z=10.

Find the volume of the solid bounded by the planes x+y=1,xy=1,x+y=−1,

xy=−1,z=1andz=0.
2

Let S1

and S2

be the solids situated in the first octant under the planes x+y+z=1

and x+y+2z=1,

respectively, and let S

be the solid situated between S1,S2,x=0,andy=0.

  1. Find the volume of the solid S1.
  2. Find the volume of the solid S2.
  3. Find the volume of the solid S

    by subtracting the volumes of the solids

    S1andS2.

Let S1andS2

be the solids situated in the first octant under the planes 2x+2y+z=2

and x+y+z=1,

respectively, and let S

be the solid situated between S1,S2,x=0,andy=0.

  1. Find the volume of the solid S1.
  2. Find the volume of the solid S2.
  3. Find the volume of the solid S

    by subtracting the volumes of the solids

    S1andS2.

a. 13;

b. 16;

c. 16

Let S1andS2

be the solids situated in the first octant under the plane x+y+z=2

and under the sphere x2+y2+z2=4,

respectively. If the volume of the solid S2

is 4π3,

determine the volume of the solid S

situated between S1

and S2

by subtracting the volumes of these solids.

Let S1

and S2

be the solids situated in the first octant under the plane x+y+z=2

and bounded by the cylinder x2+y2=4,

respectively.

  1. Find the volume of the solid S1.
  2. Find the volume of the solid S2.
  3. Find the volume of the solid S

    situated between

    S1

    and

    S2

    by subtracting the volumes of the solids

    S1

    and

    S2.

a. 43;

b. 2π;

c. 6π43

[T] The following figure shows the region D

bounded by the curves y=sinx,

x=0,

and y=x4.

Use a graphing calculator or CAS to find the x

-coordinates of the intersection points of the curves and to determine the area of the region D.

Round your answers to six decimal places.

A region is bounded by y = sin x, y = x to the fourth power, and x = 0.

[T] The region D

bounded by the curves y=cosx,x=0,andy=x3

is shown in the following figure. Use a graphing calculator or CAS to find the x-coordinates of the intersection points of the curves and to determine the area of the region D.

Round your answers to six decimal places.

A region is bounded by y = cos x, y = x cubed, and x = 0.

0and0.865474; A(D)=0.621135

Suppose that (X,Y)

is the outcome of an experiment that must occur in a particular region S

in the xy

-plane. In this context, the region S

is called the sample space of the experiment and XandY

are random variables. If D

is a region included in S,

then the probability of (X,Y)

being in D

is defined as P[(X,Y)D]=Dp(x,y)dxdy,

where p(x,y)

is the joint probability density of the experiment. Here, p(x,y)

is a nonnegative function for which Sp(x,y)dxdy=1.

Assume that a point (X,Y)

is chosen arbitrarily in the square [0,3]×[0,3]

with the probability density

p(x,y)={19(x,y)[0,3]×[0,3],0otherwise.

Find the probability that the point (X,Y)

is inside the unit square and interpret the result.

Consider XandY

two random variables of probability densities p1(x)

and p2(x),

respectively. The random variables XandY

are said to be independent if their joint density function is given by p(x,y)=p1(x)p2(y).

At a drive-thru restaurant, customers spend, on average, 3

minutes placing their orders and an additional 5

minutes paying for and picking up their meals. Assume that placing the order and paying for/picking up the meal are two independent events X

and Y.

If the waiting times are modeled by the exponential probability densities

p1(x)={13ex/3x0,0otherwise,andp2(y)={15ey/5y0,0otherwise,

respectively, the probability that a customer will spend less than 6 minutes in the drive-thru line is given by P[X+Y6]=Dp(x,y)dxdy,

where D={(x,y)}\|x0,y0,x+y6}.

Find P[X+Y6]

and interpret the result.

P[X+Y6]=1+32e25e6/50.45;

there is a 45%

chance that a customer will spend 6

minutes in the drive-thru line.

[T] The Reuleaux triangle consists of an equilateral triangle and three regions, each of them bounded by a side of the triangle and an arc of a circle of radius s centered at the opposite vertex of the triangle. Show that the area of the Reuleaux triangle in the following figure of side length s

is s22(π3).

An equilateral triangle with additional regions consisting of three arcs of a circle with radius equal to the length of the side of the triangle. These arcs connect two adjacent vertices, and the radius is taken from the opposite vertex.

[T] Show that the area of the lunes of Alhazen, the two blue lunes in the following figure, is the same as the area of the right triangle ABC. The outer boundaries of the lunes are semicircles of diameters ABandAC,

respectively, and the inner boundaries are formed by the circumcircle of the triangle ABC.

A right triangle with points A, B, and C. Point B has the right angle. There are two lunes drawn from A to B and from B to C with outer diameters AB and AC, respectively, and with the inner boundaries formed by the circumcircle of the triangle ABC.

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)andh2(y)

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

You can also download for free at http://cnx.org/contents/9a1df55a-b167-4736-b5ad-15d996704270@5.1

Attribution: