Asymptotic equipartition property Created 2026-09-24 Updated 2026-10-14
The asymptotic equipartition property explains why a long message from a source can usually be described using its information entropy per symbol. Individual messages can have very different probabilities, but the messages carrying almost all the total probability have similar logarithmic costs per symbol. The Bernoulli typical-set example makes the distinction between an individual message and a large collection explicit.
For independent and identically distributed random variables on a finite alphabet, let be their probability mass function and . ThenHere means the probability mass of the realized word, evaluated under the source law. The product rule for independent random variables turns its information content into a sum:The strong law of large numbers gives the limit. Zero-probability symbols do not occur; on the positive-probability support of a finite alphabet, these information costs are finite. The corresponding typical set consists of words whose cost per symbol is within a chosen tolerance of .
For a strictly stationary process with a finite alphabet, the constant-limit extension requires ergodicity. The Shannon-McMillan-Breiman theorem then replaces the one-symbol information entropy with the information rate. Stationarity without ergodicity in an information source shows why stationarity alone is insufficient.[ref]
6.441 Information Theory (Spring 2016 lecture notes) by Yury Polyanskiy and others. §8, Theorem 8.1 and Corollary 8.2, printed p. 90: stationary ergodic sources and typical sets
The independent and identically distributed hypothesis factors the joint probability mass function:Symbols outside the support of a probability distribution never occur, almost surely. On its finite positive probability support, is bounded, so the strong law of large numbers applies:This is the asymptotic equipartition property with the sign appropriate to a logarithm of a probability mass.
Past exam of the information theory course of the University of Oxford 2023 2 c ii Solution 2026-10-25
For fixed , the asymptotic equipartition property gives . The strong law of large numbers applied to , which are bounded because their numerical alphabet is finite, gives . The union bound therefore yieldsSince , eventually . Each word in has probability mass at most , soRearranging provesfor sufficiently large . The key is that the factor is a fixed number below one, however small is. This is an instance of typical sets with an additional high-probability constraint.
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 .
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 66 4 ii a Solution Created 2026-10-03 Updated 2026-10-06
Let . Since the alphabet is finite, these independent and identically distributed random variables are finite almost surely, have mean , and have finite variance . AlsoThe weak law of large numbers says that this average converges in probability to . ThusOne can also state the quantitative Chebyshev inequality bound . If , every word of positive probability is in the typical set. This is the finite-alphabet asymptotic equipartition property.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 66 4 ii c Solution Created 2026-10-03 Updated 2026-10-06
Fix and . By the asymptotic equipartition property, all sufficiently large satisfy . For any epsilon-sufficient set ,Each word in this intersection has probability at most . Hencewhich gives the minimum size of a sufficient set for an IID source:The Chebyshev inequality used above supplies the sufficient quantitative condition . No assumption that itself is a typical set is needed; its intersection with one provides the bound.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 224 4 b Solution 2026-09-28
LetHere has the binomial distribution with parameters . Part a, now with independent coordinates, givesBy Pinsker's inequality, the probability mass functions therefore converge in total variation, and in particular converges in distribution to .
The joint probability of the observed row depends only on :Taking logarithms in any fixed base and choosing giveswhereThe convergence lemma supplied in the question now yieldsThis sparse triangular array therefore has a random limiting normalized self-information rather than the constant limit in the usual asymptotic equipartition property.
Past exam of the mathematics course of the University of Cambridge 2026 ii Paper 2 3H d Solution Created 2026-09-24 Updated 2026-09-25
The asymptotic equipartition property is in probability. For an i.i.d. source this is the weak law applied to , and independence gives . Thus its information rate and AEP constant are both .
Typical-set cardinality bounds 2026-10-05
For a typical set of probability at least ,The upper bound sums the lower probability bound for each word; the lower bound sums the upper probability bound and uses the set's total probability. These bounds turn the asymptotic equipartition property into exponential estimates of source-coding dimension.
Let be the weak typical set of a finite alphabet independent and identically distributed source with Shannon entropy , and let be any sets with . The asymptotic equipartition property and union bound give . Every word in the intersection has probability mass between and . Summing these bounds givesFor every fixed , the first probability eventually exceeds , proving the title bound. A sample mean within a fixed positive tolerance of the expected value supplies by the strong law of large numbers.