6.4 The Exponential Distribution

The exponential distribution is often (but not always) concerned with the amount of time until some specific event occurs, so it is a continuous distribution. For example, the amount of time (beginning now) until an earthquake occurs has an exponential distribution. Other examples include the length of time of a business telephone call, and the amount of time a car battery lasts.

Fewer values for an exponential random variable tend to be larger, while typically there are more small values, so it is a skewed distribution. For example, the amount of money spent in a shopping trip follows an exponential distribution. There are more people who spend small amounts of money and fewer people who spend large amounts of money. The exponential distribution is widely used in the field of reliability. Reliability deals with the amount of time a product or component lasts. Because of this, the exponential distribution is often called the waiting time distribution. There is also a connection between the exponential and Poisson distributions.

Exponential Probability Distribution

If the random variable [latex]X \sim Exp(\lambda)[/latex], the probability density function [latex]f(x)[/latex] is skewed and the shape of the density function depends on the parameter [latex]\lambda[/latex]. Because the random variable [latex]X[/latex] is a measure of time, it must be greater than zero.

The exponential probability density function is [latex]f(x) = \lambda e^{-\lambda x},   x > 0[/latex].

Calculating probabilities associated with the exponential distribution requires a substitution method. Rather than carry out an integration for each probability calculation, integration can be used once to create a cumulative function, which can then be used to calculate probabilities.

The cumulative distribution is found as [latex]P( 0 \lt X \leq x) = \int_{0}^{x} \lambda e^{- \lambda t} dt.[/latex] After integrating we find the cumulative distribution function is [latex]F(x) = 1 - e^{- \lambda x},[/latex] for [latex]x \gt 0.[/latex]

To derive the mean, we must integrate [latex]\int_{0}^{\infty}\lambda xe^{- \lambda x}dx[/latex]. Note that it is an improper integral and integration by parts is needed to integrate. To derive the variance, we must integrate [latex]\int_{0}^{\infty} x^2\lambda e^{- \lambda x}dx - \mu_X^2[/latex]. Note that it is also an improper integral and integration by parts is needed twice to integrate. Both integrations are well within your abilities and you are encouraged to derive them.

The mean of the exponential random variable, [latex]\mu_X = \frac{1}{λ}[/latex].

The variance of the exponential random variable [latex]\sigma_X^2 = \frac{1}{λ^2}.[/latex]

These details are summarized next.

Exponential Probability Density Function

For [latex]X \sim Exp(\lambda)[/latex],

The PDF is [latex]f(x) = \lambda e^{-\lambda x},[/latex] for [latex]x \gt 0.[/latex]

The CDF is [latex]F(x) = 1 - e^{- \lambda x},[/latex] for [latex]x \gt 0.[/latex]

Mean: [latex]\mu_X = \frac{1}{λ}[/latex]

Variance: [latex]\sigma_X^2 = \frac{1}{λ^2}[/latex]

Standard Deviation: [latex]\sigma_X = \frac{1}{λ}[/latex]

Example 1 – Time With a Patient

Let X = amount of time (in minutes) a health-care receptionist spends with a patient. The time is known to have an exponential distribution with the mean of four minutes.

  1. Create the PDF and find the mean and standard deviation.
  2. What is the probability the receptionist will spend at most 2 minutes with a patient?
  3. What is the probability the receptionist will spend more than 10 minutes with a patient?

Solutions:

(1) We know the mean of the exponential distribution,  μ = 4 minutes. To create the PDF, we must know [latex]\lambda[/latex], the parameter. Since [latex]\mu = \frac{1}{\lambda}[/latex], we can find [latex]\lambda = \frac{1}{\mu}[/latex]. Therefore, in this situation, [latex]\lambda = \frac{1}{4} = 0.25.[/latex]  The distribution of this exponential random variable is [latex]X  \sim Exp(\lambda).[/latex] Therefore, [latex]X \sim Exp(0.25).[/latex]
The PDF is [latex]f(x) = 0.25e^{-0.25x}[/latex] and is graphed. Note the standard deviation, σ, is the same as the mean. μ = σ = 0.25 minutes.  

This is a graph of the exponential distribution with parameter lambda equal to 0.25.

