For classical finite random variables, . Each identity follows by inserting the corresponding joint entropy into . The two orders are particularly useful when one variable is a deterministic function of the others, as in Fano's inequality via an error indicator.
If is a bijection of for every fixed , thenIn particular, translating a random variable in a finite group by a value determined by the conditioning variable does not change its conditional entropy.
Let take values in an alphabet of size , let be an estimate determined by , and put . Thenwhere is the binary entropy function. The error indicator costs at most bits, and after an error there are at most possible values of .
For a guess of a finite-alphabet variable , let and . The chain rule for conditional entropy gives . The first term is at most the binary entropy . The second is zero when the guess is right and at most when it is wrong, proving . This needs no optimality assumption on the guess.
If a uniform index has possibilities and every proposed success neighbourhood contains at most possibilities, then any estimator has failure probability at least the displayed expression. Condition on its success indicator: conditional entropy is at most . Subtract this from to bound the mutual information and rearrange. A metric Hamming ball gives approximate recovery rather than exact index decoding.
If independent random variables take values in a finite additive group, thenIndeed, , and symmetrically for . Independence is essential: taking makes the sum constant.
For discrete random variables ,The difference between the left- and right-hand sides is the nonnegative conditional mutual information .
A union-intersection compression can only decrease the sum of information entropies for a finite-valued random vector . Each elementary step follows from entropy submodularity; iteration proves the assertion with multiset multiplicities. Uniform coordinate multiplicity gives Shearer inequality by compressing to repeated full sets and empty sets.
Let be a discrete random vector, and let be a collection of subsets of in which every index occurs at least times. ThenApply the chain rule for information entropy to each projection and use conditioning reduces entropy to compare every term with the corresponding conditional entropy in the full chain rule.
If every pair of graphs in a family on has a graph intersection without an isolated vertex, the family has at most members. At each vertex, its possible graph neighbourhoods form an intersecting family, of size at most . Every edge occurs in two such neighbourhood projections. Shearer inequality bounds twice the full information entropy by the sum of their information entropies.
If is a Markov chain, thenThus deterministic or randomized processing cannot increase the information shared with an unprocessed variable.
If is a Markov chain conditionally on , thenIt follows by applying ordinary data processing inside every conditional distribution and averaging over .
Send a uniform bit twice through independent binary symmetric channels of crossover probability . The first received bit supplies bits. Since the received bits disagree with probability , the additional information in the second bit is
For finitely supported random variables in a finite additive group, let be independent variables with their respective marginal distributions. The entropic Ruzsa distance isIt is symmetric and nonnegative, but can have .
For finitely supported random variables, the conditional entropic Ruzsa distance isThus the two conditioning values are sampled independently. If only one variable is conditioned, write .
The simultaneous conditional distance samples one value of the conditioning variable for both arguments:It differs in general from , which uses two independently sampled conditioning values.
If are independent random variables in , thenIndeed, conditioning reduces entropy and independence giveIn , , so conditional entropy under a deterministic change of variables shows that the left-hand side is unchanged when and are exchanged. Averaging the displayed bound with its exchanged version gives the result.
For finitely supported random variables in an abelian group,To prove it, take two conditionally independent copies and of given . Since , entropy submodularity givesThe first two terms are at most . The last joint entropy isConsequently . Subtractingfrom this bound proves the theorem.
If is -relevant to and are mutually independent copies, then is -relevant to . The entropy submodularity for three independent sums impliesand similarly for . The Entropic Ruzsa triangle inequality boundswhich proves the claim after addition.
For independent finitely supported random variables in a finite additive group,This is the data processing inequality for mutual information applied to the Markov chain .
For independent with and identically distributed,This additive form of entropy submodularity follows from data processing and invariance of conditional entropy under translations.
For two probability mass functions , a decision region accepts . Its two error probabilities are and .
For a null hypothesis , a Type I error rejects when it is true, while a Type II error accepts when the alternative is true. If a test accepts on an event , their conditional probabilities are and .
The Chernoff information between and isIt is the optimal exponential error rate for Bayesian testing of two independent identically distributed simple hypotheses.
For distinct probability distributions , the best exponential decay rate of the type-II error among tests whose type-I error stays below any fixed number in is .
The Neyman-Pearson lemma says that an optimal region accepting has the likelihood-ratio formwith possible randomization on the boundary.
The total correlation of a random vector isIt is nonnegative and vanishes exactly when the coordinates are independent.
The type, or empirical distribution, of a finite string records the relative frequency of each symbol.
The type class is the set of all strings of a fixed length whose type is . Every string in one type class has the same probability under any independent identically distributed source law.
For a finite alphabet , there are at most length- types, and under an i.i.d. law the probability of the type class is at most when logarithms use base two.
Sanov's theorem is the large deviation principle for empirical distributions of independent identically distributed observations. On a finite alphabet with sampling law , its rate function is .
An information projection of onto a set of probability distributions minimizes over . For a closed convex set and suitable , it obeys the Pythagorean inequality
If every row of an -output channel matrix is a permutation of every other row and all column sums agree, the uniform input achieves a uniform output and
If one probability in a -point distribution equals , normalize the remaining probabilities to . Then . Equality for means that the remaining probabilities are equal. This combines the binary entropy of the distinguished event with the largest residual Shannon entropy.
For a finite-valued random variable, an epsilon-sufficient set retains probability at least . This notion is about covering probability mass and is unrelated to a sufficient statistic. For an IID random variable source, any such set of words with fixed requires exponentially many words at a rate approaching the Shannon entropy.
For finite-alphabet independent and identically distributed random variables, fixed and , every epsilon-sufficient set of length- words satisfies for sufficiently large . Intersect with a typical set whose excluded mass is at most . The intersection retains that much probability and each word has probability at most .
The differential entropy of a probability density function is when this expected value is defined. Unlike discrete information entropy, it can be negative and depends on the coordinates and reference measure. It is the entropy term in the evidence lower bound for continuous variational inference.
For a discrete random variable, . Indeed, every point probability satisfies , so averaging proves the inequality.
The varentropy of a discrete random variable with mass function is the variance of its information content:
The binary entropy function is
The chain rule for information entropy and conditioning reduces entropy givewith equality exactly when and are independent.
For probability mass functions and convex weights , information entropy satisfiesThis follows from the concavity of .
Among probability distributions on a finite set of elements, the uniform distribution uniquely maximizes information entropy, attaining .
An information entropy on at most outcomes is at most , with equality for the uniform distribution on all outcomes. For the uniform reference , the Kullback-Leibler divergence is , proving the bound.
Among distributions on with fixed expected value , the geometric distribution with success probability uniquely maximizes information entropy. Its entropy is
A one-to-one source code is an injective function from source symbols to finite codewords. Unlike a prefix code, it need not permit instantaneous decoding of concatenated codewords.
Order source symbols by decreasing probability and assign the th symbol a binary word of length . This minimizes expected length among one-to-one binary codes because the available shortest words are assigned to the most probable symbols.
Huffman's algorithm repeatedly combines the least weights for a -ary prefix code and yields an optimal expected length.
Some optimal prefix tree places the two least probable symbols as sibling leaves of maximum depth, which is the inductive basis of Huffman's algorithm.
An optimal prefix code minimizes probability-weighted codeword length among all prefix codes for the source.
If symbols of probabilities have codeword lengths and in an optimal prefix code, then . Otherwise, exchanging their codewords preserves the prefix property and changes the expected length bycontradicting optimality.
Every optimal binary prefix code has two codewords of maximal length that differ only in their final bit. Indeed, choose a deepest leaf in the prefix tree. If its sibling were not a codeword, maximality of the depth would make that sibling subtree empty, so the chosen word could be shortened by deleting its final bit. This would preserve prefix-freeness and reduce expected length.
Distinct tree shapes can have the same minimum expected length, particularly when Huffman merges have ties.
For a largest binary-symbol probability , prevents a length-one word, while forces one in a Huffman tree.
A source is reliably encodable at rate if there are block encoders with at most outputs and corresponding decoders whose probability of reconstructing the first source symbols incorrectly tends to zero as .
For a source and fixed positive integer , form the block source . Whenever the original information rate exists, the blocked source has information rate , because
For a stationary source, typical long blocks have probability approximately ; equivalently normalized self-information converges to the entropy rate.
For an IID source, the epsilon-typical set consists of words satisfying . Its probability tends to one, and its cardinality is at most .
For an IID random variable source with probability mass function , a word is weakly typical when . It has probability on the scale . The weak law of large numbers makes the typical set probable, but does not make every word in it representative: for a uniform source every possible word is weakly typical.
For a typical set of probability at least ,The upper bound sums the lower probability bound for each word; the lower bound sums the upper probability bound and uses the set's total probability. These bounds turn the asymptotic equipartition property into exponential estimates of source-coding dimension.
For a finite-alphabet IID random variable source, a strongly typical word has empirical symbol frequencies within the chosen tolerance of every , and contains no zero-probability symbols. Unlike a weakly typical sequence, this definition controls the individual symbol counts. Both definitions give sets whose probability tends to one for fixed positive tolerance.
Lengths of a binary prefix code satisfy and therefore define the probability mass function . Conversely, a mass function gives ideal lengths and integer prefix lengths after rounding.
For an IID finite-alphabet source encoded at rate , the optimal block error probability has exponential rate
Unicity distance is the ciphertext length at which key equivocation reaches zero and the key becomes uniquely determined under the source model.
Key equivocation is the conditional entropy remaining about a key after observing ciphertext symbols.
For ciphertext alphabet and source entropy , each symbol has redundancy , leading in Shannon's ideal model to .
If distinct keys transform every ciphertext into equally probable plaintexts through a probability-preserving source symmetry, key equivocation never vanishes and unicity distance is infinite.
Articles by others on the same topic
Information theory is a branch of applied mathematics and electrical engineering that deals with the quantification, storage, and communication of information. It was founded by Claude Shannon in his groundbreaking 1948 paper, "A Mathematical Theory of Communication." The field has since grown to encompass various aspects of information processing and transmission. Key concepts in information theory include: 1. **Information**: This is often quantified in terms of entropy, which measures the uncertainty or unpredictability of information content. Higher entropy indicates more information.