Past exam of the mathematics course of the University of Cambridge 2012 ia Paper 2 4F Solution Created 2026-09-24 Updated 2026-10-07
For a nonnegative integer-valued random variable, the probability generating function iswith always allowed. Its derivative at from below gives the expectation when finite.
The waiting time has the positive-integer geometric distribution . For the capped geometric waiting time, exactly when , while occurs whenever . Thus the terminal mass is , givingThe finite sum is a polynomial; any apparent singularity of the rational expression is removable. This includes , where .
Differentiating the rational form at yieldsAs a second interpretation, the expectation is the sum of the tail probabilities for . Their finite geometric sum gives the same answer.