Topic 3 · Lesson 1 of 3
The geometric distribution
Probabilities
Let be the number of trials up to and including the first success. means failures followed by a success, so
We write . The smallest value is 1, and there is no largest value. Each probability is times the one before, so is always the largest: the most likely waiting time is one trial.
Cumulative probabilities
means the first trials are all failures, so
These save adding up long lists of terms. Be careful with the boundaries: .
For example, if a fair dice is rolled until a 1 or a 2 appears ():
- the first success is on the third roll with probability ;
- more than 4 rolls are needed with probability ;
- 8 or more rolls are needed with probability .
Mean and variance
If then
The mean makes sense: if one trial in five is a success, you wait five trials on average. The variance is large: for the mean is 25 but the standard deviation is , so waiting times vary a great deal.
The mean can be proved from the definition: , using with . Probability generating functions give a neater proof.
Worked example
How many to test?
8% of people carry a particular gene. Find the smallest number of people that must be tested for the probability of finding at least one carrier to exceed 0.9.
Show solutionHide solution
- , so .
- Take logarithms: . Dividing by the negative number reverses the inequality: .
- So .
No memory
The geometric distribution "forgets" the past:
If the first trials have all failed, the number of further trials needed has the same distribution as at the start. A dice that has not shown a 6 in five rolls is not "due" one.
Worked example
Taking turns
Cara and Dev take turns to toss a fair coin, Cara first, and the first to get a head wins. Cara wins on toss 1, 3, 5, ... so
Show solutionHide solution
a geometric series with ratio . Going first is a big advantage. The total number of tosses is , with mean 2.
Finding the parameter
If then , giving or . Extra information decides between them: if also , then , so . If you are given the mean, .
Practise this topic
Both are part of Premium.