Proving variance with moment generating functions

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
6 replies · 2K views
TelusPig
Messages
15
Reaction score
0
Moment generating functions:
How can I show that [itex]Var(X)=\frac{d^2}{dt^2}ln M_X(t)\big |_{t=0}[/itex]

Recall:
[itex]M_X(t)=E(e^{tx})=\int_{-\infty}^{\infty}e^{tx}f(x)dx[/itex]

[itex]E(X^n)=\frac{d^n}{dt^n}M_X(t)\big |_{t=0}[/itex]

[itex]Var(X)=E(X^2)-[E(X)]^2=E[(X-E(X))^2][/itex]
------------
I tried just applying the equation given but I don't know what to do with the log of this general integral?
[itex]\frac{d^2}{dt^2}ln M_X(t)=\frac{d^2}{dt^2}ln \left( \int_{-\infty}^{\infty}e^{tx}f(x)dx \right)[/itex]
 
on Phys.org
It would be for 1st derivative: [itex]\frac{1}{f(t)}*f'(t)[/itex]
then differentiate again for the 2nd derivative, that would be:

[itex]\frac{f''(t)f(t)-(f'(t))^2}{(f(t))^2}[/itex]
 
Last edited:
Does that mean it's [itex]\frac{M_X''(t)M_X(t)-(M_X'(t))^2}{(M_X(t))^2}[/itex]

Do I have to then substitute each M(t), M'(t), M''(t) with it's integral definition then? and somehow simplify that big mess o.o?
 
Office_Shredder said:
No, you need to plug in t=0!
OH obviously! LOL omg, I can't believe I didn't see that and thought I had to do a bunch of integrals ._. Thanks! :D