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]

Proofs from Taylor's theorem

All proofs from Taylor's theorem.

Back to Taylor's theorem

We prove the integral formula by induction. When n=0n=0, the Fundamental Theorem of Calculus gives

R1(x)=∫axf′(t) dt=f(x)−f(a).R_1(x)=\int_a^x f'(t)\,dt=f(x)-f(a).

Assume that

Rk(x)=1(k−1)!∫axf(k)(t)(x−t)k−1 dt.R_k(x) =\frac1{(k-1)!}\int_a^x f^{(k)}(t)(x-t)^{k-1}\,dt.

For the next remainder, take u=(x−t)ku=(x-t)^k and dv=f(k+1)(t) dtdv=f^{(k+1)}(t)\,dt, so du=−k(x−t)k−1 dtdu=-k(x-t)^{k-1}\,dt and v=f(k)(t)v=f^{(k)}(t). We obtain

Rk+1(x)=1k!∫axf(k+1)(t)(x−t)k dt=[f(k)(t)k!(x−t)k]t=at=x+1(k−1)!∫axf(k)(t)(x−t)k−1 dt=−f(k)(a)k!(x−a)k+Rk(x)=f(x)−Pk−1(x)−f(k)(a)k!(x−a)k=f(x)−Pk(x),\begin{aligned} R_{k+1}(x) &=\frac1{k!}\int_a^x f^{(k+1)}(t)(x-t)^k\,dt\\ &=\left[\frac{f^{(k)}(t)}{k!}(x-t)^k\right]_{t=a}^{t=x} +\frac1{(k-1)!}\int_a^x f^{(k)}(t)(x-t)^{k-1}\,dt\\ &=-\frac{f^{(k)}(a)}{k!}(x-a)^k+R_k(x)\\ &=f(x)-P_{k-1}(x)-\frac{f^{(k)}(a)}{k!}(x-a)^k\\ &=f(x)-P_k(x), \end{aligned}

The t=xt=x endpoint vanishes because (x−x)k=0(x-x)^k=0 and the penultimate line uses the induction hypothesis Rk(x)=f(x)−Pk−1(x)R_k(x)=f(x)-P_{k-1}(x). Each induction step removes one Taylor term, which proves the integral form for every nn.

To obtain the Lagrange form, apply the mean value theorem for integrals to the continuous function f(n+1)f^{(n+1)} with the non-negative weight ∣x−t∣n|x-t|^n between aa and xx. Accounting for the orientation when x<ax<a gives ∫axf(n+1)(t)(x−t)n dt=f(n+1)(c)(x−a)n+1/(n+1)\int_a^x f^{(n+1)}(t)(x-t)^n\,dt =f^{(n+1)}(c)(x-a)^{n+1}/(n+1) for some intermediate cc.

Taylor's theorem gives

f(x)−f(a)=f(k)(a)k!(x−a)k+Rk+1(x),f(x)-f(a) =\frac{f^{(k)}(a)}{k!}(x-a)^k+R_{k+1}(x),

because the lower-order terms vanish. Since f(k+1)f^{(k+1)} is continuous near aa, it is bounded on a smaller neighbourhood, so the remainder estimate gives Rk+1(x)=O(∣x−a∣k+1)R_{k+1}(x)=O(|x-a|^{k+1}) and hence Rk+1(x)=o(∣x−a∣k)R_{k+1}(x)=o(|x-a|^k). Therefore the first nonzero term determines the sign of f(x)−f(a)f(x)-f(a) sufficiently close to aa.

When kk is even, (x−a)k(x-a)^k is positive on both sides of aa, so the sign of f(k)(a)f^{(k)}(a) determines a minimum or maximum. When kk is odd, then k≥3k\ge3 and the same expansion applied to f′′f'' gives

f′′(x)=f(k)(a)(k−2)!(x−a)k−2+o(∣x−a∣k−2).f''(x)=\frac{f^{(k)}(a)}{(k-2)!}(x-a)^{k-2}+o\bigl(|x-a|^{k-2}\bigr).

Since k−2k-2 is odd, f′′f'' changes sign across aa; together with f′(a)=0f'(a)=0, this gives a horizontal point of inflection.