Past exam of the mathematics course of the University of Cambridge 2001 ia Paper 2 4F Solution Created 2026-09-24 Updated 2026-10-14
Use the equally likely release prior, and write for the probability that the guard names B when A is released. If B is released the guard cannot name B; if C is released the guard must name B. The law of total probability therefore givesA remains jailed and B is named precisely when C is released. Its probability is , so the conditional probability isIn (a) unbiased naming has , giving : the guard's claim is false and A's chances have not improved. In (b) preferentially naming B has , giving : that naming rule makes the claim correct. In (c) preferentially naming C has , giving : naming B then reveals that C is the released person, so A certainly remains.
This is the three prisoners problem. The observed name includes information about how the guard selects a name; it is not merely the event that B remains. With general release priors , the same calculation gives , making explicit where the equal-prior convention enters.