Massachusetts Institute of Technology

advertisement
Massachusetts Institute of Technology
Department of Electrical Engineering & Computer Science
6.041/6.431: Probabilistic Systems Analysis
(Spring 2006)
Recitation 10 Solutions
March 23, 2006
1. a) To find the transform, we integrate the density function over its full domain, against an exponential. This is often expressed as finding the expected value of the function e−rx .
−rx
E[e
] =
=
b
e−rx
a b−a
e−ra − e−rb
.
r(b − a)
�
b) To find the mean and the variance we use the moment generating properties of the transform,
namely:
�
d
�
E[X n ] = (−1)n E[e−rx ]�
r=0
dr
Thus we have:
�
d
�
E[e−rx ]�
r=0
dr
��
��
�
� −rb
� −rb
e
− e−ra
1
be
− ae−ra ��
1
+
= −
�
�
b−a
r2
b−a
r
r=0
E[X] = −
b2 − a2 a2 − b2
−
b−a
b−a
b+a
.
2
(L′ H ôpital) = −
=
To find the Variance we need to find E[X 2 ] and thus we need to take the second derivative of the
transform and evaluate at r = 0,
�
d2
−rx �
E[e
]
�
r=0
dr 2
�
��
�
�
� −ra
�
� −ra
� 2 −ra
2
1
e
− e−rb
2
ae
− be−rb
a e
− b2 e−rb ��
=
+
+
�
�
b−a
r3
b−a
r2
b−a
r
r=0
E[X 2 ] =
(L′ H ôpital) =
=
1 b3 − a3 a3 − b3 b3 − a3
+
+
3 b−a
b−a
b−a
1 2
(b + ab + a2 )
3
and therefore we have:
1
V ar[X] = E[X ] − E[X] = (b2 + ab + a2 ) −
3
2
2
�
b+a
2
�2
2. The transform for nonegative integer valued random variables is defined as:
pTx (z) =
∞
�
z xi P (X = xi ) = E[z X ]
i=1
Page 1 of 2
Massachusetts Institute of Technology
Department of Electrical Engineering & Computer Science
6.041/6.431: Probabilistic Systems Analysis
(Spring 2006)
and therefore we have:
1
1
1
E[z X ] = z + z 2 + z 3 .
2
4
4
b) We observe from above that if we take n derivatives of the transform and evaluate at z = 1
then we will have a linear combination of the first n moments.
and therefore we find:
�
d
�
E[z X ]�
= E[X]
z=1
dz
�
d2
X �
E[z
]
= E[X 2 ] − E[X]
�
z=1
dz 2
�
d3
X �
E[z
]
= E[X 3 ] − 3E[X 2 ] + 2E[X]
�
z=1
dz 3
E[X] =
=
�
d
�
E[z X ]�
z=1
dz
1 1 3
7
+ + =
2 2 4
4
and similarly,
E[X 2 ] =
=
�
d2
X �
E[z
]
+ E[X]
�
z=1
dz 2
1 3 7
15
+ + =
2 2 4
4
and finally,
E[X 3 ] =
=
�
d3
X �
E[z
]
+ 3E[X 2 ] − 2E[X]
�
z=1
dz 3
6 45 14
37
+
+
=
4
4
4
4
c) Direct computation thankfully produces the same results.
3. a) Note that by the definition of the transform,
MX (s) =
�
esx pX (x)
x
and therefore when evaluated at s = 0, the transform should equal 1. We see that only the second
option satisfies this requirement.
b) It is observed that the transform is that of a Poisson random variable with parameter λ = 2.
Hence the pdf is given as follows:
pX (k) = e−λ
λk
k!
pX (0) = e−2
Page 2 of 2
Download