Probability and Stochastic Processes
A Friendly Introduction for Electrical and Computer Engineers SECOND EDITION
Roy D. Yates David J. Goodman
08_1 Yates Chapter 4 1
Probability and Stochastic Processes
A Friendly Introduction for Electrical and Computer Engineers SECOND EDITION
Roy D. Yates David J. Goodman
Definitions, Theorems, Proofs, Examples, Quizzes, Problems, Solutions
Chapter 4
08_1 Yates Chapter 4 2
08_1 Yates Chapter 4 3
08_1 Yates Chapter 4 4
08_1 Yates Chapter 4 5
08_1 Yates Chapter 4 6
08_1 Yates Chapter 4 7
08_1 Yates Chapter 4 8
08_1 Yates Chapter 4 9
08_1 Yates Chapter 4 10
08_1 Yates Chapter 4 11
08_1 Yates Chapter 4 12
08_1 Yates Chapter 4 13
08_1 Yates Chapter 4 14
08_1 Yates Chapter 4 15
08_1 Yates Chapter 4 16
08_1 Yates Chapter 4 17
08_1 Yates Chapter 4 18
08_1 Yates Chapter 4 19
08_1 Yates Chapter 4 20
08_1 Yates Chapter 4 21
08_1 Yates Chapter 4 22
08_1 Yates Chapter 4 23
08_1 Yates Chapter 4 24
1 2 1 2 1 2 2 1 2 1
[ x , y ] [ x , y ] [ x , y ]
P x < £ x y < £ y = P x < £ x £ y - P x < £ x £ y
x ,y
( ,
2 2)
x ,y( ,
1 2)
x ,y( ,
2 1)
x ,y( ,
1 1)
F x y F x y F x y F x y
= - - +
08_1 Yates Chapter 4 25
08_1 Yates Chapter 4 26
08_1 Yates Chapter 4 27
08_1 Yates Chapter 4 28
08_1 Yates Chapter 4 29
08_1 Yates Chapter 4 30
08_1 Yates Chapter 4 31
08_1 Yates Chapter 4 32
08_1 Yates Chapter 4 33
08_1 Yates Chapter 4 34
08_1 Yates Chapter 4 35
08_1 Yates Chapter 4 36
08_1 Yates Chapter 4 37
08_1 Yates Chapter 4 38
08_1 Yates Chapter 4 39
08_1 Yates Chapter 4 40
08_1 Yates Chapter 4 41
08_1 Yates Chapter 4 42
Let the random variable be defined as a function of and : ( , ).
The cdf of is found similar to the functions of single random variable. If there exists such that:
{ } { ( , )
z
Z X Y
Z g X Y
Z D
Z z g X Y z
=
£ = £
zz ,
} {( , ) }, then, the cdf of is found by,
( ) { } {( , ) } ( , ) .
The pdf of is found by taking the derivative of ( ) with respect to z such that,
( ) ( ).
z
Z X Y
D
Z
Z Z
x y D
Z
F z P Z z P X Y D f x y dxdy
Z F z
f z d F z
dz
= Î
= £ = Î =
=
òò
Functions of Two Random Variables
08_1 Yates Chapter 4 43
Let the random variable be defined as a function of and : ( , ).
The cdf of is found similar to the functions of single random variable. If there exists such that:
{ } { ( , )
z
Z X Y
Z g X Y
Z D
Z z g X Y z
=
£ = £
zz ,
} {( , ) }, then, the cdf of is found by,
( ) { } {( , ) } ( , ) .
The pdf of is found by taking the derivative of ( ) with respect to z such that,
( ) ( ).
z
Z X Y
D
Z
Z Z
x y D
Z
F z P Z z P X Y D f x y dxdy
Z F z
f z d F z
dz
= Î
= £ = Î =
=
òò
,
,
,
,
( ) ( , ) ( , )
( ) ( ) ( , )
( , ) (*) I
z
Z X Y
D z y
X Y Z z y
Z X Y
X Y
F z f x y dxdy
f x y dxdy
f z F z f x y dxdy
z z
f z y y dy
¥ -
-¥ -¥
¥ -
-¥ -¥
¥ -¥
=
=
¶ ¶
= =
¶ ¶
= -
òò ò ò
ò ò ò
,
f x and y are independent, the following hold ( , ) ( ) ( ).
In this case, Eq. (*) reads
( ) ( ) ( ) . This is a convolution integral.
X Y X Y
Z X Y
f z y y f z y f y
f z
¥f z y f y dy
-¥
- = -
= ò -
1. Z = X + Y
08_1 Yates Chapter 4 44
,
,
,
,
( ) ( , ) ( , )
( ) ( ) ( , )
( , ) (*) I
z
Z X Y
D z y
X Y Z z y
Z X Y
X Y
F z f x y dxdy
f x y dxdy
f z F z f x y dxdy
z z
f z y y dy
¥ -
-¥ -¥
¥ -
-¥ -¥
¥ -¥
=
=
¶ ¶
= =
¶ ¶
= -
òò ò ò
ò ò ò
,
f x and y are independent, the following hold ( , ) ( ) ( ).
In this case, Eq. (*) reads
( ) ( ) ( ) . This is a convolution integral.
X Y X Y
Z X Y
f z y y f z y f y
f z
¥f z y f y dy
-¥
- = -
= ò -
Example (Z = X + Y)
z
0
( ) 0
and are independent r.v. with
( ) ( ); ( ) ( ).
Find ( ) when = + . ( ) ( ) ( )
(
x y
X Y
z
Z X Y
z z y y
X Y
f x e u x f y e u y
f z Z X Y
f z f z y f y dy
e e dy
a b
a b
a b
ab ab b a
- -
- - -
= =
= -
=
= -
ò ò
2
) , .
( ( ) 0 0 ( ) 0 ( ) 0 0)
If ,
( ) .
In this case, note that x and y are exponential random variables and z
z z
X X Y
z Z
e e
f x for x f z y for y z and f y for y
f z ze
a b
a
b a
a b
a
- -
-
- ¹
= < => - = > = <
=
=
is an Erlang random variable with parameter m=2. Let's plot f
X( ) and ( ) for x f
Zz a = 1.
08_1 Yates Chapter 4 45
z
0
( ) 0
and are independent r.v. with
( ) ( ); ( ) ( ).
Find ( ) when = + . ( ) ( ) ( )
(
x y
X Y
z
Z X Y
z z y y
X Y
f x e u x f y e u y
f z Z X Y
f z f z y f y dy
e e dy
a b
a b
a b
ab ab b a
- -
- - -
= =
= -
=
= -
ò ò
2
) , .
( ( ) 0 0 ( ) 0 ( ) 0 0)
If ,
( ) .
In this case, note that x and y are exponential random variables and z
z z
X X Y
z Z
e e
f x for x f z y for y z and f y for y
f z ze
a b
a
b a
a b
a
- -
-
- ¹
= < => - = > = <
=
=
is an Erlang random variable
with parameter m=2. Let's plot f
X( ) and ( ) for x f
Zz a = 1.
0 1 2 3 4 5 6 7 8 9 10 0
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
fX(x) fZ(z)
08_1 Yates Chapter 4 46
0 1 2 3 4 5 6 7 8 9 10
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
fX(x) fZ(z)
2. Z = X/Y
,
0
, ,
0
0
, ,
0
0 ,
( ) ( , )
( , ) ( , )
( , 0 ; , 0 )
( ) ( , ) ( , )
( , )
Z
Z X Y
D yz
X Y yz X Y
yz
Z X Y yz X Y
X Y
F z f x y dxdy
f x y dxdy f x y dxdy
x x
z y x yz z y x yz
y y
f z d f x y dxdy f x y dxdy
dz
y f zy y dy
¥ ¥
-¥ -¥
¥ ¥
-¥ -¥
¥
=
= +
£ > => £ £ < => ³
= +
= +
òò
ò ò ò ò
ò ò ò ò
ò
0 ,,
( ) ( , )
| | ( , )
X Y
X Y
y f zy y dy y f zy y dy
-¥
¥ -¥
-
=
ò ò
08_1 Yates Chapter 4 47
,
0
, ,
0
0
, ,
0
0 ,
( ) ( , )
( , ) ( , )
( , 0 ; , 0 )
( ) ( , ) ( , )
( , )
Z
Z X Y
D yz
X Y yz X Y
yz
Z X Y yz X Y
X Y
F z f x y dxdy
f x y dxdy f x y dxdy
x x
z y x yz z y x yz
y y
f z d f x y dxdy f x y dxdy
dz
y f zy y dy
¥ ¥
-¥ -¥
¥ ¥
-¥ -¥
¥
=
= +
£ > => £ £ < => ³
= +
= +
òò
ò ò ò ò
ò ò ò ò
ò
0 ,,
( ) ( , )
| | ( , )
X Y
X Y
y f zy y dy y f zy y dy
-¥
¥ -¥
-
=
ò
ò
08_1 Yates Chapter 4 48
08_1 Yates Chapter 4 49
08_1 Yates Chapter 4 50
08_1 Yates Chapter 4 51
08_1 Yates Chapter 4 52
08_1 Yates Chapter 4 53
08_1 Yates Chapter 4 54
08_1 Yates Chapter 4 55
08_1 Yates Chapter 4 56
08_1 Yates Chapter 4 57
08_1 Yates Chapter 4 58
08_1 Yates Chapter 4 59
08_1 Yates Chapter 4 60
08_1 Yates Chapter 4 61
08_1 Yates Chapter 4 62
08_1 Yates Chapter 4 63
08_1 Yates Chapter 4 64
08_1 Yates Chapter 4 65
08_1 Yates Chapter 4 66
08_1 Yates Chapter 4 67
08_1 Yates Chapter 4 68
08_1 Yates Chapter 4 69
08_1 Yates Chapter 4 70
08_1 Yates Chapter 4 71
08_1 Yates Chapter 4 72
08_1 Yates Chapter 4 73
08_1 Yates Chapter 4 74
08_1 Yates Chapter 4 75
08_1 Yates Chapter 4 76
08_1 Yates Chapter 4 77
08_1 Yates Chapter 4 78
08_1 Yates Chapter 4 79
08_1 Yates Chapter 4 80
08_1 Yates Chapter 4 81
08_1 Yates Chapter 4 82
08_1 Yates Chapter 4 83
08_1 Yates Chapter 4 84
08_1 Yates Chapter 4 85
08_1 Yates Chapter 4 86
08_1 Yates Chapter 4 87
08_1 Yates Chapter 4 88
08_1 Yates Chapter 4 89
08_1 Yates Chapter 4 90
08_1 Yates Chapter 4 91
08_1 Yates Chapter 4 92
08_1 Yates Chapter 4 93
08_1 Yates Chapter 4 94
08_1 Yates Chapter 4 95
08_1 Yates Chapter 4 96
08_1 Yates Chapter 4 97
08_1 Yates Chapter 4 98
08_1 Yates Chapter 4 99
08_1 Yates Chapter 4 100
08_1 Yates Chapter 4 101
08_1 Yates Chapter 4 102
08_1 Yates Chapter 4 103
08_1 Yates Chapter 4 104
08_1 Yates Chapter 4 105
08_1 Yates Chapter 4 106
08_1 Yates Chapter 4 107
08_1 Yates Chapter 4 108
08_1 Yates Chapter 4 109
08_1 Yates Chapter 4 110
08_1 Yates Chapter 4 111
08_1 Yates Chapter 4 112
08_1 Yates Chapter 4 113
08_1 Yates Chapter 4 114
08_1 Yates Chapter 4 115
08_1 Yates Chapter 4 116
08_1 Yates Chapter 4 117
08_1 Yates Chapter 4 118
08_1 Yates Chapter 4 119
08_1 Yates Chapter 4 120
08_1 Yates Chapter 4 121
08_1 Yates Chapter 4 122
08_1 Yates Chapter 4 123
08_1 Yates Chapter 4 124
08_1 Yates Chapter 4 125
08_1 Yates Chapter 4 126
08_1 Yates Chapter 4 127
08_1 Yates Chapter 4 128
08_1 Yates Chapter 4 129
08_1 Yates Chapter 4 130
three values of r .
08_1 Yates Chapter 4 131
08_1 Yates Chapter 4 132
08_1 Yates Chapter 4 133
08_1 Yates Chapter 4 134
08_1 Yates Chapter 4 135
08_1 Yates Chapter 4 136
08_1 Yates Chapter 4 137
because the integral in the final expression is Var X [ ] = s
12.
08_1 Yates Chapter 4 138
08_1 Yates Chapter 4 139