Library Probability Generating Functions
Further Mathematics

Probability Generating Functions

Revise Probability Generating Functions for Further Mathematics — revision notes and instant AI marking. Free to start.

📖 Revision notes · preview
Edexcel A Level Further Maths · Further Statistics 1

Probability Generating Functions

🎯 The Big Idea: A PGF is just a clever way of packing an entire probability distribution into a single algebraic expression — where the power of the dummy variable t tells you the value of X, and the coefficient tells you its probability. Once your distribution is "encoded" this way, you can find means, variances, and even combine random variables using ordinary algebra instead of long sums.

Summary — What This Chapter Covers

  • Constructing a PGF — turning a probability distribution table into a polynomial in t.
  • G(1) = 1 — a built-in check that always works, because all probabilities sum to 1.
  • Finding probabilities from a PGF — expanding (using the Binomial Theorem or Maclaurin series) and reading off coefficients.
  • E(X) = G′(1) — differentiate once, substitute t = 1.
  • Var(X) = G″(1) + G′(1) − [G′(1)]² — differentiate twice, substitute t = 1.
  • PGFs of standard distributions — Binomial, Poisson, Geometric, Negative Binomial — and how to derive each from first principles.
  • PGF of X + Y — multiply the two PGFs together (only valid when X and Y are independent).
  • PGF of aX + b — replace t with tᵃ, then multiply the whole thing by tb.

1. Constructing PGFs

1What actually is a PGF?

Imagine you've got a discrete random variable X with this distribution:

x0145
P(X = x)0.40.30.20.1

A PGF just glues each value of x onto the power of a "dummy" variable t, and each probability becomes the coefficient sitting in front of it:

Definition GX(t) = 0.4t⁰ + 0.3t¹ + 0.2t⁴ + 0.1t⁵  =  110(4 + 3t + 2t⁴ + t⁵) In words: line up every possible value of X as an exponent on t, and every matching probability as the coefficient in front of it.

Why bother? Because once your distribution is written as a single algebraic expression, you can differentiate it, multiply two of them together, or substitute values into it — and all of those algebraic operations turn out to correspond to meaningful probability operations (finding the mean, combining independent variables, and so on). It's the same trick as using logarithms to turn multiplication into addition — you're changing the "space" you work in to make the maths easier.

⚠️ Don't confuse X and t X is your actual random variable — the thing with real-world meaning (a dice score, a number of successes, etc). t is just a "carrier" variable with no meaning of its own — it only exists to build the polynomial structure. Never try to interpret t itself.

2The golden check: G(1) = 1

If you substitute t = 1 into any PGF, every power of t becomes 1anything = 1, so you're just left with the sum of all the probabilities — which must equal 1.

Rule GX(1) = 1  — always, for every valid PGF, no exceptions.

This is genuinely useful, not just a curiosity. If a question gives you a PGF containing an unknown constant (like p or k), you can find it instantly by setting t = 1 and solving.

Worked Example

Q: GX(t) = k(2t + 3t² + 5t³). Find k.

Since G(1) = 1: k(2 + 3 + 5) = 1
10k = 1 → k = 0.1

3The formal definition: G(t) = E(tˣ)

You've probably met E(X) = Σx·P(X = x) before — the expectation formula. A PGF is exactly the same idea, but instead of weighting each value of x by itself, you weight tx by its probability:

Formal definition (Formulae Booklet) GX(t) = E(tX) = Σ tˣ P(X = x) This is where all the later results (E(X), Var(X), sums of PGFs) come from — everything is derived by manipulating this one equation.

4Going backwards: finding probabilities from a PGF

Sometimes you're handed a PGF and asked to find a specific probability. The strategy is always: fully expand the PGF into a polynomial, then read off the coefficient of the power of t you care about.

The tricky part is that PGFs are rarely handed to you already expanded — you usually need one of two expansion tools:

PGF looks like...Use this tool
(1 + at)n for rational n (including negative/fractional)General Binomial Theorem
A function like ln(1 − at) that isn't a polynomialMaclaurin Series
Worked Example — Binomial Theorem route

Q: GX(t) = t² / (5 − 4t)². Find P(X = 4).

