Examples from Taylor's theorem
All examples from Taylor's theorem.
[EXAMPLE]Take
P2(x)=1+x+2x2for f(x)=ex about zero. The third derivative is ex. On
[−1/2,1/2], an intermediate point satisfies ec≤e1/2, so
∣R3(x)∣≤3!e1/2∣x∣3≤48e1/2≈0.03435.The bound holds for every x in the interval.
[EXAMPLE]At x=1, the Maclaurin polynomial gives
Pn(1)=k=0∑nk!1.For 0<c<1, the Lagrange remainder satisfies ec<3, hence
∣Rn+1(1)∣<(n+1)!3.With n=9,
10!3<10−6.Therefore
e≈P9(1)=k=0∑9k!1=2.7182815256with the requested accuracy. The bound guarantees the accuracy; the actual error is about
3.03×10−7.
[EXAMPLE]Every derivative of sinx is one of ±sinx or ±cosx, so its absolute value is
at most 1. For a degree-n Taylor polynomial about a,
∣Rn+1(x)∣≤(n+1)!∣x−a∣n+1.Near the expansion centre, the factorial makes the bound decrease rapidly.
[EXAMPLE]Let
f(x)=x7−10x6+40x5−80x4+80x3−32x2−10.At x=2,
f′(2)=f′′(2)=f(3)(2)=f(4)(2)=0,f(5)(2)=480>0.The first nonzero derivative has odd order, so x=2 is a horizontal point of inflection.
Since f(2)=−10, the point is (2,−10).