Statistics & Probability · Grades 11, 12
The Geometric Distribution: Waiting for the First Success
Quick answer
When independent trials each succeed with the same probability p, the number of the trial on which the first success happens follows a geometric distribution. The first success comes on trial k with probability (1 − p)^(k−1)·p: k − 1 failures, then a success. The chance of needing more than n trials is (1 − p)ⁿ, and the average wait is 1/p trials: six rolls, on average, for a die to show a six.
What you'll learn
- Recognize a geometric setting
- Compute P(first success on trial k)
- Find the chance of waiting more than n trials
- Use the mean 1/p and standard deviation √(1 − p)/p
Waiting for a six
Roll a die until a six appears. How many rolls will it take? Each roll succeeds with , independently of the others. Let be the number of the roll on which the first six appears. The first six comes on roll exactly when rolls and fail and roll succeeds:
In general, has a geometric distribution:
The binomial distribution fixes the number of trials and counts successes. The geometric fixes the number of successes, one, and counts trials.
Why the average wait is 1/p
Think of a long run of trials. Successes happen in a fraction of them, so over trials there are about successes, spread through the run. The gaps between them, which are the waiting times, must add up to about . So the average gap is . The rarer the success, the longer the average wait, in exact inverse proportion. For a die, rolls.
The standard deviation is , close to the mean when is small: waiting times are very spread out.
Worked examples
Common mistakes
Practice problems
-
A fair coin is tossed until it lands heads. Find the chance the first head is on toss .
Answer
Full solution
.
-
What is the chance a coin needs more than tosses to land heads?
Answer
Full solution
The first must be tails: .
-
On average, how many tosses does a fair coin need to land heads?
Answer
Full solution
.
-
Find the mean and standard deviation of a geometric variable with .
Answer
Mean ; standard deviation about
Full solution
and .
-
A die is rolled until a six appears. Find the chance the first six is on roll or earlier.
Answer
About
Full solution
.
-
A website visitor buys something with probability . On average, how many visitors arrive before the first sale, counting the buyer?
Answer
Full solution
.
-
Show that the probabilities add to .
Answer
They form a geometric series with first term and ratio , whose sum is .
Full solution
-
After rolls without a six, a player says a six is now due. What is the chance of a six on the next roll?
Answer
Still
Full solution
Rolls are independent. The geometric distribution is memoryless: the remaining wait has the same distribution as a fresh start.
Frequently asked questions
What is a geometric distribution?
The distribution of the trial number on which the first success happens, in independent trials with the same success probability p.
What is the formula for a geometric probability?
P(X = k) = (1 − p)^(k−1) · p: k − 1 failures followed by one success.
What is the mean of a geometric distribution?
1/p. If each trial succeeds with probability 1/6, the first success takes 6 trials on average.
How is it different from the binomial distribution?
The binomial counts successes in a fixed number of trials. The geometric counts trials until the first success, so the number of trials is the random part.
What is the chance of needing more than n trials?
(1 − p)ⁿ, the chance that the first n trials are all failures.
Standards alignment
This lesson covers the following Common Core State Standards for Mathematics.
- CCSS.MATH.CONTENT.HSS.MD.A.3Using Probability to Make Decisions(+) Develop a probability distribution for a random variable defined for a sample space in which theoretical probabilities can be calculated; find the expected value.