Skip to content

Commit 22770ee

Browse files
authored
added 2 proofs
1 parent a496f78 commit 22770ee

2 files changed

Lines changed: 162 additions & 0 deletions

File tree

P/dent-add.md

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
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-12-02 16:39:00
9+
10+
title: "Addition of the differential entropy upon multiplication with a constant"
11+
chapter: "General Theorems"
12+
section: "Information theory"
13+
topic: "Differential entropy"
14+
theorem: "Addition upon multiplication"
15+
16+
sources:
17+
- authors: "Wikipedia"
18+
year: 2020
19+
title: "Differential entropy"
20+
in: "Wikipedia, the free encyclopedia"
21+
pages: "retrieved on 2020-02-12"
22+
url: "https://en.wikipedia.org/wiki/Differential_entropy#Properties_of_differential_entropy"
23+
24+
proof_id: "P200"
25+
shortcut: "dent-add"
26+
username: "JoramSoch"
27+
---
28+
29+
30+
**Theorem:** Let $X$ be a [continuous](/D/rvar-disc) [random variable](/D/rvar). Then, the [differential entropy](/D/dent) of $X$ increases additively upon multiplication with a constant:
31+
32+
$$ \label{eq:dent-add}
33+
\mathrm{h}(aX) = \mathrm{h}(X) + \log |a| \; .
34+
$$
35+
36+
37+
**Proof:** By definition, the [differential entropy](/D/dent) of $X$ is
38+
39+
$$ \label{eq:X-dent}
40+
\mathrm{h}(X) = - \int_{\mathcal{X}} p(x) \log p(x) \, \mathrm{d}x
41+
$$
42+
43+
where $p(x) = f_X(x)$ is the [probability density function](/D/pdf) of $X$.
44+
45+
Define the mappings between $X$ and $Y = aX$ as
46+
47+
$$ \label{eq:X-Y}
48+
Y = g(X) = aX \quad \Leftrightarrow \quad X = g^{-1}(Y) = \frac{Y}{a} \; .
49+
$$
50+
51+
If $a > 0$, then $g(X)$ is a [strictly increasing function, such that the probability density function](/P/pdf-sifct) of $Y$ is
52+
53+
$$ \label{eq:Y-pdf-c1}
54+
f_Y(y) = f_X(g^{-1}(y)) \, \frac{\mathrm{d}g^{-1}(y)}{\mathrm{d}y} \overset{\eqref{eq:X-Y}}{=} \frac{1}{a} \, f_X\left(\frac{y}{a}\right) \; ,
55+
$$
56+
57+
and if $a < 0$, then $g(X)$ is a [strictly decreasing function, such that the probability density function](/P/pdf-sifct) of $Y$ is
58+
59+
$$ \label{eq:Y-pdf-c2}
60+
f_Y(y) = - f_X(g^{-1}(y)) \, \frac{\mathrm{d}g^{-1}(y)}{\mathrm{d}y} \overset{\eqref{eq:X-Y}}{=} -\frac{1}{a} \, f_X\left(\frac{y}{a}\right) \; ,
61+
$$
62+
63+
such that we can write
64+
65+
$$ \label{eq:Y-pdf}
66+
f_Y(y) = \left| \frac{1}{a} \right| \, f_X\left(\frac{y}{a}\right) \; .
67+
$$
68+
69+
Writing down the differential entropy for $Y$, we have:
70+
71+
$$ \label{eq:Y-dent-s1}
72+
\begin{split}
73+
\mathrm{h}(Y) &= - \int_{\mathcal{Y}} f_Y(y) \log f_Y(y) \, \mathrm{d}y \\
74+
&\overset{\eqref{eq:Y-pdf}}{=} - \int_{\mathcal{Y}} \left| \frac{1}{a} \right| \, f_X\left(\frac{y}{a}\right) \log \left[ \left| \frac{1}{a} \right| \, f_X\left(\frac{y}{a}\right) \right] \, \mathrm{d}y
75+
\end{split}
76+
$$
77+
78+
Substituting $x = y/a$, such that $y = ax$, this yields:
79+
80+
$$ \label{eq:Y-dent-s2}
81+
\begin{split}
82+
\mathrm{h}(Y) &= - \int_{\left\lbrace y/a \,|\, y \in {\mathcal{Y}} \right\rbrace} \left| \frac{1}{a} \right| \, f_X\left(\frac{ax}{a}\right) \log \left[ \left| \frac{1}{a} \right| \, f_X\left(\frac{ax}{a}\right) \right] \, \mathrm{d}(ax) \\
83+
&= - \int_{\mathcal{X}} f_X(x) \log \left[ \left| \frac{1}{a} \right| \, f_X(x) \right] \, \mathrm{d}x \\
84+
&= - \int_{\mathcal{X}} f_X(x) \left[ \log f_X(x) - \log |a| \right] \, \mathrm{d}x \\
85+
&= - \int_{\mathcal{X}} f_X(x) \log f_X(x) \, \mathrm{d}x + \log |a| \int_{\mathcal{X}} f_X(x) \, \mathrm{d}x \\
86+
&\overset{\eqref{eq:X-dent}}{=} \mathrm{h}(X) + \log |a| \; .
87+
\end{split}
88+
$$

