The Taylor formula with integral remainder is
For , this is the fundamental theorem of calculus. Integration by parts gives
Rearranging and applying mathematical induction proves the displayed expansion. The oriented integral also covers .
For , the chain rule and product rule give
Thus
Because Gaussian decay dominates every power, as . Hence , and the derivative formula extends continuously to zero. Repeating the argument replaces by another polynomial at each step: . All derivative difference quotients at zero tend to zero, so the polynomial multiples of a Gaussian flat function are smooth functions with
The Taylor polynomial about zero is therefore identically zero for every degree, and
A nonzero polynomial has only finitely many roots of a polynomial, so for every sufficiently small nonzero . At each such fixed , this remainder never tends to zero. The flat function is therefore smooth but not real analytic at zero.
For , induction gives
where each is a polynomial. This recurrence follows from the product rule and . Since Gaussian decay dominates every power,
These limits also describe the derivatives of the extension at zero. If , its next difference quotient is , which again tends to zero. Induction proves existence and continuity of every derivative, all zero there. This is a flat function, covered more generally by polynomial multiples of a Gaussian flat function.