|
| 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 | +$$ |
0 commit comments