M241 Probability Class Discussion notes
Chapter 5 Continuous Joint Distributions
-
We already studied the joint distribution of discrete random variables
X and Y.
-
For the joint distribution of a pair of continuous random variables X and
Y, we are interested in P[(X,Y) is in some set B], where B is a subset
of the plane.
Section 5.1 Uniform Distributions
-
Uniform distribution on region R in plane: (X,Y) has the uniform
distribution on R if P[(X,Y) is in C] = Area (C)/Area(R)
-
The simplest example to consider is independent uniformly distributed random
variables X and Y.
-
Suppose X and Y are uniform on (0,a) and (0,b) respectively.
-
Let A X B be any rectangle in (0, a)
X
(0,
b).
-
This means that the joint distribution of independent uniformly distributed
random variables X and Y is uniform on the on the rectangle (0,a) X (0,b).
The same would be true for X and Y independent, uniformly distributed on
arbitrary intervals (c, c + a) and (d , d + b).
-
We can use methods of plane geometry or simple calculus to
calculate probabilities of functions g(X,Y) where X and Y are independent
uniform random variables.
-
Example 1 X and Y independent, uniform(0,1).
-
Problem 1: Find P(X2 + Y2 <= 1)
-
Using the sketch, bottom page 241.
-
P(X2 + Y2 <= 1) = Shaded area/ Area of unit rectangle
= (p/4)/1 = p/4
-
Problem 2: Find conditional probability P(X2 + Y2<=1|X+Y>=1)
-
Look at the sketch on page 342.
-
Our formula for conditional probability tells us:

-
Problem 3. Find P(Y<=X2)
-
Here We have to calculate the are of the shaded region (see page 342 bottom)
(of course divided by the area of the unit square - which is just 1).
-
This is the area under the curve y = x2 from 0 to 1 -- just using simple
integratoin we get 1/3.
-
Example 2 page 342 and 343 gives some more examples which apply
straight-forward calculations of areas to get the desired probabilities.
-
Example 3 page 343. Probability of two people meeting. Arrival times
independent and uniformly distributed on 5:00 to 5:30. Person waits five
minutes and leaves. (Map this half hour into unit interval - interval of
length 1/6 represents 5 minutes.) Find probability that they meet.
-
X = arrival time of first person
-
Y = arrival time of second person.
-
Meet if and only if their arrival time differs by at most 5 minutes; i.e.
|X-Y| <= 1/6 or equivalently X-1/6 <= Y <= X+1/6
-
See sketch bottom page 343.
-
Probability = area of shaded region = 1 - (5/6)2
-
Assigned Exercises 1, 3, 4, 6
Hints: Draw sketches for each problem.
1. Draw sketch of the range of (X,Y) = R = {(x,y): ) < x < 2
and 0 < y < 4 and x < y}
For a) P(X < 1) = Area of region in R where (X < 1) / Area of
R
For b) P(Y < X2) = Area of region in R where (Y <
X2) / Area of R
3. Do this like Example 1, problem 1 of this section.
4. Do this like Example 2, a,b,c of this section
6.
a) Set up similarly to Example 3 of this section. Calculate P(X <
Y - 2)
b) Let F = event that first arrives before 12:05.
Let L = event that last person arrives after 12:10.
Review some of the set identities from Chapter 1 first week of class!!!
We want to calculate P(F intersect L). Use the following 3 facts:
-
P(F union L) = P(F) + P(L) - P(F intersect L)
-
P(F union L ) = 1 - P((F union L)c)
-
(F union L)c = Fc intersect Lc
to get a formula for P(F intersect L) in terms of P(F), P(L) and P(Fc
intersect Lc)
Then calculate P(F), P(L), and P(Fc intersect Lc).
Do this by first writing out what each of these sets means.
For example P(F) = P(first arrives before 12:05) = 1 - P(Fc),
where Fc is the events all 10 arrive at time >= 12:05. But by
independence P(Fc) = P(X1>12:05)…P(X10>
12:05) = (10/15)10
Section 5.2 Joint Density Functions
-
The joint density function for a pair of random variables X and Y is the
function f(x,y) such that
-
The geometric interpretation of this is that the probability that (X,Y)
is in B is the volume under the surface f(x,y) over the region B. See the
figures 1 and 2 page 346 and 347.
-
See page 348 and 349 for a review of the properties of discrete joint distributions
and their equivalents for continuous distributions. Note that the properties
are virtually the same, except that for continous distribtuions we replace
sum with integral.
-
Especially note the definition of the marginal density functions:
-
The marginal density of X (i.e. the density function of X alone),
fX(x),
and the marginal density of Y
(i.e. the density function of Y alone),fY(y)
are computed from the join density f(x,y) by "integrating out" the
y
(or
x):
-
For independent random variables the joint density f(x,y)
is just the product of the marginal densities fX(x)
fY(y)
-
The Expectation of a function g(X, Y) is calculated by
-
Example 1: Let (X,Y) be uniformly distributed on the triangle {(x,y):
0 < x < y < 1}
-
Problem 1: Find the density function f(x,y). Uniform means
f(x,y)
= c, a constant. To be a valid joint density, we must have volume under
f(x,y)
= c over the triangle = 1. So c * ½ = 1 meaning that
c
is 2.
-
Problem 2: Find the marginal densities.

-
Problem 3: Not independent since the joint density not the product
of the marginals!
-
Problem 4: Find E(X) and E(Y). Just use formulas
-
Problem 5: Find E(XY) - again use formula.
-
Example 2: Independent exponential random variables.
-
Let X and Y be independent and exponentially distributed random variables
with parameters m and l.
Calculate P(X < Y).
-
We just need to integrate the joint density over the region {(x, y) : 0
< x < y}
-
By independence, the joint density is the product of the densities.
-
Not covering example 3 order statistics.
-
Assigned Exercises 3, 4, and 5
Hints for exercises.
3. a) Integrate the joint density function over the region
on which it is defined. What value of c gives a value of 1 for this
integral? b) Integrate the joint density funciton over the
regtion 0 < x < a and 0 < y < 1. c) Similar to b)
4. a) Just integrate the joint density function first with
y going from 0 to y (you might not like this notation) and then for
x going from 0 to x. b) Integrate the joint density funciton with
respect to y.
5. Almost identical to example 2 in this section.