Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2011/ia/paper-2/10f/b/solution
Past exam of the mathematics course of the University of Cambridge 2011 ia Paper 2 10F b Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-14
Each waiting time has the geometric distribution on with success probability : a wait of length consists of failures followed by the prescribed success, so its probability is . HenceDisjoint successive blocks of independent tosses give independent waiting times. More explicitly, any specified list of block lengths determines exactly one allowed sequence of heads and tails and has probability , the product of the individual block probabilities.
There are waiting times. Multiplication of their probability generating functions and addition of their expectations giveTo recover its probability mass function, expand by the negative binomial series:The coefficient of is thereforeand it is zero below . Equivalently there are compositions of into positive block lengths, each with probability . This is the negative binomial distribution for a sum of geometric waiting times, even though the desired outcome alternates between blocks.
New to topics? Read the docs here!