Step 1 — rewrite in the form (1 + ...)ⁿ:
GX(t) = t²(5 − 4t)⁻² = t² × 5⁻²(1 − 45t)⁻² = 125 t²(1 − 45t)⁻²
Step 2 — expand using the General Binomial Theorem:
GX(t) = 125 t² [ 1 + (−2)(−45t) + (−2)(−3)2!(−45t)² + ... ]
Step 3 — simplify each term:
= 125 t² + 8125 t³ + 48625 t⁴ + ...
Step 4 — read off the coefficient of t⁴:
P(X = 4) = 48625
Worked Example — Maclaurin Series route

Q: GX(t) = −1ln 2 ln(1 − 0.5t). Expand it.

Recall the Maclaurin series: ln(1 + x) = x − 2 + 3 − ...
Substitute x = −0.5t:
GX(t) = −1ln 2 [ (−0.5t) − (−0.5t)²2 + (−0.5t)³3 − ... ]
Then simplify term by term to get a genuine polynomial you can read coefficients from.
💡 Exam Tip Always double-check your expansion by confirming coefficients are non-negative and (if you can) that they roughly sum to something sensible near t = 1. Negative "probabilities" are a big red flag that you've made an algebra slip.
Practice Question 1

A discrete random variable X has probability distribution:

x2379
P(X = x)0.250.15k0.35

Find k, then write down GX(t).

Practice Question 2

GX(t) = 14(1 + t)². Find P(X = 1).

2. E(X) and Var(X) from PGFs

1Finding E(X)

Here's the beautiful part of PGFs: once you have G(t), finding the mean is just one differentiation and one substitution — no sums, no tables.

Formula (Formulae Booklet) E(X) = G′X(1) In words: differentiate the PGF with respect to t, then plug in t = 1.

Why does this work? Differentiating Σtˣ P(X=x) term by term brings each exponent x down as a multiplier: Σ x tx−1 P(X=x). Substituting t = 1 turns every tx−1 into 1, leaving exactly Σ x P(X=x) — which is the definition of E(X).

Worked Example

Q: GX(t) = 181 t³(1 + 2t)⁴. Find E(X).

Step 1 — differentiate using the product rule:
G′X(t) = 181(3t²)(1+2t)⁴ + 181 t³ × 4(1+2t)³ × 2
Step 2 — substitute t = 1 (no need to simplify the algebra first — just plug in):
G′X(1) = 181 × 3 × (3)⁴ + 181 × 1 × 4 × (3)³ × 2 = 3 + 83
E(X) = 173
🔧 Technique reminder You'll almost always need the product, quotient, or chain rule here — the PGFs in this topic are rarely simple polynomials you can differentiate term-by-term. Brush up on all three before your exam.

2Finding Var(X)

Variance needs a second derivative too, because we need E(X²) as an ingredient — and getting E(X²) directly from a PGF requires differentiating twice.

Formula (Formulae Booklet) Var(X) = G″X(1) + G′X(1) − [G′X(1)]² The first two terms together equal E(X²); the last term is [E(X)]². This is just the familiar Var(X) = E(X²) − [E(X)]² in disguise.

Where does the "+ G′(1)" come from? Differentiating a second time gives you Σ x(x−1) tx−2 P(X=x). At t=1 this becomes E(X(X−1)) = E(X²) − E(X). Rearranging: E(X²) = G″(1) + E(X) = G″(1) + G′(1). That's exactly why the formula has three terms instead of the usual two.

Worked Example

Q: GX(t) = 0.2 + 0.4t + 0.3t⁴ + 0.1t⁵. Find Var(X).

Step 1 — first derivative: G′X(t) = 0.4 + 1.2t³ + 0.5t⁴
Step 2 — second derivative: G″X(t) = 3.6t² + 2t³
Step 3 — substitute t = 1 into both:
G′X(1) = 0.4 + 1.2 + 0.5 = 2.1
G″X(1) = 3.6 + 2 = 5.6
Step 4 — plug into the variance formula:
Var(X) = 5.6 + 2.1 − 2.1² = 5.6 + 2.1 − 4.41
Var(X) = 3.29
❌ Common mistake Students frequently forget the "+ G′X(1)" term and just compute Var(X) = G″(1) − [G′(1)]² — this is wrong! You must add G′(1) back in before subtracting the square. Write the full three-term formula out every single time rather than trying to remember a shortcut.
Practice Question 3

GX(t) = 16(1 + 2t + 3t²). Find E(X) and Var(X).

3. PGFs of Standard Distributions

These four are given to you in the Formulae Booklet, but if a question says "derive" or "from first principles", you must prove them yourself — quoting the result gets you zero marks.

