|
| 1 | +--- |
| 2 | +layout: proof |
| 3 | +mathjax: true |
| 4 | + |
| 5 | +author: "Joram Soch" |
| 6 | +affiliation: "BCCN Berlin" |
| 7 | +e_mail: "joram.soch@bccn-berlin.de" |
| 8 | +date: 2020-09-09 02:46:00 |
| 9 | + |
| 10 | +title: "Log sum inequality" |
| 11 | +chapter: "General Theorems" |
| 12 | +section: "Information theory" |
| 13 | +topic: "Shannon entropy" |
| 14 | +theorem: "Log sum inequality" |
| 15 | + |
| 16 | +sources: |
| 17 | + - authors: "Wikipedia" |
| 18 | + year: 2020 |
| 19 | + title: "Log sum inequality" |
| 20 | + in: "Wikipedia, the free encyclopedia" |
| 21 | + pages: "retrieved on 2020-09-09" |
| 22 | + url: "https://en.wikipedia.org/wiki/Log_sum_inequality#Proof" |
| 23 | + - authors: "Wikipedia" |
| 24 | + year: 2020 |
| 25 | + title: "Jensen's inequality" |
| 26 | + in: "Wikipedia, the free encyclopedia" |
| 27 | + pages: "retrieved on 2020-09-09" |
| 28 | + url: "https://en.wikipedia.org/wiki/Jensen%27s_inequality#Statements" |
| 29 | + |
| 30 | +proof_id: "P165" |
| 31 | +shortcut: "logsum-ineq" |
| 32 | +username: "JoramSoch" |
| 33 | +--- |
| 34 | + |
| 35 | + |
| 36 | +**Theorem:** Let $a_1, \ldots, a_n$ and $b_1, \ldots, b_n$ be non-negative real numbers and define $a = \sum_{i=1}^{n} a_i$ and $b = \sum_{i=1}^{n} b_i$. Then, the log sum inequality states that |
| 37 | + |
| 38 | +$$ \label{eq:logsum-ineq} |
| 39 | +\sum_{i=1}^n a_i \, \log_c \frac{a_i}{b_i} \geq a \, \log_c \frac{a}{b} \; . |
| 40 | +$$ |
| 41 | + |
| 42 | + |
| 43 | +**Proof:** Without loss of generality, we will use the natural logarithm, because a change in the base of the logarithm only implies multiplication by a constant: |
| 44 | + |
| 45 | +$$ \label{eq:log-ln} |
| 46 | +\log_c a = \frac{\ln a}{\ln c} \; . |
| 47 | +$$ |
| 48 | + |
| 49 | +Let $f(x) = x \ln x$. Then, the left-hand side of \eqref{eq:logsum-ineq} can be rewritten as |
| 50 | + |
| 51 | +$$ \label{eq:logsum-ineq-s2} |
| 52 | +\begin{split} |
| 53 | +\sum_{i=1}^n a_i \, \ln \frac{a_i}{b_i} &= \sum_{i=1}^n b_i \, f\left( \frac{a_i}{b_i} \right) \\ |
| 54 | +&= b \sum_{i=1}^n \frac{b_i}{b} \, f\left( \frac{a_i}{b_i} \right) \; . |
| 55 | +\end{split} |
| 56 | +$$ |
| 57 | + |
| 58 | +Because $f(x)$ is a convex function and |
| 59 | + |
| 60 | +$$ \label{eq:sum-bi-b} |
| 61 | +\begin{split} |
| 62 | +\frac{b_i}{b} &\geq 0 \\ |
| 63 | +\sum_{i=1}^n \frac{b_i}{b} &= 1 \; , |
| 64 | +\end{split} |
| 65 | +$$ |
| 66 | + |
| 67 | +applying Jensen's inequality yields |
| 68 | + |
| 69 | +$$ \label{eq:logsum-ineq-s3} |
| 70 | +\begin{split} |
| 71 | +b \sum_{i=1}^n \frac{b_i}{b} \, f\left( \frac{a_i}{b_i} \right) &\geq b \, f\left( \sum_{i=1}^n \frac{b_i}{b} \frac{a_i}{b_i} \right) \\ |
| 72 | +&= b \, f\left( \frac{1}{b} \sum_{i=1}^n a_i \right) \\ |
| 73 | +&= b \, f\left( \frac{a}{b} \right) \\ |
| 74 | +&= a \, \ln \frac{a}{b} \; . |
| 75 | +\end{split} |
| 76 | +$$ |
| 77 | + |
| 78 | +Finally, combining \eqref{eq:logsum-ineq-s2} and \eqref{eq:logsum-ineq-s3}, this demonstrates \eqref{eq:logsum-ineq}. |
0 commit comments