Skip to main content
KetQat

Appearance

Theorem · intermediate

Fano's inequality

If X can be guessed from Y with error probability Pe, then the remaining uncertainty H(X|Y) is at most h2(Pe) + Pe log2(|X| - 1). It converts small error probability into small conditional entropy and is the tool behind converse proofs of coding theorems.

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.

Let XX take values in a finite set X\mathcal{X}, let YY be any random variable, let X^=g(Y)\hat X = g(Y) be an estimate of XX, and let Pe=Pr⁡[X^≠X]P_e = \Pr[\hat X \ne X]. Then

H(X∣Y)  ≤  h2(Pe)+Pelog⁡2(∣X∣−1),H(X \mid Y) \;\le\; h_2(P_e) + P_e \log_2\big(\abs{\mathcal{X}} - 1\big) ,

where h2h_2 is the binary entropy function. A weaker form often suffices: H(X∣Y)≤1+Pelog⁡2∣X∣H(X \mid Y) \le 1 + P_e \log_2\abs{\mathcal{X}}, so that Pe≥(H(X∣Y)−1)/log⁡2∣X∣P_e \ge \big(H(X \mid Y) - 1\big)/\log_2\abs{\mathcal{X}}.

The bound is tight: equality holds when, conditioned on an error, XX is uniform over the ∣X∣−1\abs{\mathcal{X}} - 1 wrong values, independently of YY. In the converse of the noisy-channel coding theorem, XX is a uniformly random message of nRnR bits and YY the channel output; Fano gives nR=H(X)≤I(X;Y)+1+PenR≤nC+1+PenRnR = H(X) \le I(X; Y) + 1 + P_e nR \le nC + 1 + P_e nR, so the error probability cannot vanish when R>CR > C. The inequality is in chapter 2 of Cover and Thomas.

Holds when

  • X takes values in a finite set with at least two elements.
  • The estimate is any function of Y; by data processing, the bound also holds for any estimate X-hat with X -> Y -> X-hat Markov.

Proof

Proof of Fano's inequalityMachine-checked

Let E=1[X^≠X]E = \mathbf{1}[\hat X \ne X], so Pr⁡[E=1]=Pe\Pr[E = 1] = P_e. Expand H(EX∣Y)H(E X \mid Y) with the chain rule for entropy in two ways.

First, H(EX∣Y)=H(X∣Y)+H(E∣XY)=H(X∣Y)H(E X \mid Y) = H(X \mid Y) + H(E \mid X Y) = H(X \mid Y), because EE is a function of XX and X^=g(Y)\hat X = g(Y), so H(E∣XY)=0H(E \mid XY) = 0.

Second, H(EX∣Y)=H(E∣Y)+H(X∣EY)H(E X \mid Y) = H(E \mid Y) + H(X \mid E Y). Conditioning does not increase entropy, so H(E∣Y)≤H(E)=h2(Pe)H(E \mid Y) \le H(E) = h_2(P_e). And

H(X∣EY)=(1−Pe) H(X∣Y,E=0)+Pe H(X∣Y,E=1).H(X \mid E Y) = (1 - P_e)\, H(X \mid Y, E = 0) + P_e\, H(X \mid Y, E = 1) .

Given E=0E = 0 and Y=yY = y, X=g(y)X = g(y) is determined, so the first term is 00. Given E=1E = 1 and Y=yY = y, XX lies in X∖{g(y)}\mathcal{X} \setminus \{g(y)\}, a set of ∣X∣−1\abs{\mathcal{X}} - 1 elements, so its conditional entropy is at most log⁡2(∣X∣−1)\log_2(\abs{\mathcal{X}} - 1), and so is the average over yy. Combining, H(X∣Y)≤h2(Pe)+Pelog⁡2(∣X∣−1)H(X \mid Y) \le h_2(P_e) + P_e \log_2(\abs{\mathcal{X}} - 1). The weaker form uses h2≤1h_2 \le 1 and ∣X∣−1≤∣X∣\abs{\mathcal{X}} - 1 \le \abs{\mathcal{X}}. For a randomised estimate X^\hat X with X→Y→X^X \to Y \to \hat X Markov, apply the result to (X,X^)(X, \hat X) with gg the identity and use H(X∣Y)≤H(X∣X^)H(X \mid Y) \le H(X \mid \hat X), which is the data-processing inequality. This is the proof in chapter 2 of Cover and Thomas.

Builds on
Related

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)

    Inequality and weak form compared with Polyanskiy and Wu, Information Theory: From Coding to Learning (authors' open PDF), Theorem 3.12, eq. (3.18); tightness condition checked numerically (uniform X on 4 values with symmetric errors gives equality); bound checked on 500 random joint distributions with the MAP estimator; channel-coding converse chain re-derived. 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 bbf1de1a3f7c9e1a. Source file knowledge/records/theorem/fano-inequality.md in the content repository (readable there once it is public).