Skip to main content
KetQat

Appearance

Definition · introductory

Mutual information

The reduction in uncertainty about one random variable from learning another, H(X) - H(X|Y). It is symmetric, nonnegative, zero exactly for independent variables, satisfies a chain rule, and its maximum over inputs is the capacity of a channel.

Established definitionMachine-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.

For random variables XX and YY with joint distribution p(x,y)p(x, y), the mutual information is

I(X;Y)=H(X)−H(X∣Y)=H(X)+H(Y)−H(XY)=∑x,yp(x,y)log⁡2p(x,y)p(x) p(y),I(X; Y) = H(X) - H(X \mid Y) = H(X) + H(Y) - H(XY) = \sum_{x, y} p(x, y) \log_2 \frac{p(x, y)}{p(x)\, p(y)} ,

where HH is the Shannon entropy. Equivalently I(X;Y)=D(pXY∥pX⊗pY)I(X; Y) = D(p_{XY} \Vert p_X \otimes p_Y), the relative entropy between the joint distribution and the product of its marginals. For a third variable ZZ the conditional mutual information is

I(X;Y∣Z)=H(X∣Z)−H(X∣YZ)=∑zp(z) I(X;Y∣Z=z).I(X; Y \mid Z) = H(X \mid Z) - H(X \mid YZ) = \sum_z p(z)\, I(X; Y \mid Z = z) .

Properties (chapter 2 of Cover and Thomas):

  • I(X;Y)=I(Y;X)≥0I(X; Y) = I(Y; X) \ge 0, with equality iff XX and YY are independent; likewise I(X;Y∣Z)≥0I(X; Y \mid Z) \ge 0;
  • I(X;Y)≤min⁡{H(X),H(Y)}I(X; Y) \le \min\{H(X), H(Y)\} and I(X;X)=H(X)I(X; X) = H(X);
  • chain rule I(X;YZ)=I(X;Y)+I(X;Z∣Y)I(X; Y Z) = I(X; Y) + I(X; Z \mid Y);
  • if ff is injective, I(f(X);Y)=I(X;Y)I(f(X); Y) = I(X; Y).

For a channel W(y∣x)W(y \mid x) and input distribution pXp_X, I(X;Y)I(X; Y) is the rate achievable with codewords drawn from pXp_X, and its maximum over pXp_X is the capacity in the noisy-channel coding theorem, as defined by Shannon. The quantum generalisation is the quantum mutual information.

Holds when

  • Random variables with finite alphabets; logarithms base 2.
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. C. E. Shannon (1948). A Mathematical Theory of Communication. Bell System Technical Journal 27 (3), 379-423. doi:10.1002/j.1538-7305.1948.tb01338.x
  2. 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)

    Definition and its equivalent forms, conditional mutual information, nonnegativity, bounds, I(X;X) = H(X), chain rule and invariance under injective maps re-derived and checked numerically on random three-variable distributions; consistent with Polyanskiy and Wu, Information Theory: From Coding to Learning (authors' open PDF) chapter 3. 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 e01797ac2e216abd. Source file knowledge/records/definition/classical-mutual-information.md in the content repository (readable there once it is public).