Skip to content

Commit 3450ff8

Browse files
authored
added 4 proofs
1 parent 0daf775 commit 3450ff8

4 files changed

Lines changed: 206 additions & 0 deletions

File tree

P/cdf-pdf.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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-11-12 06:33:00
9+
10+
title: "Cumulative distribution function in terms of probability density function of a continuous random variable"
11+
chapter: "General Theorems"
12+
section: "Probability theory"
13+
topic: "Probability functions"
14+
theorem: "Cumulative distribution function of continuous random variable"
15+
16+
sources:
17+
18+
proof_id: "P190"
19+
shortcut: "cdf-pdf"
20+
username: "JoramSoch"
21+
---
22+
23+
24+
**Theorem:** Let $X$ be a [continuous](/D/rvar-disc) [random variable](/D/rvar) with possible values $\mathcal{X}$ and [probability density function](/D/pdf) $f_X(x)$. Then, the [cumulative distribution function](/D/cdf) of $X$ is
25+
26+
$$ \label{eq:cdf-pdf}
27+
F_X(x) = \int_{-\infty}^{x} f_X(t) \, \mathrm{d}t \; .
28+
$$
29+
30+
31+
**Proof:** The [cumulative distribution function](/D/cdf) of a [random variable](/D/rvar) $X$ is defined as the probability that $X$ is smaller than $x$:
32+
33+
$$ \label{eq:cdf}
34+
F_X(x) = \mathrm{Pr}(X \leq x) \; .
35+
$$
36+
37+
The [probability density function](/D/pdf) of a [continuous](/D/rvar-disc) [random variable](/D/rvar) $X$ can be used to calculate the probability that $X$ falls into a particular interval $A$:
38+
39+
$$ \label{eq:pdf}
40+
\mathrm{Pr}(X \in A) = \int_{A} f_X(x) \, \mathrm{d}x \; .
41+
$$
42+
43+
Taking these two definitions together, we have:
44+
45+
$$ \label{eq:cdf-pdf-qed}
46+
\begin{split}
47+
F_X(x) &\overset{\eqref{eq:cdf}}{=} \mathrm{Pr}(X \in (-\infty, x]) \\
48+
&\overset{\eqref{eq:pdf}}{=} \int_{-\infty}^{x} f_X(t) \, \mathrm{d}t \; .
49+
\end{split}
50+
$$

P/cdf-pmf.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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-11-12 06:03:00
9+
10+
title: "Cumulative distribution function in terms of probability mass function of a discrete random variable"
11+
chapter: "General Theorems"
12+
section: "Probability theory"
13+
topic: "Probability functions"
14+
theorem: "Cumulative distribution function of discrete random variable"
15+
16+
sources:
17+
18+
proof_id: "P189"
19+
shortcut: "cdf-pmf"
20+
username: "JoramSoch"
21+
---
22+
23+
24+
**Theorem:** Let $X$ be a [discrete](/D/rvar-disc) [random variable](/D/rvar) with possible values $\mathcal{X}$ and [probability mass function](/D/pmf) $f_X(x)$. Then, the [cumulative distribution function](/D/cdf) of $X$ is
25+
26+
$$ \label{eq:cdf-pmf}
27+
F_X(x) = \sum_{\overset{t \in \mathcal{X}}{t \leq x}} f_X(t) \; .
28+
$$
29+
30+
31+
**Proof:** The [cumulative distribution function](/D/cdf) of a [random variable](/D/rvar) $X$ is defined as the probability that $X$ is smaller than $X$:
32+
33+
$$ \label{eq:cdf}
34+
F_X(x) = \mathrm{Pr}(X \leq x) \; .
35+
$$
36+
37+
The [probability mass function](/D/pmf) of a [discrete](/D/rvar-disc) [random variable](/D/rvar) $X$ returns the probability that $X$ takes a particular value $x$:
38+
39+
$$ \label{eq:pmf}
40+
f_X(x) = \mathrm{Pr}(X = x) \; .
41+
$$
42+
43+
Taking these two definitions together, we have:
44+
45+
$$ \label{eq:cdf-pmf-qed}
46+
\begin{split}
47+
F_X(x) &\overset{\eqref{eq:cdf}}{=} \sum_{\overset{t \in \mathcal{X}}{t \leq x}} \mathrm{Pr}(X = t) \\
48+
&\overset{\eqref{eq:pmf}}{=} \sum_{\overset{t \in \mathcal{X}}{t \leq x}} f_X(t) \; .
49+
\end{split}
50+
$$

