Geometric and Hypergeometric Distributions
Two cousins of the binomial. The geometric distribution asks how many tries it takes to get the first success. The hypergeometric counts successes when you draw without putting things back, so each draw changes the odds for the next.
What the symbols mean
- Failures first
The first k − 1 trials all fail.
- Success probability
The chance on each trial.
What the symbols mean
- Population size
How many items in all.
- Successes in the population
How many items count as successes.
- Draws
How many you take, without replacement.
Explanation
The geometric distribution is simply the number of tries until your first success, like how many times you roll a die before the first six. It's called geometric because its probabilities form a geometric sequence: each one is the previous one times . The hypergeometric distribution is the count of successes when you draw without replacement, like the number of hearts in a 5-card hand; its name comes from a family of series in higher math and won't help you, so just think "drawing without putting back." Neither formula is as bad as it looks: the geometric one is (fail times) times (then succeed), and the hypergeometric one is a fraction of counts, favorable hands over all hands.
Geometric: independent trials with the same , stopping at the first success. It's the binomial setup, but instead of fixing the number of trials and counting successes, you fix the number of successes at one and count trials. Waiting for the first six on a die: . On average it takes rolls, which makes sense: if a six comes up a sixth of the time, you'd expect one every 6 rolls. "Within tries" is , the complement of failing all .
Hypergeometric: choose items from without replacement, where are successes. Here the binomial breaks, because the draws aren't independent: once you've drawn a heart, there are fewer hearts left. So we go back to counting, as in the probability unit. Choose of the successes and of the failures, and divide by all ways to choose items. When the population is huge compared with the sample, removing a few items barely changes the odds, and the hypergeometric is close to the binomial.
A common mistake. After a run of failures, it's tempting to think a success is "due." With independent trials it isn't. The geometric distribution has no memory: after 5 misses, the number of further tries you'll need has exactly the same distribution as when you started.
See it
Worked examples
A committee of 3 is chosen at random from 5 women and 4 men. Find .
- 1
Pick 2 of the 5 women and 1 of the 4 men: favorable committees.
Practice
Type your answer and check it. Solve them all to complete the lesson.
Roll a die until the first six. Find .
On average, how many rolls does it take to get a six?
Find .
A committee of 3 is chosen from 5 women and 4 men. Find .
Which situation is geometric?
A wireless packet gets through with probability 0.8 on each try, independently. What's the probability it needs exactly 3 tries?
A 60-card deck has 24 lands. What's the probability that a 7-card opening hand has exactly 3 lands?
The hardest one here. Get it, and you've got this lesson.
A packet has failed 5 times in a row (success chance 0.8 per try). What's the probability it needs more than 2 more tries, and how many more tries does it need on average? Enter both.
Where it's used
Geometric: how many sales calls until a sale, how many attempts until a login succeeds. Hypergeometric: card games, lottery odds and acceptance sampling of shipments.