Further Statistics 1 (Paper 3B or 4B), topic 7 (Probability generating functions), spec point 7.2
The results
E(X)=G′(1)Var(X)=G′′(1)+G′(1)−[G′(1)]2
Why
G′(t)=∑xP(X=x)tx−1, so G′(1)=∑xP(X=x)=E(X).
G′′(t)=∑x(x−1)P(X=x)tx−2, so G′′(1)=E(X(X−1))=E(X2)−E(X).
Then Var(X)=E(X2)−[E(X)]2=G′′(1)+G′(1)−[G′(1)]2.
Worked example 1
G(t)=0.2+0.5t+0.3t2. Then G′(t)=0.5+0.6t and G′′(t)=0.6.
E(X)=1.1Var(X)=0.6+1.1−1.21=0.49
Worked example 2: proving the Poisson results
G(t)=eλ(t−1), so G′(t)=λeλ(t−1) and G′′(t)=λ2eλ(t−1).
E(X)=λVar(X)=λ2+λ−λ2=λ
Worked example 3: proving the geometric mean
G(t)=1−qtpt with q=1−p. By the quotient rule,
G′(t)=(1−qt)2p(1−qt)+pqt=(1−qt)2p⇒G′(1)=p2p=p1
Common mistake: using Var(X)=G′′(1)−[G′(1)]2. You must add G′(1), because G′′(1) is E(X2)−E(X), not E(X2).
Exam tip: for a proof, differentiate in general, simplify, then substitute t=1. Show each step; these are "show that" marks.
Check yourself
G(t)=(0.7+0.3t)10. Find E(X).
G′(1)=10(0.3)=3.
What does G′′(1) equal in terms of expectations?
E(X(X−1)).
G′(1)=2 and G′′(1)=5. Find Var(X).
5+2−4=3.