Information theory and measure theory
From Wikipedia, the free encyclopedia
This article discusses how information theory (a branch of mathematics studying the transmission, processing and storage of information) is related to measure theory (a branch of mathematics related to integration and probability).
Many of the concepts in information theory have separate definitions and formulas for continuous and discrete cases. For example, entropy is usually defined for discrete random variables, whereas for continuous random variables the related concept of differential entropy, written , is used (see Cover and Thomas, 2006, chapter 8). Both these concepts are mathematical expectations, but the expectation is defined with an integral for the continuous case, and a sum for the discrete case.
These separate definitions can be more closely related in terms of measure theory. For discrete random variables, probability mass functions can be considered density functions with respect to the counting measure. Thinking of both the integral and the sum as integration on a measure space allows for a unified treatment.
Consider the formula for the differential entropy of a continuous random variable with range and probability density function :
This can usually be interpreted as the following Riemann–Stieltjes integral:
where is the Lebesgue measure.
If instead, is discrete, with range a finite set, is a probability mass function on , and is the counting measure on , we can write:
The integral expression, and the general concept, are identical in the continuous case; the only difference is the measure used. In both cases the probability density function is the Radon–Nikodym derivative of the probability measure with respect to the measure against which the integral is taken.
If is the probability measure induced by , then the integral can also be taken directly with respect to :
If instead of the underlying measure μ we take another probability measure , we are led to the Kullback–Leibler divergence: let and be probability measures over the same space. Then if is absolutely continuous with respect to , written the Radon–Nikodym derivative exists and the Kullback–Leibler divergence can be expressed in its full generality:
where the integral runs over the support of Note that we have dropped the negative sign: the Kullback–Leibler divergence is always non-negative due to Gibbs' inequality.
Entropy as a "measure"


There is an analogy between Shannon's basic "measures" of the information content of random variables and a measure over sets. Namely the joint entropy, conditional entropy, and mutual information can be considered as the measure of a set union, set difference, and set intersection, respectively (Reza pp. 106–108).
If we associate the existence of abstract sets and to arbitrary discrete random variables X and Y, somehow representing the information borne by X and Y, respectively, such that:
- whenever X and Y are unconditionally independent, and
- whenever X and Y are such that either one is completely determined by the other (i.e. by a bijection);
where is a signed measure over these sets, and we set:
we find that Shannon's "measure" of information content satisfies all the postulates and basic properties of a formal signed measure over sets, as commonly illustrated in an information diagram. This allows the sum of two measures to be written:
and the analog of Bayes' theorem () allows the difference of two measures to be written:
This can be a handy mnemonic device in some situations, e.g.
Note that measures (expectation values of the logarithm) of true probabilities are called "entropy" and generally represented by the letter H, while other measures are often referred to as "information" or "correlation" and generally represented by the letter I. For notational simplicity, the letter I is sometimes used for all measures.