AS & A Level · Practice questions · PGFs: mean, variance and sums

Differentiate, put t = 1, multiply.

Six original Cambridge-style questions on the mean and variance from a PGF and on the PGF of a sum of independent random variables, with full worked solutions.

Original questions All questions on this page are original work, written in the Cambridge AS & A Level style. They are not from past papers. They test the same concepts and skills the syllabus rewards.
The method

Differentiate, then put \(t = 1\).

01
Recall
[3 marks]

The random variable \(X\) has PGF \(G(t) = \dfrac{1}{8}\left(1 + 3t + 4t^{3}\right)\).

Use \(G\) to find \(E(X)\) and \(\operatorname{Var}(X)\).

  • \(G'(t) = \tfrac{1}{8}(3 + 12t^{2})\), so \(E(X) = G'(1) = \tfrac{15}{8}\). ✓
  • \(G''(t) = \tfrac{1}{8}(24t)\), so \(G''(1) = 3\). ✓
  • \[\operatorname{Var}(X) = 3 + \tfrac{15}{8} - \tfrac{225}{64} = \tfrac{192 + 120 - 225}{64} = \tfrac{87}{64}\] ✓
02
Calculation
[5 marks]

The random variable \(X\) has PGF \(G(t) = \dfrac{1}{(2 - t)^{2}}\).

(a) Show that \(G(1) = 1\).

(b) Find \(E(X)\) and \(\operatorname{Var}(X)\).

