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.
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.
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 therefore
Equivalently, 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.
For a discrete random variable with probabilities , its Shannon entropy in bits is , with . Gibbs inequality states that
with 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 gives
Equality 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 is
and therefore
The 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.
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.
For a discrete memoryless channel with input and output , its information capacity is
where is the mutual information and the maximum is over all input distributions. Capacity is measured in bits when logarithms have base two.
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 is
If , 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 identifies
For the present channel,
The output entropy is at most one bit, with equality for a uniform input. Hence the binary symmetric channel capacity is
bits per channel use.