Chain decomposition of total correlation 2026-10-14
For finite alphabets, expanding joint entropy with the chain rule for information entropy givesEach term is mutual information with an entire preceding block, rather than necessarily with one preceding variable. Changing the order changes these individual terms but leaves their sum unchanged.
For the noiseless parity constraint and total correlation, and bit. The conditional block term supplies exactly the dependence that the pairwise comparisons missed. For three identical copies of a fair bit, the two block terms are both one bit. Thus total correlation counts total departure from the product law, not merely the presence of a single irreducible multiway relation.
Chain rule for information entropy Created 2026-09-24 Updated 2026-10-18
For finite discrete random variables, the chain rule counts uncertainty in two stages:The joint entropy equals the first variable's information entropy plus the average conditional entropy left in the second. All logarithms here have base two, so the unit is the bit; zero-probability terms contribute zero. The identity holds without assuming independence.[ref]
A Mathematical Theory of Communication by Claude Shannon. section 6, property 5, reprint p. 12: joint entropy as first entropy plus average conditional entropy
Iterating gives . The first summand means , with no earlier observations. Each later summand counts only the new uncertainty after the preceding random variables are known. For independent random variables, every term is its ordinary information entropy; for dependent ones, adding those ordinary information entropies can count shared uncertainty repeatedly. This is the reason the chain rule for information entropy is useful in lossless source coding and in calculating an entropy rate.
A short proof starts from the factorization of the joint probability mass function into a marginal distribution and a conditional probability:Use this only where , then average with those joint probabilities. Summing over in the first term gives ; the second is precisely . Repeating the same step with a longer random vector proves the iterated identity. Reversing the order also gives : the two contributions can change with the order, but their total cannot.
Conditional entropy Created 2026-09-24 Updated 2026-10-14
For finite discrete random variables, conditional entropy is the average remaining information entropy of after the value of is known:Each observation changes the probability distribution used to describe ; the average weights that uncertainty by how often the observation occurs. An observation can increase uncertainty for one particular outcome, even though conditioning reduces entropy on average for finite variables.
For example, let choose with probabilities , and let report whether . If it reports yes, there is no remaining uncertainty. Otherwise the conditional probabilities are , whose information entropy is bits. The two reports each occur with probability , so of a bit. The original uncertainty was bits: this observation removes exactly one bit on average.
If is a function of , then : the observation determines the answer. If and are independent random variables, then : the observation gives no improvement. These endpoints make conditional entropy useful for separating relevant observations from irrelevant ones. They also lead to the chain rule for information entropy, , which counts the first uncertainty and the remaining uncertainty without double counting.
Conditional entropy rate 2026-10-14
For a strictly stationary process on a finite alphabet, put and for . Each is the average remaining uncertainty in the next symbol after its history is known. More history can improve prediction, so this sequence is nonincreasing:The inequality uses conditioning reduces entropy; the last equality uses strict stationarity. Nonnegative therefore have a limit. By the chain rule for information entropy,The Cesàro mean converges to the same limit, proving the equality with the entropy rate. This is a statement about average information entropy. A constant almost-sure limit of the realized information content requires the further hypotheses in the Shannon-McMillan-Breiman theorem; stationarity without ergodicity in an information source explains the distinction.
Correlated binary variables 2026-10-18
For a random finite binary string of length , conditioning on leaves at most possible strings. Thus its conditional entropy is at most . Since the length is a function of the string, the chain rule for information entropy givesThe term cannot generally be removed. For concatenations of words from a fixed finite decipherable code with maximum length , it is at most . Decipherability preserves the Shannon entropy of the source block. For an independent source block, dividing the resulting inequality by and taking proves the expected codeword length is at least the one-symbol Shannon entropy.
Entropy rate 2026-10-14
The entropy rate measures average new uncertainty per emitted symbol of a stochastic process. Predictability from earlier symbols can make this much smaller than the information entropy of one symbol. For example, a binary Markov source can emit a fair bit at every time while repeating its previous bit with probability : each individual symbol has one bit of uncertainty, but the entropy rate is only about bits per symbol.
For a finite alphabet source , definewhen the limit exists. Base-two logarithms give bits per symbol. Multiplying by a fixed emission frequency gives bits per unit time; the symbol rate and the uncertainty of the sequence are different inputs. A strictly stationary process on a finite alphabet always has an entropy rate, equal to its conditional entropy rate.[ref]
6.441 Information Theory (Spring 2016 lecture notes) by Yury Polyanskiy and others. §5.5, Definition 5.1 and Theorem 5.5, printed p. 57: block entropy and stationary conditional-entropy limit
For an independent and identically distributed source, the chain rule for information entropy gives , hence . With dependence, conditioning reduces entropy and makes the past useful. The examples under Markov information source show this benefit using exact finite-block calculations.
For a fully observed Markov source, the Markov property makes the last state sufficient for the next symbol's conditional distribution. With stationary distribution , the conditional entropy is thereforeusing . The chain rule for information entropy gives the exact finite-block identityDividing by proves the displayed entropy rate. The weighting by matters: rows with high uncertainty contribute in proportion to how often their states occur.
For an original asymmetric example, takeThe equality verifies the stationary distribution. The single-symbol information entropy is , whereasThis formula describes observed states. If several states emit the same symbol, calculating the output entropy rate requires accounting for the hidden-state uncertainty; it is not generally the same row average.
Fano slice code redundancy bound 2026-10-31
Recursively split an ordered list of positive source probabilities into contiguous blocks, choosing each cut to minimize the difference between the total masses of the two children. The resulting binary prefix code has expected codeword length less than , where is its source Shannon entropy. If the probabilities were in nonincreasing order, its expected length is less than .
To prove this, an interior node of mass with child masses contributes to the expected path length and to the Shannon entropy, by the chain rule for information entropy. The inequality bounds that node's redundancy by . If the cut is between probabilities , shifting the cut by one position cannot improve the imbalance. On the heavier side this gives or , respectively; a singleton heavier side gives the same inequality directly. Thus .
Independent revelation of a binary variable 2026-10-14
Let be a Bernoulli random variable with . Independently of , a Bernoulli random variable with decides whether to reveal it:The symbol means “hidden” and is distinct from both binary states. This is a binary erasure channel with erasure probability . The hidden report leaves the posterior distribution equal to the prior distribution, because hiding is independent of the state. Either visible report determines . Weighting these three reports gives the exact conditional entropy and mutual information:For and , bits, while bits. With the report tells us nothing; with it reveals the state completely. If , every positive reveal probability makes the conditioning inequality strict. At or , the state was already known and every value of gives equality.
For a Bayesian inference problem, this model distinguishes an uninformative missing report from a decisive observed state. If hiding depended on , even could carry mutual information, and the displayed calculation would change. In lossless source coding, suppose both encoder and decoder already know the reveal pattern for repeated independent and identically distributed pairs. Only the hidden states require descriptions. Applying Shannon's source coding theorem to those states gives an asymptotic average rate bits per original state. A single hidden state need not have a codeword of that fractional length.
The reveal pattern itself has information entropy . If that pattern must also be sent, the chain rule for information entropy gives , since and are independent random variables. Equivalently, and . Thus a saving in the description of given assumes that is already available; it is not a free saving in the description of the whole pair.
Information entropy Created 2026-09-24 Updated 2026-10-14
For a finite discrete random variable with probability mass function , its information entropy is the expected value of its information content:Base-two logarithms give bits; choosing a different base rescales the units. The convention is justified by a limit, so outcomes of zero probability contribute nothing. The definition also applies to countable distributions, but the sum may be infinite.
A fair bit has . A certain outcome has . A Bernoulli random variable that is one with probability has bits, because most of its outcomes are predictable. A rare outcome still has large information content: the outcome of probability contributes bits of surprise when it occurs. Entropy is the average surprise, rather than the surprise of each outcome.
For possible outcomes, , with the upper bound attained exactly by the uniform distribution on a finite set. The Gibbs inequality proves this by comparing with the uniform distribution: . Thus increasing predictability reduces the required average description length. The four-symbol prefix code in information theory attains bits exactly; for general probabilities, integer codeword lengths prevent such a perfect match for every individual symbol. Shannon's source coding theorem explains how coding sufficiently long independent blocks approaches the entropy per symbol.
The logarithm is especially natural because independent outcomes have additive surprise: . Taking expected values gives additive information entropy for independent random variables; for dependent ones, the chain rule for information entropy replaces the second term by conditional entropy. This is why the same quantity can govern both a single observation and a long message.
Joint entropy Created 2026-10-14 Updated 2026-10-25
Joint entropy is the information entropy of an entire random vector, treating its coordinates together as one outcome. For random variables with finite alphabets and joint probability mass function ,It is measured in bits. The distinction from separate information entropies is whether shared uncertainty is counted once or repeatedly. Two copies of the same fair bit have joint entropy one bit, since only and can occur. Two independent fair bits have joint entropy two bits, since all four pairs are possible and equiprobable.
For a less symmetric example, assign probabilities to respectively. ThenHere is fair, while . Thus and bits, where is binary entropy. Adding the separate information entropies would give approximately bits, overcounting by the mutual information bits.
The chain rule for information entropy makes the shared information explicit:In this example is certain given and fair given , so its average conditional entropy is bit. Sending the first coordinate changes how much uncertainty remains in the second. A prefix code with codewords
0, 10, 11 for the three possible pairs has average length bits, exactly the joint entropy in this stipulated law.For finite alphabets,The lower bound follows because knowing the full random vector determines every coordinate; the upper bound follows from conditioning reduces entropy in the chain rule for information entropy. Equality in the upper bound means joint independence. The difference from that upper bound is total correlation, whose noisy parity total correlation example shows why separate pairwise comparisons need not find all the dependence.
Madiman–Tetali entropy inequality 2026-10-14
For a nonempty ordered coordinate set , write and . An exact -cover satisfies . A short proof uses the chain rule for information entropy contributions : each conditional subset entropy bounds on the appropriate side, by conditioning reduces entropy. Weighting gives the lower inequality for a fractional packing and the upper inequality for a fractional cover. See Madiman and Tetali, "Information Inequalities for Joint Distributions".
Monotonicity of normalized subset entropies 2026-10-14
For discrete random variables, normalized subset entropy decreases with subset size. For finite entropies, the chain rule for information entropy and conditioning reduces entropy give . Sum this over all -subsets . Every -subset occurs times, and cancels the normalization factors. This proves . If a marginal entropy is infinite, every one of these subset averages is infinite; otherwise all entropies used in the proof are finite.
Noisy parity total correlation 2026-10-14
Keep as independent fair bits, introduce an independent Bernoulli random variable with , and set . The extra bit flips the integer parity rule with probability . For each even-integer parity triple the probability is ; for each odd-integer parity triple it is .
Every coordinate remains fair, and every pair remains independent for every . For example, after fixing , the fair independent makes fair regardless of . A pair's joint probability distribution therefore does not change as noise destroys the three-way relation.
Knowing , uncertainty in is exactly the uncertainty in . The chain rule for information entropy giveswhere is binary entropy. HenceAt , the result is approximately bits, although all three pairwise mutual informations are zero. At , all eight triples have probability , giving joint independence and zero total correlation. At , the complementary integer parity rule is deterministic again, so total correlation returns to one bit.
The example distinguishes "there is a dependence" from "a pair reveals it." Once are known together, is predictable at zero noise; knowing either one alone leaves a fair bit. Total correlation detects the joint departure from independence, but does not by itself specify which variables cause which others.
Past exam of the communication Theory course of the University of Oxford 2008 1 a ii Solution 2026-10-31
The entropy chain rule givesConditional entropy is nonnegative, so . For finite entropies, if , equality holds exactly when , meaning is a function of almost surely. If , interchange the variables. When their entropies are equal, equality requires both functional relations. Zero conditional entropy has this characterization because each conditional probability distribution must be a point mass.
Past exam of the information theory course of the University of Oxford 2021 1 a iii Solution 2026-10-25
The chain rule for information entropy converts the two differences into conditional entropies. Their gap, in the order right minus left, isThis is additional conditioning reduces entropy. The relative entropy representation of conditional mutual information identifies exactly when that gap vanishes: equality holds if and only if and have conditional independence given . Knowledge of then changes no conditional probability of after is known.
Past exam of the information theory course of the University of Oxford 2021 3 c iii Solution 2026-10-25
Choose noise values , giving exactly the outputs . The transition matrix, in that column order, isAn input probability mass function makes outputs equiprobable, so and . Hence bit per use, as required for comparison with the four-output case.
There is a strict improvement, which can also be computed exactly. Reflection of the input labels , accompanied by output reflection , leaves mutual information unchanged. Concavity of information entropy makes mutual information a concave function of the input probability mass function for a fixed transition matrix. Averaging an input law with its reflection therefore cannot decrease it. It suffices to considerThe outputs whose labels are even integers have total mass and conditional probability mass function , with information entropy . The outputs whose labels are odd integers have mass and conditional probability mass function , with information entropy one. Splitting first by output parity using the chain rule for information entropy yieldsIts derivative is , and its second derivative is negative. The unique maximum occurs at , givingThis additional optimization explains the collision pattern: outputs identify input , outputs identify the two extreme inputs, and only output is ambiguous.
Three original additive-noise channel diagrams: increasing noise separation changes output collisions and channel capacity
. Details. Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 13 3 a Solution Created 2026-10-03 Updated 2026-10-14
Write for the number of labelled -uniform hypergraphs with the hereditary hypergraph property, so for . The assertion is nonincrease; strict decrease need not hold, since allowing all uniform hypergraphs gives .
If , heredity forces . If , the desired inequality is immediate. Otherwise choose uniformly from and record its edge indicators as a random vector . Its information entropy, with any fixed logarithm base, is . Deleting a vertex gives the restriction to the edges avoiding . By heredity and relabelling, this restriction has at most possible values, so .
Each edge coordinate occurs in exactly of these restrictions. For completeness, order all the edge coordinates. The chain rule for information entropy expands a restriction entropy as a sum of conditional coordinate entropies. The predecessors retained in a restriction form a subset of all predecessors, and conditioning reduces entropy; hence each restriction term is at least the corresponding full-vector term. Summing over the restrictions counts each full-vector term times. This proves the needed Shearer inequality:Since , division gives . Therefore the normalized speed of a hereditary hypergraph property satisfies
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 11 6 Solution Created 2026-10-03 Updated 2026-10-14
Use discrete Shannon entropy with base-two logarithms. The standard facts needed are the chain rule for information entropy, conditioning reduces entropy, nonnegativity of conditional entropy, and the fact that a uniform distribution on outcomes has Shannon entropy .
Order the coordinates by their indices and put . Applying the chain rule within a coordinate subset and then adding the missing earlier conditioning coordinates givesOn summing over the family, coordinate occurs at least times. Since each is nonnegative,This proves Shearer's inequality without any independence assumption on the coordinates. For countable alphabets, apply the finite-valued assertion to refining finite coordinate partitions; the standard monotone approximation of Shannon entropy gives the same result with extended values. Differential entropy is not the Shannon entropy intended here.
For the graph application, let its bipartition be , with degrees on and on , where . Choose an independent set uniformly from all such sets, and let be its vertex-indicator vector. Then . For put and .
Each vertex of belongs to exactly of these neighbourhoods. Shearer's inequality therefore gives . Conditional on , a vertex of is forced absent if any neighbor was selected, and otherwise is a free fair binary choice. There are no edges within , and the conditional independent-set distribution is uniform on all these free choices. Henceand
There are possible neighborhood patterns. Give the zero pattern weight and every other pattern weight one. For its distribution , concavity of the logarithm, or Jensen's inequality, givesThis establishes the local weighted-entropy estimate rather than just counting neighborhood patterns.
Edge counting gives ; together with , it yields . Exponentiating the Shannon entropy estimate proves the independent-set bound for biregular graphs:The complete bipartite graph has exactly independent sets, since one chooses a subset of one side and subtracts the double-counted empty set. Disjoint unions of such components attain equality. If exactly one degree parameter is zero, edge counting forces the graph to be edgeless and the displayed bound equals , so it remains valid. If , the denominator is undefined; the edgeless graph has exactly independent sets.





