Lesson 2: Probability density functions
Waiting for a bus that comes every 12 minutes
SkillsProbabilities as integralsExpected value
Worked example
A bus stops outside a Toowoomba school every 12 minutes. A student arrives at the stop at a random time, so their waiting time minutes is uniformly distributed on .
(a) Write down the probability density function of .
(b) Find the probability that the student waits more than 8 minutes.
(c) Find .
Step 1: Write the uniform density
for , and elsewhere.
A uniform density is constant, and the rectangle must have area 1: width 12, so height .
Step 2: Use the area of a rectangle for (b)
Step 3: Same idea for (c)
Any two intervals of the same width inside have the same probability: that is what "uniform" means.
Answer
(a) for , 0 elsewhere (b) (c)
Try a similar one
A fresh question of the same kind, checked as you answer, with hints and a full solution.
Method
Uniform on : .
Probability = (width of the interval inside ) .
Watch out for
Using a height of 1 instead of : the total area would be 12, not 1.