Geometric
Distribution
Master the distribution that models waiting for the first success: its conditions, probability formula, and expected value calculations.
What is the Geometric Distribution?
The geometric distribution models a specific scenario: you repeat independent Bernoulli trials, each with the same probability of success \( p \), and count how many trials it takes to get the first success.
The random variable \( X \) represents the trial number on which the first success occurs. So \( X \) can take values \( 1, 2, 3, \ldots \) with no upper bound.
The Four Conditions
Visualizing the Probability Decay
The geometric distribution has a characteristic right-skewed shape: the most likely outcome is success on trial 1, and probabilities decrease exponentially as \( k \) increases.
The Probability Formula (PMF)
The probability that the first success occurs on trial \( k \) requires exactly \( k - 1 \) failures followed by one success:
Expected Value and Variance
Two key summary statistics for a geometric random variable \( X \) with success probability \( p \):
Cumulative Probability
Often we need \( P(X \leq k) \): the probability of getting the first success within \( k \) trials. There is an elegant shortcut:
This works because \( P(X > k) = (1-p)^k \) is the probability of failing all \( k \) trials. Subtract from 1 to get at least one success.
Geometric vs. Binomial
| Feature | Geometric | Binomial |
|---|---|---|
| What is fixed? | \( p \) only | \( n \) and \( p \) |
| What do we count? | Trials until 1st success | Successes in \( n \) trials |
| Possible values | \( 1, 2, 3, \ldots \) (infinite) | \( 0, 1, 2, \ldots, n \) (finite) |
| Expected value | \( \frac{1}{p} \) | \( np \) |
| Key question | "How long until...?" | "How many out of...?" |
How to Apply the Geometric Model
Example 1: Free Throws
A basketball player makes 80% of her free throws. She shoots until she makes one. What is the probability that she makes her first free throw on the 3rd attempt?
Interpretation: There is a 3.2% chance her first made free throw comes on exactly the third attempt. This is low because \( p \) is high: she usually succeeds sooner.
Example 2: Defective Parts
A quality inspector examines items from a large production line where 5% are defective. What is the probability she finds the first defective item within the first 10 inspections?
Interpretation: There is about a 40.1% chance the inspector finds at least one defective item within the first 10 she examines.
Example 3: Expected Waiting Time
A game spinner has a 1 in 8 chance of landing on the winning sector. On average, how many spins does a player need? What is the probability it takes more than 10 spins?
On average the player needs 8 spins, but there is still a 26.3% chance of needing more than 10. The geometric distribution has a long right tail.
The Memoryless Property
The geometric distribution is the only discrete distribution that is memoryless. This means past failures do not change the probability of future success:
Alternate Formulation: Counting Failures
Some textbooks define \( Y \) as the number of failures before the first success instead of the trial number. Be aware of both versions:
| Property | \( X \) = trial number | \( Y \) = failures before |
|---|---|---|
| Possible values | \( 1, 2, 3, \ldots \) | \( 0, 1, 2, \ldots \) |
| PMF | \( (1-p)^{k-1} p \) | \( (1-p)^{y} p \) |
| Expected value | \( \frac{1}{p} \) | \( \frac{1-p}{p} \) |
| Relationship | \( X = Y + 1 \) | |
Common Mistakes to Avoid
Question 1 of 5
A coin has probability \( p = 0.25 \) of landing heads. You flip until you get heads. What is \( P(X = 4) \)?
Question 2 of 5
If the probability of success is \( p = 0.1 \), what is the expected number of trials to get the first success?
Question 3 of 5
Which scenario does not satisfy the conditions for a geometric distribution?
Question 4 of 5
A website ad has a 2% click rate. What is the probability a visitor clicks the ad within the first 5 page views?
Question 5 of 5
A geometric random variable \( X \) has \( p = 0.4 \). You have already observed 3 failures. Because of the memoryless property, what is \( P(X > 5 \mid X > 3) \)?