Expectation of Discrete Random Variable from PGF/Motivation
Expectation of Discrete Random Variable from PGF: Also known as
Expectation of Discrete Random Variable from PGF shows how to find the expectation of a discrete random variable without the need to go through the tedious process of what might be a complicated and fiddly summation.
All you need to do is differentiate the PGF and plug in $1$.
Assuming, of course, you know what the PGF is.