Log sum inequality explained

The log sum inequality is used for proving theorems in information theory.

Statement

Let

a1,\ldots,an

and

b1,\ldots,bn

be nonnegative numbers. Denote the sum of all

ai

s by

a

and the sum of all

bi

s by

b

. The log sum inequality states that
n
\sum
i=1
a
ilogai
bi

\geqalog

a
b

,

with equality if and only if

ai
bi
are equal for all

i

, in other words

ai=cbi

for all

i

.

(Take

ailog

ai
bi
to be

0

if

ai=0

and

infty

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
n
\begin{align} \sum
i=1
a
ilogai
bi

&{}=

n
\sum
i=1

bif\left(

ai
bi

\right) =

n
b\sum
i=1
bif\left(
b
ai
bi

\right)\\ &{}\geqb

n
f\left(\sum
i=1
bi
b
ai
bi

\right)=bf\left(

1
b
n
\sum
i=1

ai\right) =bf\left(

a
b

\right)\\ &{}=alog

a
b

, \end{align}

where the inequality follows from Jensen's inequality since
bi
b

\geq0

,
nbi
b
\sum
i=1

=1

, and

f

is convex.

Generalizations

The inequality remains valid for

n=infty

provided that

a<infty

and

b<infty

.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,a2an

and

b1,b2bn

are positive real numbers with

a1+a2+an=a

and

b1+b2+bn=b

, and

k\geq0

, then
n
\sum
i=1

ailog\left(

ai
bi

+k\right)\geqalog\left(

a
b

+k\right)

. [1]

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.

References

Notes and References

  1. F. M. Dannan, P. Neff, C. Thiel . On the sum of squared logarithms inequality and related inequalities . Journal of Mathematical Inequalities . 2016 . 10 . 1 . 1–17 . 10.7153/jmi-10-01 . 23953925 . 12 January 2023.