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 p0,p1,p2,… 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:

x0123
P(X = x)0.10.30.40.2
  1. Put each probability next to t raised to the power of its x value: 0.1t0, 0.3t1, 0.4t2, 0.2t3.
  2. Add them up. Since t0=1:

GX(t)=0.1+0.3t+0.4t2+0.2t3

  • Read it back: the coefficient of t2 is 0.4, so P(X=2)=0.4. Nothing has been lost.
  • t itself doesn't mean anything. It is a dummy variable: a placeholder whose powers keep the probabilities in order.

Diagram: Each bar's probability is stored on its own power of t. The power is the value of X.

What the picture shows

  1. Each bar's probability is stored on its own power of t. The power is the value of X.
  2. The coefficient of t2 is 0.4, so P(X=2)=0.4.
  3. Put t = 1 and you add every probability, so G(1) = 1. Put t = 0 and only P(X=0) is left.

The general definition

GX(t)=E(tX)=∑xP(X=x)tx

💡 In plain words

  • Multiply each probability by t to the power of its value, and add.
  • Why is it written E(tX)? Because you already know E(g(X))=∑g(x)P(X=x). Here g(x)=tx. 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

FactWhy it's trueWhat it's for
GX(1)=1At t = 1 every power 1x=1, so you are just adding all the probabilities.Finding an unknown constant k, and checking your PGF.
GX(0)=P(X=0)At t = 0 every term with a t in it vanishes. Only the constant term p0 is left.Reading off the chance of zero quickly.

✏️ YOUR TURN 1

Try this first:

A random variable X has PGF G(t)=k(2+t)2. Find k, then find P(X=0) and P(X=1).

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.

Log in · Subscribe · Start free trial

All notes in Probability generating functions (4.5)

  1. Probability Generating Functions: Definition and Reading Off Probabilities
  2. Using PGFs to Find a Mean and Variance, and the Geometric PGF
  3. 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.

Start your free 7-day trial

Questions? Chat with us on WhatsApp · Try one live lesson

Next note: Using PGFs to Find a Mean and Variance, and the Geometric PGF

All Cambridge A Level Maths topics · A Level Maths