General formulas and bounds¶
This section collects some results from real and complex analysis that are useful when deriving error bounds. Beware of typos.
Error propagation¶
We want to bound the error when \(f(x+a)\) is approximated by \(f(x)\). Specifically, the goal is to bound \(f(x + a) - f(x)\) in terms of \(r\) for the set of values \(a\) with \(|a| \le r\). Most bounds will be monotone increasing with \(|a|\) (assuming that \(x\) is fixed), so for brevity we simply express the bounds in terms of \(|a|\).
Theorem (generic first-order bound):
where
The statement is valid with either \(a, t \in \mathbb{R}\) or \(a, t \in \mathbb{C}\).
Theorem (product): For \(x, y \in \mathbb{C}\) and \(a, b \in \mathbb{C}\),
Theorem (quotient): For \(x, y \in \mathbb{C}\) and \(a, b \in \mathbb{C}\) with \(|b| < |y|\),
Theorem (square root): For \(x, a \in \mathbb{R}\) with \(0 \le |a| \le x\),
where the first inequality is an equality if \(a \le 0\). (When \(x = a = 0\), the limiting value is 0.)
Theorem (reciprocal square root): For \(x, a \in \mathbb{R}\) with \(0 \le |a| < x\),
Theorem (k-th root): For \(k > 1\) and \(x, a \in \mathbb{R}\) with \(0 \le |a| \le x\),
Proof: The error is largest when \(a = -r\) is negative, and
Theorem (sine, cosine): For \(x, a \in \mathbb{R}\), \(|\sin(x+a) - \sin(x)| \le \min(2, |a|)\).
Theorem (logarithm): For \(x, a \in \mathbb{R}\) with \(0 \le |a| < x\),
with equality if \(a \le 0\).
Theorem (exponential): For \(x, a \in \mathbb{R}\), \(|e^{x+a} - e^x| = e^x (e^a-1) \le e^x (e^{|a|}-1)\), with equality if \(a \ge 0\).
Theorem (inverse tangent): For \(x, a \in \mathbb{R}\),
where
If \(|a| < |x|\), then \(C_1 = (1 + (|x| - |a|)^2)^{-1}\) gives a monotone bound.
An exact bound: if \(|a| < |x|\) or \(|x(x+a)| < 1\), then
In the last formula, a case distinction has to be made depending on the signs of x and a.
Sums and series¶
Theorem (geometric bound): If \(|c_k| \le C\) and \(|z| \le D < 1\), then
Theorem (integral bound): If \(f(x)\) is nonnegative and monotone decreasing, then
Complex analytic functions¶
Theorem (Cauchy’s integral formula): If \(f(z) = \sum_{k=0}^{\infty} c_k z^k\) is analytic (on an open subset of \(\mathbb{C}\) containing the disk \(D = \{ z : |z| \le R \}\) in its interior, where \(R > 0\)), then
Corollary (derivative bound):
Corollary (Taylor series tail): If \(0 \le r < R\) and \(|z| \le r\), then
Euler-Maclaurin formula¶
Theorem (Euler-Maclaurin): If \(f(t)\) is \(2M\)-times differentiable, then
Lemma (Bernoulli polynomials): \(|B_n(t - \lfloor t \rfloor)| \le 4 n! / (2 \pi)^n\).
Theorem (remainder bound):
Theorem (parameter derivatives): If \(f(t) = f(t,x) = \sum_{k=0}^{\infty} a_k(t) x^k\) and \(R = R(x) = \sum_{k=0}^{\infty} c_k x^k\) are analytic functions of \(x\), then