(c) Find \(P(X = 0)\) and \(P(X = 1)\).

  • (a) \(G(1) = \dfrac{1}{1^{2}} = 1\). ✓
  • (b) \(G'(t) = 2(2 - t)^{-3}\) and \(G''(t) = 6(2 - t)^{-4}\), so \(G'(1) = 2\) and \(G''(1) = 6\). ✓
  • \(E(X) = 2\) and \(\operatorname{Var}(X) = 6 + 2 - 4 = 4\). ✓
  • (c) \(P(X = 0) = G(0) = \tfrac{1}{4}\). ✓
  • \(P(X = 1)\) is the coefficient of \(t\), which is \(G'(0) = 2\times 2^{-3} = \tfrac{1}{4}\). ✓
03
Proof
[5 marks]

The random variable \(X\) is uniformly distributed on \(1, 2, \dots, n\), so \(G(t) = \dfrac{1}{n}\left(t + t^{2} + \dots + t^{n}\right)\).

Using \(\sum_{r=1}^{n} r = \tfrac{1}{2}n(n+1)\) and \(\sum_{r=1}^{n} r(r-1) = \tfrac{1}{3}(n-1)n(n+1)\), show that \(E(X) = \dfrac{n + 1}{2}\) and \(\operatorname{Var}(X) = \dfrac{n^{2} - 1}{12}\).

  • \(G'(1) = \tfrac{1}{n}\sum r = \tfrac{1}{n}\times\tfrac{1}{2}n(n+1) = \tfrac{n+1}{2}\). ✓
  • \(G''(1) = \tfrac{1}{n}\sum r(r-1) = \tfrac{1}{3}(n-1)(n+1)\). ✓
  • \[\begin{aligned} \operatorname{Var}(X) &= \tfrac{(n-1)(n+1)}{3} + \tfrac{n+1}{2} - \tfrac{(n+1)^{2}}{4} \\ &= \tfrac{n+1}{12}\big(4(n-1) + 6 - 3(n+1)\big) \end{aligned}\] ✓
  • \[= \tfrac{n+1}{12}(n - 1) = \tfrac{n^{2} - 1}{12}\] ✓
04
Calculation
[4 marks]

The numbers of calls \(X\) and \(Y\) received by two help desks in a 10-minute period are independent, with \(X \sim \mathrm{Po}(1.2)\) and \(Y \sim \mathrm{Po}(0.8)\).

(a) Use PGFs to show that the total \(T = X + Y\) has a Poisson distribution, stating its mean.

(b) Find \(P(T \le 2)\).

  • (a) \(G_{T}(t) = e^{1.2(t-1)}\,e^{0.8(t-1)} = e^{2(t-1)}\), the PGF of \(\mathrm{Po}(2)\). The mean is 2. ✓
  • \[\text{(b) } P(T \le 2) = e^{-2}\left(1 + 2 + \tfrac{2^{2}}{2}\right) = 5e^{-2}\] ✓
  • \(= 0.677\) (3 s.f.). ✓
05
Analysis
[5 marks]

\(X \sim \mathrm{B}(4, 0.3)\) and \(Y \sim \mathrm{B}(6, 0.3)\) are independent.

(a) Use PGFs to find the distribution of \(X + Y\), and find \(P(X + Y = 2)\).

(b) \(W \sim \mathrm{B}(6, 0.5)\) is independent of \(X\). Explain, by considering PGFs, why \(X + W\) does not have a binomial distribution.

  • (a) \((0.7 + 0.3t)^{4}(0.7 + 0.3t)^{6} = (0.7 + 0.3t)^{10}\), so \(X + Y \sim \mathrm{B}(10, 0.3)\). ✓
  • \[P(X + Y = 2) = \binom{10}{2}(0.3)^{2}(0.7)^{8} = 0.233 \text{ (3 s.f.)}\] ✓
  • (b) The PGF of \(X + W\) is \((0.7 + 0.3t)^{4}(0.5 + 0.5t)^{6}\). ✓
  • A binomial PGF is \((q + pt)^{n}\), a single linear factor raised to a power; here the linear factors are different (roots \(t = -\tfrac{7}{3}\) and \(t = -1\)), so the product cannot be written in that form and \(X + W\) is not binomial. ✓
06
Analysis
[6 marks]

Three friends each toss a fair coin until they get a head. \(X_{1}\), \(X_{2}\), \(X_{3}\) are the numbers of tosses they need, independent and each \(\mathrm{Geo}(\tfrac{1}{2})\). \(T = X_{1} + X_{2} + X_{3}\).

(a) Show that the PGF of \(T\) is \(G_{T}(t) = \dfrac{t^{3}}{(2 - t)^{3}}\).

(b) Use \(G_{T}\) to find \(E(T)\) and \(\operatorname{Var}(T)\).

(c) By expanding \(G_{T}(t)\), find \(P(T = 5)\).

  • (a) Each \(X_{i}\) has PGF \(\dfrac{\frac{1}{2}t}{1 - \frac{1}{2}t} = \dfrac{t}{2 - t}\); by independence \(G_{T}(t) = \left(\dfrac{t}{2 - t}\right)^{3}\). ✓
  • \[\text{(b) } G_{T}'(t) = 3t^{2}(2 - t)^{-3} + 3t^{3}(2 - t)^{-4} \;\Rightarrow\; G_{T}'(1) = 6\] ✓
  • \[\begin{aligned} G_{T}''(t) &= 6t(2-t)^{-3} + 18t^{2}(2-t)^{-4} \\ &\quad + 12t^{3}(2-t)^{-5} \end{aligned}\] ✓
  • \(G_{T}''(1) = 6 + 18 + 12 = 36\), so \(E(T) = 6\) and \(\operatorname{Var}(T) = 36 + 6 - 36 = 6\) (check: \(3\times\tfrac{q}{p^{2}} = 3\times 2 = 6\)). ✓
  • \[\text{(c) } G_{T}(t) = \frac{t^{3}}{8}\left(1 - \tfrac{t}{2}\right)^{-3} = \frac{t^{3}}{8}\left(1 + \tfrac{3}{2}t + \tfrac{6}{4}t^{2} + \dots\right)\] ✓
  • The coefficient of \(t^{5}\) is \(\tfrac{1}{8}\times\tfrac{6}{4} = \tfrac{3}{16}\), so \(P(T = 5) = \tfrac{3}{16}\). ✓

Mark this once you have attempted all six and checked your working. It records a Practiced badge on the topic and adds a one-time bonus. Revealing the solutions alone does not count.