DistributionP(X = x)PGF
Binomial B(n, p)ⁿCx pˣ(1−p)ⁿ⁻ˣ(1 − p + pt)ⁿ
Poisson Po(λ)e⁻λ λˣ/x!eλ(t−1)
Geometric Geo(p) on 1,2,...p(1−p)ˣ⁻¹pt / [1 − (1−p)t]
Negative Binomial on r, r+1,...ˣ⁻¹Cr−1 pʳ(1−p)ˣ⁻ʳ[pt / (1−(1−p)t)]ʳ

1Binomial — derivation logic

The trick every derivation shares: write the PGF as a polynomial using the probability formula, then spot a known series hiding inside it. For Binomial, that known series is the Binomial Expansion itself.

1. Build the table of P(X=x) for x = 0 to n using ⁿCx pˣqn−x
2. Write G(t) = Σ ⁿCx pˣqn−x
3. Group p and t together as (pt)ˣ, leaving: G(t) = Σ ⁿCx (pt)ˣ qn−x
4. Recognise this is exactly the expansion of (q + pt)ⁿ
GX(t) = (q + pt)ⁿ, where q = 1 − p

2Poisson — derivation logic

Here the known series you're hunting for is the Maclaurin expansion of eˣ.

1. G(t) = Σ e⁻λ λˣx! tˣ = e⁻λ Σ (λt)ˣx!
2. Spot that Σ (λt)ˣx! is exactly the Maclaurin series for eλt
3. So G(t) = e⁻λ · eλt = eλt − λ
GX(t) = eλ(t−1)

3Geometric — derivation logic

This one hides an infinite geometric series (S = a/(1−r)).

1. G(t) = pt + pqt² + pq²t³ + ... — first term pt, common ratio qt
2. Apply S = a/(1−r) with a = pt, r = qt
GX(t) = pt / (1 − qt), where q = 1 − p

4Negative Binomial — derivation logic

This proof is normally done in sigma notation, and you'll be given the summation identity Σ (x−1 choose r−1) aˣ⁻ʳ = (1−a)⁻ʳ to use — you don't need to know it from memory.

