Example of function whose derivatives grow faster than it's Taylor Polynomial Error?

320 Views Asked by At

The origin of my question is the formula for the error of a Taylor polynomial. e.g. if $P_n(x)$ is the $n$th order Taylor Polynomial of $f(x)$ centered at $c$ then

$f(x) - P_n(x) = \frac{f^{(n+1)}(\xi)}{(n+1)!}(x-c)^{n+1}. $

A natural assertion is that the error decreases as we increase $n$ since $(n+1)!$ get's larger and we divide by that. Ignoring that if $(x-c)$ is small that $(x-c)^{n+1}$ very small as well, can we be sure that the derivative of $f$ won't grow even faster? That is, I'd just like to consider

$\lim_{n\rightarrow \infty}\frac{f^{(n+1)}(\xi)}{(n+1)!} $

I tried some calculations with

$ f(x) = e^{e^x}$

It seems like certainly $f^{(n)} \ge (e^x)^ne^{e^x}$ so then if I look at, let's say the term from $n-1$ T.P. so we have $n$ rather than $n+1$ and holding $x$ fixed (also note that $x$ should be $\xi$ but $\xi$ was almost unreadably in $e^{e^\xi}$)

$\lim_{n\rightarrow \infty}\frac{ (e^x)^ne^{e^x}}{n!} $

Applying L'hopitals and using the Gamma function for derivatives of factorials (like this question Derivative of a factorial) it looks like

$\lim_{n\rightarrow \infty}\frac{ n(e^x)^{n-1}e^{e^x}}{(n-1)!C_1} $

where C is that constant $(-\gamma+H_n)$ like in the referenced question. So it seems like the numerator will win out as we keep taking derivatives.

Is this reasoning right? I'm partly concerned because my intuition would be that a T.P. should nicely approach a nice smooth $C^\infty$ function like $e^{e^x}$, but this seems like a counter example, though admittedly I am ignoring the $(x-c)^n$ factor.

2

There are 2 best solutions below

0
On BEST ANSWER

In general this is exactly what happens for smooth non-analytic functions. Mere smoothness without analyticity allows you to arbitrarily apply Taylor's theorem...but it can happen that the resulting error bound deteriorates as you proceed to higher orders. For example, the Maclaurin series of

$$f(x)=\begin{cases} e^{−1/x} & x>0 \\ 0 & x \leq 0 \end{cases}$$

is just zero. Taylor's theorem still holds for approximating $f(1)=e^{-1}$ using this series, but it gives useless bounds because of huge values of the high order derivatives.

0
On

Hint :Probably the best example for smooth non analytic function is the Solution of this differential equation $f'=e^{f^{-1}}$ which presented as a formel power series as shown here and as noted here then you can apply Taylor theorem you will see that it's derivative grow faster then it's Taylor polynomial error (The coefficients of the formel series is grow faster) .