Math Review Week 8
Highlights of what I (re)learned in week #8 of my math studies.
- Alternating Series Remainder
- Maclaurin Polynomials
- Taylor Polynomials
- Lagrange Error Bound
Alternating Series Remainder
Consider the following alternating series:
Since each pair in \(R_4\) is positive, then \(R_4 > 0\). We can show that \(R_4 < \frac{1}{25}\) by rewriting as:
since we're starting with \(\frac{1}{25}\) and subtracting positive values from it.
The magnitude of the error (i.e. \(|S - S_4|\)) will be less than the magnitude of the first term excluded from the partial sum. In other words:
Maclaurin Polynomials
If we attempt to form a polynomial, \(p\), to approximate a function, \(f\), let's first ensure \(p(0) = f(0)\). A polynomial of a single (constant) term that satisfies this is: \(p(x) = f(0)\).
If we add another constraint of \(p'(0) = f'(0)\), a polynomial that satisfies both constraints is \(p(x) = f(0) + f'(0)x\).
The general form of terms for the Maclaurin series is the following, where \(f^n\) represents the nth derivative of \(f\):
Taylor Polynomials
Taylor polynomials are centered around \(c\) instead of zero. The terms are:
Lagrange Error Bound
\(P_{N,a}(x)\) means Nth degree Tylor polynomial centered at \(a\). For example:
The remainder, \(R_{N,a}(x)\), or error, \(E_{N,a}(x) = f(x) - P_{N,a}(x)\).
\(E^{N+1}(x) = f^{N+1}(x) - P_{N,a}^{N+1}(x) = f^{N+1}(x)\), since the (N+1)th derivative of an Nth degree polynomial is zero.
For some \(b > a\), we want to bound \(|E(b)| \le k\)
If we can bound \(\boxed{|f^{N+1}(x)| \le M \text{ over some interval }x \in [a, b]}\) we can do some integration to bound \(|E(b)|\).
or
choose \(C\) to be \(-Ma\) since \(|E^N(a)| = 0 \le Ma + C => -Ma \le C\)
continue to integrate repeatedly:
substituting \(b\) for \(x\):