Trisha Shetty (Editor)

Log sum inequality

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit


In mathematics, the log sum inequality is an inequality which is useful for proving several theorems in information theory.

Contents

Statement

Let a 1 , , a n and b 1 , , b n be nonnegative numbers. Denote the sum of all a i s by a and the sum of all b i s by b . The log sum inequality states that

i = 1 n a i log a i b i a log a b ,

with equality if and only if a i b i are equal for all i .

Proof

Notice that after setting f ( x ) = x log x we have

i = 1 n a i log a i b i = i = 1 n b i f ( a i b i ) = b i = 1 n b i b f ( a i b i ) b f ( i = 1 n b i b a i b i ) = b f ( 1 b i = 1 n a i ) = b f ( a b ) = a log a b ,

where the inequality follows from Jensen's inequality since b i b 0 , i b i b = 1 , and f is convex.

Applications

The log sum inequality can be used to prove several inequalities in information theory such as Gibbs' inequality or the convexity of Kullback-Leibler divergence.

For example, to prove Gibbs' inequality it is enough to substitute p i s for a i s, and q i s for b i s to get

D K L ( P Q ) i = 1 n p i log 2 p i q i 1 log 1 1 = 0.

Generalizations

The inequality remains valid for n = provided that a < and b < . The proof above holds for any function g such that f ( x ) = x g ( x ) is convex, such as all continuous non-decreasing functions. Generalizations to convex functions other than the logarithm is given in Csiszár, 2004.

References

Log sum inequality Wikipedia