The derivatives of the moment generating function M(z) of X give the moments of X, i.e.
, where
.
The cumulant expansion of the function X is given by solving for the coefficients
in
. The solution is given by equating coefficients of z and the first few cumulants are
