The log sum inequality is used for proving theorems in information theory.
Statement Let a1,…,an and b1,…,bn be nonnegative numbers. Denote the sum of all ais by a and the sum of all bis by b. The log sum inequality states that
∑i=1nailogaibi≥alogab, with equality if and only if aibi=ab for all i. (Take ailogaibi to be 0 if ai=0 and ∞ if ai>0,bi=0. These are the limiting values obtained as the relevant number tends to 0.)
Proof Notice that after setting f(x)=xlogx we have
∑i=1nailogaibi=∑i=1nbif(aibi)=b∑i=1nbibf(aibi)≥bf(∑i=1nbibaibi)=bf(1b∑i=1nai)=bf(ab)=alogab, where the inequality follows from Jensen's inequality since bib≥0, ∑i=1nbib=1, and f is convex.
Generalizations The inequality remains valid for n=∞ provided that a<∞ and b<∞. The proof above holds for any function g such that f(x)=xg(x) is convex, such as all continuous non-decreasing functions. Generalizations to non-decreasing functions other than the logarithm is given in Csiszár, 2004. Another generalization is due to Dannan, Neff and Thiel, who showed that if a1,a2⋯an and b1,b2⋯bn are positive real numbers with a1+a2⋯+an=a and b1+b2⋯+bn=b, and k≥0, then ∑i=1nailog(aibi+k)≥alog(ab+k).
Applications The log sum inequality can be used to prove inequalities in information theory. Gibbs' inequality states that the Kullback–Leibler divergence is non-negative, and equal to zero precisely if its arguments are equal. One proof uses the log sum inequality.
The inequality can also prove convexity of Kullback–Leibler divergence.
Notes
References Cover, Thomas M.; Thomas, Joy A. (1991). Elements of Information Theory. Hoboken, New Jersey: Wiley. ISBN 978-0-471-24195-9. Csiszár, I.; Shields, P. (2004). "Information Theory and Statistics: A Tutorial" (PDF). Foundations and Trends in Communications and Information Theory. 1 (4): 417–528. doi:10.1561/0100000004. Retrieved 2009-06-14. T.S. Han, K. Kobayashi, Mathematics of information and coding. American Mathematical Society, 2001. ISBN 0-8218-0534-7. Information Theory course materials, Utah State University [1]. Retrieved on 2009-06-14. MacKay, David J.C. (2003). Information Theory, Inference, and Learning Algorithms. Cambridge University Press. ISBN 0-521-64298-1.