Skip to content

Commit 7ada308

Browse files
authored
added 5 proofs
1 parent 2fac48f commit 7ada308

5 files changed

Lines changed: 398 additions & 0 deletions

File tree

P/mgf-lincomb.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
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-08-19 08:36:00
9+
10+
title: "Moment-generating function of linear combination of independent random variables"
11+
chapter: "General Theorems"
12+
section: "Probability theory"
13+
topic: "Probability functions"
14+
theorem: "Moment-generating function of linear combination"
15+
16+
sources:
17+
- authors: "ProofWiki"
18+
year: 2020
19+
title: "Moment Generating Function of Linear Combination of Independent Random Variables"
20+
in: "ProofWiki"
21+
pages: "retrieved on 2020-08-19"
22+
url: "https://proofwiki.org/wiki/Moment_Generating_Function_of_Linear_Combination_of_Independent_Random_Variables"
23+
24+
proof_id: "P155"
25+
shortcut: "mgf-lincomb"
26+
username: "JoramSoch"
27+
---
28+
29+
30+
**Theorem:** Let $X_1, \ldots, X_n$ be $n$ [independent](/D/ind) [random variables](/D/rvar) with [moment-generating functions](/D/mgf) $M_{X_i}(t)$. Then, the moment-generating function of the linear combination $X = \sum_{i=1}^{n} a_i X_i$ is given by
31+
32+
$$ \label{eq:mgf-lincomb}
33+
M_X(t) = \prod_{i=1}^{n} M_{X_i}(a_i t)
34+
$$
35+
36+
where $a_1, \ldots, a_n$ are $n$ real numbers.
37+
38+
39+
**Proof:** The [moment-generating function of a random variable](/D/mgf) $X_i$ is
40+
41+
$$ \label{eq:mfg-vect}
42+
M_{X_i}(t) = \mathrm{E} \left( \exp \left[ t X_i \right] \right)
43+
$$
44+
45+
and therefore the moment-generating function of the linear combination $X$ is given by
46+
47+
$$ \label{eq:mgf-lincomb-s1}
48+
\begin{split}
49+
M_X(t) &= \mathrm{E} \left( \exp \left[ t X \right] \right) \\
50+
&= \mathrm{E} \left( \exp \left[ t \sum_{i=1}^{n} a_i X_i \right] \right) \\
51+
&= \mathrm{E} \left( \prod_{i=1}^{n} \exp \left[ t \, a_i X_i \right] \right) \; .
52+
\end{split}
53+
$$
54+
55+
Because the [expected value is multiplicative for independent random variables](/P/mean-mult), we have
56+
57+
$$ \label{eq:mgf-lincomb-s2}
58+
\begin{split}
59+
M_X(t) &= \prod_{i=1}^{n} \mathrm{E} \left( \exp \left[ (a_i t) X_i \right] \right) \\
60+
&= \prod_{i=1}^{n} M_{X_i}(a_i t) \; .
61+
\end{split}
62+
$$

