y=e1/x2y = e^{-1/x^2}

Graph of the Function y=e1/x2y = e^{-1/x^2}

y=e1/x2y = e^{-1/x^{2}} is a function that becomes extraordinarily flat at the origin. Defining its value at x=0x = 0 to be 00 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.

Domain and range

The formula itself is defined for x0x \neq 0, but as x0x \to 0 we have 1x2-\dfrac{1}{x^{2}} \to -\infty and hence y0y \to 0, so setting f(0)=0f(0) = 0 makes the function continuous on the whole real line, and that is the definition used here. As x|x| \to \infty the exponent approaches 00 and y1y \to 1 without reaching it, so the range is 0y<10 \leq y < 1.

Symmetry and monotonicity

Since xx appears only squared, the function is even and symmetric about the yy-axis. The derivative is y=2x3e1/x2y' = \dfrac{2}{x^{3}}e^{-1/x^{2}}, positive for x>0x > 0 and negative for x<0x < 0, so the origin is the minimum and the curve rises on both sides. The value at the bottom is 00.

Concavity

The second derivative is y=46x2x6e1/x2y'' = \dfrac{4 - 6x^{2}}{x^{6}}e^{-1/x^{2}}, whose sign is that of 46x24 - 6x^{2}, changing at x=±23±0.816x = \pm\sqrt{\dfrac{2}{3}} \approx \pm 0.816. Those two points are the inflection points, where the value is e3/20.223e^{-3/2} \approx 0.223; the curve is concave up between them and concave down outside.

How flat it is

xxe1/x2e^{-1/x^{2}}
0.50.50.01830.0183
0.20.21.4×10111.4 \times 10^{-11}
0.10.13.7×10443.7 \times 10^{-44}

It approaches 00 faster than any power xnx^{n}, so near the origin the graph appears glued to the xx-axis.

Every derivative vanishes at the origin

Differentiating repeatedly always produces something of the form P ⁣(1x)e1/x2P\!\left( \dfrac{1}{x} \right)e^{-1/x^{2}}, where PP is a polynomial. However large 1x\dfrac{1}{x} becomes, the decay of e1/x2e^{-1/x^{2}} outpaces it, so the product tends to 00 as x0x \to 0. Hence f(0)=f(0)==0f'(0) = f''(0) = \cdots = 0: derivatives of every order vanish at the origin.

No Taylor expansion

If every derivative is zero, the Maclaurin series about the origin is identically zero. That series converges for every xx, but it agrees with f(x)f(x) at the single point x=0x = 0. Here is a function differentiable infinitely often whose Taylor series simply fails to represent it. Being infinitely differentiable is called CC^{\infty} and agreeing with one's own Taylor series is called analytic, and this function is CC^{\infty} without being analytic.

Contrast with complex analysis

ItemReal functionsComplex functions
Differentiabilityone derivative need not give twoone derivative gives all of them
Taylor expansionneed not agree with the functionalways agrees
This functionCC^{\infty} but not analyticthe origin is an essential singularity

Extending e1/z2e^{-1/z^{2}} 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.

Applications

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 e1/(1x2)e^{-1/(1-x^{2})} for x<1|x| < 1 and 00 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.