Taylor's theorem

Definition (higher derivatives) open_in_new

Suppose a function $f: (a,b)\to\R$ is differentiable on $(a,b)$. If $f'(x)$ is a function differentiable at $x\in(a,b)$, then we say $f$ is twice differentiable at $x$ and write $$f''(x) \equiv f^{(2)}(x) = (f')'(x)$$

Iterate to define $k$-times differentiable and $$ f^{(k)}(x) = (f^{(k-1)})'(x). $$

Definition (smooth function) open_in_new

A function $f: (a,b) \to\R$ is smooth if it is $k$-times differentiable on $(a,b)$ for every $k$.

Theorem (Taylor's theorem) open_in_new

Suppose $f$ and its first $n-1$ derivatives are continuous on $[a,a+h]$, and $f$ is $n$-times differentiable on $(a,a+h)$.

Then $$ f(a+h) = P_{n-1}(a+h) + R_n(a+h) $$ where $P_{n-1}$ is the $(n-1)$-th order Taylor polynomial $$ P_{n-1}(a+h) = \fsum i0{n-1} \frac{h^i}{i!} f^{(i)}(a) $$ and the error term $R_n(h)$ can be written in the form of

  • Lagrange remainder: there exists $\theta\in(0,1)$ such that $$ R_n(a+h) = \frac{h^n}{n!}f^{(n)}(a+\theta h); $$

  • Cauchy remainder: there exists $\theta\in(0,1)$ such that $$ R_n(a+h) = \frac{(1-\theta)^{n-1} h^n}{(n-1)!} f^{(n)}(a+\theta h). $$

  • Integral remainder: if we further assume $f^{(n)}$ is continuous on $x\in[a,a+h]$, then $$ \begin{align*} R_n(a+h) = \frac{h^n}{(n-1)!} \int_{0}^{1} (1-t)^{n-1} f^{(n)}(a+th)\, dt. \end{align*} $$

Proof 1 (Lagrange remainder only) Proof 2 (less motivated) Proof (integral remainder)