Prove that if the function f is infinitely differentiable on an interval (r,s) containing a, then for any x∈(r,s) and any positive integer n we may expand f(x) in the form
f(a)+(x−a)f′(a)+2!(x−a)2f′′(a)+⋯+n!(x−a)nf(n)(a)+Rn(f,a,x),
where the remainder term Rn(f,a,x) should be specified explicitly in terms of f(n+1).
Let p(t) be a nonzero polynomial in t, and let f be the real function defined by
f(x)=p(x1)exp(−x21)(x=0),f(0)=0.
Show that f is differentiable everywhere and that
f′(x)=q(x1)exp(−x21)(x=0),f′(0)=0,
where q(t)=2t3p(t)−t2p′(t). Deduce that f is infinitely differentiable, but that there exist arbitrarily small values of x for which the remainder term Rn(f,0,x) in the Taylor expansion of f about 0 does not tend to 0 as n→∞.