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 2019 ii Paper 3 3G i Solution Created 2026-09-24 Updated 2026-10-03
A reliable transmission rate means that length- codes can carry messages with tending to at least while the probability measure of the decoding-error event tends to zero. By the Shannon second coding theorem, the supremum of reliable rates is the binary symmetric channel capacityFor small positive , the binary entropy function has the asymptotic expansionso starts at one bit per channel use and decreases rapidly from one as errors are introduced.
Past exam of the mathematics course of the University of Cambridge 2021 ii Paper 2 3K Solution Created 2026-09-23 Updated 2026-09-25
For a binary symmetric channel with crossover probability , the capacity iswhere is the binary entropy. Shannon second coding theorem says that for every transmission rate and every , sufficiently long block codes exist with rate at least and decoding-error probability below ; conversely, a sequence of codes whose error tends to zero cannot have limiting rate above .
For the general channel let and be its input and output. Every conditional output distribution is a permutation of , hencefor every input distribution. Since ,The uniform input makes every output probability equal to : the column-permutation assumption and the total sum imply that all column sums are equal to one. It therefore attains , proving
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 2 3K Solution Created 2026-09-23 Updated 2026-09-25
A discrete memoryless channel has finite input alphabet , finite output alphabet , and transition probabilities ; successive outputs are conditionally independent given the corresponding inputs. The Shannon second coding theorem states that rates belowadmit block codes with error probability tending to zero, whereas rates above cannot have vanishing error.
For any joint input law of , conditional independence of the product channel givesChoose and independently with capacity-achieving input laws for their respective channels. Then the inequality becomes equality, so the product-channel capacity is
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.
Past exam of the mathematics course of the University of Cambridge 2024 ii Paper 1 11K c Solution Created 2026-09-24 Updated 2026-09-25
Shannon second coding theorem states that the operational capacity of a discrete memoryless channel equalsevery rate below is achievable with error probability tending to zero, while rates above are not.
Put . If , then , so is recovered exactly and bit. If , the two output supportsare disjoint, so again determines and .
If , one output value is common to both inputs and occurs with probability independently of the input, while either of the other two values reveals the input. The channel is therefore a binary erasure channel with erasure probability , whose capacity is bit. Hence