1.2. Useful Results#
In this section, we’ll cover several useful results that will come up repeatedly throughout this book. You should remember these results from calculus courses (even if you can’t quite recall the proofs).
1.2.1. Bounding with the Exponential#
The first result is an extremely trivial result about how to use the exponential to bound:
(Bounding with exponential)
Let \(x \in \mathbb R\). Then:
Proof. Let \(f(x) = \exp(x) - 1 - x\). Notice that the derivative \(f'(x) = \exp(x) - 1\), and the second derivative is \(f''(x) = \exp(x)\).
Note that \(\exp(x) - 1 = 0\) when \(x = 0\), so \(f(x)\) has a critical point at \(x^* = 0\).
Note that the second derivative is positive for any \(x\), so \(x^* = 0\) is a global minimum of \(f(x)\).
Further, note that \(f(x) \geq 0\) for all \(x\).
Then:
1.2.2. Integration by Parts#
To define the integration by parts formula, we need to introduce a concept known as differentiability classes:
\(C^m\))
(Differentiability classLet \(\mathcal X \subset \mathbb R\) be an open set, and let \(f : \mathcal X \rightarrow \mathbb R\) be a function. The function \(f\) is said to be of differentiability class \(C^m\) on \(\mathcal X\) for \(m \in \mathbb N\) if the derivatives \(f^{(k)}\) exist and are continuous on \(\mathcal X\) for all \(k \in [m]\).
Next is the popular integrations by parts formula:
(Integration by parts)
Suppose that \(u, v \in C^1 : \mathbb R \rightarrow \mathbb R\) are continuously differentiable functions. Then:
Proof. Note that by the Chain Rule:
Integrating both sides with respect to \(x\):
After rearrangement.
Taking the difference of the right hand side for \(\big |_{x = a}^b\) gives the second result of the desired lemma statement.
1.2.3. Stirling’s approximation#
Finally, we get to the popular Stirling’s approximation formula:
Suppose that \(n \in \mathbb n\). Then: