Lesson 3: Cumulative distribution functions and the median
Setting a warranty for an appliance
SkillsValid probability density functionsCumulative distribution functionsProbabilities as integrals
Worked example
The lifetime years of a brand of dishwasher motor is modelled by
(a) Show that is a probability density function.
(b) Find the cumulative distribution function for .
(c) Find the probability that a motor lasts more than 10 years, correct to 4 decimal places.
(d) Find the median lifetime, correct to 2 decimal places.
(e) The company wants to replace free of charge no more than 10% of motors. How long, in months, should the warranty be?
Step 1: Check the density is never negative
for every , because an exponential is always positive. And for .
Step 2: Show the total area is 1
As , , so the total area is 1. Both conditions hold.
The support has no upper end, so integrate to a large and let grow.
Step 3: Integrate from 0 to t for the cdf
for .
Step 4: Use the complement for (c)
Step 5: Solve F(m) = 0.5 for (d)
years.
Step 6: Solve F(w) = 0.1 for (e)
years, which is about months.
Motors that fail within the warranty are those with . Making means exactly 10% fail in that time.
Step 7: Interpret
A 6-month warranty keeps free replacements just under 10%. This is a short warranty; the mean lifetime of this model is years, but the density is highest at , so early failures are the most common.
Answer
(b) , (c) (d) years (e) 6 months (at most about 6.3 months)
Try a similar one
A fresh question of the same kind, checked as you answer, with hints and a full solution.
Method
For a valid pdf, show and total area 1 (use a large upper limit for an unbounded support).
; upper tails are .
For any quantile, solve with logarithms.
Watch out for
Writing : dividing by gives .
Rounding the warranty up to 7 months, which lets more than 10% fail.