1. Write tx as tx−rtr to separate out the part that depends on the summation index
2. Factorise out pʳtʳ (it doesn't depend on x)
3. Apply the given identity with a = qt
GX(t) = (pt / (1−qt))ʳ
Worked Example — Using a standard PGF

Q: Write down the PGF for X ~ Geo(p) and use it to prove that Var(X) = (1−p)/p².

Let q = 1 − p. GX(t) = pt / (1 − qt)
Differentiate using the quotient rule:
G′X(t) = [(1−qt)p − pt(−q)] / (1−qt)² = p / (1−qt)² = p(1−qt)⁻²
Differentiate again using the chain rule:
G″X(t) = −2p(1−qt)⁻³(−q) = 2pq / (1−qt)³
Substitute t = 1:
G′X(1) = p/(1−q)² = p/p² = 1/p
G″X(1) = 2pq/(1−q)³ = 2pq/p³ = 2q/p²
Substitute into Var(X) = G″(1) + G′(1) − [G′(1)]²:
Var(X) = 2q/p² + 1/p − 1/p² = (2q + p − 1)/p² = (2(1−p) + p − 1)/p² = (2 − 2p + p − 1)/p²
Var(X) = (1 − p)/p²
Practice Question 4

Use GX(t) = (q + pt)ⁿ to show that E(X) = np for X ~ B(n,p).

4. PGFs of Sums & Transformations

1PGF of X + Y (independent variables)

This is arguably the single most powerful trick in the whole chapter: if X and Y are independent, the PGF of their sum is simply the product of their individual PGFs.

Formula (Formulae Booklet) If Z = X + Y, then GZ(t) = GX(t) × GY(t) Only valid when X and Y are independent. Multiply the whole expressions together like ordinary algebra.

This extends naturally: if Z = X₁ + X₂ + ... + Xₙ where each Xᵢ is an independent copy of the same distribution X (e.g. "playing the same game 5 times"), then:

GZ(t) = [GX(t)]ⁿ
Worked Example — Poisson + Poisson = Poisson

Q: Prove that the sum of two independent Poisson distributions is itself Poisson.

Let X ~ Po(λ), Y ~ Po(μ), independent. GX(t) = eλ(t−1), GY(t) = eμ(t−1)
Z = X + Y has PGF: GZ(t) = eλ(t−1) × eμ(t−1)
Add the powers: GZ(t) = e(λ+μ)(t−1)
This is exactly the PGF of Po(λ + μ). So Z ~ Po(λ + μ).
✅ Why this matters This is a genuinely elegant proof technique — instead of convolving two probability distributions by hand (which is painful), you just multiply two algebraic expressions and pattern-match the result. This is the whole point of PGFs existing.
Practice Question 5

A fair 3-sided spinner labelled 2, 4, 8 is spun. A biased coin labelled 4, 6 is flipped (25% chance of landing on 4). Use PGFs to find P(sum of scores = 8).

2PGF of aX + b (linear transformation)

This one is not in the Formulae Booklet — you need to memorise it. If Y = aX + b is a linear transformation of X:

Formula — must be memorised GY(t) = tb GX(ta) In words: everywhere you see t inside GX, replace it with tᵃ, then multiply the entire resulting expression by tb.

Why does it work? GY(t) = E(tY) = E(taX+b) = E(taXtb) = tbE((ta)X) = tbGX(ta). It's just algebra on the exponent laws.

Worked Example

Q: GX(t) = t / (5 − 4t). Find GY(t) where Y = 2(X + 5).

Step 1 — write Y in the form aX + b:
Y = 2X + 10  →  a = 2, b = 10
Step 2 — apply the rule GY(t) = tbGX(ta):
GY(t) = t¹⁰ GX(t²)
Step 3 — replace every t in GX(t) with t²:
GY(t) = t¹⁰ × t² / (5 − 4t²)
Step 4 — simplify:
GY(t) = t¹² / (5 − 4t²)
💡 Exam Tip Always rewrite Y in the exact form "aX + b" first before applying the rule — if the question gives you something like Y = 2(X + 5), expand it to Y = 2X + 10 so you can clearly identify a and b. Mixing this up is the #1 source of errors on this topic.
Practice Question 6

GX(t) = (0.3 + 0.7t)⁵. Let Y = 3X − 2. Find GY(t).

What to Memorise

Definition
GX(t) = E(tˣ) = Σ tˣ P(X=x)
Check
GX(1) = 1, always
Mean
E(X) = G′X(1)
Variance
Var(X) = G″X(1) + G′X(1) − [G′X(1)]²
Binomial B(n,p)
G(t) = (q + pt)ⁿ, q = 1−p
Poisson Po(λ)
G(t) = eλ(t−1)
Geometric Geo(p)
G(t) = pt / (1 − qt)
Negative Binomial
G(t) = (pt / (1−qt))ʳ
Sum (independent)
GX+Y(t) = GX(t) × GY(t)
Linear transform (NOT in booklet!)
GaX+b(t) = tb GX(ta)

Concepts Checklist

Exam Tips & Common Mistakes

Forgetting the "+ G′(1)" in the variance formula

The single most common error on this whole topic. Write out Var(X) = G″(1) + G′(1) − [G′(1)]² in full every time — don't try to shortcut it from memory.

Not memorising GaX+b(t) = tbGX(ta)

This formula is genuinely not in the Formulae Booklet, unlike almost everything else in this chapter. If you don't know it cold, you cannot answer transformation questions.

Use G(1) = 1 as a free sanity check

Whenever you derive or are given a PGF, quickly substitute t = 1 to confirm you get exactly 1. This catches algebra slips before they cost you marks on the rest of the question.

"Derive" or "from first principles" means prove it, not quote it

If a question uses either of these words, you must show the full derivation (building the table, writing the sum, spotting the hidden series) — simply writing down the known PGF result earns no marks.

G(X+Y) = G(X)·G(Y) only works for independent variables

Never multiply two PGFs together to find the PGF of a sum unless the question confirms (or you can assume) independence — this is a fundamental requirement of the formula.

Negative or coefficients that don't make sense = an algebra error

Since coefficients in a PGF are always probabilities, they can never be negative and can never exceed 1. If your expansion produces one, go back and check your working.

Rewrite Y = a(X + c) style expressions before transforming

Always expand brackets first to get Y into the clean form aX + b so you can clearly read off a and b before applying the transformation rule.

Also in the full note
  • 4. PGFs of Sums & Transformations
  • Exam Tips & Common Mistakes
What's inside
📖 Revision notes ✦ AI flashcards ✓ Instant AI marking

Read the full Probability Generating Functions notes free

That's the preview — create a free account to read the rest, plus flashcards and practice questions with instant AI marking. No credit card.

Unlock the full notes free →