How much time will elapse before an earthquake occurs in a given region? How long do we need to wait before a customer enters our shop? How long will it take before a call center receives the next phone call? How long will a piece of machinery work without breaking down?
Questions such as these are often answered in probabilistic terms using the exponential distribution.
All these questions concern the time we need to wait before a given event occurs. If this waiting time is unknown, it is often appropriate to think of it as a random variable having an exponential distribution. Roughly speaking, the time we need to wait before an event occurs has an exponential distribution if the probability that the event occurs during a certain time interval is proportional to the length of that time interval. More precisely, has an exponential distribution if the conditional probabilityis approximately proportional to the length of the time interval comprised between the times and , for any time instant . In most practical situations this property is very realistic and this is the reason why the exponential distribution is so widely used to model waiting times.
The exponential distribution is also related to the Poisson distribution. When the event can occur more than once and the time elapsed between two successive occurrences is exponentially distributed and independent of previous occurrences, the number of occurrences of the event within a given unit of time has a Poisson distribution (see the lecture entitled Poisson distribution for a more detailed explanation and an intuitive graphical representation of this fact).
The exponential distribution is characterized as follows:
Definition Let be an absolutely continuous random variable. Let its support be the set of positive real numbers:Let . We say that has an exponential distribution with parameter if its probability density function is:The parameter is called rate parameter.
A random variable having an exponential distribution is also called an exponential random variable.
The following is a proof that is a legitimate probability density function:
Non-negativity is obvious. We need to prove that the integral of over equals . This is proved as follows:
To better understand the exponential distribution, you can have a look at its density plots.
We have mentioned that the probability that the event occurs between two dates and is proportional to (conditional on the information that it has not occurred before ). The rate parameter is the constant of proportionality:where is an infinitesimal of higher order than (i.e. a function of that goes to zero more quickly than does).
The above proportionality condition is also sufficient to completely characterize the exponential distribution:
Proposition The proportionality conditionis satisfied only if has an exponential distribution.
The conditional probability can be written as:Denote by the distribution function of , i.e.:and by its survival function:Then:Dividing both sides by , we obtain:where is a quantity that tends to when tends to . Taking limits on both sides, we obtain:or, by the definition of derivative:This differential equation is easily solved using the chain rule:Taking the integral from to of both sides:we obtain:or:But (because cannot take negative values) implies:Exponentiating both sides:Therefore:or:But the density function is the first derivative of the distribution function:and the rightmost term is the density of an exponential random variable. Therefore, the proportionality condition is satisfied only if is an exponential random variable
The expected value of an exponential random variable is:
It can be derived as follows:
The variance of an exponential random variable is:
It can be derived thanks to the usual variance formula ():
The moment generating function of an exponential random variable is defined for any :
Using the definition of moment generating function:Of course, the above integrals converge only if , i.e. only if . Therefore, the moment generating function of an exponential random variable exists for all .
The characteristic function of an exponential random variable is:
Using the definition of characteristic function and the fact that we can write:We now compute separately the two integrals. The first integral is:Therefore:which can be rearranged to yield:orThe second integral is:Therefore:which can be rearranged to yield:orPutting pieces together:
The distribution function of an exponential random variable is:
If , then:because can not take on negative values. If , then:
In the following subsections you can find more details about the exponential distribution.
One of the most important properties of the exponential distribution is the memoryless property: for any .
This is proved as follows:
is the time we need to wait before a certain event occurs. The above property says that the probability that the event happens during a time interval of length is independent of how much time has already elapsed () without the event happening.
This is proved using moment generating functions (remember that the moment generating function of a sum of mutually independent random variables is just the product of their moment generating functions):The latter is the moment generating function of a Gamma distribution with parameters and . So has a Gamma distribution, because two random variables have the same distribution when they have the same moment generating function.
The random variable is also sometimes said to have an Erlang distribution. The Erlang distribution is just a special case of the Gamma distribution: a Gamma random variable is also an Erlang random variable when it can be written as a sum of exponential random variables.
Below you can find some exercises with explained solutions:
Exercise set 1 (computation of probabilities involving the exponential distribution).
Most learning materials found on this website have been collected in a single volume and are now available in a traditional textbook format.