Binary symmetric channel Created 2026-09-24 Updated 2026-10-14
A binary symmetric channel is a discrete memoryless channel that flips each transmitted bit with fixed crossover probability . For one use, write , where is exclusive or and is a Bernoulli random variable with parameter , independent of the input . Thus preserves the bit and flips it. Different uses have independent noise under this model.
With row labels and column labels , its transition matrix isEach row sums to one, and exchanging both binary labels leaves the rule unchanged, explaining symmetric. For , a prescribed three-bit input produces with probability and with probability . The received does not itself announce the changed position: it could also arise from input with no flips.
The binary symmetric channel capacity quantifies how well a block code can overcome this uncertainty, and input distribution optimization for a binary symmetric channel shows why a fair input attains the best information rate. A completely noisy binary symmetric channel has and carries no input information; a known flip on every use, , is instead reversible.
Capacity after independent output erasure 2026-10-31
Pass the output of a discrete memoryless channel of channel capacity through an independent finite-alphabet erasure channel with erasure probability . Its capacity becomes .
To prove it, let be the original input, the original output, the erasure indicator, and the final output. Since the erasure marker is distinguishable, is determined by . It is independent of , so the chain rule for mutual information gives . Maximization over the same input distributions proves the formula. For the maximizing distributions are exactly the original channel's maximizers. For , every input distribution attains the zero capacity. Input-dependent erasure need not satisfy this scaling identity.
Capacity of a disjoint sum of channels 2026-10-31
Combine finitely many discrete memoryless channels with disjoint input alphabets and disjoint output alphabets into a block-diagonal channel. The block label is determined by both input and output. If it has law , the mutual information is at most , attained by using each block's capacity-achieving conditional input law. Put and . The expression equals , so Gibbs inequality proves the displayed capacity, attained for block probabilities . Even blocks of capacity zero contribute distinguishable block choices; three disjoint zero-capacity blocks give capacity .
Channel capacity Created 2026-09-24 Updated 2026-10-14
Channel capacity is the best reliable information rate available through a specified communication channel. For a discrete memoryless channel with finite input and output alphabets, fixed transition probabilities , and no input-cost constraint, it isin bits per channel use, when the mutual information uses base-two logarithms. The maximization varies the input probability distribution, while keeping the communication channel fixed. A large input alphabet or a large output information entropy alone does not determine how much information gets through: the receiver needs information about the input, rather than merely unpredictable output.
The operational meaning comes from the Shannon second coding theorem. A block code represents one of possible messages by a word of length , giving a rate bits per use. Take the message label from the uniform distribution on a finite set of those choices when measuring average decoding-error probability. For every fixed rate , there are sequences of such block codes whose decoding-error probability tends to zero as grows; a rate above cannot have vanishing decoding-error probability. This is an asymptotic limit, rather than a promise that an arbitrary finite block code at a rate below works well. See MIT 18.310, Shannon's Noisy Coding Theorem, sections 1–2.
For a binary symmetric channel with crossover probability , the binary symmetric channel capacity is approximately bits per use. Thus a binary code rate lies below the limit, while lies above it. At , two transmitted symbols represent one message bit on average; the redundancy helps distinguish messages after noise. This does not split individual physical symbols into fractional pieces.
The result is useful because it separates two tasks. Computing channel capacity establishes the target imposed by the transition probabilities; constructing an effective block code attempts to approach that target with acceptable delay and decoding effort. The surprise is that reliability can improve indefinitely without forcing every positive rate to disappear. In his 1948 paper, Shannon defines noisy channel capacity in section 12 and develops its operational significance in section 13, Theorem 11. His original formulation uses information per unit time; the fixed-duration channel-use convention here expresses the same rate question per symbol. [ref].
Channel coding Created 2026-10-14 Updated 2026-10-24
Channel coding represents messages with codewords chosen to withstand transmission errors. An error-correcting code deliberately supplies redundancy, so a receiver can distinguish nearby corrupted outputs and recover the message. Lossless source coding instead removes predictable redundancy; practical communication can use both operations. The Shannon second coding theorem relates achievable rates on a discrete memoryless channel to its channel capacity.
Communication channel 2026-10-14
A communication channel describes how transmitted inputs become received outputs. In a probabilistic model, conditional probabilities specify which outputs each input can produce. A discrete memoryless channel uses the same finite transition law independently on successive symbols; channel capacity quantifies its optimal reliable transmission rate.
For a fixed finite discrete memoryless channel , the function is concave on the input probability simplex. Indeed, the induced output law is linear in , the output Shannon entropy is concave, and is linear. Their difference is therefore concave. Equivalently, at a mixture , the concavity gap is by Gibbs inequality. Thus every local maximum is a global maximum, and averaging over symmetries of the fixed channel cannot decrease mutual information.
Cyclic ternary channel capacity 2026-10-14
A discrete memoryless channel on the additive group maps to with probability and to with probability . Every input gives the same conditional entropy , whereas the output Shannon entropy is at most . A uniform input produces a uniform output since every column of the transition matrix sums to one. Hence the channel capacity is bits per use. This cyclic-error channel differs from a channel distributing its error probability equally over both other output symbols.
Discrete memoryless channel Created 2026-09-24 Updated 2026-10-14
A discrete memoryless channel models transmission through finite input and output alphabets using fixed conditional probabilities . For each input , these nonnegative numbers sum to one over the output symbols. Discrete refers to the symbols, and memoryless means that the noise of one use does not remember earlier uses.
For a fixed input word sent without feedback, the output law isThis is conditional independence of the outputs given the prescribed input word. It does not require an encoder to choose independent input symbols: the codewords of a block code deliberately impose relationships among them. Those relationships let a decoder distinguish possible messages after noise.
The binary symmetric channel and binary erasure channel make two different memoryless noise models with a binary input. One hides flipped bits; the other marks missing bits. Their different channel capacities show why the whole transition matrix matters, as the flips versus erasures in a binary channel demonstrate.
Equality in capacity data processing Created 2026-10-25 Updated 2026-10-31
For a finite discrete memoryless channel and a deterministic output map , the data processing inequality gives . Equality holds exactly when an original capacity-achieving input law satisfies . Sufficiency follows from the gap identity . For necessity, take an input law maximizing . If this maximum is , both inequalities are equalities at that law. Injectivity of on reachable outputs is a sufficient condition, since then determines ; it is unnecessary if the discarded distinctions convey no further information about at some maximizing input law.
Past exam of the communication Theory course of the University of Oxford 2008 2 c i Solution 2026-10-31
The capacity of a discrete memoryless channel is , in bits per channel use. For the binary symmetric channel with crossover probability , and . A uniform input makes the output uniform, attainingFor the binary erasure channel, let be its erasure indicator. This flag is visible in the output and independent of the input. If there is no erasure, the output reveals the input; otherwise it reveals nothing. Consequentlyagain attained by a uniform input. These formulas include crossover probabilities zero and one, and complete erasure.
Past exam of the communication Theory course of the University of Oxford 2008 3 c Solution 2026-10-31
Let . The Huffman encoder emits an average of binary digits per minute. Shannon's noisy-channel coding theorem states that for a discrete memoryless channel of capacity , every information rate strictly below bits per use is achievable with error probability tending to zero as block length grows; rates above are not achievable for unrestricted messages.
Thus a channel code carrying the Huffman bitstream reliably with buffering and arbitrarily long blocks can be chosen wheneverThe strict inequality supplies positive coding and buffering slack. Huffman's expected-length bound is for a nontrivial finite source. Therefore the simpler bound is sufficient without knowing its exact Huffman lengths.
Distinguish this bitstream construction from the absolute source-channel limit. The noiseless source coding theorem permits long source blocks to be compressed to any rate above bits per source symbol, with arbitrarily small overhead. Together with channel coding, this gives the sharper limiting requirement ; is impossible by the source-channel converse. Further compression can exploit redundancy remaining in a single-symbol Huffman stream, so need not be the universal minimum channel symbol rate. At a positive-entropy source cannot be sent reliably at a finite rate.
Past exam of the communication Theory course of the University of Oxford 2009 3 a Solution 2026-10-31
For finite-valued variables, mutual information isTerms of zero joint probability are zero. A discrete memoryless channel has fixed transition probabilities on finite alphabets, and conditional on an input sequence its outputs are independent with the product law . Its channel capacity isbits per channel use. The maximum is over all input distributions, with the transition law held fixed.
Past exam of the communication Theory course of the University of Oxford 2010 3 a Solution 2026-10-31
For a finite joint distribution, the mutual information isZero-probability terms contribute zero. It measures the reduction in uncertainty about one variable upon observing the other.
A discrete memoryless channel has discrete input/output alphabets and a fixed transition matrix . Over successive uses it obeysThus the output at a use depends on that input and no other channel history. Its channel capacity isin bits per use for base-two logarithms. On finite alphabets the maximum exists by continuity on the probability simplex; for more general discrete alphabets one uses a supremum.
Past exam of the communication Theory course of the University of Oxford 2011 3 a ii Solution 2026-10-31
A discrete memoryless channel has finite input and output alphabets and fixed conditional probabilities , whose rows sum to one. Memorylessness means that for successive uses, conditional on the input sequence, the output probabilities factor as the product of these one-use conditional probabilities.
For a discrete memoryless channel with transition probabilities , the conditional probability of a length- output given a length- input factors asThe same transition probabilities apply at each use. Its channel capacity isThe unit is bits per channel use. For finite alphabets the maximum exists by continuity on the probability simplex; with more general alphabets one uses a supremum when appropriate.
An channel code consists of an encoder and a decoder . It represents each of messages by input symbols and recovers a message from the observed output symbols. Its code rate is bits per use. For each message , its conditional error probability is ; an average error also specifies the message probability distribution, while the maximum error takes the largest conditional error.
There are two possible messages and three channel uses, givingConditional on either transmitted message, a decoding error occurs exactly when at least two of the three bits are flipped. The discrete memoryless channel makes these flips independent, each with probability . Their count therefore has a binomial distribution with parameters . Majority-vote decoding of a repetition code givesInterchanging the two bit values leaves the binary symmetric channel and majority decision unchanged, so as well. Both the maximum conditional error and the average error, for any message prior, are therefore . The probability of correct decoding for each message is . These are finite-block error probabilities; a channel-capacity statement alone would not determine them.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 35 3 Solution Created 2026-10-03 Updated 2026-10-14
The channel capacity is the supremum of reliable communication rates: a rate bits per use is achievable if block encoders and decoders using channel uses can transmit messages with error probability tending to zero and .
A discrete memoryless channel has fixed transition probabilities on finite input and output alphabets, andIts single-letter capacity formula iswith logarithms to base two. The Shannon second coding theorem identifies this maximum with the operational reliable rate.
For the binary erasure channel, use output symbols , where is a recognizable erasure flag. Given input , the output is with probability and with probability . If , the output probabilities are . Thus, writing for binary entropy,and . Its maximum is attained by the uniform input , givingIn particular the noiseless and complete-erasure endpoints have capacities one and zero. The erasure flag reveals which positions were lost; it does not reveal the erased input values.
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 2006 iii Paper 30 3 b Solution Created 2026-10-03 Updated 2026-10-14
The Shannon second coding theorem says that a memoryless channel permits transmission at any fixed code rate with error probability tending to zero as block length tends to infinity. Conversely, a sequence of codes with error probability tending to zero cannot have a limiting rate above . The channel capacity, in bits per use, isFor a finite discrete memoryless channel with transition probabilities , the supremum is a maximum and its mutual information isFor a general memoryless channel, mutual information is the relative entropy of the joint input-output law with respect to the product of its marginal laws; the same supremum is taken over the admissible input laws.
For the binary symmetric channel, write with independent noise having Bernoulli distribution of parameter . Given either input bit, the output conditional entropy is . ThusAn input with uniform distribution makes the output have uniform distribution, attaining . The binary symmetric channel capacity is therefore