Skip to main content
KetQat

Appearance

Theorem · introductory

Data-processing inequality (classical)

Processing data cannot create information. If X, Y, Z form a Markov chain then I(X;Z) <= I(X;Y), and applying one stochastic map to two distributions cannot increase their relative entropy.

Established resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

  1. Mutual information. If X→Y→ZX \to Y \to Z is a Markov chain, i.e. p(x,y,z)=p(x) p(y∣x) p(z∣y)p(x, y, z) = p(x)\, p(y \mid x)\, p(z \mid y), then

    I(X;Z)  ≤  I(X;Y),I(X; Z) \;\le\; I(X; Y) ,

    with equality iff I(X;Y∣Z)=0I(X; Y \mid Z) = 0. In particular I(X;g(Y))≤I(X;Y)I(X; g(Y)) \le I(X; Y) for every function gg.

  2. Relative entropy. For every stochastic map (channel) W(y∣x)W(y \mid x) and distributions p,qp, q on its input, with output distributions (pW)(y)=∑xp(x)W(y∣x)(pW)(y) = \sum_x p(x) W(y \mid x) and qWqW defined likewise,

    D(pW∥qW)  ≤  D(p∥q).D(pW \Vert qW) \;\le\; D(p \Vert q) .

Part 1 is in chapter 2 of Cover and Thomas; part 2 follows from the log-sum inequality proved there. The quantum version of part 2, for quantum channels, is the data-processing inequality for relative entropy.

Holds when

  • Finite alphabets.
  • For part 1, X -> Y -> Z is a Markov chain, that is X and Z are conditionally independent given Y.

Proof

Proof of the classical data-processing inequalityMachine-checked

Part 1. By the chain rule for mutual information, in two orders,

I(X;YZ)=I(X;Z)+I(X;Y∣Z)=I(X;Y)+I(X;Z∣Y).I(X; YZ) = I(X; Z) + I(X; Y \mid Z) = I(X; Y) + I(X; Z \mid Y) .

The Markov property says that given Y=yY = y, XX and ZZ are independent, so I(X;Z∣Y=y)=0I(X; Z \mid Y = y) = 0 for each yy and I(X;Z∣Y)=0I(X; Z \mid Y) = 0. Hence I(X;Z)=I(X;Y)−I(X;Y∣Z)≤I(X;Y)I(X; Z) = I(X; Y) - I(X; Y \mid Z) \le I(X; Y), because conditional mutual information is nonnegative (Gibbs' inequality). For Z=g(Y)Z = g(Y) the chain X→Y→g(Y)X \to Y \to g(Y) is Markov.

Log-sum inequality. For nonnegative a1,…,aka_1, \dots, a_k and positive b1,…,bkb_1, \dots, b_k, with a=∑iaia = \sum_i a_i and b=∑ibib = \sum_i b_i, ∑iailog⁡2(ai/bi)≥alog⁡2(a/b)\sum_i a_i \log_2 (a_i / b_i) \ge a \log_2 (a / b). Indeed f(t)=tlog⁡2tf(t) = t \log_2 t is convex on [0,∞)[0, \infty), and Jensen's inequality with weights bi/bb_i / b at the points ti=ai/bit_i = a_i / b_i gives ∑i(bi/b)f(ti)≥f(∑iai/b)=f(a/b)\sum_i (b_i/b) f(t_i) \ge f(\sum_i a_i / b) = f(a/b); multiply by bb. Terms with bi=0b_i = 0 and ai=0a_i = 0 contribute nothing, and if some bi=0<aib_i = 0 < a_i the left side is +∞+\infty.

Part 2. For each output yy apply the log-sum inequality to ax=p(x)W(y∣x)a_x = p(x) W(y \mid x) and bx=q(x)W(y∣x)b_x = q(x) W(y \mid x), whose sums are (pW)(y)(pW)(y) and (qW)(y)(qW)(y):

(pW)(y)log⁡2(pW)(y)(qW)(y)≤∑xp(x)W(y∣x)log⁡2p(x)q(x).(pW)(y) \log_2 \frac{(pW)(y)}{(qW)(y)} \le \sum_x p(x) W(y \mid x) \log_2 \frac{p(x)}{q(x)} .

Summing over yy and using ∑yW(y∣x)=1\sum_y W(y \mid x) = 1 gives D(pW∥qW)≤D(p∥q)D(pW \Vert qW) \le D(p \Vert q). Part 1 is the chain-rule argument of chapter 2 of Cover and Thomas, where the log-sum inequality is also proved.

Builds on

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Thomas M. Cover, Joy A. Thomas (2005). Elements of Information Theory. Wiley (2nd edition). doi:10.1002/047174882X

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Both parts and the equality condition I(X;Y|Z) = 0 re-derived (chain rule under the Markov condition); checked numerically on random Markov chains and random channels; consistent with Polyanskiy and Wu, Information Theory: From Coding to Learning (authors' open PDF) chapters 2-3 (data processing for divergence and mutual information). Cover and Thomas chapter 2 title confirmed via Crossref.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e

Current revision ac6297470b8f2c73. Source file knowledge/records/theorem/classical-data-processing-inequality.md in the content repository (readable there once it is public).