Use moment generating functions to find an expression for the expectation of a random variable.
Firstly we assume that the moment generating function of the random variable exists. Let the
MGF be denoted M_X(t), where X denotes the random variable (X ...
The solution discusses the relation between random variable expectations and generating functions.