(2) To find the probability the receptionist will spend at most 2 minutes with a patient, use the CDF. Find [latex]F(X \leq 2) = 1 - e^{-0.25(2)} \approx 0.39347.[/latex] About 40% of the time the receptionist will spent at most 2 minutes with a patient.

(3) To find the probability the receptionist will spend at more than 10 minutes with a patient, find [latex]1 - F(X \leq 10) = 1 - (1 - e^{-0.25(10)}) = e^{-2.5} \approx 0.082.[/latex] There is approximately an 8.2% the receptionist will spend more than 10 minutes with a patient.

You might recall, when we studied the discrete Poisson random variable, we used the parameter [latex]\lambda[/latex] to represent the mean number of events in a given time. It is no accident that we use the parameter [latex]\lambda[/latex] while discussing the continuous exponential distribution. When the underlying process is Poisson, with a fixed mean rate involving events per unit time, the exponential random variable  has a mean,  [latex]\mu_X = \frac{1}{ \lambda }[/latex], so the mean is the average time until the next event.

Example 2 – Time Until Next Geyser Eruption

Yellowstone National Park contains over half of the world’s geysers. A geyser is a hot water vent in the earth’s surface. Visit the Current Geyser Activity webpage. A geyser erupts on average every 8 minutes. The amount of time until the next eruption can be modeled by an exponential distribution with the average amount of time equal to 8 minutes. Write the distribution, state the probability density function, and graph the distribution. Then find the probability that it takes the geyser between four and five minutes to erupt.

Solutions:

If we let [latex]X =[/latex] the time in minutes until the next eruption, then [latex]\mu[/latex] = 8 minutes, so [latex]\lambda = \frac{1}{8} = 0.125.[/latex] The probability distribution can be written as [latex]X \sim Exp(0.125); f(x) = 0.125e^{-0.125x}.[/latex]

Exponential distribution function with a lambda of 0.125.

The probability it takes the geyser between four and five minutes to erupt can be calculated as an integral.

[latex]P( 4 \lt x \lt 5 ) = \displaystyle \int_{4}^{5}\lambda e^{-\lambda t} dt[/latex]

Alternatively, the probability can be found using the CDF, [latex]F(x) = 1 - e^{-\lambda x}.[/latex]

[latex]P( 4 \lt x \lt 5 ) = P( x \leq 5) - P(x \leq 4) = (1 - e^{-0.125(5)}) - (1 - e^{-0.125(4)})  \approx[/latex] 0.07127.

Approximately 7% of the time it will take between 4 and 5 minutes for the geyser to erupt.

Example 3 – Airline Ticket Purchase

The number of days ahead travelers purchase their airline tickets can be modeled by an exponential distribution with the average amount of time equal to 15 days. Find the probability that a traveler will purchase a ticket fewer than ten days in advance. How many days do 90% of all travelers wait?

Solutions:

If we let [latex]X =[/latex] the number of days ahead travelers purchase their airline tickets, then [latex]X \sim  Exp( \lambda ).[/latex] Note that [latex]\mu =[/latex] 15 days, so [latex]\lambda = \frac{1}{15}.[/latex] The probability density function for this situation is [latex]f(x) = \frac{1}{15} e^{-\frac{1}{15} x}.[/latex]

The probability that a traveler will purchase a ticket fewer than ten days in advanced is [latex]P(X < 10).[/latex]

[latex]P(X \lt 10) = P(0 \lt X \lt 10) = \displaystyle \int_{0}^{10}  \frac{1}{15}e^{-\frac{1}{15} t}dt[/latex]

[latex]\displaystyle \int_{0}^{10}  \frac{1}{15}e^{-\frac{1}{15} t}dt = 1 - e^{-\frac{1}{15} (10)} \approx 0.4866[/latex]

Therefore, approximately 49% of travelers will purchase a ticket fewer than ten days in advance.

When we want to find the number of days for which 90% of travelers wait, we can use the CDF and solve the following equation.

[latex]0.90 = 1 - e^{-\frac{1}{15} (x)}[/latex]

[latex]e^{-\frac{1}{15} (x)} = 0.1[/latex]

[latex]-\frac{1}{15} (x) = \ln 0.1[/latex]

[latex]x = -15 \ln 0.1 \approx 34.54[/latex]

We conclude that 90% of travelers buy tickets fewer than 34.54 days in advance.

Example 4 - Component Life

