Professional Documents
Culture Documents
Series A, No. 5
1. Find the moment generating function of x f (x) = 1, where 0 < x < 1,
1
.
and thereby confirm that E(x) = 12 and V (x) = 12
Answer: The moment generating function is
Z
xt
M (x, t) = E(e ) =
=
0
ext dx
0
t
xt 1
e
t
1
e
.
t
t
But
t
t2
t3
t0
+ + + + ,
e =
0! 1! 2! 3!
so
1
t
t2
t3
1
M (x, t) =
+ 1 + + + +
t
2! 3! 4!
t
2
3
t
t
t
+ .
=1+ + +
2
6
24
By the process of differentiating M (x, t) with respect to t and the setting t = 0,
we get
M (x, t)
1
1 2t 3t2
E(x) =
+
+
+
,
=
=
t
2
3!
4!
2
t=0
t=0
6t
2 M (x, t)
1
2
2
E(x ) =
+
+
=
= .
2
t
3!
4!
3
t=0
t=0
t
2
1
1 1
V (x) = E(x2 ) E(x) = =
.
3 4
12
2. Find the moment generating function of x f (x) = aeax ; x 0.
Answer: The moment generating function is
Z
Z
xt
xt ax
e ae
dx =
M (x, t) = E(e ) =
x(at)
ae
at
aex(at) dx
1
a
=
.
at
1 t/a
M (x, t) = E(e ) =
xt
e xe
dx =
xex(1t) dx.
w
1t
and
dx
1
=
.
dw
1t
Z
g(x)dx =
g{x(w)}
dx
,
dw
w w 1
e
dw
1t
1t
0
Z
1
1
=
wew dw =
.
2
(1 t) 0
(1 t)2
M (x, t) =
Here the value of the final integral is unity, since the expression wew , which
is to be found under the integral sign, has the same form as the p.d.f. of x.
To demonstrate directly that the value is unity, we can use the technique
of integrating by parts. The formula is
Z
dv
u dx = uv
dx
Z
v
du
dx.
dv
we
dw =
wew 0
Z
=
0
Z
+
e
0
dw
ew dw = ew 0 = 1.
M (x1 + x2 , t) =
x1
x2
1
1t
and M (x1 + x2 , t) =
1
.
(1 t)2
x=0,1
= (1 p) + pet = q + pet .
Pn
But the binomial outcome z =
i=1 xi is the sum of n inependent pointbinomial outcomes; so it follows that the binomial m.g.f. is
M (z, t) = (q + pet )n .