Lesson 3: Cumulative distribution functions and the median

Setting a warranty for an appliance

SkillsValid probability density functionsCumulative distribution functionsProbabilities as integrals

Worked example

  • Complex unfamiliar

The lifetime TT years of a brand of dishwasher motor is modelled by

p(t)={0.2e−0.2t,t≥00,t<0.p(t) = \begin{cases} 0.2e^{-0.2t}, & t \ge 0 \\ 0, & t < 0. \end{cases}

(a) Show that p(t)p(t) is a probability density function.

(b) Find the cumulative distribution function for t≥0t \ge 0.

(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?

1 of 7 steps
  1. Step 1: Check the density is never negative

    0.2e−0.2t>00.2e^{-0.2t} > 0 for every t≥0t \ge 0, because an exponential is always positive. And p(t)=0p(t) = 0 for t<0t < 0.

Try a similar one

A fresh question of the same kind, checked as you answer, with hints and a full solution.

Method

  1. For a valid pdf, show p≥0p \ge 0 and total area 1 (use a large upper limit for an unbounded support).

  2. F(t)=∫0tp(u) duF(t) = \int_0^t p(u)\,du; upper tails are 1−F1 - F.

  3. For any quantile, solve F(x)=qF(x) = q with logarithms.

Watch out for

  • Writing ∫0.2e−0.2t dt=0.2e−0.2t\int 0.2e^{-0.2t}\,dt = 0.2e^{-0.2t}: dividing by −0.2-0.2 gives −e−0.2t-e^{-0.2t}.

  • Rounding the warranty up to 7 months, which lets more than 10% fail.

Save your progress with a free account