For finite , independence and conditional subadditivity of information entropy give
The partial sums increase because mutual information is nonnegative. Taking proves .
Let denote whether or was sent, and write
where are independent Bernoulli variables of parameter . Because is uniform, is uniform, while . Thus the mutual information in the first received digit is
By the chain rule for mutual information, the extra information in the second digit is . Conditional on , the second channel error is independent of the first output, so
Moreover,
Given either value of , the second output therefore differs from it with probability , and
Consequently the incremental information in a twofold binary repetition code is
bits.
Write and . By the definition of mutual information,
so the required right-hand side is .
Apply entropy submodularity to the pairs and then cyclically permute the variables:
Adding gives , which is exactly
Suppose is a Markov chain, so . The chain rule for mutual information gives
and also
because conditional mutual information is nonnegative. Therefore . Similarly,
while , so . These are the two data processing inequalities. In particular, applying any deterministic function or Markov kernel to either argument cannot increase mutual information.