y=xexy = x e^{-x}

Graph of the Function y=xexy = x e^{-x}

y=xexy = x e^{-x} is the product of the linear term xx and the decaying exponential exe^{-x}. Its domain is all real numbers and it passes through the origin (0,0)(0, 0); it is positive for x>0x > 0 and negative for x<0x < 0.

A tug-of-war between growth and decay

The factor xx tries to grow with xx, while exe^{-x} tries to push the value toward 00. The result of this tug-of-war is the characteristic shape that rises to a hump and then approaches 00.

Monotonicity and maximum

By the product rule, the derivative is as follows.

y=(1x)exy' = (1 - x)e^{-x}

Since ex>0e^{-x} > 0, the sign is governed by 1x1 - x: the function increases for x<1x < 1 and decreases for x>1x > 1. It therefore has a maximum at x=1x = 1, of value e1=1e0.368e^{-1} = \dfrac{1}{e} \approx 0.368.

Asymptote and inflection point

As x+x \to +\infty the exponential decay beats the linear growth, so the function approaches 00 and the xx-axis is a horizontal asymptote. As xx \to -\infty, with x<0x < 0 and ex+e^{-x} \to +\infty, it diverges to -\infty. The second derivative y=(x2)exy'' = (x - 2)e^{-x} changes sign at x=2x = 2, which is therefore an inflection point.

xxyyMeaning
0000the origin
110.3680.368maximum
220.2710.271inflection point
330.1490.149the tail

Past the hump the curve tapers gently toward 00.

An asymmetric shape

The curve is not symmetric: the left side of the hump rises abruptly from the origin, while the right side trails off in a long tail. The area under the part with x0x \geq 0 is as follows.

0xexdx=1\int_0^{\infty} x e^{-x}\,dx = 1

This is the value Γ(2)=1!=1\Gamma(2) = 1! = 1 of the gamma function, and it shows that xkexx^k e^{-x} normalizes neatly into a probability density.

Applications

This is the simplest example, the case k=1k = 1, of the form xkexx^k e^{-x}, and it shares its skeleton with the probability densities of the gamma and Erlang distributions. It is widely used to model phenomena in which a growing factor competes with a decaying one, as in queueing theory, signal processing and chains of radioactive decay.