Probability Generating Functions: Definition and Reading Off Probabilities | Cambridge A Level Maths notes
Free preview: Probability Generating Functions: Definition and Reading Off Probabilities
Storing a Whole Distribution in One Function
9231 Paper 4: Further Probability & Statistics
Let's start with a problem. You know how to describe a discrete random variable with a table of probabilities. Tables are fine, but they are awkward to do algebra with. You can't easily add two tables, or differentiate one.
- Here's a clever idea. Take the probabilities and use them as the coefficients of a polynomial.
- The power of t tells you which value of X the probability belongs to. The power is like a label on a storage box.
- That polynomial is called the probability generating function, or PGF. Once a distribution is a function, we can use all our algebra and calculus on it.
Let's build one
Suppose X has this distribution:
| x | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| P(X = x) | 0.1 | 0.3 | 0.4 | 0.2 |
- Put each probability next to t raised to the power of its x value: .
- Add them up. Since :
- Read it back: the coefficient of is 0.4, so . Nothing has been lost.
- t itself doesn't mean anything. It is a dummy variable: a placeholder whose powers keep the probabilities in order.

What the picture shows
- Each bar's probability is stored on its own power of t. The power is the value of X.
- The coefficient of is 0.4, so .
- Put t = 1 and you add every probability, so G(1) = 1. Put t = 0 and only is left.
The general definition
💡 In plain words
- Multiply each probability by t to the power of its value, and add.
- Why is it written ? Because you already know . Here . It is the same sum.
- X must take whole-number values 0, 1, 2, ..., because the powers of t have to be whole numbers.
Two facts you'll use in every question
| Fact | Why it's true | What it's for |
|---|---|---|
| At t = 1 every power , so you are just adding all the probabilities. | Finding an unknown constant k, and checking your PGF. | |
| At t = 0 every term with a t in it vanishes. Only the constant term is left. | Reading off the chance of zero quickly. |
✏️ YOUR TURN 1
Try this first:
A random variable X has PGF . Find k, then find and .
Answer:
Unlock the full note: start 7 days free.
Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.
All notes in Probability generating functions (4.5)
- Probability Generating Functions: Definition and Reading Off Probabilities
- Using PGFs to Find a Mean and Variance, and the Geometric PGF
- PGFs of Sums of Independent Random Variables
What's inside for this topic
3 teacher notes, 86 practice questions, 29 flashcards, 2 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Next note: Using PGFs to Find a Mean and Variance, and the Geometric PGF