A quality control engineer collected data to assess how long a certain electronic component lasts. On the average, it was determined that the electronic component lasts ten years. If we assume this average is fixed, then the length of time the component lasts is exponentially distributed.

  1. What is the probability that a component lasts more than 7 years?
  2. Find the 80th percentile and explain its meaning.
  3. What is the probability that a component lasts between nine and 11 years?

Solutions:

(1) Let the random variable [latex]X =[/latex] the amount of time (in years) a component lasts. We know [latex]\mu_X =[/latex] 10 years, so [latex]\lambda = \frac{1}{10}.[/latex] Threfore, [latex]X \sim Exp(0.1)[/latex]. For an Exp(0.1) probability density function, the following graph has been shaded area to show [latex]P(X \gt 7).[/latex]
imageTo calculate this probability, we write [latex]P(X \gt 7) = 1 - P(X \leq 7)[/latex].
We can use the CDF [latex]F(x) = P(X \lt x) = 1 - e^{-\lambda x}[/latex], so [latex]P(X \gt 7) = 1 - (1 - e^{-(0.1)(7)}) = e^{-0.7} \approx 0.4966[/latex]. The probability that a component lasts more than seven years is 0.4966 or about 49.7% of components last more than 7 years.

(2) To find the 80th percentile, we can use the CDF:

[latex]0.80 = 1 - e^{-0.1 x}[/latex]

[latex]e^{-0.1 x} = 0.2[/latex]

[latex]-0.1x = \ln0.2[/latex]

[latex]x = -0.1\ln0.2 \approx 16.0944[/latex]

Eighty percent of components last at most 16.1 years.

(3) What is the probability that a component lasts between nine and 11 years?

[latex]P(9 \lt X \lt 11) = P(X \lt 11) - P(X \lt 9)[/latex].

[latex]= (1 - e^{(-0.1 )(11)}) - (1 - e^{(-0.1 )(9)})[/latex]

[latex]= (0.6671) - (0.5934) \approx 0.0737[/latex]

Approximately 7.4% of components will last between nine and 11 years.

 

Example 5 - Time Between Events

The time spent waiting between events is often modeled using the exponential distribution. For example, suppose that an average of 30 customers per hour arrive at a store and the time between arrivals is exponentially distributed.

  1. On average, how many minutes elapse between two successive arrivals?
  2. After a customer arrives, find the probability that it takes less than one minute for the next customer to arrive.
  3. After a customer arrives, find the probability that it takes more than five minutes for the next customer to arrive.
  4. Is an exponential distribution reasonable for this situation?

Solutions:

  1. Since we expect 30 customers to arrive per hour (60 minutes), we expect on average one customer to arrive every two minutes on average, so $\mu = 2 $ minutes between arrivals.
  2. Let X = the time between arrivals, in minutes. [latex]\mu = 2[/latex], so [latex]\lambda = \frac{1}{2}[/latex] = 0.5.
    Therefore, [latex]X \sim[/latex] Exp(0.5). Calculate [latex]P(X \lt x) = 1 - e^\frac{-0.5}{x} = 1 - e^\frac{-0.5}{1} \approx 0.3935.[/latex] About 39% of the time it will take less than one minute for the next customer to arrive.
  3. Calculate [latex]P(X \gt 5) = 1 - P(X \leq 5) = 1 - (1 - e^\frac{-0.5}{5}) = e^-0.25 \approx 0.0821.[/latex] Approximately 8% of the time it will take more than five minutes for the next customer to arrive.
  4. This model assumes that a single customer arrives at a time, which may not be reasonable since people might shop in groups, leading to several customers arriving at the same time. It also assumes that the flow of customers does not change throughout the day, which is not valid if some times of the day are busier than others. We can use the exponential distribution to give probabilities as long as we understand the limitations.

Memoryless Property of the Exponential Distribution

In Example 1, recall that the amount of time between patients is exponentially distributed with a mean of two minutes, X ~ Exp(0.5). Suppose that five minutes have elapsed since the last customer arrived. Since an unusually long amount of time has now elapsed, it would seem to be more likely for a customer to arrive within the next minute. With the exponential distribution, this is not the case. The additional time spent waiting for the next customer does not depend on how much time has already elapsed since the last customer. This is referred to as the memoryless property. Specifically, the memoryless property says that the probability of waiting a certain amount of time given that we know how long the last waiting time was, is exactly the same as if we did not know how long the last waiting time was.

