Type a command or search the notes. Tab cycles completions. Up and down recall history when blank. Escape dismisses, then leaves the prompt.
MATH
[1251]

Examples from Taylor's theorem

All examples from Taylor's theorem.

Back to Taylor's theorem

Approximating exe^x by a quadratic

Take

P2(x)=1+x+x22P_2(x)=1+x+\frac{x^2}{2}

for f(x)=exf(x)=e^x about zero. The third derivative is exe^x. On [−1/2,1/2][-1/2,1/2], an intermediate point satisfies ec≤e1/2e^c\le e^{1/2}, so

∣R3(x)∣≤e1/2∣x∣33!≤e1/248≈0.03435.|R_3(x)| \le \frac{e^{1/2}|x|^3}{3!} \le \frac{e^{1/2}}{48} \approx0.03435.

The bound holds for every xx in the interval.

Computing ee to within 10−610^{-6}

At x=1x=1, the Maclaurin polynomial gives

Pn(1)=∑k=0n1k!.P_n(1)=\sum_{k=0}^{n}\frac1{k!}.

For 0<c<10<c<1, the Lagrange remainder satisfies ec<3e^c<3, hence

∣Rn+1(1)∣<3(n+1)!.|R_{n+1}(1)|<\frac3{(n+1)!}.

With n=9n=9,

310!<10−6.\frac3{10!}<10^{-6}.

Therefore

e≈P9(1)=∑k=091k!=2.7182815256e\approx P_9(1) =\sum_{k=0}^{9}\frac1{k!} =2.7182815256

with the requested accuracy. The bound guarantees the accuracy; the actual error is about 3.03×10−73.03\times10^{-7}.

Error for a sine approximation

Every derivative of sin⁡x\sin x is one of ±sin⁡x\pm\sin x or ±cos⁡x\pm\cos x, so its absolute value is at most 11. For a degree-nn Taylor polynomial about aa,

∣Rn+1(x)∣≤∣x−a∣n+1(n+1)!.|R_{n+1}(x)| \le \frac{|x-a|^{n+1}}{(n+1)!}.

Near the expansion centre, the factorial makes the bound decrease rapidly.

A fifth-order stationary point

Let

f(x)=x7−10x6+40x5−80x4+80x3−32x2−10.f(x)=x^7-10x^6+40x^5-80x^4+80x^3-32x^2-10.

At x=2x=2,

f′(2)=f′′(2)=f(3)(2)=f(4)(2)=0,f(5)(2)=480>0.f'(2)=f''(2)=f^{(3)}(2)=f^{(4)}(2)=0, \qquad f^{(5)}(2)=480>0.

The first nonzero derivative has odd order, so x=2x=2 is a horizontal point of inflection. Since f(2)=−10f(2)=-10, the point is (2,−10)(2,-10).

On this page