AS & A Level · Practice questions · Probability generating functions

Read the coefficients.

Six original Cambridge-style questions on probability generating functions: constructing a PGF, unknown constants, deriving a standard PGF, recognising a distribution and the PGF of a linear function of \(X\).

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

Store, check, read back.

01
Recall
[2 marks]

The random variable \(X\) has \(P(X = 1) = 0.25\), \(P(X = 2) = 0.45\) and \(P(X = 4) = 0.3\).

(a) Write down the probability generating function of \(X\).

(b) Show that \(G(1) = 1\) and state the value of \(G(0)\).

  • (a) \(G(t) = 0.25t + 0.45t^{2} + 0.3t^{4}\). ✓
  • (b) \(G(1) = 0.25 + 0.45 + 0.3 = 1\). ✓
  • \(G(0) = 0\), because \(P(X = 0) = 0\). ✓
02
Calculation
[3 marks]

The PGF of \(X\) is \(G(t) = k\,t(1 + t)^{3}\). Find the value of \(k\) and \(P(X = 3)\).

  • \(G(1) = 1\): \(k \times 1 \times 2^{3} = 1\), so \(k = \dfrac{1}{8}\). ✓
  • \(G(t) = \dfrac{1}{8}(t + 3t^{2} + 3t^{3} + t^{4})\). ✓
  • \(P(X = 3)\) is the coefficient of \(t^{3}\): \(\dfrac{3}{8}\). ✓
03
Proof
[4 marks]

The random variable \(X\) has the discrete uniform distribution on \(1, 2, \ldots, n\).

(a) Show that the PGF of \(X\) is \(\dfrac{t(1 - t^{n})}{n(1 - t)}\) for \(t \ne 1\).

(b) Write down the PGF of the score on a fair six-sided die, and use it to verify that \(P(\text{score} = 4) = \frac{1}{6}\).

  • (a) \(G(t) = \displaystyle\sum_{x = 1}^{n}\frac{1}{n}t^{x} = \frac{1}{n}(t + t^{2} + \cdots + t^{n})\). ✓
  • This is a geometric series with first term \(t\), common ratio \(t\) and \(n\) terms, so for \(t \ne 1\) its sum is \(\dfrac{t(1 - t^{n})}{1 - t}\), giving \(G(t) = \dfrac{t(1 - t^{n})}{n(1 - t)}\). ✓
  • (b) With \(n = 6\): \(G(t) = \dfrac{t(1 - t^{6})}{6(1 - t)}\). ✓
  • Since \(\dfrac{1 - t^{6}}{1 - t} = 1 + t + t^{2} + t^{3} + t^{4} + t^{5}\), \(G(t) = \frac{1}{6}(t + t^{2} + \cdots + t^{6})\), and the coefficient of \(t^{4}\) is \(\frac{1}{6}\). ✓
04
Analysis
[4 marks]

The random variable \(Y\) has PGF \(G_Y(t) = e^{0.5(t^{2} - 1)}\).

(a) Show that \(Y = 2X\), where \(X \sim \mathrm{Po}(0.5)\).

(b) Find \(P(Y = 4)\).

(c) Explain why \(P(Y = 3) = 0\).

  • (a) For \(X \sim \mathrm{Po}(0.5)\), \(G_X(t) = e^{0.5(t - 1)}\), and \(Y = 2X + 0\) has PGF \(t^{0}G_X(t^{2}) = e^{0.5(t^{2} - 1)}\), which matches. A PGF fixes the distribution, so \(Y\) has the distribution of \(2X\). ✓
  • (b) \(G_Y(t) = e^{-0.5}e^{0.5t^{2}} = e^{-0.5}\left(1 + 0.5t^{2} + \dfrac{(0.5t^{2})^{2}}{2!} + \cdots\right)\). ✓
  • The \(t^{4}\) coefficient is \(e^{-0.5} \times \dfrac{0.25}{2} = 0.125e^{-0.5} = 0.0758\) (3 s.f.), which is \(P(X = 2)\). ✓
  • (c) \(G_Y(t)\) contains only even powers of \(t\), so the coefficient of \(t^{3}\) is 0: \(Y = 2X\) is always even. ✓
05
Calculation
[4 marks]

The PGF of \(X\) is \(G(t) = \dfrac{t}{5 - 4t}\).

(a) Show that \(X\) has a geometric distribution and state its parameter.

(b) Find \(P(X = 3)\) and \(P(X > 3)\).

  • (a) Divide top and bottom by 5: \(G(t) = \dfrac{0.2t}{1 - 0.8t}\), which is \(\dfrac{pt}{1 - qt}\) with \(p = 0.2\), \(q = 0.8\). So \(X \sim \mathrm{Geo}(0.2)\). ✓
  • (b) \(G(t) = 0.2t(1 + 0.8t + 0.64t^{2} + \cdots)\), so \(P(X = 3) = 0.2 \times 0.64 = 0.128\). ✓
  • \(P(X > 3)\) means the first three trials all fail: \(q^{3} = 0.8^{3} = 0.512\). ✓
  • Check: \(P(X \le 3) = 0.2 + 0.16 + 0.128 = 0.488 = 1 - 0.512\). ✓
06
Analysis
[5 marks]

The PGF of \(X\) is \(G(t) = (a + bt)^{4}\), where \(a\) and \(b\) are positive constants, and \(P(X = 4) = \frac{1}{81}\).

(a) Find \(a\) and \(b\), and name the distribution of \(X\).

(b) Find \(P(X = 1)\).

(c) Write down the PGF of \(Y = X + 2\) and state \(P(Y = 3)\).

  • (a) \(P(X = 4)\) is the coefficient of \(t^{4}\): \(b^{4} = \frac{1}{81}\), so \(b = \frac{1}{3}\) (positive). ✓
  • \(G(1) = 1\): \((a + b)^{4} = 1\), so \(a + b = 1\) and \(a = \frac{2}{3}\). \(X \sim \mathrm{B}\left(4, \frac{1}{3}\right)\). ✓
  • (b) \(P(X = 1) = \binom{4}{1}\left(\frac{2}{3}\right)^{3}\left(\frac{1}{3}\right) = \dfrac{32}{81}\). ✓
  • (c) \(G_Y(t) = t^{2}\left(\frac{2}{3} + \frac{1}{3}t\right)^{4}\). ✓
  • \(Y = 3\) exactly when \(X = 1\), so \(P(Y = 3) = \dfrac{32}{81}\). ✓

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.