P/pdf-cdf.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
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-11-12 07:19:00
9+
10+
title: "Probability density function is first derivative of cumulative distribution function"
11+
chapter: "General Theorems"
12+
section: "Probability theory"
13+
topic: "Probability functions"
14+
theorem: "Probability density function in terms of cumulative distribution function"
15+
16+
sources:
17+
- authors: "Wikipedia"
18+
year: 2020
19+
title: "Fundamental theorem of calculus"
20+
in: "Wikipedia, the free encyclopedia"
21+
pages: "retrieved on 2020-11-12"
22+
url: "https://en.wikipedia.org/wiki/Fundamental_theorem_of_calculus#Formal_statements"
23+
24+
proof_id: "P191"
25+
shortcut: "pdf-cdf"
26+
username: "JoramSoch"
27+
---
28+
29+
30+
**Theorem:** Let $X$ be a [continuous](/D/rvar-disc) [random variable](/D/rvar). Then, the [probability distribution function](/D/pdf) of $X$ is the first derivative of the [cumulative distribution function](/D/cdf) of $X$:
31+
32+
$$ \label{eq:pdf-cdf}
33+
f_X(x) = \frac{\mathrm{d}F_X(x)}{\mathrm{d}x} \; .
34+
$$
35+
36+
37+
**Proof:** The [cumulative distribution function in terms of the probability density function of a continuous random variable](/P/cdf-pdf) is given by:
38+
39+
$$ \label{eq:cdf-pdf}
40+
F_X(x) = \int_{-\infty}^{x} f_X(t) \, \mathrm{d}t, \; x \in \mathbb{R} \; .
41+
$$
42+
43+
Taking the derivative with respect to $x$, we have:
44+
45+
$$ \label{eq:ddx-cdf}
46+
\frac{\mathrm{d}F_X(x)}{\mathrm{d}x} = \frac{\mathrm{d}}{\mathrm{d}x} \int_{-\infty}^{x} f_X(t) \, \mathrm{d}t \; .
47+
$$
48+
49+
The fundamental theorem of calculus states that, if $f(x)$ is a continuous real-valued function defined on the interval $[a,b]$, then it holds that
50+
51+
$$ \label{eq:FToC-1st}
52+
F(x) = \int_{a}^{x} f(t) \, \mathrm{d}t \quad \Rightarrow \quad F'(x) = f(x) \quad \text{for all} \quad x \in (a,b) \; .
53+
$$
54+
55+
Applying \eqref{eq:FToC-1st} to \eqref{eq:cdf-pdf}, it follows that
56+
57+
$$ \label{eq:pdf-cdf-qed}
58+
F_X(x) = \int_{-\infty}^{x} f_X(t) \, \mathrm{d}t \quad \Rightarrow \quad \frac{\mathrm{d}F_X(x)}{\mathrm{d}x} = f_X(x) \quad \text{for all} \quad x \in \mathbb{R} \; .
59+
$$

P/qf-cdf.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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-11-12 07:48:00
9+
10+
title: "Quantile function is inverse of strictly monotonically increasing cumulative distribution function"
11+
chapter: "General Theorems"
12+
section: "Probability theory"
13+
topic: "Probability functions"
14+
theorem: "Quantile function in terms of cumulative distribution function"
15+
16+
sources:
17+
- authors: "Wikipedia"
18+
year: 2020
19+
title: "Quantile function"
20+
in: "Wikipedia, the free encyclopedia"
21+
pages: "retrieved on 2020-11-12"
22+
url: "https://en.wikipedia.org/wiki/Quantile_function#Definition"
23+
24+
proof_id: "P192"
25+
shortcut: "qf-cdf"
26+
username: "JoramSoch"
27+
---
28+
29+
30+
**Theorem:** Let $X$ be a [continuous](/D/rvar-disc) [random variable](/D/rvar) with the [cumulative distribution function](/D/cdf) $F_X(x)$. If the cumulative distribution function is strictly monotonically increasing, then the [quantile function](/D/qf) is identical to the inverse of $F_X(x)$:
31+
32+
$$ \label{eq:qf-cdf}
33+
Q_X(p) = F_X^{-1}(x) \; .
34+
$$
35+
36+
37+
**Proof:** The [quantile function](/D/qf) $Q_X(p)$ is defined as the function that, for a given quantile $p \in [0,1]$, returns the smallest $x$ for which $F_X(x) = p$:
38+
39+
$$ \label{eq:qf}
40+
Q_X(p) = \min \left\lbrace x \in \mathbb{R} \, \vert \, F_X(x) = p \right\rbrace \; .
41+
$$
42+
43+
If $F_X(x)$ is continuous and strictly monotonically increasing, then there is only $x$ for which $F_X(x) = p$ and $F_X(x)$ is an invertible function, such that
44+
45+
$$ \label{eq:qf-cdf-qed}
46+
Q_X(p) = F_X^{-1}(x) \; .
47+
$$

0 commit comments

Comments
 (0)