Applications of The Double Integral
Applications of The Double Integral
Applications of The Double Integral
To begin with, let us suppose that the lamina has a mass-density of (x; y) ;
measured in units of mass per unit area ( is the Greek letter mu, pronounced
mew). In particular, suppose the x and y-axes are both partitioned into h-ne
partitions. Then the box containing the point (x; y) has a small mass m
and a small base with area A; and the mass density function is then dened
(x; y) = lim
h!0
m
A
(x; y) A
As a result, the mass M of the lamina is approximately the sum of the masses
mjk of the boxes in the partition
XX
XX
M
mjk =
(xj ; yk ) Ajk
j
That is, the total mass is the double integral over the region of the mass density.
EXAMPLE 1 What is the mass of the lamina of the unit square
with a height of 1 and a mass density of
(x; y) = (x + 2y)
kg
m2
xy + y 2 0 dx
1
(x + 1) dx
1:5 kg
Notice that if (x; y) = 1 for all xy in a region, then the mass is simply the
product of the height 1 and the area of the base R: As a result, the area A of a
region R is given by
ZZ
A=
dA
xdx =
x2
2
=
0
1
2
Centers of Mass
In elementary physics courses, it is shown hat if n objects with masses m1 ; m2 ; : : : ; mn
have positions (x1 ; y1 ) ; (x2 ; y2 ) ; : : : ; (xn ; yn ) ; respectively, then their center of
mass is the point in the plane with coordinates
x=
m1 x1 + : : : + mn xn
;
m1 + : : : + mn
y=
m1 y1 + : : : + mn yn
m1 + : : : + mn
mn xn
;
mn
m1 y 1 + : : : +
m1 + : : : +
mn y n
mn
x1 (x1 ; y1 ) A1 + : : : + xn (xn ; yn ) An
M
y1 (x1 ; y1 ) A1 + : : : + yn (xn ; yn ) An
M
Since the numerators are approximately the same as double integrals, we are
led to dene the center of mass of the lamina of a region R to be the point in
the xy-plane with coordinates
ZZ
ZZ
1
1
x=
x (x; y) dA; y =
y (x; y) dA
M
M
R
R
where M is the mass of the lamina.
EXAMPLE 3 Find the center of mass of the lamina of the unit
square with mass density
(x; y) = (x + 2y)
3
kg
m2
When the mass density of the lamina is (x; y) = 1 for all (x; y) in the region
R; then the center of mass is dened only by the region itself and is thus called
the centroid of R: Indeed, the mass M reduces to the area A of the region and
thus,
ZZ
ZZ
1
1
xdA; y =
ydA
x=
A
A
R
R
Moreover, if the region is symmetric about a line l; then as we will show in the
exercises, the centroid of the region must lie on the line l:
EXAMPLE 4 Find the centroid of the region R bounded by x = 0;
x = 2; y = x; :y = x
Solution: First, we compute the area of the region
ZZ
Z 2Z x
A=
dA =
dydx = 4
R
As a result, we have
x =
=
=
=
1
4
1
4
1
4
4
3
ZZ
xdA
Z
Z
R
2Z x
xdydx
2x2 dx
Joint Probability
Suppose that (X; Y ) is the outcome of a certain experiment and suppose that it
is known that (X; Y ) must occur in some region S in the plane. Then S is called
the sample space for the experiment and X and Y are called random variables.
Moreover, a function p (x; y) is called a joint probability density of the experiment if the small probability P that (X; Y ) is in a small region in S containing
(x; y) is given by
P = p (x; y) A
where A is the area of the small region. Like a mass density, a joint probability
density is essentially the probability per unit area of the experiment.
Thus, if R is a region inside of S and if the x and y-axes are both partitioned
into h-ne partitions, then the probability P ((X; Y ) in R) that (X; Y ) is in R
is approximated by the Riemann sum
XX
XX
P ((X; Y ) in R)
Pjk =
p (xj ; yk ) Ajk
j
As a result, the density p (x; y) must be non-negative and since there is a 100%
chance of (X; Y ) being in the sample space S; we require also that
ZZ
p (x; y) dA = 1
(1)
S
1
0
if 0
x 1 and 0
otherwise
What is the probability that the point is inside the rectangle R given
by [0:1; 0:6] [0:3; 0:8]?
Solution: Since the outcome (X; Y ) must be in the unit square,
the unit square is the sample space S for our experiment. Moreover,
notice that
ZZ
Z 1Z 1
Z 1
p (x; y) dA =
1dydx =
dx = 1
S
thus showing that p (x; y) does satisfy (1) and is a probability density.
Indeed, in this experiment, the probability density can be considered
the probability of choosing the point (x; y) at random from the
sample space S: Moreover, the probability that a random selection
of (X; Y ) from S will be in R
ZZ
P [(X; Y ) in R] =
p (x; y) dA
=
R
0:6
0:1
=
6
0:25
0:8
0:3
1dydx
Suppose that the random variable X of a given event has a probability density
of p1 (x) and suppose that the random variable Y of an additional event has a
probability density of p2 (y). Then X and Y are said to be independent random
variables if their joint density function is
p (x; y) = p1 (x) p2 (y)
That is, two events are independent if their joint density function is the product
of the density functions of the random variables of the individual events.
EXAMPLE 6 At a certain restaurant, customers must wait an average of 10 minutes for a table. From the time they are seated until
they have nished their meal requires an additional 30 minutes, on
average. What is the probability that a customer will spend less
than an hour at the restaurant, assuming that waiting for a table
and completing the meal are independent events?
Solution: Waiting times are often modeled by exponential probability densities. Indeed, if X and Y are the random variables for
waiting for a table and completing the meal, respectively, then
their probability density functions are respectively
p1 (x) =
0
1
x=10
10 e
if
if
x<0
x 0
p2 (y) =
0
1
y=30
30 e
if
if
Since the events are independent, the joint probability for the two
events is
p (x; y) = p1 (x) p2 (y) =
0
1
x=10
e y=30
300 e
if
if
x < 0 or y < 0
x; y 0
y<0
y 0
60)
= P [(X; Y ) in R]
ZZ
=
p (x; y) dA
Z ZR
1
=
e x=10 e
300
R
y=30
dA
Expected Value
Since a probability density is similar in concept to a mass density, we dene the
expected values of the random variables X and Y to be the coordinates of the
center of mass of a lamina of the sample space S with density p (x; y) : However,
since
ZZ
p (x; y) dA = 1
S
Exercises:
Find the mass of the lamina with the given mass density
1.
3.
5.
x = 0; x = 1; y = 0; y = 2
(x; y) = 2 kg per square meter
x = 0; x = ; y = 0; y = sin(x)
(x; y) = 2x kg per square meter
y = 1 x2 ; y = x2 1
(x; y) = x2 + y 2 kg per square meter
2.
x = 0; x = y; y = 0; y = 1
(x; y) = 2 kg per square meter
y = 0; y = 1; x = y; x = y 2
(x; y) = 2x kg per square meter
y = 1; y = cosh (x)
(x; y) = y kg per square meter
4.
6.
Find the center of mass of the lamina of the following regions with the given
mass density. (Use 1-6 above)
7.
9.
11.
x = 0; x = 1; y = 0; y = 2
(x; y) = 2 kg per square meter
x = 0; x = ; y = 0; y = sin(x)
(x; y) = 2x kg per square meter
y = 1 x2 ; y = x2 1
(x; y) = x2 + y 2 kg per square meter
8.
10.
12.
x = 0; x = y; y = 0; y = 1
(x; y) = 2 kg per square meter
y = 0; y = 1; x = y; x = y 2
(x; y) = 2x kg per square meter
y = 1; y = cosh (x)
(x; y) = y kg per square meter
x = 0; x = 1; y = 0; y = x
x = 1; x = 1; y = 0; y = 1
y = 0; y = 1; x = y 2 ; y = x2
jxj
14.
16.
18.
x = 0; x = 1; y = 0; y = x2
y = 0; y = 1; x = 0; x = sin ( y)
y = 0; y = 1; x = y 2 ; y = x
Show the following are joint probability density functions over the given sample
spaces. Then nd the expected valeus of the random variables X and Y:
19.
21.
23.
25.
20.
22.
24.
26.
27. A bank operates both a drive-up window and an indoor teller window.
On a randomly selected day, let X = the percentage of the work-day that the
drive-up window is in use and let Y = percentage of the work-day that the
indoor teller window is in use (Note: both X and Y are between 0 and 1 ).
Observation over a period of time leads them to the following joint density for
X and Y :
6
6 2
if 0 x; y 1
5x + 5y
p (x; y) =
0
otherwise
1. (a) Show that p (x; y) is a joint probability density?
(b) What is the probability that two windows combined are in use less
than half of the time? (i.e., what is Pr (X + Y
0:5) ?)
(c) What is the probability of the drive-up window being used less than
the indoor teller window?
(d) What is the expected value of X? What is the expected value of Y ?
Interpret your result.
28. What is the joint probability density for the coordinates of a point
(X; Y ) chosen uniformly randomly from the triangle with vertices (0; 0) ; (1; 0) ;
and (0; 1)? What is the probability that X < Y ? What is the probability that
2X < Y ?
29. Suppose we are given radioactive substances A and B with decay rates
> 0 and > 0; respectively. Then the probability that A will decay in the
time interval [s; s + ds] and B will decay in the time interval [t; t + dt] is given
by
e s t dsdt
for s; t
0:
10
and
30. What are the expected values for the decays of A and B, respectively,
in exercise 29 (as functions of and )? Explain.
31. If X is uniformly randomly distributed in [0; 10] ; then it has a probability density of
0:1 if 0 x 1
p (x) =
0
otherwise
What is the probability that two numbers chosen uniformly randomly from
[0; 10] have a sum greater than 10?
32. What is the probability that two numbers chosen uniformly randomly
from [0; 10] have a product greater than 10? (see exercise 31).
33. The probability density for a point (x; y) chosen uniformly randomly in
the unit square is
1 if 0 x; y 1
p (x; y) =
0 if
otherwise
What is the probability that y will be less than x2 in the unit square?
34. A can of mixed nuts contains 1 kg of cashews, peanuts, and almonds.
For a randomly selected box, let X and Y represent the weights of the cashews
and almonds, respectively, and suppose that the joint density function of these
variables is
p (x; y) =
24xy
0
if
if
1; 0 y 1; x + y
x < 0 or y < 0
Show that p(x; y) is a probability density, and then compute the expected values
of X and Y . What is the probability that half of the weight of the contents of
the can will be cashews?
35. Your arrive at a restaurant where the time T between two customers
being seated has a density of p (t) = e t for t 0: What is the probability that
you have less than 10 minutes to wait before being seated if there is one person
ahead of you if the person two ahead of you is seated just as you arrive? (Hint:
Let S be the time between you and the customer ahead of you, and let T be the
time between the customer ahead of you and the customer just seated. Assume
S and T are independent with densities p (s) = e s for s 0 and q (t) = e t
for t 0; respectively).
36. Suppose that on a certain internet server, the time T between the arrival
of two successive packets is exponentially distributed with density
p (t) = 0:01e
0:01t
f or t
What is the probability of 3 packets being received in less than 50 milliseconds? (Hint: Let T be the waiting time between rst and second arrival, and
let S be the time between the second and third arrival. Assume S and T are
independent).
Exercises 37 and 38 explore population densities.
11
37. Bacteria is growing on a slide which corresponds to [0; 20] [0; 5], where
distances are in centimeters. If the density of the bacteria is determined to be
(x; y) = 1000xy (20
x) (5
y)
bacteria
cm2
(x; y)
Show that if the center of mass of a laminate of R is (x1 ; y1 ) and if the center
of mass of a laminate of S is (x2 ; y2 ) ; then the center of mass of a laminate of
R [ S has coordinates
x=
x1 M1 + x2 M2
;
M1 + M2
y=
y 1 M1 + y 2 M2
M1 + M2
12
is given by
torque =
ZZ
(x
) (x; y) dA
Write a short essay which shows that the torque is zero if and only if
=x
42. Write to Learn: Suppose x is a random variable with probability
density p1 (x) ; and suppose that y is a random variable with density p2 (y) : If
their joint probability density p (x; y) can be written as
p (x; y) = p1 (x) p2 (y)
then x and y are said to be independent random variables. Write a short essay
which shows that if x and y are independent, then
P (a
b and c
d) = P (a
b) P (c
d)
Show that if X and Y are non-negative random variables with probability densities f and g; respectively, then f g is the probability density for their sum,
X + Y:
44. What is the probability density for X + Y in exercise 43 if we remove
the restriction that X and Y be non-negative?
13