is a function that becomes extraordinarily flat at the origin. Defining its value at to be makes it differentiable any number of times, and yet it admits no Taylor expansion about that point. It is the standard example of the decisive difference between real and complex analysis.
The formula itself is defined for , but as we have and hence , so setting makes the function continuous on the whole real line, and that is the definition used here. As the exponent approaches and without reaching it, so the range is .
Since appears only squared, the function is even and symmetric about the -axis. The derivative is , positive for and negative for , so the origin is the minimum and the curve rises on both sides. The value at the bottom is .
The second derivative is , whose sign is that of , changing at . Those two points are the inflection points, where the value is ; the curve is concave up between them and concave down outside.
It approaches faster than any power , so near the origin the graph appears glued to the -axis.
Differentiating repeatedly always produces something of the form , where is a polynomial. However large becomes, the decay of outpaces it, so the product tends to as . Hence : derivatives of every order vanish at the origin.
If every derivative is zero, the Maclaurin series about the origin is identically zero. That series converges for every , but it agrees with at the single point . Here is a function differentiable infinitely often whose Taylor series simply fails to represent it. Being infinitely differentiable is called and agreeing with one's own Taylor series is called analytic, and this function is without being analytic.
| Item | Real functions | Complex functions |
|---|---|---|
| Differentiability | one derivative need not give two | one derivative gives all of them |
| Taylor expansion | need not agree with the function | always agrees |
| This function | but not analytic | the origin is an essential singularity |
Extending to complex arguments makes the origin an essential singularity, near which the function takes almost every value. What looked like a flat point over the reals wears a completely different face once one steps into the complex plane.
Building on this function one can construct infinitely differentiable functions that are exactly zero outside an interval and positive inside it. The standard example takes for and elsewhere, and is called a bump function. No polynomial or trigonometric function can vanish identically outside a bounded set in this way. Bump functions are the basis for partitions of unity in differential geometry and for the mollifiers used to smooth functions in partial differential equations, making them the standard tool for lifting local constructions to global ones.