Probability theory
Long-run behaviour, random walks, and clever expectations.
Pen and paper is fine · no calculator needed why?
Opens at level 59.
Lesson and untimed practice
Read the full lesson and try each skill without a clock. About 3 minutes to read.
skills · practice stats
-
Long-run share not tried yet
worked example
A process has two states, A and B. Each step, from A it moves to B with probability 0.7 (otherwise it stays in A), and from B it moves to A with probability 0.4 (otherwise it stays in B). In the long run, what fraction of the time is it in B? Give an exact fraction.
Answer: 7/11
- Let p be the long-run share of time in B. In balance, the flow B → A equals the flow A → B: 0.4p = 0.7(1 − p).
- So (0.4 + 0.7)p = 0.7, and p = 0.7 ÷ 1.1 = 7/11.
-
Gambler’s ruin not tried yet
worked example
You bet $1 at a time on fair coin flips, starting with $1. You stop when you reach $15 or go broke. What is the probability you reach $15? Give an exact fraction.
Answer: 1/15
- In a fair game your expected money stays $1.
- If p is the chance of reaching $15: 15p + 0 × (1 − p) = 1, so p = 1/15.
-
Expected maximum not tried yet
worked example
You draw 8 independent random numbers uniformly between 0 and 1. What is the expected value of the smallest? Give an exact fraction.
Answer: 1/9
- The 8 draws split [0, 1] into 9 gaps of equal expected size, 1/9.
- The smallest value is the first gap: 1/9.
-
Collect them all not tried yet
worked example
Each cereal box holds one of 2 different toys, all equally likely. How many boxes do you expect to open before you have all 2 toys? Round to 1 decimal place.
Answer: 3
- When k of the 2 toys have appeared, a new one comes with chance (2 − k)/2, so it takes 2/(2 − k) tries on average.
- Total: 2 × (1 + 1/2) = 2 × 3/2 = 3.
rest ladder
- 1 day
- 3 days
- 7 days
- 14 days
- 30 days
- 60 days
- mastered · every 90 days