01 / 21

The Geometric
Distribution

Model the number of trials until the first success in a sequence of independent Bernoulli trials with constant probability \( p \).

AP Statistics

What Is the Geometric Distribution?

Imagine flipping a coin repeatedly until you get heads. You might get it on the 1st flip, the 3rd, or the 20th. The geometric distribution describes the probability that the first success occurs on the \( k \)-th trial.

Four Conditions for a Geometric Setting

1
Binary outcomes: Each trial results in either success or failure.
2
Independent trials: The outcome of one trial does not affect another.
3
Constant probability: The probability of success \( p \) is the same for every trial.
4
Variable trials: Trials continue until the first success: no fixed number of trials.

Visualizing the PMF

The probability mass function shows that the most likely outcome is success on the first trial, with probabilities decreasing geometrically for each subsequent trial.

0 0.1 0.2 0.3 1 2 3 4 5 6 7 8 9
Trial number \( k \)
\( P(X = k) \)
0.30 0.21 0.15
\( p = 0.3 \)

The Probability Formula

For a geometric random variable \( X \) with success probability \( p \), the probability of the first success on trial \( k \) is:

\( (1 - p)^{k-1} \)
Probability of failing the first \( k - 1 \) trials
\( p \)
Probability of succeeding on the \( k \)-th trial

Ten cereal boxes, five collectible prizes, and one changing stopping rule

A child examines five distinct collectible designs and repeated prizes among opened cereal packages.Collecting all prize types and waiting for the first designated prize use different stopping rules. Define the response variable before generating trials.

Stop at the first success

Four router trials are labeled failure, failure, failure and success, ending at the first success with p = 0.15.In a separate router example, each independent trial succeeds with probability 0.15. The sequence failure, failure, failure, success gives X = 4, with probability 0.85³ × 0.15. This stopping rule differs from collecting all five cereal-prize types.

Mean and Standard Deviation

If \( X \sim \text{Geo}(p) \), the expected number of trials and the spread are:

Expected Value
$$ \mu_X = \frac{1}{p} $$
Standard Deviation
$$ \sigma_X = \frac{\sqrt{1 - p}}{p} $$

Cumulative Probability

Often we want the probability of success within the first \( k \) trials, or of needing more than \( k \) trials.

\( P(X \leq k) \)
$$ 1 - (1 - p)^k $$
Success by trial \( k \)
\( P(X > k) \)
$$ (1 - p)^k $$
Still no success after \( k \) trials

Geometric vs Binomial

Geometric Binomial
Question How many trials until first success? How many successes in \( n \) trials?
Random variable Number of trials Number of successes
Number of trials Not fixed Fixed at \( n \)
Parameters \( p \) \( n, p \)
Mean \( \frac{1}{p} \) \( np \)
Shape Always right-skewed Can be symmetric

How to Apply It: Step by Step

1
Verify conditions: Check Binary, Independent, Constant \( p \), Variable trials.
2
Identify the parameter: What is \( p \), the probability of success on each trial?
3
Determine what you need: Is it \( P(X = k) \), \( P(X \leq k) \), or \( P(X > k) \)?
4
Apply the formula: Use \( (1-p)^{k-1} \cdot p \) for exact, or \( 1 - (1-p)^k \) for cumulative.
5
Interpret in context: Always state your answer in terms of the scenario.

Example 1: Free Throws

A basketball player makes 70% of her free throws. What is the probability that her first made free throw in a game is her 3rd attempt?

Example 2: Quality Control

A factory produces widgets, 5% of which are defective. An inspector tests widgets one at a time. What is the probability that the first defective widget is found within the first 10 tested?

Example 3: More Than \( k \) Trials

A telemarketer has a 12% chance of making a sale on each call. What is the probability that it takes more than 8 calls to make the first sale?

Shape: Always Right-Skewed

\( p = 0.5 \)
\( p = 0.2 \)
Trial number \( k \)

The Memoryless Property

The geometric distribution has a remarkable property: past failures do not change future probabilities.

If you've already failed 5 times, the probability of needing at least 3 more trials is the same as if you were starting from scratch and needed at least 3 trials.

Common Mistakes

✕ Wrong Exponent
Using \( (1-p)^k \) instead of \( (1-p)^{k-1} \). The exponent is one less than the trial number because the \( k \)-th trial is a success.
✕ Swapping Distributions
Using binomial when the number of trials is not fixed. If you're counting trials until first success, it's geometric.
✕ Forgetting Independence
Applying the geometric model when trials are not independent (e.g., sampling without replacement from a small population).

Summary at a Glance

Property Formula / Value
PMF \( P(X = k) = (1-p)^{k-1} \cdot p \)
CDF \( P(X \leq k) = 1 - (1-p)^k \)
Survival \( P(X > k) = (1-p)^k \)
Mean \( \mu = \frac{1}{p} \)
Std Dev \( \sigma = \frac{\sqrt{1-p}}{p} \)
Shape Always right-skewed
Special property Memoryless

Question 1 of 5

A fair die is rolled until a 6 appears. What is the probability that the first 6 appears on the 4th roll?

Question 2 of 5

If \( X \sim \text{Geo}(0.4) \), what is the expected value of \( X \)?

Question 3 of 5

A spinner has a 20% chance of landing on red. What is the probability that it takes more than 5 spins to land on red for the first time?

Question 4 of 5

Which of the following is NOT a condition for a geometric setting?

Question 5 of 5

A student has already attempted a puzzle 10 times without solving it. Each attempt has a 15% chance of success, independently. What is the probability that the student solves it on the next attempt?