Binary erasure channel Created 2026-09-29 Updated 2026-10-06
A binary erasure channel transmits each input bit correctly with probability and replaces it by an erasure symbol with probability . Its channel capacity is bits per use.
For a finite-alphabet erasure channel with input symbols, . Maximizing Shannon entropy at the uniform input gives channel capacity bits per use, by the Shannon second coding theorem.
Past exam of the mathematics course of the University of Cambridge 2005 ii Paper 4 4J Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2006 ii Paper 4 4G Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2007 ii Paper 2 11G Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2010 ii Paper 1 12H Solution Created 2026-09-24 Updated 2026-09-24
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 2015 iii Paper 66 4 iii Solution Created 2026-10-03 Updated 2026-10-06
Use the Shannon second coding theorem in its channel capacity form . The finite-alphabet erasure channel erases independently of the input. On an unerased output Bob knows exactly; on the erasure output his posterior distribution is still . Its classical conditional entropy is thereforeEquivalently, and , so the binary entropy terms cancel in the mutual information.
For an alphabet of size , Shannon entropy is at most , with equality for the uniform distribution. Maximizing the displayed mutual information proves the capacity of a finite-alphabet erasure channel:This includes , which transmits the whole symbol, and , which transmits no information.
Past exam of the mathematics course of the University of Cambridge 2017 ii Paper 2 11G Solution Created 2026-09-24 Updated 2026-10-05
For a discrete random variable with probabilities , its Shannon entropy in bits is , with . Gibbs inequality states thatwith equality exactly when . If , the left side is infinite. Otherwise apply to for :Equality requires on the support and no remaining mass outside it. In particular, comparison with the uniform probability distribution on two outcomes gives binary Shannon entropy at most .
Write . For , grouping the last two outcomes givesEquality holds if ; if it also holds, and then both are zero. Thus equality holds exactly when .
For the discrete memoryless channel, assume and , and set . Both conditional output probability distributions have Shannon entropy . The third output has probability regardless of the input; the first two have total probability . Their Shannon entropy is maximized by making them equal, which a uniform input achieves. Hence the channel capacity isand thereforeThe usual zero-times-log convention includes , when . If , the rows coincide and every input achieves zero mutual information; otherwise the uniform input is the unique maximizing input.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 3G iii Solution Created 2026-09-24 Updated 2026-10-03
If , complementing every received bit converts the channel into a binary symmetric channel with crossover probability . This deterministic and invertible output relabelling does not change the channel capacity. Since ,Thus the capacity rises again from zero as increases beyond , reaching one at , where every bit is flipped deterministically and can be recovered by complementation.
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 2 3I a Solution Created 2026-09-24 Updated 2026-09-29
For a discrete memoryless channel with input and output , its information capacity iswhere is the mutual information and the maximum is over all input distributions. Capacity is measured in bits when logarithms have base two.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 1 11I a Solution Created 2026-09-24 Updated 2026-09-25
A binary symmetric channel independently flips each input bit with probability , so, with rows indexed by the input and columns by the output, its channel matrix isIf , complementing every received bit converts the channel into one with crossover probability without changing its information-carrying ability. The case has identical rows and capacity zero, so it suffices to study .
The Shannon second coding theorem states that for every rate below the channel capacity there are arbitrarily long codes whose decoding error tends to zero, whereas no sequence of codes with rate above capacity can have vanishing error. It also identifiesFor the present channel,The output entropy is at most one bit, with equality for a uniform input. Hence the binary symmetric channel capacity isbits per channel use.