Lesson 7 of 8 · 18 min
The exponential distribution
Use the probability density function to model waiting times, derive its cumulative distribution by integration, and find its mean and standard deviation of .
What you will be able to do
- Recognise an exponential random variable with pdf , , and interpret as a rate.
- Show that is a valid pdf and derive .
- Use, and derive with integration by parts, the mean and standard deviation .
Calls to a help line arrive at random, at an average rate of 15 an hour. You have just hung up. How long until the next call? It could be ten seconds or twenty minutes; short waits are common and long waits are rare.
When events happen independently and at a constant average rate, the waiting time until the next one is an exponential random variable. It also models the lifetime of components that fail suddenly rather than wearing out, and the time until a radioactive nucleus decays.
The horizontal axis is the waiting time . Increase : the curve starts higher and falls faster, but the total area under it stays .
Definition
The exponential random variable
A continuous random variable is exponential with parameter if its probability density function is
is the rate: the average number of events per unit of time. For the help line, per hour, or per minute.
It is a valid pdf: for every , and the total area is . The upper terminal is infinite, so integrate to and let :
because as .
Key idea
Probabilities are areas
Integrating the pdf from to gives the cumulative distribution:
so and . These are not in the formula book. For a continuous variable, and give the same probability.
Worked example
Waiting for the next call
The time, minutes, between calls to a help line is exponential with a mean of 4 minutes.
a) Determine exactly.
b) Determine exactly.
Step 1: Find λ
, so per minute.
The mean is the reciprocal of the rate.
Step 2: Find the upper tail
Step 3: Find the probability between two values
Try it yourself first, then check the working one step at a time.
Answer
a) . b) .
Method
Find from the mean: .
.
.
Watch out for
Using , which gives , a probability far too small for a wait of 6 minutes when the mean is 4.
The time, minutes, between buses at a stop has pdf for . Determine the mean time between buses.
Key idea
Mean and standard deviation
If is exponential with parameter , then
The mean and the standard deviation are equal. Both are in the formula book, but you may be asked to derive the mean.
Worked example
Show that the mean of an exponential variable is
is an exponential random variable with parameter . Show that .
Step 1: Write the expected value as an improper integral
over the whole domain, here .
Step 2: Integrate by parts
Let and , so and :
Step 3: Evaluate on [0, k]
Step 4: Let k → ∞
As , and , because the exponential grows faster than . So .
Try it yourself first, then check the working one step at a time.
Answer
, as required.
Method
Write as a limit.
Integrate by parts with .
Evaluate on , then take the limit.
Watch out for
Choosing , which makes the new integral harder.
Substituting as if it were a number: write the limit.
Deriving the standard deviation
Integrate by parts with , :
using as . Then
An exponential random variable has mean . Determine the exact probability that lies within one standard deviation of its mean.
Common mistake
λ is a rate, not the mean
"On average, 4 customers arrive per minute" gives per minute and a mean wait of minute. "The mean time between customers is 4 minutes" gives . Read which one you are told, and keep the time units consistent.
Also remember that is a density, not a probability. can be bigger than ; for any single value.
Summary
exponential with rate has pdf for .
It is valid: and (an improper integral).
and : derive these, they are not in the formula book.
, from integration by parts.
is events per unit time; the mean waiting time is .
Finished the lesson?
Try the 2 quick checks above and the lesson completes itself, or mark it complete now.