Bernoulli typical-set example 2026-10-14
Take an IID random variable source of bits with . Its binary entropy isA word of length containing ones has probability . Its information content per symbol isThus weakly typical sequences for this biased source have near . With tolerance bits per symbol, the exact condition isFor , this includes exactly . There are words with each count: a type class with that many possible orderings. Summing the counts and their probability masses givesThese are fewer than one percent of the possible words, yet they carry nearly 64 percent of the probability. The most likely individual word is all zeros, with probability ; it is outside this typical set. No contradiction is involved: the type classes near ten ones each contain many more individual words.
The most likely individual word differs from the counts carrying most probability
. The left plot gives the information content of one word with each number of ones. The right includes the binomial coefficient counting every such word, giving the exact binomial distribution of the count. Both use , ; the green band marks the typical set with tolerance bits per symbol. Details. Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 66 4 ii Solution 2026-10-06
Use the weak notion of a typical set. For a word write . The definition isA weakly typical sequence therefore has probability between and . Words containing zero-probability symbols are excluded. These two bounds and the weak law of large numbers provide the three conclusions below.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 323 2 i a Solution Created 2026-10-03 Updated 2026-10-05
Use base-two logarithms. The weakly typical sequence definition isEquivalently, . By the weak law of large numbers applied to the independent and identically distributed random variables , the probability of this typical set tends to one.
This captures the usual probability scale of a long sample, but it need not make every symbol frequency representative. For a fair binary source, every word has probability and , so even the all-zero word is weakly typical. The strongly typical sequence definition additionally controls empirical symbol frequencies and excludes this word for small tolerance. Thus weak typicality agrees with the high-probability-set intuition, while allowing individually unrepresentative members.
Quantum typical subspace Created 2026-10-05 Updated 2026-10-14
For a density operator , the quantum typical subspace is spanned by product eigenvectors of whose eigenvalues satisfyIt applies the classical weakly typical sequence definition to the spectrum. If is its orthogonal projection, thenThe first statement follows from the typical-set cardinality bounds, and the second from the weak law of large numbers. This subspace holds nearly all the source probability while using exponentially fewer dimensions than the whole space when .
Strongly typical sequence 2026-10-05
For a finite-alphabet IID random variable source, a strongly typical word has empirical symbol frequencies within the chosen tolerance of every , and contains no zero-probability symbols. Unlike a weakly typical sequence, this definition controls the individual symbol counts. Both definitions give sets whose probability tends to one for fixed positive tolerance.
Typical-set indexing example 2026-10-14
The typical sequence theorem turns a probability concentration into a coding construction. Assign one binary number index to each weakly typical sequence, plus a reserved index for every word outside the set. The decoder recovers every typical word exactly; the reserved index has one predetermined output. The block code usesbits and has reconstruction-error probability at most .
For this example and , needs 34 bits but permits error up to about . At , 570 bits suffice and the error bound is about . These are existence calculations for an explicitly enumerated collection, rather than claims about an efficient practical encoder. The reduction comes from protecting the whole high-probability collection, rather than just its single most likely member.
