4.5 Probability Generating Functions

2026 Syllabus Objectives

  1. Understand the concept of a probability generating function (PGF) and construct and use the PGF for given distributions, including the discrete uniform, binomial, geometric and Poisson distributions.

  2. Use formulae for the mean and variance of a discrete random variable in terms of its PGF, and use these formulae to calculate the mean and variance of a given probability distribution.

  3. Use the result that the PGF of the sum of independent random variables is the product of the PGFs of those random variables.


What is a Probability Generating Function? 🔑

A probability generating function (PGF) provides an elegant and efficient way of describing a discrete probability distribution. Instead of working with probability tables, we can represent the entire distribution using a single mathematical function.

Definition

For a discrete random variable XX with values xix_i, the probability generating function is defined as:

GX(t)=xtxP(X=x)=E(tX)G_X(t) = \sum_x t^x P(X=x) = E(t^X)

The variable tt is called a dummy variable and has no intrinsic meaning, but plays an important role in calculating expectations and variances.

Key Properties

Property 1: When t=1t = 1, the PGF equals 1 (since the sum of all probabilities is 1):

GX(1)=1G_X(1) = 1

Property 2: The coefficient of trt^r in the expansion of GX(t)G_X(t) gives P(X=r)P(X = r).

Property 3: We can extract probabilities from the PGF using:

P(X=r)=GX(r)(0)r!P(X=r) = \frac{G_X^{(r)}(0)}{r!}

where GX(r)(0)G_X^{(r)}(0) denotes the rr-th derivative of GX(t)G_X(t) evaluated at t=0t = 0.


Constructing PGFs from Probability Distributions

Example 1: PGF from a Probability Table

Consider the following probability distribution:

xx0123456
P(X=x)P(X=x)0.10.20.30.150.10.10.05

The PGF is constructed by applying the definition:

GX(t)=0.1t0+0.2t1+0.3t2+0.15t3+0.1t4+0.1t5+0.05t6G_X(t) = 0.1t^0 + 0.2t^1 + 0.3t^2 + 0.15t^3 + 0.1t^4 + 0.1t^5 + 0.05t^6

GX(t)=0.1+0.2t+0.3t2+0.15t3+0.1t4+0.1t5+0.05t6G_X(t) = 0.1 + 0.2t + 0.3t^2 + 0.15t^3 + 0.1t^4 + 0.1t^5 + 0.05t^6

Example 2: Non-consecutive Values

For a distribution with x=2,4,5,10x = 2, 4, 5, 10 and probabilities 0.1,0.2,0.3,0.40.1, 0.2, 0.3, 0.4 respectively:

GX(t)=0.1t2+0.2t4+0.3t5+0.4t10G_X(t) = 0.1t^2 + 0.2t^4 + 0.3t^5 + 0.4t^{10}

Notice that the powers of tt correspond to the values of xx, not sequential indices.

Sign in to view full notes