1.4. Taylor’s Theorem and the Accuracy of Linearization#
Last revised on August 13, 2024
References:
Theorem 0.8 in Section 0.5 Review of Calculus in [Sauer, 2022].
Section 1.1 Review of Calculus in [Burden et al., 2016], from Theorem 1.14 onward.
Section 1.2 Mathematical Preliminaries of [Chenney and Kincaid, 2012]
1.4.1. Taylor’s theorem#
Taylor’s theorem most often appears in calculus texts in the “powers of \(x-a\)” form
\(a\))
(Taylor’s Theorem, with centerWhen all the relevant derivatives exist,
The polynomial part of this,
is the Taylor polynomial of degree \(n\) with center \(a\) for function \(f\), and the remainder is
with the value \(c_x\) lying between \(a\) and \(x\), and so depending on \(x\).
This gives information about the absolute error in the polynomial \(T_n(x)\) as an approximation of \(f(x)\):
where \(M_{n+1}\) is the maximum absolute value of \(f^{(n+1)}\) over the relevant interval between \(a\) and \(x\).
Of course we typically do not know much about that constant \(M_{n+1}\), so often the most important thing is the power law rate \(|x-a|^{n+1}\) at which the error reduces as \(x\) approaches \(a\).
Taylor polynomials are therefore most useful when the quantity \(h := x-a\) is small, and we will most often use them in situations where the limit as \(h \to 0\) is relevant. It is convenient to change the notation a bit, treating \(h\) as the variable:
\(h\) form)
(Taylor’s Theorem,When all the relevant derivatives exist,
with this polynomial in \(h\) approximating \(f(a+h)\) in that
(Note: \(h\) may be negative!)
This gives a bound on the absolute error
with
1.4.2. Error formula for linearization#
A very common use of Taylor’s Theorem is the rather simple case \(n=1\); linearization, to approximate a twice diferentiable function by a linear one. (This will be even more so when we come to system of equations, since the only such systems that we can systematically solve exactly are linear systems.)
Taylor’s Theorem for the linearization \(L(x) := T_1(x) = f(a) + f'(a)(x-a)\) of \(f\) at \(a\) then says that
or in terms of \(h\),
Thus there is an error bound
Of course it is sometimes enough to use the maximum over the whole domain, \(M_2 = \max |f''(x)|\).