Professional Documents
Culture Documents
7.1 Introduction
We shall be finding the probability distributions or densities of functions of one or more random
variables. Let X 1 , X 2 , , X n be random variables and let Y = U ( X 1 , X 2 , , X n ) be another
random variable. Methods to find the probability distribution of Y (or U) are
1. Method of Distribution Functions:
Find P(Y y ) = F ( y ) .
We find the region in the x1 , x2 , , xn space for which Y y and find P(Y y ) by integrating
f ( x1 , x2 , , xn ) over this region. The density f ( y ) can be obtained by differentiation.
2. Method of Transformation:
Given the density function of X, the density of Y = U ( X 1 , X 2 , , X n ) can be found whether U is
increasing or decreasing.
We find the moment generating function of Y and see if it resembles any known moment
generating function. If it is identical to some well-known moment generating function, the
probability distribution of Y can be identified.
Example 1: A random variable X has the density function f ( x) = 2 x for 0 < x < 1. Find the
density function of Y = 3X – 1.
Solution:
Solution:
F ( y ) = P(Y y ) = P (3 X − 1 y ) = P[ X ( y + 1) / 3]
( y +1) / 3
When 0 < x < 1, 0 < (y + 1)/3 < 1 i.e. –1 < y < 2 with F ( y ) = P( X y +1
3 )= 2 xdx = ( y3+1 ) 2 .
0
f ( y ) = F ( y ) = 2( y + 1) / 9 , . –1 < y < 2
Chapter 7 Page 2 of 5
Example 2: A random variable X has the density function f ( x) = 2 x for 0 < x < 1. Find the
density function of Y = 3X – 1 by the transformation method.
Solution:
Now, y = 3x – 1 3x = y + 1 or x = (y + 1)/3; dx/dy = 1/3.
Hence, fY ( y) = f X ( x) | dy
dx
| = 2(1/3)(y + 1)(1/3) = 2(y + 1)/9 [Note that x = (y + 1)/3].
When x = 0, y = –1 and when x = 1, y = 2. Therefore, f ( y ) = 2( y + 1) / 9 , –1 < y < 2.
f ( x) = and Y = X 2
0, elsewhere
Now, x = y = + y since x > 0. Also, | dx / dy |= 1/(2 y )
Hence, fY ( y) = f X ( x) | dy
dx
| = 2 ye− y /(2 y ) = e− y for y > 0.
If only one function Y1 is defined, we will introduce a second function, say Y2 , and use the above
technique.
Solution:
Solve to obtain x1 = ( y1 + y2 ) / 2 and x2 = ( y1 − y2 ) / 2 .
f ( y1 , y2 ) = 181 14 ( y1 + y2 )( y1 − y2 ) = 721 ( y12 − y12 ) , y1 = 2, 3, 4, 5; y 2 = –2, –1, 0, 1; y1 + y2 = 2, 4;
and y1 − y2 = 2, 4, 6.
Now, f ( y1 ) = y2 1
72 ( y12 − y22 )
When y1 = 2; y 2 = 0 and so f(2) = 4/72 = 1/18 [ x1 = 1, x2 = 1]
When y1 = 3; y 2 = –1, 1 and so f(3) = [(9 – 1) + (9 – 1)]/72 = 4/18 [ x1 =1, x2 =2; [ x1 =2, x2 =1]]
When y1 = 4; y 2 = –2, 0 and so f(4) = [(16 – 4) + (16 – 0)]/72 = 7/18 [ x1 =1, x2 =3; x1 = x2 =2]
When y1 = 5; y 2 = –1 and so f(5) = 4/72 = [25 – 1]/18 = 6/18 [ x1 = 2, x2 = 3]
Chapter 7 Page 4 of 5
y1
2 3 4 5
–2 0 0 3/18 0
y2 –1 0 2/18 0 0
0 1/18 0 4/18 0
1 0 2/18 0 6/18
y1 2 3 4 5
f ( y1 ) 1/18 4/18 7/18 6/18
Solution:
Using the distribution function method: F ( y ) = P(Y y) = P( X 1 − X 2 y )
1 x1 − y
F ( y ) = 1 − P(Y y ) = 1 − 3x1dx2 dx1 = 32 y − 12 y 3 , 0 y 1 .
y 0
0, y0
3(1 − y 2 ) / 2, 0 y 1
F ( y ) = (3 y − y ) / 2, 0 y 1 and f ( y ) =
3