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

## 1.Statements

Suppose ai and bi are nonnegative numbers. The log sum inequality states that

## 2.Proof

### (1)Convex functioin

In mathematics, a real-valued function F(x) defined on an interval is called convex (or convex downward or concave upward) if the graph of the function lies below the line segment joining any two points of the graph. Equivalently, a function is convex if its epigraph (the set of points on or above the graph of the function) is a convex set.

The mathematical expressions are as follows,

A real valued function $f: X → R$ defined on a convex set $X$ in a vector space is called convex if, for any two points
$x_{1}$ and $x_{2}$ in $X$ and any $t \in [0,1]$,

Examples of convex functions are the quadratic function $F(x)=x_{2}$ and the exponential function $F(x)=e^{x}$ for any real number $x$. For more examples and properties of this type of function, please refer to them on Wikipedia.

### (2)Jensen's inequality

Jensen's inequality generalizes the statement that the secant line of a convex function lies above the graph of the function. There are also converses of the Jensen's inequality, which estimate the upper bound of the integral of the convex function.

In the context of probability theory, it is generally stated in the following form: if $X$ is a random variable

and $\phi$ is a convex function, then

*{i} x*{i}}{\sum a

*{j}}) \leq \frac{a*{i}\phi (x

*{i})}{\sum a*{j}}$.

### (3)The Log Sum Inequality

Notice that after setting $f(x) = xlog x$ we have*{i=1}^{n}a*{i}llog\frac{a

*{i}}{b*{i}} =& \sum

*{i=1}^{n}b*{i}f(\frac{a

*{i}}{b*{i}}) = b\sum

*{i=1}^{n}\frac{b*{i}}{b}f(\frac{a

*{i}}{b*{i}}) \ \geq & bf(\sum

*{i=1}^{n}\frac{b*{i}}{b}\frac{a

*{i}}{b*{i}}) = bf(\frac{1}{b}\sum

*{i=1}^{n}a*{i}) = bf(\frac{a}{b})\ = & alog \frac{a}{b} \end{align}$.

where the inequality follows from Jensen's inequality since $\frac{b*{i}}{b} \geq 0, \sum *{i} \frac{b_{i}}{b} = 1$,
and $f$ is convex.

## 3.Application

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

*{KL}(P\parallel Q) \equiv \sum*{i=1}^{n}p

*{i}log*{2}\frac{p

*{i}}{q*{i}} \geq 1log\frac{1}{1} = 0$.

## References

[1]Convex function, http://en.wikipedia.org/wiki/Convex_function

[2]Jensen's inequality, http://en.wikipedia.org/wiki/Jensen%27s_inequality

[3]The Log Sum Inequality, http://en.wikipedia.org/wiki/Log_sum_inequality