Every conditional output distribution is a permutation of . Since Shannon entropy is invariant under a permutation, its value is the same for every input symbol. Thus, for any input distribution,
All Shannon entropies in this solution are in bits. A different fixed logarithm base changes every entropy and capacity by the same constant factor.
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 gives
using 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 hence
Equivalently 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.
The error indicator is a Bernoulli random variable with probabilities and . Its Shannon entropy is therefore the binary entropy
Use , so this expression also covers error probabilities zero and one.
Apply the definitions of conditional entropy and insert :
Inserting instead gives the alternative chain rule for conditional entropy
Both are expansions of the same joint conditional uncertainty, with the variables exposed in opposite orders.
Because is determined by , its conditional entropy satisfies . Equate the two forms of the chain rule for conditional entropy to obtain
Conditioning 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 yields
and consequently
This 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 .

Articles by others on the same topic (0)

There are currently no matching articles.