Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 31 2 Solution Created 2026-10-03 Updated 2026-10-14
Use base-two logarithms and put , with . Zero-probability letters can be omitted. The random variables are self-information values, are IID, and have finite mean because the alphabet is finite. Independence givesFor an arbitrary , define the typical setThe weak law of large numbers implies . Every string in this set satisfiesThis is the asymptotic equipartition property for the given finite IID source, here obtained directly from the weak law of large numbers.
For the upper bound, summing the lower bound on typical-string probabilities yields . For sufficiently large , its probability is at least , so it is an admissible set in the definition of . HenceFor the lower bound, let be any admissible set and write . ThenEach member of this intersection has probability at most . Therefore, for all sufficiently large ,This applies in particular to a minimum-size admissible set, giving a liminf at least . Letting proves both existence and the value of the minimal high-probability source-set exponent:For a deterministic source, and , consistent with the formula.
For coding, label the strings in an admissible set with distinct binary indices of length . A decoder reconstructs those strings exactly and may fail outside the set. Thus asymptotically bits per source symbol describe any fixed fraction of the probability mass. More strongly, every rate permits block codes with error tending to zero: choose , encode the typical strings individually and reserve one index for all other strings. The required number of indices is at most for large .
Conversely, a block encoder with at most outputs can reconstruct at most that many distinct input strings correctly. If , choose . Its success probability is at mostThis gives the strong converse for fixed-rate source coding. It is the operational significance of the information entropy limit for reliable source encoding at a rate. The allowance of a small reconstruction error matters: a fixed-length code that must encode every possible string without error generally needs the larger rate .