• a generating function packs a sequence into the coefficients of a power series
- differentiate $j$ times and set $t = 0$ to read one back: $a_j = g^{(j)}(0)$
- e.g. $g(0) = a_0$, every other term dies
  • the moment generating function uses the moments , and the series collapses into one expectation
- so $E(X^j) = M_X^{(j)}(0)$: the mean is $M_X'(0)$, $E(X^2) = M_X''(0)$, and $Var(X) = M_X''(0) - M_X'(0)^2$
- doesn't always exist; the [[Characteristic function]] $E(e^{itX})$ always does
  • example: exponential with rate , for
    • , , so
  • the bird perching exercise from this lecture is really about memorylessness, it lives in Memoryless Property For Exponentials