Introduction to the Geometric Distribution
What you'll learn: You'll discover how the geometric distribution counts the number of Bernoulli trials needed to see your first success.
What Is the Geometric Distribution?
Imagine flipping a coin until you get your first heads, or rolling a die until you see your first six. The geometric distribution models exactly this: it tells us the probability that we need exactly k trials to achieve our first success in a sequence of independent Bernoulli trials.
Unlike the binomial distribution (which counts successes in a fixed number of trials), the geometric distribution focuses on a variable number of trials until one specific event happens: the first success.
The Setup
You're conducting repeated, independent Bernoulli trials, each with:
- Probability of success: p
- Probability of failure: q = 1 - p
The random variable X represents the trial number on which the first success occurs.
For example, if X = 3, that means you failed twice and then succeeded on the third trial.
Why "Geometric"?
The probabilities form a geometric sequence. To get your first success on trial k, you must fail (k - 1) times and then succeed once:
P(X = k) = (1 - p)^(k-1) · p
Each term is a constant multiple of the previous one—the hallmark of a geometric sequence.
A Quick Example
You're shooting free throws with a 30% success rate (p = 0.3). What's the chance your first basket comes on your third shot?
P(X = 3) = (0.7)² · 0.3 = 0.49 · 0.3 = 0.147
You'd have about a 14.7% chance.
Key Takeaway: The geometric distribution models the number of Bernoulli trials until the first success, with probability P(X = k) = (1 - p)^(k-1) · p.