P/mgf-ltt.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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-08-19 08:09:00
9+
10+
title: "Linear transformation theorem for the moment-generating function"
11+
chapter: "General Theorems"
12+
section: "Probability theory"
13+
topic: "Probability functions"
14+
theorem: "Moment-generating function of linear transformation"
15+
16+
sources:
17+
- authors: "ProofWiki"
18+
year: 2020
19+
title: "Moment Generating Function of Linear Transformation of Random Variable"
20+
in: "ProofWiki"
21+
pages: "retrieved on 2020-08-19"
22+
url: "https://proofwiki.org/wiki/Moment_Generating_Function_of_Linear_Transformation_of_Random_Variable"
23+
24+
proof_id: "P154"
25+
shortcut: "mgf-ltt"
26+
username: "JoramSoch"
27+
---
28+
29+
30+
**Theorem:** Let $X$ be an $n \times 1$ [random vector](/D/rvec) with the [moment-generating function](/D/mgf) $M_X(t)$. Then, the moment-generating function of the linear transformation $Y = A X + b$ is given by
31+
32+
$$ \label{eq:mgf-ltt}
33+
M_Y(t) = \exp \left[ t^\mathrm{T} b \right] \cdot M_X(At)
34+
$$
35+
36+
where $A$ is an $m \times n$ matrix and $b$ is an $m \times 1$ vector.
37+
38+
39+
**Proof:** The [moment-generating function of a random vector](/D/mgf) $X$ is
40+
41+
$$ \label{eq:mfg-vect}
42+
M_X(t) = \mathrm{E} \left( \exp \left[ t^\mathrm{T} X \right] \right)
43+
$$
44+
45+
and therefore the moment-generating function of the [random vector](/D/rvec) $Y$ is given by
46+
47+
$$ \label{eq:mgf-ltt-qed}
48+
\begin{split}
49+
M_Y(t) &= \mathrm{E} \left( \exp \left[ t^\mathrm{T} (AX + b) \right] \right) \\
50+
&= \mathrm{E} \left( \exp \left[ t^\mathrm{T} A X \right] \cdot \exp \left[ t^\mathrm{T} b \right] \right) \\
51+
&= \exp \left[ t^\mathrm{T} b \right] \cdot \mathrm{E} \left( \exp \left[ (A t)^\mathrm{T} X \right] \right) \\
52+
&= \exp \left[ t^\mathrm{T} b \right] \cdot M_X(At) \; .
53+
\end{split}
54+
$$

