Gibbs' inequality
From Wikipedia, the free encyclopedia
In information theory, Gibbs' inequality is a statement about the mathematical entropy of a discrete probability distribution. Several other bounds on the entropy of probability distributions are derived from Gibbs' inequality, including Fano's inequality.
First presented by J. Willard Gibbs in the nineteenth century.
Contents |
[edit] Gibbs' inequality
Suppose that
is a probability distribution. Then for any other probability distribution
the following inequality holds
with equality if and only if
for all i.
The difference between the two quantities is the negative of the Kullback–Leibler divergence or relative entropy, so the inequality can also be written:
[edit] Proof
Since
it is sufficient to prove the statement using the natural logarithm (ln). Note that the natural logarithm satisfies
for all x with equality if and only if x=1.
Let I denote the set of all i for which pi is non-zero. Then
So
and then trivially
since the right hand side does not grow, but the left hand side may grow or may stay the same.
For equality to hold, we require:
- for all so that the approximation is exact.
- so that equality continues to hold between the third and fourth lines of the proof.
This can happen if and only if
- pi = qi
for i = 1, ..., n.
[edit] Alternative proofs
The result can alternatively be proved using Jensen's inequality or log sum inequality.
[edit] Corollary
The entropy of P is bounded by:
The proof is trivial - simply set qi = 1 / n for all i.