Lesson 8 of 8 · 20 min
Modelling with exponential random variables
Find quantiles and medians of exponential waiting times, find λ from given information, use the memoryless property, and evaluate whether an exponential model suits the context.
What you will be able to do
- Find the quantile with , including the median .
- Find from a mean, a median or a given probability.
- Use the memoryless property .
- Model waiting times and lifetimes, with and without technology, and judge the model's assumptions.
Probability questions ask "how likely is a wait of more than 10 minutes?". Quantile questions turn that round: "how long a wait covers 90 % of customers?" or "what warranty period will at most 5 % of products fail within?". For an exponential variable both directions are short calculations with and logarithms.
Time between calls with per minute. Half the area lies to the left of the median, minutes, which is well below the mean of minutes. The long right tail pulls the mean up.
Key idea
Quantiles
The quantile satisfies :
The median is the quantile, . It is always less than the mean , because .
Solving an exponential equation
Write the probability statement
or , whichever the question describes.
Replace it with exponentials
, or .
Isolate the exponential, then take logarithms
Then divide by . To find instead, divide by .
Answer in context
Exact in Paper 1; rounded with units in Paper 2.
Worked example
Median, tail and 90th percentile of a lifetime
The lifetime of a type of sensor is exponential with a median of 2000 hours.
a) Determine the exact value of .
b) Determine the probability that a sensor lasts more than 5000 hours, correct to three decimal places.
c) Determine the time by which 90 % of sensors have failed, to the nearest hour.
Step 1: Use the median to find λ
Step 2: Find the upper tail
: every 2000 hours, half the survivors fail.
Step 3: Find the 0.9 quantile
Try it yourself first, then check the working one step at a time.
Answer
a) . b) . c) About hours.
Method
From a median : .
.
For the quantile, solve .
Watch out for
Treating the median as the mean and using .
Solving for the 90th percentile: that gives the time by which 10 % have failed.
The time, years, until a smoke alarm battery fails is exponential with . Determine the exact median lifetime.
No memory. Suppose the waiting time between calls is exponential and you have already waited minutes. The chance of waiting at least another minutes is
The time already waited makes no difference. For a component, this means a used one is as good as a new one: it does not wear out. That is a strong assumption, and a good thing to question in an evaluation.
The lifetime of an LED driver is exponential with a mean of 1500 hours. A driver has already run for 1000 hours. Determine the exact probability that it runs for at least another 500 hours.
Worked example
Choosing a warranty period
The lifetime of a cordless drill is modelled as exponential with a mean of 6 years. The manufacturer wants to offer a warranty, in whole months, under which at most 5 % of drills fail.
a) Determine the longest warranty the manufacturer can offer.
b) Evaluate the suitability of the exponential model for this decision.
Step 1: Define the variable
Let be the lifetime in years, .
Step 2: Write the condition
For a warranty of years, the proportion failing within it is . We need .
Step 3: Solve
which is months.
Multiplying by reverses the inequality.
Step 4: Round in context
A 4-month warranty would let more than 5 % fail, so round down: the longest warranty is 3 months.
Step 5: Evaluate the model
An exponential model has no memory, so it assumes a drill is as likely to fail in its first month as in its sixth year. Real tools have some early failures, then a long reliable period, then wear out. Under this model 5 % of drills fail within about 3.7 months, which seems pessimistic for a product with a 6-year mean life; with real failure data the manufacturer could probably offer a longer warranty.
Try it yourself first, then check the working one step at a time.
Answer
a) 3 months (the exact bound is about 3.69 months). b) The model assumes a constant failure rate with no wear-out, which is unrealistic for drills; real data would give a better answer.
Method
Define with units and .
Turn the requirement into an inequality in .
Solve with logarithms, keeping track of the inequality's direction.
Round in the direction the context requires.
Evaluate the constant-rate assumption.
Watch out for
Rounding 3.69 months up to 4 months, which breaks the 5 % limit.
Solving , which finds when 95 % have failed.
Without technology
Leave answers as , , or . Simplify logarithms: and .
With technology
Most graphics calculators have no exponential distribution menu. Evaluate directly, or integrate the pdf numerically, , and use the solve function for quantiles. Write down what you evaluated.
Note
When is an exponential model reasonable?
The model assumes events occur independently, one at a time, at a constant average rate. Arrivals at a shop are not constant across the day; a car battery wears out, so an old one is more likely to fail than a new one. Say which assumption fails and what it would do to the answers: a model that ignores wear-out underestimates failures late in life.
Exam tip
Define the random variable
Begin with a sentence such as "Let be the time in minutes until the next call, ." It fixes the units, earns a communication mark, and stops you mixing with the mean.
Summary
The quantile is ; the median is , less than the mean.
Find from a mean (), a median () or a probability, using logarithms.
Memoryless: .
Define with units and its parameter before you calculate.
An exponential model needs a constant rate of independent events; question it when things wear out or rates change.
Finished the lesson?
Try the 2 quick checks above and the lesson completes itself, or mark it complete now.