The definitions of entropy, relative entropy, and mutual information become useful when they produce limits that hold for every probability model. This note develops the main inequalities. It continues Entropy and Mutual Information.
We use discrete random variables and base-2 logarithms throughout.
Notation convention
Uppercase letters such as , , and denote random variables; lowercase , , and denote realizations; and calligraphic letters such as denote alphabets. Abstract PMFs are written and , following the book. For a binary random variable with success probability , its entropy is .
1. Jensen’s Inequality and Its Consequences
1.1 Convexity and concavity
A function is convex on an interval if, for any in that interval and ,
Geometrically, the graph of a convex function lies below every chord connecting two points on the graph. A function is concave when is convex, so its graph lies above its chords. If throughout an interval, then is convex there; strict positivity gives strict convexity.
Figure 1: For an equally weighted two-point distribution, evaluating at the average input lies no higher than averaging the corresponding function values.
1.2 Jensen’s inequality
If is convex and is a random variable, then
For a concave function, the inequality reverses. If is strictly convex, equality holds only when is constant with probability one.
Jensen’s inequality turns a pointwise shape property into a statement about expectations. This is why convexity appears repeatedly in information theory: entropy and relative entropy are themselves expectations of logarithmic quantities.
A two-point example
Let equal or with probability , and choose the convex function . Then
whereas
Thus .
Proof
Let
be the mean of . The key geometric fact is that a differentiable convex function lies above every tangent line. In particular, the tangent at gives the pointwise bound
for every possible value of .
We can therefore replace by the random variable . The inequality then holds for every value that can take:
Expectation is monotone: if random variables with probability one, then
This follows because , so . Applying this rule to the pointwise tangent inequality gives
The last term vanishes because ; deviations above and below the mean average to zero. Substituting the definition of now gives
which is Jensen’s inequality.
If is not differentiable at , the same argument uses any supporting line at instead of a tangent. For a concave function, apply the result to , which reverses the inequality.
1.3 The information inequality
Relative entropy measures the cost of using the wrong model: it describes data from a distribution using a different model . Because the true probabilities match the data-generating process, replacing them with cannot improve the average description.
Suppose a recommendation model was trained on last year’s behavior, but current users now behave differently. Relative entropy measures the mismatch between current behavior and the outdated model, and the information inequality guarantees that this mismatch cost is never negative.
Applying Jensen’s inequality to the concave function makes this guarantee precise:
with equality if and only if for every . The full support-aware proof appears in the preceding note.
Proof
If for some with , then , so the inequality is immediate. Otherwise, we use
This inequality comes from the fact that the concave function lies below its tangent at . Substitute . Multiplying by the nonnegative number preserves the inequality, and summing preserves it as well:
The last inequality uses . We have shown that ; multiplying by reverses the inequality and gives .
Equality in requires . Thus wherever , and equality of the total masses forces to have no mass elsewhere. Hence equality holds exactly when .
Several fundamental results follow immediately.
1.3.1 Mutual information is nonnegative
Mutual information measures how much knowing one variable reduces uncertainty about another. Conditional mutual information measures the remaining reduction after some context is already known.
In medical prediction, for example, might be a diagnosis and a lab result. The quantity measures how informative the result is, while asks whether it still adds value after the patient’s history is known.
Both quantities are nonnegative because they are relative entropies, or averages of relative entropies:
Equality holds exactly when , meaning and are independent. Similarly,
with equality exactly when and are conditionally independent given .
Proof
Mutual information is the relative entropy between the true joint PMF and the product of its marginals:
so nonnegativity follows directly from . Equality holds exactly when , which is the definition of independence.
For conditional mutual information, fix a value . The divergence
is nonnegative. Conditional mutual information averages these divergences:
Every weight is nonnegative, so the weighted average is nonnegative. It is zero exactly when and are conditionally independent for every with .
1.3.2 The uniform distribution maximizes entropy
For a fixed finite alphabet, uncertainty is largest when every outcome has the same probability. Any bias makes some outcomes easier to anticipate.
A password generator illustrates this idea. It is hardest to predict when it chooses uniformly from all allowed strings; favoring common words or patterns lowers its entropy even though the possible strings are unchanged.
Thus, for any random variable on a finite alphabet ,
with equality if and only if is uniform.
Proof
Let be the uniform PMF. Compare with using relative entropy:
The last line uses . Since relative entropy is nonnegative,
which rearranges to . Equality holds exactly when , or equivalently when .
1.3.3 Conditioning reduces entropy on average
Conditioning means updating uncertainty after observing additional information. Since an observer can ignore information that is not useful, access to it cannot increase uncertainty on average.
For example, a navigation system may be uncertain about travel time . Live traffic data will not explain every delay, but it cannot worsen the system’s best average prediction. This leads to the inequality
Equality holds if and only if and are independent. This is an average statement: a particular observation can increase uncertainty, even though averaging over all cannot.
Proof
Start from the mutual-information identity
We have already proved that . Substituting this bound into the identity gives
Adding to both sides yields . Equality holds exactly when , which is equivalent to independence.
The same idea extends to several variables. Adding their individual entropies treats them as unrelated, whereas dependence creates shared information and lowers their joint uncertainty.
Neighboring image pixels provide a practical example: encoding each pixel separately counts repeated structure, whereas a joint codec can exploit those dependencies. Combining the entropy chain rule with the fact that conditioning reduces entropy gives
with equality exactly when are mutually independent.
Proof
The entropy chain rule decomposes joint uncertainty into successive conditional uncertainties:
Conditioning reduces entropy, so each term satisfies
Adding these term-by-term inequalities gives
Equality requires equality at every step, meaning that each is independent of its predecessors. This is equivalent to mutual independence.
2. The Log-Sum Inequality
The log-sum inequality compares a fine-grained collection of ratios with the single ratio obtained after aggregation. Because combining categories discards detail, it cannot make two collections more distinguishable.
For example, two services may have different failure patterns across error categories, yet a dashboard reporting only total failures can hide that difference. To describe this loss mathematically, take nonnegative numbers and , and define
The log-sum inequality states
Equality holds when the ratios are constant wherever the terms have positive mass. As with relative entropy, a positive paired with makes the left side infinite.
Proof from Jensen's inequality
Assume first that and every relevant . Let
This function is convex for . Define weights and inputs by
The numbers are valid weights because they are nonnegative and
Jensen’s inequality therefore gives
Now simplify each side. On the left,
Inside the function on the right,
Multiplying Jensen’s inequality by the positive number preserves its direction and produces
Zero-valued terms follow by continuity. If while , the left side is infinite and the inequality is automatic.
2.1 Convexity of relative entropy
Joint convexity describes what happens when pairs of distributions are mixed. If the mixture label is hidden, information that could help distinguish the distributions is lost.
For example, a model may behave differently across user groups. If an evaluation pools the groups and hides their identities, distribution shifts can appear smaller than they do within each group. This effect is captured by joint convexity: for ,
Mixing two pairs of distributions cannot create more divergence than the corresponding mixture of their divergences.
Proof
Define the mixture PMFs
For each fixed , apply the log-sum inequality to
Their sums are and , so log-sum gives
Summing this pointwise inequality over turns the left side into and the right side into , proving joint convexity.
2.2 Concavity of entropy
Entropy concavity describes the uncertainty introduced by mixing distributions. When the source label is hidden, the observer must also account for which source produced the sample.
For example, a warehouse may receive predictable product types from each supplier. Once supplier labels are removed and shipments are pooled, the product stream becomes harder to predict. Therefore, the mixture entropy satisfies
Thus, hiding which distribution generated a sample can only increase uncertainty. This also explains the bowed-down shape of the binary entropy curve.
Proof
Introduce a selector . When , draw from ; when , draw it from . If we do not observe , the marginal PMF of is
If is observed, conditional entropy averages the entropy of the selected source:
Conditioning reduces entropy, so . Substituting the two expressions gives
which proves concavity.
2.3 Concavity and convexity of mutual information
Mutual information responds differently depending on whether we change the input distribution or the channel. Mixing input strategies can improve how fully a fixed channel is used, whereas mixing channel behaviors hides which channel acted.
An engineer encounters both cases when designing a communication link: the signal frequencies can be optimized for a fixed channel, while unpredictable operating conditions effectively mix several channels. These cases lead to two opposite curvature properties.
First, for a fixed channel , let
Then mutual information is concave in the input PMF:
For a fixed input PMF , let the channel be the mixture
Mutual information is convex in the channel:
The subscripts indicate which input distribution or channel is used to calculate the mutual information defined in the first note. Concavity in is important when maximizing mutual information over input distributions, while convexity in says that mixing channels cannot exceed the corresponding average mutual information.
Proof
Concavity in the input. For a fixed channel, use
The output PMF
depends linearly on the input PMF. Since entropy is concave in a PMF, is therefore concave in . Meanwhile,
is linear in because the channel—and hence every —is fixed. Subtracting a linear function from a concave function preserves concavity, so is concave in the input PMF.
Convexity in the channel. For a fixed input PMF, write
Mixing two channels mixes their joint PMFs because . It also mixes their output PMFs because . Thus both arguments of the divergence vary linearly with the channel. Applying joint convexity of relative entropy to these two arguments gives convexity of in .
3. The Data-Processing Inequality
The data-processing inequality says that processing a variable cannot create new information about its source. A later representation may reorganize useful information, but it cannot recover distinctions discarded by an earlier stage.
For example, let be a scene, the detailed sensor image captured by a camera, and a compressed thumbnail. The thumbnail can make some image features easier to use, but it cannot restore scene details discarded during image capturing. This flow is represented by the Markov chain
where is conditionally independent of once is known. Equivalently, their joint PMF factors as
Figure 2: Once is known, receives no additional information directly from .
The data-processing inequality says
No deterministic or randomized processing of can increase the information it contains about .
3.1 Proof using the chain rule
We evaluate in two ways using the chain rule for mutual information. The first order reveals and then :
Reversing the order first reveals and then :
Because is a Markov chain, and are conditionally independent once is known. Therefore,
Equating the two chain-rule expansions now gives
Conditional mutual information is nonnegative, so
Rearranging proves . Equality holds precisely when , meaning that preserves all information in relevant to .
The gap is the information about discarded when is replaced by . Equality means that the processing preserves everything in relevant to .
If is a deterministic function, then automatically, giving
This formalizes a useful principle: transforming, compressing, or summarizing data may preserve information, but it cannot manufacture information about the source.
The same chain-rule identities also give a conditional form. If , then
The Markov-chain assumption matters: conditioning on an arbitrary can sometimes increase the measured dependence between and .
4. Sufficient Statistics
4.1 The main idea
A dataset often contains more detail than we need to learn an unknown quantity. A statistic is any summary computed from the data. It is sufficient when the summary retains everything in the original data that is relevant to the unknown quantity.
In plain language:
After seeing a sufficient statistic, looking at the full dataset teaches us nothing more about the quantity we want to estimate.
4.2 Coin-flip example
Suppose a coin has an unknown probability of landing heads. We flip it times and record the entire sequence. For example,
To learn , the order is irrelevant; only the number of heads matters. Define
If a particular sequence contains heads, its probability is
The likelihood depends on the sequence only through . Thus, once we know the head count , the original ordering contains no additional information about . The count is therefore a sufficient statistic.
This is a genuine compression: instead of retaining all outcomes, we retain one number between and .
4.3 Information-theoretic statement
A statistic is sufficient when it preserves all information in the full dataset about an unknown parameter. It may discard other details, but those details must provide no additional evidence about the parameter once the statistic is known.
For example, for repeated Gaussian measurements with known variance, the sample mean is sufficient for the unknown population mean. An analyst can retain that summary without keeping the order of every observation. To state this preservation precisely, we use:
- : the unknown parameter, treated as a random variable so mutual information is defined;
- : the complete dataset;
- : a summary computed from that dataset.
Because the summary is computed from the data, information flows as
The data-processing inequality gives
The summary cannot contain parameter information that was absent from the full dataset. It is sufficient precisely when equality holds:
The left side measures what the summary tells us about the parameter; the right side measures what the full dataset tells us. Equality means the summary preserves all parameter-relevant information.
One may therefore replace by when inferring without losing relevant information. Sufficiency does not require reconstructing the dataset; discarded details need only be irrelevant to .
Equivalent conditional-independence statement
Formally, is sufficient for when
Once is known, the parameter and the remaining details of are conditionally independent. Equivalently, information flows in both directions through the statistic:
This viewpoint connects information theory to maximum likelihood estimation. A minimal sufficient statistic goes one step further: it retains all parameter-relevant information using the coarsest possible sufficient summary.
5. Fano’s Inequality
Imagine that a doctor must identify a disease using only a medical scan. If several diseases produce nearly identical scans, then even the best image-based classifier will sometimes choose the wrong diagnosis. The difficulty is not necessarily a weakness of the classifier: the scan itself may not contain enough information to distinguish the diseases reliably.
Let be the true diagnosis, let be the observed scan, and let the classifier’s estimate be
Here takes values in a finite set of possible diagnoses. The conditional entropy measures how much uncertainty about the diagnosis remains after the scan is observed, while is the probability that the estimate is wrong. Fano’s inequality connects these quantities: if is large, then cannot be very small. It therefore shows that no choice of classifier can overcome a fundamental lack of information in the observation.
The variables form the Markov chain . Define the error indicator and probability of error by
Figure 3: Fano’s inequality connects the remaining uncertainty to the probability that an estimator fails.
Fano’s inequality states
If is restricted to the same alphabet , the first term can be strengthened to
In particular, requires .
5.1 Proof
The error indicator is completely determined once and are known. Therefore,
Use the conditional entropy chain rule in two orders. First,
Reversing the order gives
We bound these two terms separately. Conditioning reduces entropy, so
For the second term, split according to whether an error occurred:
If , then and the first entropy is zero. If and , then can be any of the remaining values. The maximum-entropy bound therefore gives
Combining the two chain-rule expansions and the two bounds yields
Finally, is a processed version of . Data processing gives . Subtracting both mutual informations from reverses this into
Combining the upper and lower bounds on proves Fano’s inequality. If is not restricted to , use the looser bound in the error case.
Since , a weaker but convenient rearrangement is
This form is especially useful for impossibility results: prove that substantial conditional entropy remains, and a nontrivial lower bound on estimation error follows.
For uniform , reliable recovery requires to be close to ; otherwise the hypotheses cannot be distinguished reliably. This is a necessary condition for low error, not a guarantee that a particular estimator achieves it.
A related collision-probability bound
The collision-probability bound relates entropy to the chance that two independent draws produce the same outcome. Concentrated, low-entropy distributions create more collisions because a few outcomes receive most of the probability mass.
For example, if an identifier generator favors some identifiers, those values are selected repeatedly and collisions become common. A more uniform generator spreads requests across the available identifiers. To express this relationship, let and be independent draws from . Their probability of matching is
Rewrite the sum as an expectation with respect to :
The function is convex, so Jensen’s inequality gives
By the definition of entropy, . Therefore,
with equality if and only if is constant on the support of , meaning that is uniform on its support.
More generally, if and are independent, then
Applying Jensen again and using
gives
and exchanging and gives
6. Summary
| Result | Statement | Main message |
|---|---|---|
| Jensen | for convex | Convexity controls expectations |
| Information inequality | Distribution mismatch is nonnegative | |
| Maximum entropy | Uniformity maximizes uncertainty | |
| Conditioning | Information cannot hurt on average | |
| Log-sum | Aggregation reduces distinguishability | |
| Mutual information | Concave in ; convex in | Its curvature depends on what is held fixed |
| Data processing | Processing cannot create information | |
| Sufficiency | A sufficient statistic loses no parameter information | |
| Fano | Uncertainty forces estimation error |
Together, these results connect the geometry of convex functions to limits on compression, inference, statistical summarization, and decoding.
Reference
Thomas M. Cover and Joy A. Thomas. Elements of Information Theory, 2nd ed., Sections 2.6-2.10. Wiley, 2006.