The Probability Generating Function
A Transform Tailored to Counting
For random variables that take values in β the number of arrivals in a time slot, the number of errors in a codeword, the population size in a branching process β there is a transform even more natural than the MGF. The probability generating function encodes the entire PMF as the coefficients of a power series, and its algebraic properties make it the ideal tool for compound sums and branching processes.
Definition: Probability Generating Function (PGF)
Probability Generating Function (PGF)
Let be a random variable taking values in with PMF . The probability generating function of is
The series converges absolutely for (since ).
The PGF connects to the other transforms: and . Also, and .
Probability Generating Function (PGF)
For a nonnegative integer-valued RV : . The PMF is recovered via .
Related: Moment Generating Function (MGF), Characteristic Function
Theorem: Moments and Factorial Moments from the PGF
Let be the PGF of . Then:
- .
- The -th factorial moment is .
- .
Differentiate the power series
. Setting : .
Similarly, , so .
Variance formula
.
.
PGFs of Common Discrete Distributions
| Distribution | |||
|---|---|---|---|
| Constant | |||
Example: Sum of Independent Poisson Random Variables
Let and be independent. Find the distribution of .
Multiply the PGFs
.
Identify by uniqueness
This is the PGF of . By the uniqueness theorem, .
The sum of independent Poissons is Poisson with rate equal to the sum of the rates. This is the Poisson superposition property β when multiple independent Poisson streams merge, the combined stream is still Poisson.
Example: A Combinatorial Identity via PGF
Use probability generating functions to prove: .
Set up the probabilistic argument
Let independently. Then .
Compare coefficients of $s^n$
.
The coefficient of in is .
On the other hand, the coefficient of in is the convolution: .
Equating: .
Quick Check
For a random variable with PGF , what does equal?
, since by convention and for .