Completely noisy binary symmetric channel Created 2026-09-24 Updated 2026-09-24
At crossover probability , the two rows of the transition matrix of a binary symmetric channel coincide. Its output is then independent of its input and its capacity is zero.
The ideal observer performs maximum a posteriori decoding: for received word , it maximizes , equivalently . Maximum-likelihood decoding maximizes the latter conditional likelihood alone. Minimum-distance decoding minimizes the Hamming distance . Ties may be resolved arbitrarily among maximizers.
For independent errors in a binary symmetric channel,
For , its ratio on increasing the distance by one is . Thus maximum-likelihood decoding and minimum-distance decoding select exactly the same codewords. At the allowed endpoint , they agree on a possible observation ; impossible observations have zero likelihood for every codeword, so an arbitrary maximum-likelihood tie rule need not agree with minimum distance. This qualification is needed for the literal assumption .
For the specified observation, the Hamming distances from 000 and 111 are two and one. Their likelihoods are and , respectively. After multiplying by the priors, their joint probabilities are and , so their posterior probabilities are and . Therefore
The binary symmetric channel with crossover probability has channel matrix
Maximum-likelihood decoding chooses a codeword maximizing , while minimum-distance decoding chooses one minimizing the Hamming distance . For a block of length sent through a binary symmetric channel,
When , the final factor decreases strictly with the distance. Thus maximum-likelihood and minimum-distance decoding agree.
For the length-three repetition code , majority decoding is wrong exactly when at least two bits flip. Therefore
For a chosen coordinate and symbol , the shortened code retains the words having that symbol in the chosen coordinate and then deletes that coordinate. For the last coordinate,
At least one of the two coordinate fibres contains at least words. Choose that fibre and, if necessary, discard surplus words. Because all retained words agree in the deleted coordinate, their mutual distances do not change. Hence one can always obtain
Without discarding words, its size is that of the chosen fibre and its minimum distance is at least .
For the final calculation, the given code is the whole space , so its parity extension is the length-four even-weight binary code. In a binary symmetric channel, parity fails to notice a nonzero error exactly when an even number of bits flips. The possible error weights are therefore two and four. Their total probability is
This excludes the weight-zero event, since it is not an undetected error.
For a binary symmetric channel with crossover probability , the capacity is
where 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 , hence
for 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
In the displayed four-output channel each row is a permutation of
With base-two logarithms,
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.
For a received word , the ideal-observer rule chooses a message maximizing the posterior probability
Maximum-likelihood decoding chooses maximizing
and minimum-distance decoding chooses a codeword minimizing its Hamming distance from .
Bayes' formula gives
Equal message priors therefore make ideal-observer and maximum-likelihood decoding identical. On a binary symmetric channel, if , then
For , this strictly decreases with , so maximum likelihood and minimum distance agree.
The received word has Hamming distances from and from , so
After multiplying by the priors, the unnormalized posterior probabilities are and . Thus the ideal observer decodes as , while maximum-likelihood and minimum-distance decoding both choose .
The ideal observer minimizes average error but needs priors and channel statistics. Maximum likelihood needs the channel law but not priors, and can be suboptimal for unequal codeword probabilities. Minimum distance is simple and agrees with maximum likelihood for a binary symmetric channel with crossover probability below , but ignores unequal priors and general channel asymmetry.
Z-channel Created 2026-09-29 Updated 2026-10-03
A Z-channel transmits one binary input without error while the other can change into the first. Unlike a binary symmetric channel, its errors are one-sided.