Darryl K. answered 06/06/16
Tutor
New to Wyzant
Experienced Math Tutor
The moment generating function is
M(t) = E(etx) = Integral form -∞ to ∞ of etxf(x)dx. We can find different moments by taking the derivative of the moment generating function.
E(xr) = drM(t)/dtr
The first derivative is the mean or expected value Ex). The second derivative is E(x2) and V(x) = E(x2) - u2
First find the moment generating function.
M(t) = 4*Integral from 0 to ∞ of etx*e-4xdx = 4*Integral from 0 to ∞ of e-(4-t)xdx = 4/(4-t)
Taking the first derivative of M(t) gives
E(x) = 4/(4-t)2 @ t = 0 → E(x) = 1/4
Taking the second derivative gives
E(x2) = 8/(4-t)3 @ t = 0 → E(x2) = 1/8
V(x) = 1/8 - (1/4)2 = 1/16