Information Theory Inequalities
Jensen's Inequality, Log Sum Inequality, Data Processing Inequality and Sufficient Statistics, and Fano's Inequality
Jensen’s inequality
Motivation: Whenever we have a random variable , we often need to look at a function of that variable, . If the function is perfectly linear (like ), the average of the function’s outputs exactly equals the function evaluated at the average input: . However, in nearly all branches of engineering and mathematics, systems are non-linear. In information theory, our entire framework is built on the highly non-linear logarithm function (). Because a curve bends, the “average of the curve at points” is not equal to the “curve of the average of those points.” We need a law that tells us exactly how a function’s geometric curvature biases its expected value. This is Jensen’s Inequality. By bounding how expected values behave inside non-linear functions, Jensen’s Inequality allows us to prove some limits of our communication systems.
Convex and concave functions
To be able to reason about functions on random variables in non-linear systems, we need to define the curvature of the functions more rigorously so we can analyze it.
DefinitionConvexity and concavity (geometric)
A function is convex over an interval if you pick any two points on its curve and draw a straight line (a chord) between them, and that chord always lies strictly above or on the curve. A function is concave if the chord always lies strictly below or on the curve. (Note: is concave if is convex).
DefinitionConvexity (algebraic)
Algebraically, drawing a chord means taking a weighted average of two inputs and , using a weight where .
A function is convex if the function evaluated at the average of the inputs is less than or equal to the average of the function’s outputs:
DefinitionStrict convexity
A function is strictly convex if equality holds only when , , or . (The chord never touches the curve except at the endpoints).
TheoremThe second derivative test
If a function has a second derivative that is non-negative () over an interval, the function is convex. If it is strictly positive (), it is strictly convex.
ProofUsing Taylor series
Expand around a point :
Since , the last term is always non-negative. Therefore, the curve always sits above its tangent line: . If we let and plug in and respectively, multiplying the resulting inequalities by and and adding them together algebraically yields the exact definition of convexity.
∎
Applications to information theory: , and (for ) have positive second derivatives, making them strictly convex. has a second derivative of . Since probability , this is strictly negative. Therefore, is strictly concave and is strictly convex. The use case is usually to move both the summation and the probability inside the log in all the information theoretic terms.
We know a chord between two points on a convex curve sits above the curve. Jensen’s Inequality generalizes this algebraic definition from two points to an entire random variable.
TheoremJensen’s inequality
If is a convex function and is a random variable, then:
(If is strictly convex, equality implies with probability 1, meaning is a deterministic constant with no randomness).
ProofBy induction on discrete distributions
Base case (2 mass points): Let take values with probabilities . By the literal definition of convexity (replacing with ):
This is exactly .
Inductive step: Assume the theorem holds for mass points. We prove it for points. Isolate the -th term, and re-weight the remaining probabilities by defining :
Apply the inductive hypothesis to the inner summation (since it has terms), pulling outside:
We now have exactly two weighted terms: and . Apply the base-case convexity definition one final time to pull outside everything:
∎
Consequences of Jensen’s inequality
By passing our information measures through Jensen’s Inequality, we establish the fundamental physical bounds of communication theory.
TheoremInformation inequality (Gibbs’ inequality)
Let and be two probability mass functions.
(Equality holds if and only if for all ).
Intuition
You can never build an encoding mechanism for a general language and have it be more efficient than a language-specific encoding mechanism by chance.
ProofLet be the support set where
Because is strictly concave, . We apply this by bringing the logarithm outside the summation:
Because probabilities must sum to 1 (or less, if is a subset), .
Therefore, , meaning .
∎
CorollaryNon-negativity of mutual information
Intuition
You can never have the wire noise be something where the receiver has less information about the sender’s message than random noise.
Proof
Since , and all relative entropies are , mutual information is . (Equality holds iff and are independent).
∎
TheoremMaximum entropy bound
(Entropy is maximized when every symbol is equally likely, i.e., a uniform distribution).
Proof
Let be the uniform distribution Calculate .
Since , we have .
∎
TheoremConditioning reduces entropy (information can’t hurt)
Intuition
Knowing a second variable can only decrease, never increase, your overall uncertainty about .
Proof
We know . We also know . Therefore, .
∎
WarningImportant caveat
This is true on average. A specific, highly unusual observation (e.g., ) might temporarily increase your uncertainty about (). However, when weighted across all possible observations of , the expected uncertainty mathematically must drop or remain equal.
Medical diagnosis example:
-
Let be a patient’s true state. A disease is very rare so prior probability is and .
-
Because you are almost certain the patient is healthy, baseline uncertainty is tiny.
-
You run a lab test .
-
The test is imperfect. If it comes back Positive (), the posterior probability updates to an ambiguous coin-flip: and .
-
For the specific observation (): A positive result massively increases your confusion from to . A calm default of most people being healthy is now a state of total doubt about people after getting a positive on the test.
-
On average across all test outcomes (): Most people test negative (), which drives , collapsing . When weighted together: The overwhelming certainty gained on negative tests balances out the rare spike in doubt, ensuring that conditioning reduces entropy on average.
TheoremIndependence bound on entropy
This means that the total uncertainty of a system is less than or equal to the sum of its individual parts. Equality holds only if all variables are completely independent.
ProofApply the Chain Rule for Entropy
. By theorem above, conditioning reduces entropy, so for every term. Substituting this bound into the summation proves the theorem.
∎
[!APPLICATION] Bounding the Entropy of Unseen Tails via Jensen’s Inequality A common challenge in data systems, from high-speed network telemetry to Natural Language Processing (NLP), is that distributions have massive or infinite supports, but hardware and memory constraints prevent tracking every rare tail event.
Jensen’s inequality gives a guaranteed ceiling on the uncertainty hiding inside an unprofiled tail without needing to store or identify the rare items.
The Setup: Heavy Hitters and the Tail
Suppose a system samples from a discrete distribution. We can afford fast memory to track exact counts for the top dominant outcomes (“heavy hitters”), leaving an unprofiled tail:
- Tracked mass:
- Tail mass:
- Tail cardinality: At most distinct possible items in the tail.
Total entropy splits into the tracked portion and the unobserved tail:
The Derivation via Jensen’s Inequality
Define the normalized conditional probability distribution over the tail items as , such that . The tail’s entropy is:
Because is strictly concave, Jensen’s inequality states that :
Substitute into the inner sum:
Multiplying through by gives the fundamental tail bound:
(Equality holds if and only if the tail is perfectly uniform, where every tail item has probability .)
This gives an exact bounding bracket on the true source entropy:
Where This Is Used
- Streaming Network Telemetry (DDoS Detection):
- The problem: High-speed routers monitor traffic entropy to detect DDoS attacks. Normal traffic is dispersed (high entropy), while flood attacks surge toward a single target (entropy drops sharply). However, on 100 Gbps fiber links, a switch cannot maintain per-flow hash tables for IPv4 addresses in fast SRAM.
- The streaming solution: Routers deploy the Misra-Gries heavy-hitter algorithm (keeping only board slots). If an IP arrives and is on the board, its count increments; if a slot is open, it takes it; if the board is full, every count decrements by 1. For packets, mass-subtractions occur at most times since we effectively discard k+1 previous observations on every board miss. Any flow exceeding of total traffic is mathematically guaranteed to stay on the board.
- Bounding the tail: Packets decremented or unrecorded form the tail. The switch knows the exact residual packet fraction and upper bounds by the total number of unrecorded packets. Using Jensen’s bound , the router establishes certified anomaly thresholds without ever allocating RAM for millions of fleeting tail connections.
- Natural Language Processing & Language Model Vocabulary Truncation:
- The problem: Real-world language vocabularies follow heavy-tailed Zipfian distributions. Language models and compression tools truncate vocabularies to the top frequent words (e.g., ), mapping every other rare word, typo, or foreign token into a single catch-all
<UNK>(unknown) token.- Bounding perplexity: Evaluating a model’s true cross-entropy or perplexity over an open vocabulary requires accounting for the unseen tail lumped inside
<UNK>. By tracking the total empirical probability mass assigned to<UNK>() and estimating the remaining vocabulary size , Jensen’s inequality guarantees the maximum possible surprise hiding inside that unresolved<UNK>bucket, establishing formal bounds on out-of-vocabulary perplexity.
The log sum inequality
We have used Jensen’s Inequality to prove the limits of a static communication system (e.g., the penalty of a wrong codebook is always ). But real telegraph networks are dynamic.
Suppose your telegraph operator operates smoothly in the morning (with source probability ) and gets highly erratic at night due to drinking (with source probability ). If an engineer is lazy and tries to build a single “daily average” model by mathematically blending the morning and night probabilities together, do they gain or lose precision?
To prove how uncertainty and penalties behave when we mix distributions, we need a tool that handles the sum of blended ratios. This is the Log Sum Inequality. It is the formal proof that blending distinct signals always destroys information.
TheoremThe log sum inequality
For any two sets of non-negative numbers, and :
Conventionally, , , and based on continuity.
IntuitionWhy this solves the blending problem
The expression measures the coding penalty when reality () diverges from the assumed probability () used to design your codebook. When a symbol occurs more often than expected, the ratio makes the log term positive, driving up the wasted transmission overhead (because if it occurs more times, it has a higher prior probability and fewer bits could have been used to encode it).
Suppose a telegraph station operates across two shifts with different lengths (represented by weights and , where ):
- Morning (): The true probability of a specific symbol is , but your codebook assumed .
- Night (): The true probability of that symbol shifts to , but your codebook assumed .
To map this to the Log Sum Inequality, we scale the probabilities by their shift weights: let and .
If you evaluate the cost of this mismatched codebook during each shift individually, you get the left side of the inequality. The weights inside the fraction cancel out (), leaving the pure weighted average of the isolated penalties:
But suppose a lazy engineer only looks at the blended daily averages to check whether their codebook is good or not: the true blended probability versus the blended assumed probability . The mismatch calculated on this blended average is the right side:
The Log Sum Inequality guarantees:
Why the blended formula hides the physical truth: The core problem lies in when the math allows opposite errors to interact.
The penalty behaves like the function . (We look at because relative entropy can be algebraically rewritten as . If we let the ratio , the penalty for any symbol is driven entirely by the strictly convex shape of .)
In the isolated sum, you calculate the penalty as it happens. If the drunk night operator violently overuses a symbol (), the ratio is huge. Because curves upward sharply, this triggers a big bit penalty. A quiet morning where the symbol was underused () cannot travel forward in time to undo those wasted bits. The physical penalty has already been paid.
But in the blended formula, you add the probabilities before calculating the penalty. The overused night symbols get dumped into the same mathematical bucket as the underused morning symbols. Inside the blended fraction , the morning deficit algebraically cancels out the night excess.
This creates a mathematical illusion. By blending first, the ratio artificially looks close to (a perfect match). The Log Sum Inequality says that addition before division hides variance. An engineer looking at the blended daily model will see a low theoretical penalty because the math allowed the morning and night errors to erase each other, rendering the engineer blind to the physical penalties the network actually paid during the night shift.
ProofVia Jensen’s inequality
To prove this, we first need to build a strictly convex function.
Let .
First derivative: (if base ; or ).
Second derivative: (times a positive constant depending on the log base).
Since our inputs will be strictly positive, . Because the second derivative is strictly positive, the function is strictly convex.
Now, we set up Jensen’s Inequality: .
To use Jensen’s, we need our weights to act like a valid probability distribution (they must sum to 1).
Let and .
We construct our valid probability weights using the terms: .
We will feed the function the ratio of our terms: .
Evaluate the left side of Jensen’s (the expected value of the function).
The in the numerator and denominator cancel out, leaving:
Evaluate the right side of Jensen’s (the function of the expected value). First, find the expected value inside the function:
Now apply the function to that result:
Bring them together. Because is convex, Left Side Right Side.
Multiply both sides by , and you get the Log Sum Inequality:
∎
Consequences: applying it to telecom
The Log Sum Inequality looks like a pretty random inequality, but substituting and for and instantly proves two physical properties of communication networks.
Convexity of relative entropy
CorollaryConvexity of relative entropy
If you mix two different communication environments together, the penalty of the blended system is less than or equal to the average penalty of the individual systems.
Proof
We want to evaluate the blended Relative Entropy for a specific symbol . We map our variables to the Log Sum Inequality:
Let and . (These sum to the blended reality).
Let and . (These sum to the blended assumption).
Applying the Log Sum Inequality to these two terms:
Substituting our probabilities back in:
Notice the weights and cancel out inside the isolated logarithms on the left.
Summing this inequality over all symbols yields:
∎
Intuition
Relative entropy () measures distinguishability, how easily you can tell reality () apart from your baseline assumption (), so the higher the relative entropy, the louder the mismatch or anomaly screams.
This corollary basically says if we want to detect network issues, optimize codebooks, or spot fraud, should we evaluate our systems in isolated, context-specific chunks, or can we just aggregate everything into a single daily report?
- The Right Side (Isolated): Because you look at the data in its specific context, every sharp deviation and localized anomaly is fully captured and heavily penalized.
- The Left Side (Blended): You dump all the data into a single bucket and compare it against a single blended baseline.
The inequality proves that .
The Practical Consequence: Averaging destroys resolution. When you mix different environments together, opposite extremes (like a morning shift that overuses ‘A’ and a night shift that underuses it) algebraically cancel each other out inside the blended bucket. The aggregate data will artificially look smooth and highly aligned with the generic baseline.
This gives us a rule for data analysis and network diagnostics: Never aggregate data across different contexts if you are trying to measure anomalies or optimize performance. The moment you pool data from different times, locations, or conditions, the convexity of relative entropy guarantees that the distinct “fingerprints” of those errors will mask each other, strictly reducing your ability to see the physical problems in the network.
Concavity of entropy
Claim: Blending predictable systems creates an unpredictable system. “Averaging destroys certainty.”
CorollaryConcavity of entropy
Proof
We can prove this instantly using the convexity of Relative Entropy we just derived. Entropy is simply the maximum possible entropy () minus the relative entropy distance to the uniform distribution :
We substitute this definition into the convexity inequality, setting both and to the uniform distribution :
Replace the terms with their entropy equivalents:
The terms cleanly cancel out from both sides:
Multiply by and flip the inequality:
∎
Intuition
Imagine Operator 1 has a broken telegraph that only types ‘A’ ( bits). Operator 2 has a broken telegraph that only types ‘B’ ( bits). The average uncertainty of these two isolated systems is exactly 0. But suppose you walk into the telegraph office and you don’t know which operator is sitting at the desk today (a 50/50 blend, ). The blended probability of getting an ‘A’ is now 50%, and ‘B’ is 50%. The entropy of this blended system instantly jumps to 1 bit. The math formally proves that when you blur distinct statistical signals together, you permanently destroy structure and inject uncertainty into the universe.
Data processing inequality
Suppose our sender transmits a message across a noisy copper wire, and the receiver gets a corrupted signal . The receiver decides to plug their machine into a secondary computer to “clean up” the signal, running it through a complex algorithm or a statistical filter to produce a final output .
In engineering, we model multi-stage pipelines, like running raw data through a software filter, or relaying a signal from a Mars rover () to an orbiter () to an Earth station (), using Markov chains.
Why do we need them? Without the Markov property, analyzing a set of outcomes in different parts of a multi-stage system requires using the chain rule of probability, where would have to condition every new event on the entire history of all events of the pipeline:
If this pipeline had ten steps, the final probability would be conditioned on all nine previous variables, which becomes computationally heavy.
The Markov property lets us decouple complex systems into isolated, local hops. Instead of analyzing the whole network at once, we only need to understand the transition from one node to the very next.
By modeling our system as a step-by-step Markov chain, we can answer whether downstream processing can recover the original message? Can the final filtered output have more mutual information with the sender than the raw, corrupted signal originally did?
To prove why processing can never increase information, we first define our sequential pipeline.
Markov chains ()
DefinitionMarkov chain
A sequence of three random variables forms a Markov chain (denoted ) if the distribution of depends only on its immediate predecessor , making it conditionally independent of .
Mathematically, conditioning on separates and into completely independent events:
IntuitionThe physical pipeline
The downstream algorithm is only fed the received file . It has no secret, secondary wire connected directly to the sender . Therefore, every single bit of information knows about must have physically passed through the intermediate bottleneck of first.
Because of this conditional independence, the joint probability of the entire three-part system factors cleanly into a chain of local, step-by-step probabilities:
FormulaThe Markov property
Which implies the local probability of only requires looking one step back:
Because knowing provides absolutely zero new statistical information about the behavior of once the intermediate bottleneck is known, their conditional mutual information is zero: .
TheoremThe data processing inequality
If X→Y→Z forms a Markov chain, then the information that Z shares with X can never exceed the information that Y shares with X.
IntuitionPhysical meaning
No algorithm, function, or secondary physical process applied to a received signal can ever increase the amount of information it contains about the original source. Processing can only preserve information or destroy it.
ProofThrough the chain rule for mutual information
We want to calculate the total mutual information between the original sender and the entire receiver system . We can expand this joint mutual information in two different directions.
Expansion 1 (start with ). Using the chain rule, the information shares with the whole system is the information it shares with , plus the new information it shares with (given that we already know ):
Expansion 2 (start with ). Alternatively, we can expand it backwards. The information shares with the whole system is the information it shares with , plus the new information it shares with (given that we already know ):
Equating and simplifying. Because both expansions equal the exact same total , we set them equal to each other:
Now, we apply our physical constraint. Because X → Y → Z is a Markov chain, we established that . (Once you have the raw signal Y, the processed signal Z tells you absolutely nothing new about X). Substitute 0 into the left side of the equation:
Finally, we proved via Jensen’s Inequality that all mutual information quantities are non-negative. Therefore, . If is equal to plus some positive number, then must be greater than or equal to .
∎
Consequences and corollaries
CorollaryDeterministic processing
What if the downstream processing isn’t a random variable, but a strict deterministic function (like a software algorithm)? Let . Because is strictly calculated from , it perfectly forms the Markov chain . Therefore:
This proves that you cannot gain information by applying a function to your data. If you take a noisy audio file and run it through a complex equalizer function, the resulting file might sound better to a human, but mathematically, it contains less (or equal) information about the original studio recording than the raw file did.
When does equality hold?
The only way for to be true is if the leftover term is exactly . This means must also form a Markov chain. In engineering terms, this means the processing step perfectly preserved every single detail of that was relevant to . (In statistics, a function that achieves this equality is called a Sufficient Statistic).
Sufficient statistics
In our communication systems, we don’t always know the exact physical reality of the wire. Often, there is a hidden parameter governing the system (e.g., the exact probability that a static burst flips a bit). We cannot observe directly, we can only observe a raw sequence of received data .
To save bandwidth and storage, an engineer might want to compress that massive raw dataset into a small, calculated summary value, , such as the sample mean or the total number of errors.
Because the parameter generates the data, and the data generates the summary, this forms a strict Markov chain:
By the Data Processing Inequality, we know that processing the raw data into a summary must destroy (or at best, preserve) information about the hidden parameter:
We need to know: is it mathematically possible to compress the raw data into a smaller footprint such that we hit exact equality, losing absolutely zero information about the hidden parameter ?
DefinitionSufficient statistic
A statistic is sufficient for if it contains all the information in about . Mathematically, this means it achieves perfect equality in the Data Processing Inequality:
By the equality condition of the Data Processing Inequality, for the information to remain perfectly intact, the Markov chain must be reversible. The sequence must also form a valid Markov chain. This gives us the formal definition: is a sufficient statistic if the raw data is conditionally independent of the parameter , given .
IntuitionThe “Downstream” Trade-off
A sufficient statistic preserves 100% of the information about the macro state of the system (). It intentionally destroys the micro history of the events (the exact sequence ).
If you ask a downstream system, “What is the error rate of the wire?” (), the aggregate provides a mathematically perfect answer. But if you ask, “Did a bit flip at exactly 12:01 PM?”, is useless. It cannot reconstruct the raw timeline but it proves the timestamped history was purely irrelevant combinatorial noise with respect to calculating .
Examples of sufficient statistics
-
The coin toss (discrete binary channel). Suppose a noisy wire flips bits with an unknown probability . We send a sequence of zeroes, and receive a raw sequence of bits . Instead of storing the exact sequence of bits (e.g., 0, 1, 1, 0, 1), the engineer simply stores the total number of flipped bits: . Is a sufficient statistic? Yes. If you know exactly 3 bits flipped out of 5, every single permutation that contains three 1s (like 1,1,1,0,0 or 0,1,0,1,1) is equally likely. Knowing the actual physical parameter does not give you any extra predictive power to guess which specific arrangement happened. The sum captured 100% of the useful information about .
-
The normal distribution (continuous). If is a sequence of normally distributed voltage readings with an unknown mean and a known variance of 1, the sample mean is a sufficient statistic.
NoteSufficiency does not mean is perfectly accurate. If your
sample size is small, your sample mean will be a poor estimate of the true . But the raw data was also a poor estimate. Sufficiency simply means extracts 100% of the clues that actually existed in the raw data.
Once you know the sample mean, the exact scatter of the individual voltage spikes around that mean is driven entirely by the known variance (the system’s baseline noise). The specific pattern of the scatter contains absolutely zero additional mathematical evidence about the true location of .
- The uniform distribution (continuous). If noise is distributed uniformly between an unknown floor and a ceiling , the sample mean is actually not sufficient. If you only know the mean, could still shift up or down depending on the extreme outliers. A sufficient statistic here is the pair of the absolute highest and lowest spikes: , because they rigidly lock the possible bounds of .
Minimal sufficient statistics
While a sufficient statistic guarantees no information about is lost, it does not guarantee maximum compression.
For example, if we are tracking the probability of bit flips (), storing the pair of values (sum of the first half of the sequence, sum of the second half of the sequence) is technically a sufficient statistic . It preserves all information about . But it is redundant. It stores two numbers when one would do the job.
DefinitionMinimal sufficient statistic
A statistic is a minimal sufficient statistic if it maximally compresses the information about . Mathematically, is minimal if it can be computed as a direct function of every other possible sufficient statistic .
In our pipeline, this means sits at the absolute end of the compression bottleneck:
Proving Minimality
To prove a sufficient statistic is minimal, you must show that any further attempt to compress it will strictly break the equality .
Let’s look at why our previous examples are minimal:
-
The bit flip sum (): We saw that was sufficient. We can compute our single sum directly from by adding the two values together. However, we cannot go backwards. Knowing does not let us compute (was it 2+1, or 3+0?). This proves is a deeper compression. Why is minimal? Because if we compress it even one step further, for example, only storing whether the sum is Even or Odd, or capping the sum at a max of 10, we throw away the exact ratio of 1s to 0s, drops, and it is no longer sufficient. Therefore, the exact integer sum is the absolute floor of compression.
-
The min/max pair for uniform noise (): Can we compress this pair into a single number, like the median or the difference ? If we only store the difference between the highest and lowest spikes, we know the spread of the noise, but we lose the absolute location of the floor. Without the floor, we lose our exact lock on . Thus, storing two distinct values is mathematically the smallest possible footprint that retains 100% of the information about a uniform boundary.
Fano’s inequality: the physical limits of guessing
The problem: translating abstract noise into physical error rates. Suppose you are transmitting English letters () over a noisy telegraph wire. The sender types a letter , the wire corrupts it into a smudge , and the receiving machine runs a decoding algorithm to print a final guess .
Because the machine calculates its guess strictly from the corrupted signal and has no secret line to the sender, this forms a Data Processing Markov chain:
We know that physical noise permanently destroys information in the wire, quantified by the conditional entropy . But engineers do not measure success in “conditional entropy”, they measure it in the physical probability of an error, .
Fano’s Inequality translates the abstract mathematical noise of the wire directly into a hard, statistical floor for the machine’s error rate.
The theorem
TheoremFano’s inequality
For any estimator such that forms a Markov chain, with error probability , we have:
(Here, is the binary entropy of the error event itself: , and is the total number of possible symbols in the sender’s alphabet).
Intuition
To understand this inequality, look at it as: .
The right side, , is the raw baseline noise. It is the minimum uncertainty baked into the system by the physical wire.
The left side defines the maximum possible uncertainty of your machine’s guessing process. Why are there two terms summed together? By the chain rule of entropy, total uncertainty is calculated step-by-step:
- (Did the machine fail?): First, you look at the printed guess . Is it right or wrong? You don’t know. This is a binary coin flip with probability . calculates the exact uncertainty of whether an error even occurred.
- (What is the true letter?): If the machine did guess incorrectly (which happens amount of the time), what was the sender’s actual letter? It could be any of the 26 letters in the alphabet. The maximum uncertainty of choosing from an alphabet is . Multiplying this by the error rate gives you the average uncertainty of the true symbol whenever a failure happens.
The Takeaway: When you add the uncertainty of whether the machine failed to the uncertainty of what the true letter is if it did fail, that total sum must be greater than or equal to the raw noise . If a wire has high physical noise, the right side is large. To keep the equation mathematically valid, the error rate on the left side is forced to rise.
The proof
ProofVia an error indicator variable
We prove this by tracking the machine’s success using an artificial binary random variable, . Let if the machine failed (), and if the machine succeeded ().
We want to calculate the joint conditional entropy . We expand this using the Chain Rule for Entropy in two different directions.
Expansion 1 (condition on X first). If we know both the sender’s true symbol and the machine’s guess , there is absolutely zero uncertainty about whether an error occurred. Therefore, .
Expansion 2 (condition on E first). By Theorem 2.6.5 (Conditioning Reduces Entropy), we can drop from the first term to upper-bound it: . Since is a simple binary coin flip (error or no error), its entropy is just . Now we bound the second term, , by averaging over the two possible states of the error indicator :
- Case E=0 (no error). If there is no error, is exactly . Since we are conditioning on , there is 0 uncertainty about .
- Case E=1 (error). If an error occurred, we know must be one of the symbols in the alphabet. The absolute maximum uncertainty of any variable is the log of its total possible outcomes. We safely upper bound this by .
Substituting these bounds back into the expansion gives: Therefore, Expansion 2 is bounded by:
Equating and applying data processing. Equating Expansion 1 and our bound for Expansion 2, we get: Finally, because is a Markov chain, the Data Processing Inequality guarantees the guess cannot have more information than the raw signal: . Expanding this into entropies () proves that . We chain this onto our proof to finish it:
∎
Useful corollaries: Calculating the exact error floor
1. The absolute error floor: Because the binary entropy of the error event, , can never exceed 1 bit (maximum uncertainty), we can replace with 1 to simplify the inequality:
Algebraically rearranging this isolates , giving an engineer a direct formula for the lowest possible error rate their network can ever achieve, regardless of their software:
2. A tighter bound (alphabet restriction): If your decoding software is smart enough to only guess valid letters (), then when it makes an error (), we know the true symbol must be one of the other letters. We can shrink the penalty term:
RemarkBlind guessing (the sharpness of Fano)
Does Fano’s Inequality actually happen in reality, or is it just a loose mathematical bound? Imagine the wire is completely cut. You have no at all. Your best algorithm is just blindly guessing the most common letter in the language (probability ). Your error rate is exactly . If the rest of the letters are perfectly uniformly distributed, Fano’s inequality evaluates to exactly equal. This proves the theorem is “sharp”, the mathematical floor is a physical reality that can be perfectly reached.
A sidelight: Probability of Collision (The Birthday Paradox in Information Theory)
Fano’s inequality establishes the physical limits of a machine trying to calculate a match for a noisy signal. But what happens if we remove the wire entirely, and just look at two completely independent sources? What is the probability that they randomly “guess” each other, generating the exact same output at the exact same time?
This leads to a beautiful corollary about collisions, which forms the mathematical foundation for cryptography, hashing algorithms, and the Birthday Paradox.
Motivation. Suppose two independent systems (like two password generators) both output symbols using the exact same probability distribution . What is the probability they randomly collide ()?
To understand this, look at the classic Birthday Paradox. If a system picks uniformly from 1,000 possible passwords, the chance of two systems colliding is exactly . (System A picks some password, and System B has a chance of matching whatever A picked).
But what if the system isn’t uniform? What if it is highly biased (low entropy), meaning it heavily favors picking “password123”? The collisions will skyrocket. Information theory formalizes this intuition: the lower the entropy of a system, the more frequently its independent outputs will crash into each other.
To find the total probability of a collision, we must sum up the probability of them colliding on the first symbol, plus colliding on the second symbol, and so on:
LemmaCollision probability
If and are independent and identically distributed (i.i.d.) with entropy , the absolute minimum probability that they randomly collide is bounded strictly by their entropy, not by the raw number of options:
(Equality holds if and only if the generator is perfectly uniform. The lower the entropy, the higher the collision rate.)
IntuitionWhat does actually mean?
Raising 2 to the power of negative entropy might look like abstract algebra, but it just represents a very tangible physical concept: the effective alphabet size.
Think of as the number of “equally likely choices” the system acts like it has. If a highly biased password generator has an entropy of just 3 bits, it doesn’t matter if it can theoretically generate a million different passwords. Mathematically, it operates as if it only has exactly equally likely options.
The value is just . So, if your effective pool of choices is 8, the chance of two independent systems randomly landing on the exact same choice is .
The lemma guarantees that the collision rate of any biased system is strictly greater than or equal to this “effective” uniform baseline. As a system becomes more predictable, its entropy shrinks, its effective pool of choices collapses, and the probability of a collision violently spikes.
ProofVia Jensen’s inequality
We want to find a lower bound for . Let’s rewrite this cleverly as an Expected Value. By definition, the expected value of a function is . If we let our function simply be the probability itself, , we get:
Next, notice that can be rewritten algebraically using a base-2 logarithm as . Therefore, our collision probability is perfectly equivalent to .
The function curves upward sharply (it is strictly convex because its second derivative is positive). Therefore, by Jensen’s Inequality, the Expected Value of the function is always the function of the Expected Value:
Now, look at the exponent on the right side. The expected value of is literally the definition of negative entropy: . Substituting this back in proves the lemma:
∎
CorollaryCollision of mismatched systems
What if the two systems do not follow the same rules? Suppose operator types following English statistics , but operator follows French statistics . They are independent, but mismatched.
The probability they randomly collide is . We apply the exact same Jensen’s Inequality proof, taking the Expected Value relative to operator ‘s distribution ():
The right side exponent is . We can add and subtract the term to force it into recognizable information theory metrics:
The physical meaning: The collision probability between two mismatched systems is driven down by two distinct penalties. It is penalized by the baseline unpredictability of the first operator (), and it is penalized further by how far apart their languages are (Relative Entropy, ):
How Information Theory drives the Cryptographic Birthday Paradox
In cryptography, hash functions produce outputs of a fixed bit length, (like a 256-bit hash). This means there are theoretically possible unique hashes. The famous cryptographic rule of thumb states that a hacker only needs random guesses to find a collision since we compare the guessed inputs hash output against all the previous hash outputs.
But this assumes the hash function is perfect. How does the math actually work if the algorithm is flawed? We can use our Information Theory lemma to prove exactly how many guesses an attack requires based on the system’s actual entropy.
1. The single-pair probability Our lemma proved that the probability of any two specific outputs randomly colliding is governed by the system’s entropy: . If a hash function is perfectly uniform, its entropy equals its bit length: . Therefore, the baseline probability of a single pair colliding is .
2. The explosive growth of pairs The Birthday Paradox occurs because a hacker making guesses doesn’t just make comparisons. They compare every new guess against every single previous guess. Generating outputs creates approximately unique pairs.
3. Equating pairs to the probability For a hacker to have a high probability of finding a collision, the total number of pairs they generate () must roughly equal the inverse of the single-pair collision probability ():
Take the square root of both sides to find (the number of guesses required):
IntuitionThe catastrophic failure of low entropy
The formula perfectly bridges Information Theory and Cryptography.
If a 256-bit hash function is perfectly uniform, . The hacker needs guesses. This is the standard cryptographic security floor.
But suppose the algorithm has a slight mathematical bias. It still spits out 256 physical zeros and ones, but its true entropy is only 80 bits. The physical output looks the same, but our formula reveals the reality: the number of guesses required to break the system instantly collapses to . A system you thought would take supercomputers a billion years to crack can now be broken by a laptop in a few hours.
The lemma proves that raw bit length () does not protect you from the Birthday Paradox, only true entropy () does.
Nonnegativity of entropy
TheoremEntropy is sandwiched
The upper bound was proved above (maximum entropy bound). The lower bound holds with equality if and only if is deterministic.
Proof
On the support, , so . Entropy is , an average of non-negative numbers, so it is non-negative. The average is zero only if every term is zero, i.e. for the single symbol in the support.
∎
Intuition
An operator can be completely boring (a broken key that only types ‘A’ costs 0 bits per symbol), but an operator can never deliver “negative surprise”. Hold on to this: it is the first property that breaks when we move from discrete letters to continuous voltages.
Equality conditions
NoteWhen are the inequalities above tight?
- Jensen: for strictly convex , equality iff is constant with probability 1.
- Information inequality: iff for all .
- Log sum inequality: equality iff is the same constant for every . (Jensen applied to the strictly convex is tight only when all the ratios coincide.) In the telegraph story: blending the shifts loses nothing exactly when the morning and night shifts make the same proportional mistake, so there is no excess in one bucket for a deficit in the other to cancel.
- Non-negativity of mutual information: iff and are independent.
- Conditioning reduces entropy: iff and are independent.
- Independence bound: iff the are mutually independent.
Mutual information identities
FormulaFour ways to write mutual information
Proof
Start from and write . The log becomes . Averaging over gives . Factoring the other way, , gives the second line. The third line follows by substituting the chain rule into the first. The fourth sets , where .
∎
Intuition
The third identity is the Venn diagram picture: two circles with areas and , their union is , and the overlap is . The fourth says a perfect wire (the receiver sees exactly what was typed) carries the full entropy of the source. This is why entropy is sometimes called self-information.
The second law for Markov chains
The data processing inequality looked at one pipeline . Now suppose a message is relayed through a long chain of identical relay stations, , each with the same transition matrix. What happens to the signal as the number of hops grows? We need one more tool first.
LemmaChain rule for relative entropy
where the conditional relative entropy is the average penalty of the conditional codebooks:
Proof
Write , take the log of the product as a sum of logs, and average over .
∎
TheoremSecond law of thermodynamics (for Markov chains)
Let be a Markov chain with a fixed transition matrix.
- If and are the distributions of obtained from two different starting distributions, then is non-increasing in .
- If is a stationary distribution, is non-increasing in .
- If the stationary distribution is uniform, is non-decreasing in .
- If the chain is stationary, is non-decreasing in .
Proof
(1) Let and be the joint distributions of under the two starting points. Expand the joint relative entropy with the chain rule in both directions:
Both chains use the same relay, so and the second term of the first line is . The second term of the second line is a relative entropy, so it is . Therefore .
(2) Take for all . A stationary distribution is unchanged by the relay, so it is a valid second chain.
(3) With the uniform distribution , we computed in the maximum entropy proof that . By (2) the left side decreases, so increases.
(4) Chain three facts:
Conditioning reduces entropy, then the Markov property (given , the older is irrelevant), then stationarity (shift every index by one).
∎
Intuition
Two telegraph offices start with different message habits and push their traffic through identical relay stations. Every hop scrubs away some of the fingerprints that distinguished them, so the two streams become steadily harder to tell apart. This is the data processing inequality applied to relative entropy, repeated over time.
WarningEntropy itself need not increase
“Entropy always increases” is only true when the stationary distribution is uniform. Picture a faulty relay that tends to turn every symbol into ‘E’. Start it with perfectly uniform traffic and the entropy drops hop after hop. The quantity that always shrinks is the distance to the stationary distribution, not the entropy.
Empirical distributions approach the truth on average
TheoremMonotonicity of the empirical divergence
Let be i.i.d. , and let be the empirical pmf (the frequency table) of the first samples. Then
ProofVia convexity of relative entropy
For each , let be the empirical pmf of the samples that remain after deleting . Each sample belongs to of these leave-one-out sets, each time with weight , so averaging them gives back the full frequency table:
By the convexity of relative entropy (with both ‘s equal to ):
Take expectations. Each is the frequency table of i.i.d. samples, so it has the same distribution as , and the right side becomes .
∎
Intuition
Logging one more symbol from the operator never, on average, pushes your frequency table further from the operator’s true habits. A single unlucky symbol can, which is exactly the same “on average” caveat as conditioning reduces entropy.
Differential entropy
Real wires do not carry letters, they carry voltages. To reason about continuous signals we replace sums with integrals and probability mass functions with densities . Most of the toolkit survives the move, but not all of it.
DefinitionDifferential entropy
where is the support of . For a random vector we write or .
DefinitionRelative entropy between densities
WarningDifferential entropy can be negative
For uniform on , . With this is bit. Differential entropy is not a count of bits: behaves like the side length of the effective support, so it changes when you change units (millivolts versus volts) and can dip below zero.
Relative entropy and mutual information do not have this problem. They compare two densities, the units cancel in the ratio, and the Jensen proof of goes through unchanged with integrals in place of sums. So and still hold.
TheoremWhat carries over
- Conditioning reduces entropy: , with equality iff and are independent.
- Chain rule and independence bound:
with equality iff the are independent.
Proof
Same as the discrete proofs: , and the independence bound follows by applying this term by term in the chain rule.
∎
LemmaAdding independent noise cannot sharpen a signal
If and are independent, then .
Proof
The first step is conditioning reduces entropy. The second holds because, once is known, is just shifted by , and shifting a density does not change its entropy. The third is independence.
∎
Intuition
If static that has nothing to do with the message is added to the voltage on the wire, the received signal is at least as unpredictable as the clean one. Independent noise can only smear things out.
Differential entropies of common densities
These come up constantly as reference points. All values are in nats (use ; divide by for bits). Cover & Thomas Table 17.1 lists about twenty more (beta, chi, gamma, Weibull, Student’s , and others).
| Distribution | Density | (nats) |
|---|---|---|
| Uniform | on | |
| Normal | ||
| Exponential | , | |
| Laplace | ||
| Cauchy | ||
| Logistic |
ProofTwo of the entries
Normal: . Taking expectations, , so .
Exponential: and , so .
∎
Notice the normal entry: the entropy of a Gaussian depends only on its variance. Inverting it gives a very useful quantity, the variance a Gaussian would need in order to be exactly as unpredictable as :
DefinitionEntropy power (one dimension)
( in nats). For a Gaussian, . For anything else, , as the next theorem shows.
The Gaussian maximizes entropy
TheoremMaximum entropy under a covariance constraint
Let have zero mean and covariance . Then
with equality iff . (Here is the determinant.)
ProofVia the information inequality
Let be the density and the density of . Then
The key observation: is a quadratic in , so its average depends only on the second moments of whatever distribution you average it against. Both and have covariance , so . Substituting, , i.e. . Equality iff , i.e. .
∎
Intuition
If the wire has a fixed power budget (a fixed variance), the noise that hides the most is Gaussian. This is why Gaussian noise is the worst case engineers design against, and why Gaussian codebooks are the best choice for a power-limited transmitter.
More bounds on entropy and relative entropy
One more consequence of Fano
NoteNoise forces errors
If , then . If were , the left side of Fano’s inequality would be , which cannot be a positive number. Error-free decoding is possible only when the received signal completely determines the sent symbol .
The continuous Fano: estimation error
Fano bounds the error of a machine that guesses a letter. The continuous version bounds the error of a machine that estimates a voltage.
TheoremEntropy bound on mean-squared error
Let have differential entropy (in nats). For any estimate ,
With side information and an estimator ,
Proof
Without side information. The best constant guess is the mean, so . By the maximum entropy theorem in one dimension, ; exponentiating and rearranging gives .
With side information. For each , the same argument applied to the conditional distribution of given gives . Average over and use Jensen on the convex function :
∎
Intuition
The right side is the entropy power of what remains unknown. No estimator can have smaller squared error than the variance of a Gaussian that is just as unpredictable as the leftover uncertainty. As with Fano, the noise floor is set by the wire, not by the cleverness of the software.
Continuity of entropy (the bound)
If two operators have nearly the same letter frequencies, do they have nearly the same entropy? Yes, and we can say exactly how nearly.
Theorem bound on entropy
Let and be pmfs on with . Then
ProofVia the concavity of
Let . It is concave (its second derivative is up to a positive constant), with , so it is positive on .
Step 1 (one symbol). Consider a chord of spanning an interval of width , from to . Because is concave, its slope is steepest at the ends of , so the chord changes the most when it sits at one end: or . Therefore
(for the left end wins).
Step 2 (sum over symbols). Let and . Each , so by the triangle inequality and Step 1,
Step 3 (normalize). Write , where is a pmf:
using the maximum entropy bound on . This equals .
∎
Intuition
Entropy is continuous: nearby frequency tables give nearby entropies. But two warnings are built into the formula. The term means the same closeness is worth less on a bigger alphabet. The term has infinite slope at , so entropy is continuous but not Lipschitz: a tiny amount of probability leaked onto rare symbols can move the entropy by much more than its size.
Pinsker’s inequality
LemmaRelative entropy controls distance (Pinsker)
in bits. In nats the constant is simply .
ProofReduce to a coin, then do calculus
Work in nats.
Binary case. For coins with heads probabilities and , , so we need . Fix and let be the left side minus the right side. Then and
Since , the bracket is . So for and for : has its minimum at , where it is .
General case. Let , , . Then . Apply the log sum inequality separately to the symbols in and in :
This is the binary case with , , so it is .
∎
Intuition
This is the “blending hides variance” story from the log sum section put to work: collapsing the alphabet down to the two buckets and can only lower relative entropy, and the two-bucket problem is easy. The payoff: if a statistician can barely tell two languages apart (small ), then no event has very different probabilities under the two. The converse fails: can be infinite (a symbol with ) while the distance is at most .
Local behavior: relative entropy near the truth
DefinitionChi-squared distance
LemmaRelative entropy is locally quadratic
For near (in nats):
ProofTaylor expansion
Write with small and . Then
The linear term vanishes, and .
∎
Intuition
Near a perfect codebook, the penalty for a small mismatch grows like the square of the mismatch: a smooth bowl, not a sharp V. The curvature of that bowl is what Fisher information measures, which is why Fisher information shows up below.
Inequalities for types
Suppose you record a whole shift of symbols from the operator. Instead of the exact sequence, look only at its frequency table. The method of types counts sequences by their frequency table, and it turns out that relative entropy is precisely the exponent that governs how surprising a frequency table is.
DefinitionTypes
The type of a sequence is its empirical pmf: . is the set of all types with denominator . The type class is the set of all length- sequences with type .
TheoremNumber of types
Proof
A type is determined by the count of each symbol, and each count is one of the values .
∎
TheoremProbability of a sequence depends only on its type
If are i.i.d. , then
Proof
Group the product by symbol. With , , and by the same add-and-subtract trick used in the mismatched collision corollary.
∎
TheoremSize of a type class
For any ,
Proof
Upper bound. Under , every sequence in has probability (previous theorem with ). The class’s total probability is at most 1, so .
Lower bound. First, under the class is the most likely type class. Using , for any other type :
Using on each factorial ratio, this is at least . Then .
∎
TheoremProbability of a type class
For any and any ,
Proof
. Plug in the two bounds on .
∎
Intuition
There are only polynomially many frequency tables but exponentially many sequences, so all the action is in the exponent. If the operator types English (), the chance that a whole shift looks like French () decays like . Relative entropy is literally the rate at which a wrong-looking day becomes impossible. This is the engine behind hypothesis testing, large deviations, and error exponents.
Combinatorial bounds on entropy
A binary type class is just a binomial coefficient: the number of length- bit strings with exactly ones is . The type bounds above say up to a polynomial factor. Stirling’s formula pins the factor down to about .
LemmaTight bounds on the binomial coefficient (Wozencraft–Reiffen)
For , , with an integer:
ProofVia a strong form of Stirling
Use .
Upper bound. Use the upper Stirling bound for and the lower one for and . The powers collapse to , leaving
since .
Lower bound. Swap roles: lower Stirling for , upper for and :
If and , the exponential is at least , and . (The case , follows by swapping and .) The only leftover cases are checked by hand: , , .
∎
Warning
The lower bound blows up as or and is not valid there (where ).
Entropy rates of subsets (Han’s inequality)
The independence bound says the whole is at most the sum of its parts: . Han’s inequality refines this into a whole ladder: the per-symbol entropy of a randomly chosen group of variables shrinks steadily as the group gets bigger. (Everything below works equally for discrete entropy ; we write to match the text.)
DefinitionAverage entropy per element of a -subset
For , let , and let
TheoremHan’s inequality
Proof
The last rung, . Let denote all variables except . For each , peel off last and then drop conditioning:
Add these inequalities. The last terms sum, by the chain rule, to :
Rearranging, , which is .
Every other rung. Apply the last-rung result to each -element subset (treating it as a collection of variables), which gives for that subset. Averaging over all -subsets chosen uniformly preserves the inequality, and the averages are exactly and .
∎
Intuition
Look at the operator’s output through a window. A single letter, seen alone, looks as random as it can. A window of two letters reveals some structure (‘Q’ is almost always followed by ‘U’), so the entropy per letter drops. Bigger windows reveal more redundancy, on average.
TheoremExponentiated version
For , let
Then .
Proof
Take the last-rung inequality from Han’s proof, multiply by , and exponentiate. The exponent on the right is an average, and is convex, so by Jensen (the arithmetic–geometric mean inequality):
This is . Average over subsets exactly as before.
∎
DefinitionConditional entropy per element
the per-element entropy of a -subset given everything outside it.
TheoremHan’s inequality for conditional entropy
Note the direction is reversed.
Proof
Last rung. Start from the independence bound and subtract both sides from :
Divide by : , which is . Then average over subsets as before.
∎
Intuition
Two forces compete as grows. A bigger group has more internal redundancy (pushing per-element entropy down), but it is conditioned on a smaller outside set (pushing it up). The theorem says the loss of outside conditioning always wins.
TheoremHan’s inequality for mutual information
Let
Then .
Proof
, so : a decreasing sequence minus an increasing one.
∎
Entropy and Fisher information
Differential entropy measures how hard a signal is to describe. Fisher information measures how precisely a hidden parameter can be estimated from it. The two turn out to be connected by an exact calculus identity, and that identity powers one of the deepest results in the subject: the entropy power inequality.
DefinitionFisher information
For a parametric family ,
For a location family , differentiating in is the same as differentiating in (up to a sign that is squared away), so depends only on the shape of :
For a Gaussian, , so : a narrow bell is easy to locate, a wide one is hard.
TheoremCramér–Rao inequality
Any unbiased estimator of satisfies
ProofVia Cauchy–Schwarz on the score
Let (the score). Its mean is , so . Unbiasedness says ; differentiating in gives , and since this is . By Cauchy–Schwarz, .
∎
Theoremde Bruijn’s identity
Let have finite variance and density , and let be independent. Then (entropy in nats)
and in particular, if the limit exists, .
ProofVia the heat equation
Let with density , the convolution of with a Gaussian of variance . Differentiating the Gaussian kernel directly shows that solves the heat equation:
Differentiate :
The first term is . Substitute the heat equation into the second and integrate by parts:
The last integral is . The boundary term vanishes: write it as ; the first factor is square-integrable (its square integrates to the Fisher information) and the second goes to in the tails because as . (Swapping derivatives and integrals needs a dominated-convergence argument; see Barron.)
∎
Intuition
Slowly pour Gaussian static onto the wire. The entropy of the received signal rises, and the rate at which it rises is the signal’s Fisher information. A signal with sharp features (large ) gets blurred, and gains entropy, quickly. A signal that is already smooth barely changes.
TheoremEntropy power inequality (EPI)
If and are independent random -vectors with densities, then
ProofStam’s perturbation argument (outline, )
Add independent Gaussian noise of growing variance to both signals: and , and define
The EPI is the statement . As (with ) everything becomes Gaussian and . With a clever choice of and , de Bruijn’s identity turns into an expression in Fisher informations, and the Fisher information inequality
shows . So climbs to , and therefore started at most . The vector case follows by induction (Stam, Blachman).
∎
Since a Gaussian with entropy has , the EPI can be read as a statement comparing every pair of signals to a Gaussian pair:
TheoremEntropy power inequality (restated)
Let and be independent Gaussians with and . Then
Intuition
For independent signals, variances add exactly. Entropy powers, the Gaussian-equivalent variances, add at least: the sum is always at least as unpredictable as if both signals had been Gaussian. Gaussians are the extreme case where mixing creates the least new uncertainty, which is the flip side of their being the most uncertain for a given variance. The EPI also strengthens the earlier lemma .
Entropy power and the Brunn–Minkowski inequality
The EPI has a geometric twin. Replace “entropy power” with “volume” and “sum of random variables” with “sum of sets”.
DefinitionSet sum (Minkowski sum)
For , . Example: the set sum of two balls of radius 1 is a ball of radius 2.
TheoremBrunn–Minkowski inequality
Equivalently, , where and are balls with the same volumes as and . (Compare the restated EPI, where Gaussians play the role of balls.)
Both are endpoints of a single family, indexed by a generalization of entropy.
DefinitionRényi entropy
For , :
- As : Shannon differential entropy, .
- As : the log of the volume of the support, .
The discrete version is .
NoteRényi entropy and the birthday paradox
At the discrete version is the collision entropy:
So the collision lemma says exactly that . More generally is non-increasing in :
The cost of a birthday attack is set by , not , which is why Shannon entropy only gives an upper estimate of collision resistance.
DefinitionRényi entropy power
so is the usual entropy power (up to the constant ) and is a power of a volume. (Cover & Thomas write directly in terms of with the conjugate exponent , ; it simplifies to this.)
LemmaStrengthened Young’s inequality
For densities on , with ,
where and with . (Proof in Beckner and Brascamp–Lieb.)
TheoremOne inequality for the whole family
For independent , any , and any :
where , , and is the binary entropy function.
ProofSketch
Note the density of is the convolution . Take the logarithm of Young’s inequality, rewrite each norm as a Rényi entropy power, and set (so ). Collecting the constants produces the binary entropy terms. The final algebraic simplification is omitted in the text as well.
∎
CorollaryThe two endpoints
, with : , the entropy power inequality.
, with : . If and are the supports of and , then is the support of and , which is the Brunn–Minkowski inequality.
Intuition
Shannon entropy is the log of the effective volume a signal occupies; is the log of its literal volume. Every in between is a different way of measuring “how much space” a distribution takes up, and they all obey the same law: adding independent signals inflates the space at least as much as it would for the round, symmetric shape (ball or Gaussian) of the same size.
Inequalities for determinants
Here is a trick that turns information theory into a matrix-inequality factory. If in , then . The determinant is a volume, and Gaussian entropy is the log of that volume. So every entropy inequality applied to Gaussians becomes a determinant inequality for free. Throughout, is a symmetric positive (semi)definite matrix and is the principal submatrix on those rows and columns.
TheoremKy Fan: is concave
ProofVia a random switch
Let , , and an independent switch with , . Let . Then has covariance but is not Gaussian. Using the maximum entropy theorem, then conditioning reduces entropy:
∎
Intuition
This is the concavity of entropy (blending two operators adds uncertainty) translated into matrices.
TheoremHadamard’s inequality
with equality iff is diagonal.
Proof
Let . The independence bound gives
with equality iff the are independent, i.e. for .
∎
Intuition
A box spanned by the columns of a matrix has the largest volume when the edges are perpendicular. Correlation between the coordinates is redundancy, and redundancy shrinks the volume (entropy).
TheoremSzász’s inequality
Let be the product of the determinants of all principal submatrices of a positive definite . Then
(Hadamard is the outer comparison .)
Proof
Let . Since and ,
Han’s inequality says this decreases in , which is the claim.
∎
TheoremAverages of normalized minors
Let
Then
Proof
Take the exponentiated Han inequality with (in nats): , so .
∎
Note
The outer comparison is the arithmetic–geometric mean inequality applied to the eigenvalues of .
TheoremA lower bound from conditional variances
Let
Then
where is the minimum mean-squared error of linearly predicting from all the other coordinates.
Proof
For Gaussians, (with ). Plug this into the conditional Han inequality ( increasing).
∎
CorollarySandwiching a determinant
The determinant of a covariance matrix lies between the product of the unconditional variances and the product of the conditional variances (each coordinate given all the others).
Intuition
Total uncertainty is at most “everyone guessed alone” and at least “everyone guessed with full help from everyone else”.
TheoremToeplitz matrices
A matrix is Toeplitz if depends only on (the covariance of a stationary process). Let . Then
is decreasing in , and
Proof
Let . Then
This conditional entropy is decreasing in :
(Toeplitz means the process is stationary, so shifting indices changes nothing; then conditioning reduces entropy.) A decreasing sequence has decreasing running averages, and the running average is , which gives the chain. Finally, a convergent sequence and its running averages (Cesàro means) have the same limit, which gives the last line.
∎
Intuition
For a stationary signal, the uncertainty of the next sample given its whole past (the one-step prediction error) can only improve as the past gets longer, and in the limit it equals the per-sample entropy rate.
TheoremMinkowski’s determinant inequality
Proof
Let and be independent, so . Apply the EPI:
(Here is in bits, so .)
∎
Inequalities for ratios of determinants
LemmaPrediction error as a ratio of determinants
If , the minimum mean-squared error of linearly predicting from is
Proof
Given the past, is Gaussian with a mean that is linear in the past and a variance that does not depend on the past values. So
∎
Minimizing prediction error over a set of allowed covariance matrices comes up in maximum entropy spectral estimation, which makes concavity of these ratios useful.
TheoremBergstrøm: is concave in
ProofVia a random switch
Ky Fan does not apply directly, since this is a difference of two concave functions. Instead, let , , an independent switch with , and , so . Write for the last coordinates and for the first . Then
The equality uses for each Gaussian; then conditioning reduces entropy; then a conditional version of the maximum entropy theorem.
∎
TheoremBergstrøm: is concave in
ProofVia a sum of independent Gaussians
Let and be independent and . Then
Steps: the prediction-error lemma; conditioning reduces entropy; ‘s past is a function of the and pasts; given the pasts, is Gaussian with the two conditional variances adding (independence); the prediction-error lemma again (conditional variances of Gaussians do not depend on the conditioning values, so no expectation is needed). Drop the logs, then set and ; the ratio of an to an determinant scales linearly, so
∎
Warning
The plain ratio is not concave in general for . Only its logarithm is (previous theorem).
The big picture
Chapter 17 closes with a one-line summary of every major result in the book. Most of these live in other notes; this is the map.
FormulaElements of Information Theory in one box
- Entropy:
- Relative entropy:
- Mutual information:
- Information inequality:
- AEP:
- Data compression:
- Kolmogorov complexity:
- Universal probability:
- Channel capacity:
- Data transmission: rates allow asymptotically error-free communication; rates do not
- Gaussian channel capacity:
- Rate distortion: over all with
- Growth rate of investment:
Problems
TheoremProblem 17.1: Sum of positive definite matrices
For positive definite : .
Proof
Let and be independent. By the “adding noise cannot sharpen” lemma, , i.e. .
∎
TheoremProblem 17.2: Fan’s inequality for ratios of determinants
For and positive definite :
Proof
Let and . Using for Gaussians:
The inequality is the (conditional) independence bound. Exponentiate.
∎
TheoremProblem 17.3: Convexity of determinant ratios
For positive definite , the function is convex in .
ProofVia second derivatives
Let and move along a symmetric direction : . A standard identity gives at . So, with and ,
Since , we have . Then
because , and are all positive semidefinite, and the trace of a product of two PSD matrices is non-negative. A non-negative second derivative along every line means convexity.
Information-theoretic reading: with and independent noise , , the information a Gaussian signal gets through Gaussian noise of covariance . The claim is that this is convex in the noise covariance.
∎
TheoremProblem 17.4: A data processing inequality for four variables
If , then
Proof
Since , expanding both ways (as in the DPI proof) gives . Likewise . So we need .
A Markov chain reversed is still Markov, and conditioned on the variables still form a chain . The data processing inequality, applied conditionally on , gives exactly that. Rearranging finishes the proof.
∎
TheoremProblem 17.5: Markov chains
If , then
Proof
By the data processing inequality and the chain rule,
And by the chain rule twice, . Combine the two lines.
∎
Mentioned in
- Channel Capacity
- Convex Analysis for Bandits
- Data Compression and Source Coding
- Differential Entropy
- Gambling and Data Compression
- Information Theory and Portfolio Theory
- Information Theory and Statistics
- Kolmogorov Complexity
- Lower Bounds for Finite-Armed Bandits
- Network Information Theory
- Rate Distortion Theory
- Universal Source Coding