Waiting times for things that happen "out of the blue", such as the next call to a help desk or the failure of a part that does not wear out, are modeled by the exponential distribution. Its mean takes an improper integral and integration by parts, building on means of densities.
Idea clave
Por qué funciona
Mean: by parts, $$\int_{0}^{\infty} x\lambda e^{-\lambda x}\,dx = \left[-xe^{-\lambda x}\right]_{0}^{\infty} + \int_{0}^{\infty} e^{-\lambda x}\,dx = 0 + \frac{1}{\lambda}$$ Doing it again gives $E[X^{2}] = \frac{2}{\lambda^{2}}$, so the variance is $\frac{1}{\lambda^{2}}$.
No memory: $$\frac{P(X > s + t)}{P(X > s)} = \frac{e^{-\lambda(s + t)}}{e^{-\lambda s}} = e^{-\lambda t}$$ Having waited $s$ already changes nothing about the wait ahead. The exponential is the only continuous distribution with this property.
Worked examples
Ejemplo resuelto: A light bulb
- The rate is $\lambda = \frac{1}{1000}$ per hour (the mean is $\frac{1}{\lambda}$, not $\lambda$).
- $$P(X > 500) = e^{-500/1000} = e^{-0.5} \approx 0.607$$
Respuesta: about $0.607$
Ejemplo resuelto: Already lasted
- By memorylessness, $$P(X > 1300 \mid X > 800) = P(X > 500)$$
- $= e^{-0.5} \approx 0.607$, exactly as for a new bulb.
Respuesta: about $0.607$
Ejemplo resuelto: Median and the mean
- Median: $e^{-m/1000} = \frac{1}{2}$, so $m = 1000\ln 2 \approx 693$ hours, well below the mean of 1000.
- $P(X > 1000) = e^{-1} \approx 0.368$: a few very long lifetimes pull the mean above the typical value.
Respuesta: about 693 hours; about 37% outlast the mean.
Error común