Taylor's Theorem Rest Term
📂CalculusTaylor's Theorem Rest Term
Definition
For a differentiable function f, the Pk defined below is called the Taylor polynomial of f at point a.
Pk(x):=f(a)+f′(a)(x−a)+2!f′′(a)(x−a)2+⋯+k!f(k)(a)(x−a)k
The difference between f and Pk is called the remainder term.
Rk(x)=f(x)−Pk(x)
Explanation
f(x)=Pk(x)+Rk(x)=n=0∑kn!f(n)(a)(x−a)n+Rk(x)
If we rearrange f in terms of the Taylor polynomial Pk and the remainder, then the remainder Rk becomes the error when approximating f with its derivatives up to the kst.
The remainder such as Rk(x)=o((x−a)k) is called the Peano form of the remainder.
f(x)=n=0∑kn!f(n)(a)(x−a)n+o((x−a)k)
Here, o((x−a)k) means any function g that satisfies x→alim(x−a)kg(x)=0. This is usually used when one wants to roughly specify the remainder without stating it explicitly.
The remainder such as Rk(x)=(k+1)!f(k+1)(ξ)(x−a)k+1 is called the Lagrange form of the remainder.
f(x)=n=0∑kn!f(n)(a)(x−a)n+(k+1)!f(k+1)(ξ)(x−a)k+1for some ξ∈(x,a)
It is one of the commonly used forms along with the Peano form. Substituting k=0 results in the Mean Value Theorem.
f(x)=f(a)+f′(ξ)(x−a)⟹x−af(x)−f(a)=f′(ξ)
The following alternative equations can be derived:
For n
f(x+p)=k=0∑n−1k!f(k)(x)pn+n!1f(n)(x+ξp)pnfor some ξ∈(0,1)
n=1
f(x+p)=f(x)+pf′(x+ξp)for some ξ∈(0,1)
n=2
f(x+p)=f(x)+pf′(x)+2!1p2f′′(x+ξp)for some ξ∈(0,1)
Derivation
Since the method of proof is the same, only the case for n=2 is shown. When we perform a Taylor expansion of the remainder in the Lagrange form for a suitable g,
g(t1)=g(t0)+g′(t0)(t1−t0)+2!1g′′(ξ)(t1−t0)2for some ξ∈(t0,t1)
By substituting t0=0 and t1=1,
g(1)=g(0)+g′(0)+2!1g′′(ξ)for some ξ∈(0,1)
Now, if we set as g(ξ)=f(x+ξp), then since g′(ξ)=pf′(x+ξp) and g′′(ξ)=p2f′′(x+ξp),
f(x+p)=f(x)+pf′(x)+2!1p2f′′(x+ξp)for some ξ∈(0,1)
■
The remainder such as Rk(x)=k!f(k+1)(ξ)(x−ξ)k(x−a) is called the Cauchy form of the remainder.
f(x)=n=0∑kn!f(n)(a)(x−a)n+k!f(k+1)(ξ)(x−ξ)k(x−a)for some ξ∈(x,a)
Rk(x)=∫axk!f(k+1)(t)(x−t)kdt is called the integral form of the remainder.
f(x)=n=0∑kn!f(n)(a)(x−a)n+∫axk!f(k+1)(t)(x−t)kdt
f(x+p)=n=0∑kn!f(n)(x)pn+∫01k!f(k+1)(x+tp)(1−t)kdtpk+1
Derivation
(1)
By the Fundamental Theorem of Calculus,
f(x)−f(a)=∫axf′(t1)dt1⟹f(x)=f(a)+∫axf′(t1)dt1
When this is applied to f′(t1),
f′(t1)=f′(a)+∫at1f′′(t2)dt2
By substituting (4) into (3),
f(x)=f(a)+∫ax(f′(a)+∫at1f′′(t2)dt2)dt1=f(a)+f′(a)(x−a)+∫ax∫at1f′′(t2)dt2dt1=f(a)+f′(a)(x−a)+∫ax∫at1f′′(t2)dt2dt1
f′′(t2) is then as follows.
f′′(t2)=f′′(a)+∫at2f′′′(t3)dt3
By substituting this into the above equation,
f(x)=f(a)+f′(a)(x−a)+∫ax∫at1f′′(t2)dt2dt1=f(a)+f′(a)(x−a)+∫ax∫at1(f′′(a)+∫at2f′′′(t3)dt3)dt2dt1=f(a)+f′(a)(x−a)+∫ax∫at1f′′(a)dt2dt1+∫ax∫at1∫at2f′′′(t3)dt3dt2dt1=f(a)+f′(a)(x−a)+2f′′(a)(x−a)2+∫ax∫at1∫at2f′′′(t3)dt3dt2dt1
Repeating this,
f(x)=n=0∑kn!f(n)(a)(x−a)n+∫ax⋯∫atkf(k+1)(tk+1)dtk+1⋯dt1
Now looking at the latter integral, when we examine the case with just two integrals, we can change the order and limits of integration as follows.
∫ax∫at1f′′(t2)dt2dt1=∫ax∫t2xf′′(t2)dt1dt2
{a<t2<t1a<t1<x={a<t2<xt2<t1<x
Therefore, the latter integral term is,
∫ax∫at1⋯∫atk−1∫atkf(k+1)(tk+1)dtk+1dtk⋯dt2dt1=∫ax∫tk+1x⋯∫t3x∫t2xf(k+1)(tk+1)dt1dt2⋯dtkdtk+1=∫axf(k+1)(tk+1)∫tk+1x⋯∫t3x∫t2xdt1dt2⋯dtkdtk+1=∫axf(k+1)(tk+1)k!(x−tk+1)kdtk+1=∫axf(k+1)(t)k!(x−t)kdt
■
(2)
By using (1) for γ,
γ(s1)=n=0∑kn!γ(n)(s0)(s1−s0)n+∫s0s1k!γ(k+1)(t)(s1−t)kdt
By substituting s1=1, s0=0,
γ(1)=n=0∑kn!γ(n)(0)+∫01k!γ(k+1)(t)(1−t)kdt
Now, setting as γ(t)=f(x+tp), since γ(n)(t)=dtndnγ(t)=pnf(n)(x+tp),
f(x+p)=n=0∑kn!f(n)(x)pn+∫01k!f(k+1)(x+tp)(1−t)kdtpk+1
■