The exponential distribution is often used to model the longevity of an electrical or mechanical device. In Example 4, the lifetime of a certain component has the exponential distribution with a mean of ten years, X ~ Exp(0.1). The memoryless property says that knowledge of what has occurred in the past has no effect on future probabilities. In this case, it means that an old part is not any more likely to break down at any particular time than a brand new part. The part stays as good as new until it suddenly breaks, so if the part has already lasted ten years, then the probability that it lasts another seven years is the same as the probability a new component lasts for seven years.

Relationship between the Poisson and the Exponential Distribution

There is an interesting relationship between the exponential distribution and the Poisson distribution. Suppose that the time that elapses between two successive events follows the exponential distribution with a mean of [latex]\mu[/latex] units of time. Also assume that these times are independent, meaning that the time between events is not affected by the times between previous events. If these assumptions hold, then the number of events per unit time follows a Poisson distribution with mean [latex]\lambda = \frac{1}{\mu}[/latex]. Recall that if X has the Poisson distribution with mean [latex]\lambda[/latex], then [latex]P(X = x) = \frac{e^{-\lambda} \lambda^x}{x!}[/latex]. Conversely, if the number of events per unit time follows a Poisson distribution, then the amount of time between events follows the exponential distribution.

 

Example 6 - Time Between Calls

At a police station in a large city, calls come in at an average rate of four calls per minute. Assume that the time that elapses from one call to the next has the exponential distribution. Take note that we are concerned only with the rate at which calls come in, and we are ignoring the time spent on the phone. We must also assume that the times spent between calls are independent. This means that a particularly long delay between two calls does not mean that there will be a shorter waiting period for the next call. We may then deduce that the total number of calls received during a time period has the Poisson distribution.

  1. Find the average time between two successive calls.
  2. Find the probability that after a call is received, the next call occurs in less than ten seconds.
  3. Find the probability that exactly five calls occur within a minute.
  4. Find the probability that less than five calls occur within a minute.
  5. Find the probability that more than 40 calls occur in an eight-minute period.

Answers:

  1. On average there are four calls per minute, so [latex]\lambda = \frac{4}{1} = 4[/latex] calls per minute. The average time between calls is [latex]\mu = {1}{4} = 0.25[/latex] minutes between calls.
  2. The fact that a call has been received is independent of the time it takes until the next call is received. Let T = time elapsed between calls. We know [latex]\mu =[/latex] 0.25 and [latex]\lambda = 4[/latex]. Thus, [latex]T \sim[/latex] Exp(4). Ten seconds is [latex]\frac{1}{6}[/latex] of a minute, so [latex]P(T \lt \frac{1}{6}) = 1 – e^{-\frac{4}{6}} \approx 0.4869.[/latex] We predict that roughly 49% of the time the next call will occur in less than 10 seconds.
  3. Let [latex]X =[/latex] the number of calls per minute. The number of calls per minute has a Poisson distribution, with a mean of four calls per minute. Therefore, [latex]X \sim[/latex] Poisson(4), and [latex]P(X = 5) = \frac{e^{-4}4^5}{5!} \approx[/latex] 0.1563.
  4. Keep in mind that X must be a whole number, so the whole number less than 5 is 4 and [latex]P(X \lt 5) = P(X \leq 4)[/latex].
    To compute this, we could take [latex]P(X = 0) + P(X = 1) + P(X = 2) + P(X = 3) + P(X = 4) \approx[/latex] 0.6288.
  5. Let Y = the number of calls that occur during an eight minute period.
    Since there is an average of four calls per minute, there is an average of (8)(4) = 32 calls during each eight minute period.
    Hence, [latex]Y \sim[/latex] Poisson(32). Therefore, [latex]P(Y \gt 40) = 1 - P(Y \leq 40) \approx[/latex] 0.0707.

Sources  

Current geyser activity - Yellowstone National Park (U.S. National Park Service). (n.d.). https://www.nps.gov/yell/planyourvisit/geyser-activity.htm

License

Icon for the Creative Commons Attribution 4.0 International License

Introduction to Statistics for Engineers Copyright © by Vikki Maurer & Jeff Crabill & Linn-Benton Community College is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.