P/mom-mgf.md

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
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-08-19 07:51:00
9+
10+
title: "Moment in terms of moment-generating function"
11+
chapter: "General Theorems"
12+
section: "Probability theory"
13+
topic: "Further moments"
14+
theorem: "Moment in terms of moment-generating function"
15+
16+
sources:
17+
- authors: "ProofWiki"
18+
year: 2020
19+
title: "Moment in terms of Moment Generating Function"
20+
in: "ProofWiki"
21+
pages: "retrieved on 2020-08-19"
22+
url: "https://proofwiki.org/wiki/Moment_in_terms_of_Moment_Generating_Function"
23+
24+
proof_id: "P153"
25+
shortcut: "mom-mgf"
26+
username: "JoramSoch"
27+
---
28+
29+
30+
**Theorem:** Let $X$ be a scalar [random variable](/D/rvar) with the [moment-generating function](/D/mgf) $M_X(t)$. Then, the $n$-th [moment](/D/mom) of $X$ can be calculated from the moment-generating function via
31+
32+
$$ \label{eq:mom-mgf}
33+
\mathrm{E}(X^n) = M_X^{(n)}(0)
34+
$$
35+
36+
where $n$ is a positive integer and $M_X^{(n)}(t)$ is the $n$-th derivative of $M_X(t)$.
37+
38+
39+
**Proof:** Using the [definition of the moment-generating function](/D/mgf), we can write:
40+
41+
$$ \label{eq:mom-mgf-s1}
42+
M_X^{(n)}(t) = \frac{\mathrm{d}^n}{\mathrm{d}t^n} \mathrm{E}(e^{tX}) \; .
43+
$$
44+
45+
Using the power series expansion of the exponential function
46+
47+
$$ \label{eq:exp-ps}
48+
e^x = \sum_{n=0}^\infty \frac{x^n}{n!} \; ,
49+
$$
50+
51+
equation \eqref{eq:mom-mgf-s1} becomes
52+
53+
$$ \label{eq:mom-mgf-s2}
54+
M_X^{(n)}(t) = \frac{\mathrm{d}^n}{\mathrm{d}t^n} \mathrm{E}\left( \sum_{m=0}^\infty \frac{t^m X^m}{m!} \right) \; .
55+
$$
56+
57+
Because the [expected value is a linear operator](/P/mean-lin), we have:
58+
59+
$$ \label{eq:mom-mgf-s3}
60+
\begin{split}
61+
M_X^{(n)}(t) &= \frac{\mathrm{d}^n}{\mathrm{d}t^n} \sum_{m=0}^\infty \mathrm{E}\left( \frac{t^m X^m}{m!} \right) \\
62+
&= \sum_{m=0}^\infty \frac{\mathrm{d}^n}{\mathrm{d}t^n} \frac{t^m}{m!} \mathrm{E}\left( X^m \right) \; .
63+
\end{split}
64+
$$
65+
66+
Using the $n$-th derivative of the $m$-th power
67+
68+
$$ \label{eq:dndx-xm}
69+
\frac{\mathrm{d}^n}{\mathrm{d}x^n} x^m = \left\{
70+
\begin{array}{rl}
71+
m^{\underline{n}} \, x^{m-n} \; , & \text{if} \; n \leq m \\
72+
0 \; , & \text{if} \; n > m \; .
73+
\end{array}
74+
\right.
75+
$$
76+
77+
with the falling factorial
78+
79+
$$ \label{eq:fact-fall}
80+
m^{\underline{n}} = \prod_{i=0}^{n-1} (m-i) = \frac{m!}{(m-n)!} \; ,
81+
$$
82+
83+
equation \eqref{eq:mom-mgf-s3} becomes
84+
85+
$$ \label{eq:mom-mgf-s4}
86+
\begin{split}
87+
M_X^{(n)}(t) &= \sum_{m=n}^\infty \frac{m^{\underline{n}} \, t^{m-n}}{m!} \mathrm{E}\left( X^m \right) \\
88+
&\overset{\eqref{eq:fact-fall}}{=} \sum_{m=n}^\infty \frac{m! \, t^{m-n}}{(m-n)! \, m!} \mathrm{E}\left( X^m \right) \\
89+
&= \sum_{m=n}^\infty \frac{t^{m-n}}{(m-n)!} \mathrm{E}\left( X^m \right) \\
90+
&= \frac{t^{n-n}}{(n-n)!} \mathrm{E}\left( X^n \right) + \sum_{m=n+1}^\infty \frac{t^{m-n}}{(m-n)!} \mathrm{E}\left( X^m \right) \\
91+
&= \frac{t^0}{0!} \, \mathrm{E}\left( X^n \right) + \sum_{m=n+1}^\infty \frac{t^{m-n}}{(m-n)!} \mathrm{E}\left( X^m \right) \\
92+
&= \mathrm{E}\left( X^n \right) + \sum_{m=n+1}^\infty \frac{t^{m-n}}{(m-n)!} \mathrm{E}\left( X^m \right) \; .
93+
\end{split}
94+
$$
95+
96+
Setting $t = 0$ in \eqref{eq:mom-mgf-s4} yields
97+
98+
$$ \label{eq:mom-mgf-s5}
99+
\begin{split}
100+
M_X^{(n)}(0) &= \mathrm{E}\left( X^n \right) + \sum_{m=n+1}^\infty \frac{0^{m-n}}{(m-n)!} \mathrm{E}\left( X^m \right) \\
101+
&= \mathrm{E}\left( X^n \right)
102+
\end{split}
103+
$$
104+
105+
which conforms to equation \eqref{eq:mom-mgf}.

P/norm-fwhm.md

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
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-08-19 06:39:00
9+
10+
title: "Full width at half maximum for the normal distribution"
11+
chapter: "Probability Distributions"
12+
section: "Univariate continuous distributions"
13+
topic: "Normal distribution"
14+
theorem: "Full width at half maximum"
15+
16+
sources:
17+
- authors: "Wikipedia"
18+
year: 2020
19+
title: "Full width at half maximum"
20+
in: "Wikipedia, the free encyclopedia"
21+
pages: "retrieved on 2020-08-19"
22+
url: "https://en.wikipedia.org/wiki/Full_width_at_half_maximum"
23+
24+
proof_id: "P152"
25+
shortcut: "norm-fwhm"
26+
username: "JoramSoch"
27+
---
28+
29+
30+
**Theorem:** Let $X$ be a [random variable](/D/rvar) following a [normal distribution](/D/norm):
31+
32+
$$ \label{eq:norm}
33+
X \sim \mathcal{N}(\mu, \sigma^2) \; .
34+
$$
35+
36+
Then, the [full width at half maximum](/D/fwhm) (FWHM) of $X$ is
37+
38+
$$ \label{eq:norm-fwhm}
39+
\mathrm{FWHM}(X) = 2 \sqrt{2 \ln 2} \sigma \; .
40+
$$
41+
42+
43+
**Proof:** The [probability density function of the normal distribution](/P/norm-pdf) is
44+
45+
$$ \label{eq:norm-pdf}
46+
f_X(x) = \frac{1}{\sqrt{2 \pi} \sigma} \cdot \exp \left[ -\frac{1}{2} \left( \frac{x-\mu}{\sigma} \right)^2 \right]
47+
$$
48+
49+
and the [mode of the normal distribution](/P/norm-mode) is
50+
51+
$$ \label{eq:norm-mode}
52+
\mathrm{mode}(X) = \mu \; ,
53+
$$
54+
55+
such that
56+
57+
$$ \label{eq:norm-pdf-max}
58+
f_\mathrm{max} = f_X(\mathrm{mode}(X)) \overset{\eqref{eq:norm-mode}}{=} f_X(\mu) \overset{\eqref{eq:norm-pdf}}{=} \frac{1}{\sqrt{2 \pi} \sigma} \; .
59+
$$
60+
61+
The FWHM bounds satisfy the equation
62+
63+
$$ \label{eq:x-FHWM}
64+
f_X(x_\mathrm{FWHM}) = \frac{1}{2} f_\mathrm{max} \overset{\eqref{eq:norm-pdf-max}}{=} \frac{1}{2 \sqrt{2 \pi} \sigma} \; .
65+
$$
66+
67+
Using \eqref{eq:norm-pdf}, we can develop this equation as follows:
68+
69+
$$ \label{eq:x-FHWM-s1}
70+
\begin{split}
71+
\frac{1}{\sqrt{2 \pi} \sigma} \cdot \exp \left[ -\frac{1}{2} \left( \frac{x_\mathrm{FWHM}-\mu}{\sigma} \right)^2 \right] &= \frac{1}{2 \sqrt{2 \pi} \sigma} \\
72+
\exp \left[ -\frac{1}{2} \left( \frac{x_\mathrm{FWHM}-\mu}{\sigma} \right)^2 \right] &= \frac{1}{2} \\
73+
-\frac{1}{2} \left( \frac{x_\mathrm{FWHM}-\mu}{\sigma} \right)^2 &= \ln \frac{1}{2} \\
74+
\left( \frac{x_\mathrm{FWHM}-\mu}{\sigma} \right)^2 &= -2 \ln \frac{1}{2} \\
75+
\frac{x_\mathrm{FWHM}-\mu}{\sigma} &= \pm \sqrt{2 \ln 2} \\
76+
x_\mathrm{FWHM}-\mu &= \pm \sqrt{2 \ln 2} \sigma \\
77+
x_\mathrm{FWHM} &= \pm \sqrt{2 \ln 2} \sigma + \mu \; .
78+
\end{split}
79+
$$
80+
81+
This implies the following two solutions for $x_\mathrm{FWHM}$
82+
83+
$$ \label{eq:x-FHWM-s2}
84+
\begin{split}
85+
x_1 &= \mu - \sqrt{2 \ln 2} \sigma \\
86+
x_2 &= \mu + \sqrt{2 \ln 2} \sigma \; ,
87+
\end{split}
88+
$$
89+
90+
such that the [full width at half maximum](/D/fwhm) of $X$ is
91+
92+
$$ \label{eq:norm-fwhm-qed}
93+
\begin{split}
94+
\mathrm{FWHM}(X) &= \Delta x = x_2 - x_1 \\
95+
&\overset{\eqref{eq:x-FHWM-s2}}{=} \left( \mu + \sqrt{2 \ln 2} \sigma \right) - \left( \mu - \sqrt{2 \ln 2} \sigma \right) \\
96+
&= 2 \sqrt{2 \ln 2} \sigma \; .
97+
\end{split}
98+
$$

0 commit comments

Comments
 (0)