The geometric distribution
Studying this course? Keep your progress in one place.
Key facts
- is the number of trials up to and including the first success, so
- .
- , and .
- and .
- The model needs two outcomes, a constant and independent trials.
The geometric model
The number of independent trials needed to get the first success.
Carry out independent trials, each with the same probability of success, and count how many trials it takes to get the first success. This is a geometric distribution, .
It needs three conditions: each trial has two outcomes; is the same every time; and the trials are independent.
counts the trial on which the success happens, so with no upper limit. The number of rolls of a fair die up to and including the first six is .
- 1
Trial 1
failure, probability 1 − p
- 2
Trials 2 to x − 1
failures, each 1 − p
- 3
Trial x
success, probability p
A basketball player scores with probability 0.4 on each independent shot. Which variable is geometric?
The probability function
The first trials fail and trial succeeds, so .
The first success is on trial when the first trials all fail and trial succeeds, so . The power is , not .
Tail probabilities are simple, because just means the first trials all fail: .
Learn : it avoids summing a series and turns "more than" and "at least" questions into one power.
Worked example
A component is defective with probability . Let be the number tested up to and including the first defective one. Find , and the smallest with .
- 1
.
- 2
.
- 3
means , so .
- 4
Take logarithms: . Reverse the inequality when dividing by the negative number , so .
. Find .
Mean and variance
The mean is and the variance is .
For : and .
Both are in the formulae booklet, and you do not have to prove them.
A smaller makes success rarer, so the mean wait and the spread both grow. The standard deviation is the square root of the variance. A common slip is using : the denominator is .
- Mean
- Variance
Worked example
is the number of rolls of a fair die up to and including the first six. Find the mean, variance and standard deviation.
- 1
, so rolls.
- 2
.
- 3
.
and . What is ?
Modelling and applying
State the trial and success, then use ; a series gives .
In context questions, say what counts as a trial and a success, then state with its value of .
For the terms form a geometric series with ratio . The sum to infinity gives .
When two players alternate and the first to succeed wins, the first player wins when is odd.
Comment on assumptions: trials must be independent and constant; a player who improves with practice breaks the model.
Worked example
Two players take turns to roll a fair die, player A first. The first to roll a six wins. Find the probability that A wins.
- 1
A wins when the first six is on an odd-numbered roll, so is odd where .
- 2
.
Two players take turns to toss a fair coin, and the first to get heads wins. What is the probability that the first player wins?
Try an exam question
Each attempt at a task succeeds with probability , independently. Let be the number of attempts up to and including the first success. Find , , and .
[5 marks]
- [1].
- [1].
- [1].
- [1].
- [1].
That's the notes covered.
Carry on to the next subtopic.
Try a question
Find .
1 mark, marked against the mark scheme
Find .
1 mark, marked against the mark scheme