Cambridge International A Levels Further Mathematics (9231)
PGFs and applications to mean, variance & sums of independent variables
0% Complete
Detailed Study Notes
Detailed notes on Probability Generating Functions for Cambridge International A Levels Further Mathematics, covering key concepts, explanations, examples, and exam-focused revision points.
PGFs — Mean, Variance and Sums of Independent Variables (Cambridge International AS & A Level Further Mathematics 9231 Paper 4, 2026-2027 syllabus)
Differentiate a probability generating function and read off the mean from G′(1) and the variance from G′′(1)+G′(1)−[G′(1)]2. Then use the headline result — the PGF of a sum of independent variables is the product of their PGFs — to identify the distribution of a sum.
At a glance
Mean:E(X)=G′(1) — differentiate the PGF once and set t=1.
Variance:Var(X)=G′′(1)+G′(1)−[G′(1)]2.
Derive standard results: the mean and variance of B, Geo and Po all drop out of their PGFs.
Sum rule (independent):GX+Y(t)=GX(t)GY(t) — the PGF of a sum is the PRODUCT of the PGFs.
Identify the sum: if the product PGF matches a standard form, the sum has that distribution (e.g. sum of independent Poissons is Poisson).
What you’ll learn
Mapped to the Cambridge International A Level 9231 syllabus (2026-2027).
4.5d — Use a probability generating function to find the mean G′(1) and variance G′′(1)+G′(1)−[G′(1)]2 of a distribution (syllabus 4.5).
4.5e — Use the result that the PGF of the sum of independent random variables is the product of their PGFs (syllabus 4.5).
4.5f — Identify the distribution of a sum of independent variables from its probability generating function (syllabus 4.5).
The mean: E(X) = G'(1)
Differentiate the PGF once and substitute t = 1.
Where the result comes from. Differentiate GX(t)=∑xP(X=x)tx term by term with respect to t:
GX′(t)=∑xxP(X=x)tx−1.
Now set t=1:
GX′(1)=∑xxP(X=x)=E(X).
That sum is exactly the definition of the expectation. So differentiate once, put t=1, and you have the mean.
The procedure:
Write down (or derive) GX(t).
Differentiate to get GX′(t).
Substitute t=1 to obtain E(X)=GX′(1).
Worked logic for the PoissonGX(t)=eλ(t−1):
GX′(t)=λeλ(t−1)⇒GX′(1)=λe0=λ.
So E(X)=λ — the familiar Poisson mean, recovered from the PGF.
One differentiation, then t = 1, gives the mean.
Cambridge tip. Show the differentiation explicitly — write G′(t)=… before substituting t=1. An unsupported "E(X)=λ" risks losing the method mark.
E(X)=GX′(1): differentiate the PGF once, then set t=1.
Always write G′(t) out before substituting (method mark).
Differentiate twice; G''(1) gives E[X(X−1)], then assemble the variance.
The second derivative gives a factorial moment. Differentiate GX(t) twice:
GX′′(t)=∑xx(x−1)P(X=x)tx−2⇒GX′′(1)=∑xx(x−1)P(X=x)=E[X(X−1)].
So GX′′(1)=E[X(X−1)]=E(X2)−E(X), which rearranges to E(X2)=GX′′(1)+GX′(1).
Assemble the variance using Var(X)=E(X2)−[E(X)]2:
Var(X)=GX′′(1)+GX′(1)−[GX′(1)]2
The procedure:
Differentiate the PGF twice to get GX′′(t).
Compute GX′(1) and GX′′(1).
Substitute into Var(X)=G′′(1)+G′(1)−[G′(1)]2.
Worked logic for the PoissonGX(t)=eλ(t−1):
GX′(t)=λeλ(t−1)⇒GX′(1)=λ.
GX′′(t)=λ2eλ(t−1)⇒GX′′(1)=λ2.
Var(X)=λ2+λ−λ2=λ.
So E(X)=Var(X)=λ, the well-known Poisson property — derived cleanly from the PGF.
The two derivatives at t = 1 combine into the variance. The +G'(1) term is the one candidates most often forget.
Cambridge tip. Do not forget the +G′(1) term. G′′(1) gives E[X(X−1)], not E(X2) — you must add G′(1) back to recover E(X2).
G′′(1)=E[X(X−1)]=E(X2)−E(X).
Var(X)=G′′(1)+G′(1)−[G′(1)]2.
The +G′(1) term is essential — G′′(1) alone is NOT E(X2).
For independent X and Y, the PGF of X + Y is the product of their PGFs.
The headline theorem. If X and Y are independent, the PGF of their sum is the product of their PGFs:
GX+Y(t)=GX(t)GY(t).
Why it works.GX+Y(t)=E(tX+Y)=E(tXtY). Because X and Y are independent, the expectation of the product factorises:
E(tXtY)=E(tX)E(tY)=GX(t)GY(t).
Independence is essential — the factorisation E(tXtY)=E(tX)E(tY) holds only when X and Y are independent.
This extends to any number of variables. For independent X1,X2,…,Xn:
GX1+⋯+Xn(t)=∏i=1nGXi(t).
If they are also identically distributed with common PGF G(t), then Gsum(t)=[G(t)]n.
Power of the method. Adding distributions directly (a convolution) is messy; multiplying their PGFs is easy. Then you identify the resulting distribution by recognising the product as a standard PGF.
Multiplying the two PGFs gives the PGF of the sum — provided X and Y are independent.
Cambridge tip. Always state "X and Y are independent" when you use this result — it is a stated condition of the theorem and examiners look for it.
Independent X,Y: GX+Y(t)=GX(t)GY(t).
Extends to n variables: product of all PGFs; if identical, [G(t)]n.
Independence is required — state it when you use the rule.
Recognise the product PGF as a standard form to name the sum's distribution.
Once you have multiplied the PGFs, compare the product with the standard PGFs to read off the distribution of the sum.
Sum of independent Poissons. Let X∼Po(λ) and Y∼Po(μ) be independent. Then
GX+Y(t)=eλ(t−1)eμ(t−1)=e(λ+μ)(t−1).
This is the PGF of a Poisson with parameter λ+μ. Therefore X+Y∼Po(λ+μ) — Poissons add, and the parameters add.
Sum of independent binomials with the same p. Let X∼B(m,p) and Y∼B(n,p) be independent. Then
GX+Y(t)=(q+pt)m(q+pt)n=(q+pt)m+n.
This is B(m+n,p). So X+Y∼B(m+n,p) — the trials simply combine. (This requires the samep; if p differs the product is not a single binomial PGF.)
The general technique:
Write each PGF in its standard form.
Multiply them and simplify (combine exponents / indices).
Match the result against a standard PGF.
Name the distribution and state its parameter(s).
Recognising the product PGF as a standard form names the distribution of the sum.
Cambridge tip. A binomial sum only collapses to a single binomial when the success probability p is identical. Different values of p leave a product that is not binomial — say so if the question tries to catch you.
Match the product PGF against a standard form to name the sum's distribution.
Identify a sum's distribution by matching its product PGF to a standard form.
Memorise this
Verbatim phrases and definitions Cambridge mark schemes credit.
Mean:E(X)=G′(1).
Variance:Var(X)=G′′(1)+G′(1)−[G′(1)]2.
G′′(1)=E[X(X−1)] (a factorial moment, NOT E(X2)).
Sum rule (independent):GX+Y(t)=GX(t)GY(t).
Identical independent variables:Gsum(t)=[G(t)]n.
How it’s examined
This is the high-value half of Paper 4's PGF question (syllabus 4.5), often 8-12 marks. A typical question gives or asks for a PGF, then requires E(X)=G′(1) and Var(X)=G′′(1)+G′(1)−[G′(1)]2 with full differentiation shown, before adding two independent variables via GX+Y=GXGY and identifying the resulting distribution. The most penalised errors are (i) omitting the +G′(1) term in the variance, (ii) treating G′′(1) as E(X2) directly, and (iii) failing to state the independence condition for the product rule. Show every derivative — unsupported standard results score little, since the skill being tested is the PGF method itself.
Step-by-step worked examples — PGFs and applications to mean, variance & sums of independent variables
Step-by-step solutions to past-paper-style questions on pgfs and applications to mean, variance & sums of independent variables, written exactly the way a tutor would explain them at the board.
This is the well-known geometric mean p1. Note 1−q=p at t=1 — keep q symbolic until the final substitution to keep the algebra clean.
3Variance of a binomial from its PGF
Building confidenceMulti-step problem• variance, binomial, medium
▼
Question
The random variable X∼B(n,p) has PGF GX(t)=(q+pt)n with q=1−p. Show that E(X)=np and Var(X)=npq.
Step-by-step solution
Step 1
First derivative (chain rule). At t=1, q+p=1.
GX′(t)=np(q+pt)n−1⇒GX′(1)=np⋅1n−1=np
Step 2
So the mean isE(X)=GX′(1)=np.
E(X)=np
Step 3
Second derivative. Differentiate GX′(t) again.
GX′′(t)=n(n−1)p2(q+pt)n−2⇒GX′′(1)=n(n−1)p2
Step 4
Assemble the varianceVar(X)=G′′(1)+G′(1)−[G′(1)]2.
Var(X)=n(n−1)p2+np−(np)2
Step 5
Simplify:n2p2−np2+np−n2p2=np−np2=np(1−p)=npq.
Var(X)=np(1−p)=npq
Answer
E(X)=np and Var(X)=npq.
Examiner tip
Keep the +G′(1) term — dropping it gives n(n−1)p2−(np)2=−np2, which is the classic wrong answer. The np from +G′(1) is exactly what rescues the result.
4Sum of two independent Poissons
Building confidenceMulti-step problem• sum, poisson, medium
▼
Question
Independent random variables X∼Po(3) and Y∼Po(5). Use PGFs to find the distribution of X+Y, and state P(X+Y=0) to 3 s.f.
Step-by-step solution
Step 1
Write each PGF in standard form: GX(t)=e3(t−1), GY(t)=e5(t−1).
Step 2
Multiply (valid because X,Y are independent): GX+Y(t)=GX(t)GY(t).
GX+Y(t)=e3(t−1)e5(t−1)=e8(t−1)
Step 3
Recognisee8(t−1) as the PGF of Po(8). So X+Y∼Po(8).
Step 4
Find P(X+Y=0) using the Poisson formula P(0)=e−8.
P(X+Y=0)=e−8=0.000335
Answer
X+Y∼Po(8), and P(X+Y=0)=e−8=0.000335 (3 s.f.).
Examiner tip
State that X and Y are independent when you multiply the PGFs — it is a condition of the theorem. The parameters add: 3+5=8.
Independent variables X∼B(4,0.3) and Y∼B(6,0.3). Find the PGF of X+Y, identify its distribution, and hence state E(X+Y) and Var(X+Y).
Step-by-step solution
Step 1
Write each PGF with p=0.3, q=0.7: GX(t)=(0.7+0.3t)4, GY(t)=(0.7+0.3t)6.
Step 2
Multiply (independent), adding the indices since the base is identical.
GX+Y(t)=(0.7+0.3t)4(0.7+0.3t)6=(0.7+0.3t)10
Step 3
Recognise(q+pt)10 as the binomial PGF with n=10, p=0.3. So X+Y∼B(10,0.3).
Step 4
Use the standard binomial resultsE=np, Var=npq.
E(X+Y)=10(0.3)=3,Var(X+Y)=10(0.3)(0.7)=2.1
Answer
X+Y∼B(10,0.3), with E(X+Y)=3 and Var(X+Y)=2.1.
Examiner tip
The collapse to a single binomial works ONLY because p=0.3 is the same for both. If the success probabilities differed, (q+pt)4(q′+p′t)6 would not be a single binomial PGF.
6Mean and variance from a polynomial PGF
StretchMulti-step problem• mean, variance, hard
▼
Question
A random variable X has PGF GX(t)=61(1+2t+3t2). Find E(X) and Var(X), giving each to 3 s.f.
Step-by-step solution
Step 1
Differentiate once.
GX′(t)=61(2+6t)⇒GX′(1)=61(2+6)=68=34
Step 2
So the mean isE(X)=GX′(1)=34.
E(X)=34=1.33
Step 3
Differentiate again.
GX′′(t)=61(6)=1⇒GX′′(1)=1
Step 4
Assemble the varianceVar(X)=G′′(1)+G′(1)−[G′(1)]2.
Var(X)=1+34−(34)2=37−916=921−16=95
Answer
E(X)=34=1.33 and Var(X)=95=0.556 (3 s.f.).
Examiner tip
Here G′′(t) is a constant. Work the variance as exact fractions before converting — 37−916=95 — to avoid rounding error.
Model Answers — PGFs and applications to mean, variance & sums of independent variables
High-scoring sample answers for pgfs and applications to mean, variance & sums of independent variables on the Cambridge IGCSE paper, with examiner-style notes mapping each response to the mark scheme and assessment objectives.
Question 1
3 marks
The random variable X has a Poisson distribution with mean λ and PGF GX(t)=eλ(t−1). Use the PGF to show that E(X)=λ.
Model answer
Differentiate the PGF (chain rule — the derivative of λ(t−1) is λ):
GX′(t)=λeλ(t−1)
Substitute t=1, where the exponent λ(1−1)=0, so e0=1:
GX′(1)=λe0=λ
ThereforeE(X)=GX′(1)=λ.
Why this scores
M1 for the correct derivative, M1 for substituting t=1, A1 for E(X)=λ with the result quoted as G′(1). The differentiation must be shown — quoting the standard mean earns nothing.
Question 2
3 marks
A random variable X has PGF GX(t)=101(2+3t+4t2+t3). Find E(X).
Model answer
Differentiate term by term:
GX′(t)=101(3+8t+3t2)
Substitute t=1:GX′(1)=101(3+8+3)=1014=1.4
ThereforeE(X)=GX′(1)=1.4.
Why this scores
M1 for differentiating correctly, M1 for t=1, A1 for E(X)=1.4. The derivative of 104t2 is 108t — a slip in the power-rule coefficient is the usual error.
Question 3
5 marks
The random variable X∼Po(λ) has PGF GX(t)=eλ(t−1). Use the PGF to show that Var(X)=λ.
Model answer
First derivative:GX′(t)=λeλ(t−1)⇒GX′(1)=λ
Second derivative (differentiate GX′(t) again):
GX′′(t)=λ2eλ(t−1)⇒GX′′(1)=λ2
Assemble the variance using Var(X)=GX′′(1)+GX′(1)−[GX′(1)]2:
Var(X)=λ2+λ−λ2=λ
So E(X)=Var(X)=λ, confirming the standard Poisson property.
Why this scores
M1 A1 for G′′(1)=λ2, M1 for quoting the variance formula with the +G′(1) term, A1 for λ. Omitting +G′(1) gives λ2−λ2=0 — the single most penalised slip in this topic.
Question 4
5 marks
The independent random variables X and Y have Poisson distributions with means 2 and 4 respectively. Use probability generating functions to find the distribution of X+Y, and hence find P(X+Y=1) to 3 significant figures.
Model answer
Write the PGFs in standard form:
GX(t)=e2(t−1),GY(t)=e4(t−1)
Multiply — valid because X and Y are independent:
GX+Y(t)=GX(t)GY(t)=e2(t−1)e4(t−1)=e6(t−1)
Identifye6(t−1) as the PGF of a Poisson with parameter 6:
X+Y∼Po(6)
M1 for both standard PGFs, M1 for multiplying with independence stated, A1 for Po(6), M1 A1 for 6e−6=0.0149. State independence explicitly — it is the condition for GX+Y=GXGY.
Question 5
7 marks
The random variable X has PGF GX(t)=(0.6+0.4t)8. (a) Name the distribution of X. (b) Use the PGF to find E(X) and Var(X).
Model answer
(a) Comparing (0.6+0.4t)8 with the binomial PGF (q+pt)n gives n=8, p=0.4, q=0.6, so X∼B(8,0.4).
(b)First derivative (chain rule):
GX′(t)=8(0.4)(0.6+0.4t)7=3.2(0.6+0.4t)7
At t=1, 0.6+0.4=1:
E(X)=GX′(1)=3.2(1)7=3.2
Second derivative:GX′′(t)=8⋅7⋅(0.4)2(0.6+0.4t)6=8.96(0.6+0.4t)6GX′′(1)=8.96
(a) B1 for B(8,0.4). (b) M1 A1 for E(X)=3.2, M1 A1 for G′′(1)=8.96, M1 for the variance formula (with +G′(1)), A1 for 1.92. Check: npq=8(0.4)(0.6)=1.92 — agrees.
Question 6
6 marks
Independent random variables X∼B(3,p) and Y∼B(7,p), where 0<p<1 and q=1−p. (a) Find the PGF of X+Y and hence name its distribution. (b) Write down E(X+Y) and Var(X+Y) in terms of p and q.
Model answer
(a) The PGFs are GX(t)=(q+pt)3 and GY(t)=(q+pt)7. Since X and Y are independent:
GX+Y(t)=GX(t)GY(t)=(q+pt)3(q+pt)7=(q+pt)10
This is the PGF of a binomial with n=10 and the same p, so
X+Y∼B(10,p).
(b) Using the standard binomial results E=np and Var=npq with n=10:
E(X+Y)=10p,Var(X+Y)=10pq.
Why this scores
(a) M1 for multiplying the PGFs (independence stated), M1 for combining the indices, A1 for B(10,p). (b) B1 B1 for the mean and variance. The collapse to one binomial requires the SAME p — emphasise this; different p would not give a single binomial PGF.
Key Formulae — PGFs and applications to mean, variance & sums of independent variables
The formulae you need to memorise for pgfs and applications to mean, variance & sums of independent variables on the Cambridge IGCSE paper, with every variable defined in plain English and a note on when to use it.
Mean from the PGF
E(X)=GX′(1)
GX′
first derivative of the PGF
When to use
Differentiate the PGF once and set t=1 to get the mean. Show the derivative explicitly.
Variance from the PGF
Var(X)=GX′′(1)+GX′(1)−[GX′(1)]2
GX′′
second derivative of the PGF
GX′
first derivative of the PGF
When to use
After computing G′(1) and G′′(1). Never omit the +G′(1) term.
Second factorial moment
GX′′(1)=E[X(X−1)]=E(X2)−E(X)
E[X(X−1)]
the second factorial moment
When to use
Bridges G′′(1) to E(X2): rearranges to E(X2)=G′′(1)+G′(1).
PGF of a sum (independent)
GX+Y(t)=GX(t)GY(t)
X,Y
independent random variables
When to use
The PGF of a sum of INDEPENDENT variables is the product of their PGFs. State the independence.
Sum of n identical independent variables
GX1+⋯+Xn(t)=[G(t)]n
G(t)
common PGF of each Xi
n
number of variables summed
When to use
When n independent variables share the same distribution — raise the common PGF to the power n.
Sums of standard distributions
Po(λ)+Po(μ)=Po(λ+μ),B(m,p)+B(n,p)=B(m+n,p)
λ,μ
Poisson means (add)
m,n
binomial trial counts (add, same p)
When to use
Read off the distribution of a sum after multiplying PGFs. Binomial collapse needs identical p.
Key Definitions and Keywords — PGFs and applications to mean, variance & sums of independent variables
Definitions to memorise and the exact keywords mark schemes credit for pgfs and applications to mean, variance & sums of independent variables answers — sharpened from recent examiner reports for the 2026 Cambridge IGCSE sitting.
Mean E(X)=G′(1)
Examiner keyword
Differentiating GX(t)=∑xP(X=x)tx gives GX′(1)=∑xxP(X=x)=E(X). So the first derivative at t=1 is the mean.
Variance G′′(1)+G′(1)−[G′(1)]2
Examiner keyword
The variance of X obtained from the PGF, where G′′(1)=E[X(X−1)] supplies E(X2)=G′′(1)+G′(1) and then Var(X)=E(X2)−[E(X)]2.
Factorial moment E[X(X−1)]
Examiner keyword
The value of the second derivative of the PGF at t=1: GX′′(1)=∑xx(x−1)P(X=x)=E[X(X−1)]. It is NOT E(X2) directly.
Product rule for sums
Examiner keyword
For independent X and Y, GX+Y(t)=GX(t)GY(t), because E(tX+Y)=E(tX)E(tY) factorises under independence.
Independence condition
Examiner keyword
The product rule GX+Y=GXGY holds only when X and Y are independent. The factorisation of the expectation fails otherwise.
Convolution
The direct way to find the distribution of X+Y by summing probabilities over all splits. Multiplying PGFs replaces this messy operation with a simple product.
Common Mistakes and Misconceptions — PGFs and applications to mean, variance & sums of independent variables
The traps other students keep falling into on pgfs and applications to mean, variance & sums of independent variables questions — taken from recent Cambridge IGCSE examiner reports and mark schemes — and how to avoid them.
✕Omitting the +G′(1) term, writing Var(X)=G′′(1)−[G′(1)]2
9231 Paper 4 Examiner Reports — most common error
▼
Why it happens
Treating G′′(1) as E(X2) directly, mirroring the Var=E(X2)−[E(X)]2 shortcut.
How to avoid it
Remember G′′(1)=E[X(X−1)], so E(X2)=G′′(1)+G′(1). The full formula is G′′(1)+G′(1)−[G′(1)]2.
✕Assuming G′′(1)=E(X2)
9231 Paper 4 mark schemes
▼
Why it happens
Expecting the second derivative to give the second moment by analogy with the mean.
How to avoid it
G′′(1) gives the second FACTORIAL moment E[X(X−1)]. Add E(X)=G′(1) to recover E(X2).
✕Using GX+Y=GXGY without stating (or checking) independence
9231 Paper 4 Examiner Reports
▼
Why it happens
The product rule is so convenient that the condition is forgotten.
How to avoid it
State 'X and Y are independent' whenever you multiply PGFs — it is a marked condition of the theorem.
✕Claiming a sum of binomials is binomial when the values of p differ
9231 Paper 4 Examiner Reports
▼
Why it happens
Over-generalising B(m,p)+B(n,p)=B(m+n,p) to unequal p.
How to avoid it
The collapse needs the SAME p so the bases (q+pt) match. With different p, the product is not a single binomial PGF.
✕Quoting a standard mean/variance without differentiating the PGF
9231 Paper 4 mark schemes
▼
Why it happens
The results (e.g. Poisson mean =λ) are well known, so students skip the working.
How to avoid it
The skill examined is the PGF method: show G′(t) and G′′(t) explicitly. An unsupported standard result earns little.
✕Chain-rule errors when differentiating eλ(t−1) or (q+pt)n
9231 Paper 4 Examiner Reports
▼
Why it happens
Forgetting the inner derivative (λ for the exponential, p for the binomial base).
All resources on this platform are independently created by Tutopiya and have no endorsement from the International Baccalaureate Organization.
PGFs and applications to mean, variance & sums of independent variables – Study Notes & Past Paper Style Questions | Cambridge International AS & A Level Further Mathematics 9231 | Tutopiya