Expectation from a Moment Generating Function

Compact study note.

Summary

When an MGF exists near zero, derivatives at zero recover raw moments. This is a compact way to derive means and variances for many standard distributions.[1]

Prerequisites

Notation and Assumptions

MGF definition:

MX(t)=E[exp⁡(tX)].

If differentiation under the expectation is justified near 0 , then

MX′(0)=E[X],MX″(0)=E[X2].

Essential Result

Var(X)=MX″(0)−[MX′(0)]2 .

Small Example

For Bernoulli X , MX(t)=1−p+pet . Then MX′(0)=p , MX″(0)=p , and Var(X)=p(1−p) .

Common Mistakes

Connections

References


  1. MIT OpenCourseWare, "6.041SC Probabilistic Systems Analysis and Applied Probability", Fall 2013, https://ocw.mit.edu/courses/6-041sc-probabilistic-systems-analysis-and-applied-probability-fall-2013/ ↩︎