P/dent-inv.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
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-12-02 16:11:00
9+
10+
title: "Invariance of the differential entropy under addition of a constant"
11+
chapter: "General Theorems"
12+
section: "Information theory"
13+
topic: "Differential entropy"
14+
theorem: "Invariance under addition"
15+
16+
sources:
17+
- authors: "Wikipedia"
18+
year: 2020
19+
title: "Differential entropy"
20+
in: "Wikipedia, the free encyclopedia"
21+
pages: "retrieved on 2020-02-12"
22+
url: "https://en.wikipedia.org/wiki/Differential_entropy#Properties_of_differential_entropy"
23+
24+
proof_id: "P199"
25+
shortcut: "dent-inv"
26+
username: "JoramSoch"
27+
---
28+
29+
30+
**Theorem:** Let $X$ be a [continuous](/D/rvar-disc) [random variable](/D/rvar). Then, the [differential entropy](/D/dent) of $X$ remains constant under addition of a constant:
31+
32+
$$ \label{eq:dent-inv}
33+
\mathrm{h}(X + c) = \mathrm{h}(X) \; .
34+
$$
35+
36+
37+
**Proof:** By definition, the [differential entropy](/D/dent) of $X$ is
38+
39+
$$ \label{eq:X-dent}
40+
\mathrm{h}(X) = - \int_{\mathcal{X}} p(x) \log p(x) \, \mathrm{d}x
41+
$$
42+
43+
where $p(x) = f_X(x)$ is the [probability density function](/D/pdf) of $X$.
44+
45+
Define the mappings between $X$ and $Y = X + c$ as
46+
47+
$$ \label{eq:X-Y}
48+
Y = g(X) = X + c \quad \Leftrightarrow \quad X = g^{-1}(Y) = X - c \; .
49+
$$
50+
51+
Note that $g(X)$ is a [strictly increasing function, such that the probability density function](/P/pdf-sifct) of $Y$ is
52+
53+
$$ \label{eq:Y-pdf}
54+
f_Y(y) = f_X(g^{-1}(y)) \, \frac{\mathrm{d}g^{-1}(y)}{\mathrm{d}y} \overset{\eqref{eq:X-Y}}{=} f_X(y-c) \; .
55+
$$
56+
57+
Writing down the differential entropy for $Y$, we have:
58+
59+
$$ \label{eq:Y-dent-s1}
60+
\begin{split}
61+
\mathrm{h}(Y) &= - \int_{\mathcal{Y}} f_Y(y) \log f_Y(y) \, \mathrm{d}y \\
62+
&\overset{\eqref{eq:Y-pdf}}{=} - \int_{\mathcal{Y}} f_X(y-c) \log f_X(y-c) \, \mathrm{d}y
63+
\end{split}
64+
$$
65+
66+
Substituting $x = y - c$, such that $y = x + c$, this yields:
67+
68+
$$ \label{eq:Y-dent-s2}
69+
\begin{split}
70+
\mathrm{h}(Y) &= - \int_{\left\lbrace y-c \,|\, y \in {\mathcal{Y}} \right\rbrace} f_X(x+c-c) \log f_X(x+c-c) \, \mathrm{d}(x+c) \\
71+
&= - \int_{\mathcal{X}} f_X(x) \log f_X(x) \, \mathrm{d}x \\
72+
&\overset{\eqref{eq:X-dent}}{=} \mathrm{h}(X) \; .
73+
\end{split}
74+
$$

0 commit comments

Comments
 (0)