Fano's inequality via an error indicator Created 2026-10-06 Updated 2026-10-14
Under the hypotheses of Fano's inequality, let , , and let be the indicator random variable of an error. Its probability of being one is . The in the displayed bound denotes binary entropy in bits. Since is a deterministic function of , . Applying the chain rule for conditional entropy in both orders gives the exact decompositionThe first term is bounded by , because conditioning reduces entropy. For the second term, fix a report : if , then is known; if , then lies among at most other symbols. Maximum entropy on a finite alphabet bounds the latter uncertainty by . Averaging over the reports and the error flag givesThis proves Fano's inequality. Events of zero probability contribute zero to this average, so the proof also covers without assigning a conditional distribution to an impossible event.[ref]
https://web.stanford.edu/class/ee376a/files/lecture_notes.pdf. Weissman, Ochoa and Tatwawadi, EE376A course notes, Section 5.7, proof of Theorem 46
The four-symbol entropy budget peaks at chance-level error and separates the error flag from the three alternatives
. Details. The decomposition also explains equality. The first bound is exact when the indicator random variable and are independent random variables: knowing the report does not change the error probability. The second is exact when, for every report with positive error probability, the wrong-symbol conditional distribution is uniform on all alternatives. Both conditions hold in the four-symbol toy channel of Fano's inequality. At , the second condition is vacuous; at , the flag is constant but three alternatives remain, giving . For , there is just one alternative after an error, so the second term vanishes: all remaining uncertainty is whether the single alternative must replace the guess.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 37 4 a Solution Created 2026-10-03 Updated 2026-10-14
A discrete memoryless channel is specified by discrete input and output alphabets and a transition probability , with and . Its successive outputs are conditionally independent given the inputs, with the same transition rule at every use:Operationally, its channel capacity is the supremum of communication rates in bits per use attainable by increasingly long block codes with decoding error probability tending to zero. For finite alphabets, the equivalent Shannon characterization iswhere is Shannon entropy, is classical conditional entropy, and the maximization is over the input probability distribution.
For the channel in question, the transition matrix, with input symbols indexing rows, isEvery row has the same Shannon entropy, namely the binary entropy . Consequently for every input probability distribution. Since the output has three symbols, the maximum entropy on a finite alphabet givesChoose a uniform input. Each column of sums to one, so for every output symbol and the upper bound is attained. FinallyThus the cyclic ternary channel capacity isachieved by a uniform input probability distribution. This is a weakly symmetric channel capacity calculation: the matrix rows are permutations and the column sums agree. The channel is not the usual ternary symmetric-error channel, since an error has only one possible changed output for each input.
Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 15 3 ii Solution Created 2026-10-03 Updated 2026-10-14
Choose an independent set uniformly and let indicate whether it contains vertex . Then . Put and . Form a multiset containing every nonempty and copies of singleton . Each coordinate occurs exactly times: in later-neighbor sets and in singleton copies.
For a set in this multiset, weight it by . These weights form a fractional cover, since each of the occurrences of has weight at least . Apply the upper Madiman-Tetali inequality. Since every precedes , one has ; enlarging that set's weight to and removing conditioning only enlarges its nonnegative contribution. For singleton terms retain the useful conditioning on . ThusFor , let . Every nonzero neighbor assignment forces , while the all-zero assignment allows at most two values. The maximum entropy on a finite alphabet givesThe last inequality is the binary entropy maximization formula, or the log-sum inequality, with group sizes and . If the whole term is zero, also agreeing with the formula. Exponentiating proves the degree-ordered independent-set entropy bound
Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 15 4 iii Solution Created 2026-10-03 Updated 2026-10-14
Use the same random variables for the edge cover of . For a fixed color vector, any two compatible candidate vertices cannot be adjacent: an edge in a covering graph would force different colors at that coordinate. Thus the compatible candidates form an independent set and there are at most of them. By the maximum entropy on a finite alphabet, .
Consequently the mutual information is at least , while the marginal and conditional-entropy bounds from part (i) make it at most . The entropy weight of a graph cover bound follows:
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 60 2 i b Solution Created 2026-10-03 Updated 2026-10-06
The Shannon second coding theorem states that the operational channel capacity of a finite discrete memoryless channel is : rates below this maximum admit block codes with error tending to zero, and rates above it cannot have vanishing error. For this channel the preceding calculation givesusing maximum entropy on a finite alphabet. The transition matrix is a doubly stochastic matrix. Therefore the uniform input has uniform output: . It achieves the entropy upper bound, and henceEquivalently this is the weakly symmetric channel capacity theorem: permutations of a common row and equal column sums make the uniform input optimal. If is uniform, the output contains no information about the input and the formula gives zero.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 60 2 ii c Solution Created 2026-10-03 Updated 2026-10-06
Because is determined by , its conditional entropy satisfies . Equate the two forms of the chain rule for conditional entropy to obtainConditioning cannot increase classical Shannon entropy: by nonnegativity of mutual information. Thus . When , the value of is exactly and . When and , the value is excluded, leaving at most possibilities. By maximum entropy on a finite alphabet,Averaging the two conditional cases now yieldsand consequentlyThis is Fano's inequality via an error indicator. Events of zero probability contribute zero to the average and need no conditional distribution. For , the inference is automatically correct and the entropy is zero; the displayed logarithmic form is intended for . Optimality of the guess is not needed for the inequality: it holds for every deterministic .
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 13 2 iii Solution Created 2026-10-03 Updated 2026-10-06
The empty family satisfies the bound, so assume is nonempty and choose a graph according to the uniform distribution on a finite set . Let be its random vector of edge indicators, indexed by . Then its information entropy is .
For each vertex , put , so records the graph neighbourhood of . The possible graph neighbourhoods form an intersecting family of subsets of : the graph intersection of any two members of has no isolated vertex at . A subset and its complement cannot both occur. Pairing the subsets into complementary pairs gives at most possible graph neighbourhoods. The maximum entropy on a finite alphabet therefore givesThis argument applies for . For the assumed nonempty family cannot exist, since its only possible graph has an isolated vertex.
Each edge belongs to exactly two of the sets . To obtain the needed instance of Shearer inequality directly from the preceding compression argument, repeatedly apply a union-intersection compression to incomparable members of the multiset . Each such step strictly increases , byThe potential is bounded and integer-valued, so the process terminates in a chain under inclusion. Coordinate multiplicities stay equal to two, so, for , the terminal chain consists of two copies of and empty sets. The compression of an entropy sum now givesExponentiating proves the entropy bound for graphs with isolated-vertex-free intersections:
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 323 2 iii Solution Created 2026-10-03 Updated 2026-10-05
Let indicate whether the outcome differs from . Then . The chain rule for information entropy givessince is determined when . The remaining conditional distribution has at most outcomes, so the maximum entropy on a finite alphabet is . Therefore the Shannon source coding theorem limit obeysHere is the binary entropy function; equality holds when the rare outcomes are equiprobable. A convenient explicit small- bound isbecause . For a fixed alphabet, this upper bound tends to zero as .
For a uniform distribution on a finite set of outcomes, direct expansion of relative entropy giveswhere is information entropy in nats. Therefore minimizing relative entropy from this particular reference is equivalent to maximizing information entropy subject to the same constraint. This statement depends on the uniform reference; an arbitrary reference contributes its own weights.
In the three-outcome example, nats. The mean fixes one aggregate quantity, and information projection chooses how to distribute the remaining uncertainty. This extends maximum entropy on a finite alphabet, whose unconstrained maximizer is the uniform law itself.
Weakly symmetric channel capacity Created 2026-09-24 Updated 2026-10-25
For a discrete memoryless channel with output symbols, suppose every row of the transition matrix is a permutation of every other row and all column sums agree. Such a communication channel hasThe row Shannon entropy is the same for every input, so has that fixed value for every input probability distribution. The remaining term is at most by maximum entropy on a finite alphabet.
A uniform input attains the bound. If there are input symbols, the total of all transition probabilities in the matrix is ; equal column sums must therefore each be . Multiplication by the uniform input mass gives output mass in each column. Hence , which proves the displayed formula. The cyclic ternary channel capacity, binary symmetric channel capacity, and ternary symmetric channel capacity are concrete applications of this symmetry calculation.
