The Exponential Distribution
The Exponential Distribution
Example 5.4.1
Let X = amount of time (in minutes) a postal clerk spends with his or her customer. The time is known to have an exponential
distribution with the average amount of time equal to four minutes.
X is a continuous random variable since time is measured. It is given that μ = 4 minutes. To do any calculations, you must know
m , the decay parameter.
1 1
m = . Therefore, m = = 0.25 .
μ 4
mathematics. Scientific calculators have the key "e ." If you enter one for x, the calculator will display the value e .
x
Figure 5.4.1 .
Notice the graph is a declining curve. When x = 0 ,
f (x) = 0.25 e
(−0.25)(0)
= (0.25)(1) = 0.25 = m . The maximum value on the y-axis is m.
Exercise 5.4.1
The amount of time spouses shop for anniversary cards can be modeled by an exponential distribution with the average amount of
time equal to eight minutes. Write the distribution, state the probability density function, and graph the distribution.
Answer
X ∼ Exp(0.125) ;
f (x) = 0.125e
−0.125x
;
Example 5.4.2
a. Using the information in Exercise, find the probability that a clerk spends four to five minutes with a randomly selected
customer.
b. Half of all customers are finished within how long? (Find the 50th percentile)
c. Which is larger, the mean or the median?
Answer
a. Find P (4 < x < 5) .
The cumulative distribution function (CDF) gives the area to the left.
−mx
P (x < x) = 1– e (5.4.1)
and
(−0.25)(4)
(P (x < 4) = 1– e = 0.6321 (5.4.3)
Figure 5.4.3 .
The probability that a postal clerk spends four to five minutes with a randomly selected customer is
P (4 < x < 5) = P (x < 5)– P (x < 4) = 0.7135 − 0.6321 = 0.0814. (5.4.4)
Figure 5.4.4 .
P (x < k) = 0.50 , k = 2.8 minutes (calculator or computer)
Half of all customers are finished within 2.8 minutes.
You can also do the calculation as follows:
and
−0.25k
P (x < k) = 1– e (5.4.6)
and
−0.25k
e = 1 − 0.50 = 0.5 (5.4.8)
So,
−0.25k = ln(0.50). (5.4.10)
ln(0.50)
Solve for k : k = = 0.28 minutes. The calculator simplifies the calculation for percentile k. See the following two notes.
−0.25
A formula for the percentile k is k = ln(1 − Area To The Left) − mk = ln(1 − Area To The Left) − m where ln is the
natural log.
c. From part b, the median or 50th percentile is 2.8 minutes. The theoretical mean is four minutes. The mean is larger.
Note
Collaborative Exercise
On the home screen, enter ln(1 – 0.50)/–0.25. Press the (-) for the negative.
Exercise 5.4.2
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 half of all travelers wait?
Answer
P (x < 10) = 0.4866
Collaborative Exercise
Have each class member count the change he or she has in his or her pocket or purse. Your instructor will record the amounts in
dollars and cents. Construct a histogram of the data taken by the class. Use five intervals. Draw a smooth curve through the bars.
The graph should look approximately exponential. Then calculate the mean.
Let X = the amount of money a student in your class has in his or her pocket or purse.
The distribution for X is approximately exponential with mean, μ = _______ and m = _______. The standard deviation, σ =
________.
Draw the appropriate exponential graph. You should label the x– and y–axes, the decay rate, and the mean. Shade the area that
represents the probability that one student has less than $.40 in his or her pocket or purse. (Shade P (x < 0.40)).
Example 5.4.3
On the average, a certain computer part lasts ten years. The length of time the computer part lasts is exponentially distributed.
a. What is the probability that a computer part lasts more than 7 years?
b. On the average, how long would five computer parts last if they are used one after another?
c. Eighty percent of computer parts last at most how long?
d. What is the probability that a computer part lasts between nine and 11 years?
Answer
a. Let x = the amount of time (in years) a computer part lasts.
so
1 1
m = = = 0.1 (5.4.12)
μ 10
(–0.1)(7)
P (x > 7) = e = 0.4966. (5.4.15)
The probability that a computer part lasts more than seven years is 0.4966.
On the home screen, enter e^(-.1*7).
Figure 5.4.5 .
b. On the average, one computer part lasts ten years. Therefore, five computer parts, if they are used one right after the other would
last, on the average, (5)(10) = 50 years.
c. Find the 80th percentile. Draw the graph. Let k = the 80th percentile.
Figure 5.4.6 .
ln(1 − 0.80)
Solve for k : k = = 16.1 years
−0.1
Figure 5.4.7 .
(–0.1)(11) (–0.1)(9)
P (9 < x < 11) = P (x < 11) − P (x < 9) = (1 − e ) − (1 − e ) = 0.6671 − 0.5934 = 0.0737. (5.4.16)
The probability that a computer part lasts between nine and 11 years is 0.0737.
On the home screen, enter e^(–0.1*9) – e^(–0.1*11).
On average, a pair of running shoes can last 18 months if used every day. The length of time running shoes last is exponentially
distributed. What is the probability that a pair of running shoes last more than 15 months? On average, how long would six pairs of
running shoes last if they are used one after the other? Eighty percent of running shoes last at most how long if used every day?
Answer
P (x > 15) = 0.4346
Example 5.4.4
1
Suppose that the length of a phone call, in minutes, is an exponential random variable with decay parameter = . If another person
12
arrives at a public telephone just before you, find the probability that you will have to wait more than five minutes. Let X = the
length of a phone call, in minutes.
What is m, μ , and σ? The probability that you must wait more than five minutes is _______ .
Answer
1
m =
12
μ = 12
σ = 12
P (x > 5) = 0.6592
Exercise 5.4.4
Suppose that the distance, in miles, that people are willing to commute to work is an exponential random variable with a decay
1
parameter . Let S = the distance people are willing to commute in miles. What is , , and σ? What is the probability that a
m μ
20
person is willing to commute more than 25 miles?
Answer
1
m = ; μ = 20 ; σ = 20; P (x > 25) = 0.2865
20
Example 5.4.5
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.
a. On average, how many minutes elapse between two successive arrivals?
b. When the store first opens, how long on average does it take for three customers to arrive?
c. After a customer arrives, find the probability that it takes less than one minute for the next customer to arrive.
d. After a customer arrives, find the probability that it takes more than five minutes for the next customer to arrive.
e. Seventy percent of the customers arrive within how many minutes of the previous customer?
f. Is an exponential distribution reasonable for this situation?
Answer
a. Since we expect 30 customers to arrive per hour (60 minutes), we expect on average one customer to arrive every two minutes
on average.
b. Since one customer arrives every two minutes on average, it will take six minutes on average for three customers to arrive.
1
c. Let X = the time between arrivals, in minutes. By part a, μ = 2 , so m = = 0.5 .
2
Therefore, X ∼ Exp(0.5).
The cumulative distribution function is P (X < x) = 1– e(– 0.5x) . e
(
1 − e – 0.5) ≈ 0.3935
Figure 5.4.9 .
1 − (1 − e
(–5∗0.5)
or e (−5∗0.5)
Thus, seventy percent of customers arrive within 2.41 minutes of the previous customer.
ln(1 − Area To The left Of k)
You are finding the 70th percentile k so you can use the formula k =
−m
ln(1 − 0.70)
k = ≈ 2.41 minutes
(−0.5)
Figure 5.4.10 .
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.
Exercise 5.4.5
Suppose that on a certain stretch of highway, cars pass at an average rate of five cars per minute. Assume that the duration of time
between successive cars follows the exponential distribution.
a. On average, how many seconds elapse between two successive cars?
b. After a car passes by, how long on average will it take for another seven cars to pass by?
c. Find the probability that after a car passes by, the next car will pass within the next 20 seconds.
d. Find the probability that after a car passes by, the next car will not pass for at least another 15 seconds.
Answer
60
1. At a rate of five cars per minute, we expect = 12 seconds to pass between successive cars on average.
5
2. Using the answer from part a, we see that it takes (12)(7) = 84 seconds for the next seven cars to pass by.
Figure 5.4.11 .
15 15
− −
Example 5.4.6
Refer to Example where the time a postal clerk spends with his or her customer has an exponential distribution with a mean of four
minutes. Suppose a customer has spent four minutes with a postal clerk. What is the probability that he or she will spend at least an
additional three minutes with the postal clerk?
1
The decay parameter of X is m = = 0.25 , so X ∼ Exp(0.25).
4
Exercise 5.4.6
Suppose that the longevity of a light bulb is exponential with a mean lifetime of eight years. If a bulb has already lasted 12 years,
find the probability that it will last a total of over 19 years.
Answer
1
Let T = the lifetime of the light bulb. Then T ∼ Exp ( ) .
8
t
−
Suppose X has the Poisson distribution with mean λ . Compute P (X = k) by entering 2nd, VARS(DISTR), C: poissonpdf(λ, k ). To
compute P (X ≤ k ), enter 2nd, VARS (DISTR), D:poissoncdf(λ, k).
Example 5.4.7
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.
a. Find the average time between two successive calls.
b. Find the probability that after a call is received, the next call occurs in less than ten seconds.
c. Find the probability that exactly five calls occur within a minute.
d. Find the probability that less than five calls occur within a minute.
e. Find the probability that more than 40 calls occur in an eight-minute period.
Answer
15
a. On average there are four calls occur per minute, so 15 seconds, or = 0.25 minutes occur between successive calls on
60
average.
P (T < ) = 1 −e 6 ≈ 0.4866) .
6
Figure 5.4.13
c. Let X = the number of calls per minute. As previously stated, the number of calls per minute has a Poisson distribution, with a
mean of four calls per minute.
5 −4
4 e
Therefore, X ∼ P oisson(4) , and so P (X = 5) = ≈ 0.1563 . (5! = (5)(4)(3)(2)(1))
5!
poissonpdf(4, 5) = 0.1563 .
d. Keep in mind that X must be a whole number, so P (X < 5) = P (X ≤ 4) .
To compute this, we could take P (X = 0) + P (X = 1) + P (X = 2) + P (X = 3) + P (X = 4) .
Using technology, we see that P (X ≈ 4) = 0.6288 .
poisssoncdf(4, 4) = 0.6288
e. 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, Y ∼ P oisson(32) . Therefore, P (Y > 40) = 1 − P (Y ≤ 40) = 1 − 0.9294 = 0.0707 .
1 − poissoncdf(32, 40). = 0.0707
Exercise 5.4.7
In a small city, the number of automobile accidents occur with a Poisson distribution at an average of three per week.
a. Calculate the probability that there are at most 2 accidents occur in any given week.
b. What is the probability that there is at least two weeks between any 2 accidents?
Answer
a. Let X = the number of accidents per week, so that X ∼ P oisson(3) . We need to find P (X ≤ 2) ≈ 0.4232
poissoncdf(3, 2)
To find the probability that there are at least two weeks between two accidents,
≈ 0.0025 .
–6
P (T > 2) = 1 − P (T < 2) = 1– (1– e(– 3)(2)) = e
e^(-3*2).
function of X is P (X ≤ X) = 1 − e −mx
.
The exponential distribution has the memoryless property, which says that future probabilities do not depend on any past information.
Mathematically, it says that P (X > x + k|X > x) = P (X > k) .
If T represents the waiting time between events, and if T ∼ Exp(λ) , then the number of events X per unit time follows the Poisson
k −k
λ e
distribution with mean λ . The probability density function of P X is (X = k) = . This may be computed using a TI-83, 83+, 84,
k!
84+ calculator with the command poissonpdf(λ, k) . The cumulative distribution function P (X ≤ k) may be computed using the TI-
83, 83+,84, 84+ calculator with the command poissoncdf(λ, k).
Formula Review
Exponential: X ∼ Exp(m) where m = the decay parameter
pdf: f (x) = me where x ≥ 0 and m > 0
(–mx)
cdf: P (X ≤ x) = 1 − e (–mx)
1
mean μ =
m
standard deviation σ = μ
ln(1 − Area To The Left Of k)
percentile k : k =
−m
Additionally
(–mx)
P (X > x) = e
(–ma) (–mb)
P (a < X < b) = e −e
References
1. Data from the United States Census Bureau.
2. Data from World Earthquakes, 2013. Available online at http://www.world-earthquakes.com/ (accessed June 11, 2013).
3. “No-hitter.” Baseball-Reference.com, 2013. Available online at http://www.baseball-reference.com/bullpen/No-hitter (accessed June
11, 2013).
4. Zhou, Rick. “Exponential Distribution lecture slides.” Available online at
www.public.iastate.edu/~riczw/stat330s11/lecture/lec13.pdf (accessed June 11, 2013).
Glossary
decay parameter
The decay parameter describes the rate at which probabilities decay to zero for increasing values of x . It is the value m in the
1
probability density function f (x) = me (−mx)
of an exponential random variable. It is also equal to m = , where μ is the mean
μ
memoryless property
For an exponential random variable X, the memoryless property is the statement that knowledge of what has occurred in the past
has no effect on future probabilities. This means that the probability that X exceeds x + k , given that it has exceeded x , is the same
as the probability that X would exceed k if we had no knowledge about it. In symbols we say that
P (X > x + k|X > x) = P (X > k)
Poisson distribution
If there is a known average of λ events occurring per unit time, and these events are independent of each other, then the number of
events X occurring in one unit of time has the Poisson distribution. The probability of k events occurring in one unit time is equal to