Geometric Distribution: Waiting for the First Success

April 13, 2026

Problem

A free-throw shooter hits 70% of shots. What is the probability that their first make is on the 4th attempt? Show the trial sequence and the full distribution.

Explanation

What is the geometric distribution?

The geometric distribution models the number of independent Bernoulli trials needed to get the first success. Each trial has the same success probability pp, and trials are independent.

A geometric random variable XX can take values 1,2,3,1, 2, 3, \ldots — you need at least one trial, and there is no upper limit in principle.

The formula

P(X=k)=(1p)k1pP(X = k) = (1 - p)^{k - 1} \cdot p

Read it aloud: "k1k - 1 failures in a row, then one success."

Mean (average number of trials to first success): E(X)=1pE(X) = \dfrac{1}{p}

Step-by-step solution

The shooter has p=0.70p = 0.70 per free throw. We want P(X=4)P(X = 4), i.e. miss, miss, miss, make.

Step 1 — Identify failure and success probabilities:

  • Success: p=0.70p = 0.70
  • Failure: q=1p=0.30q = 1 - p = 0.30

Step 2 — Build the sequence: The first three must be misses, the fourth a make. P(MMM then H)=0.300.300.300.70P(\text{MMM then H}) = 0.30 \cdot 0.30 \cdot 0.30 \cdot 0.70

Step 3 — Compute: P(X=4)=0.3030.70=0.0270.70=0.0189P(X = 4) = 0.30^3 \cdot 0.70 = 0.027 \cdot 0.70 = \boxed{0.0189}

That's about 1.89% — reasonable, since a strong shooter usually makes it earlier.

Step 4 — Expected number of attempts: E(X)=10.701.43E(X) = \dfrac{1}{0.70} \approx 1.43

So on average they make their first free throw in about 1.4 attempts.

Verification — all probabilities sum to 1

k=1(1p)k1p=p11(1p)=p1p=1\sum_{k=1}^{\infty} (1-p)^{k-1} p = p \cdot \dfrac{1}{1 - (1-p)} = p \cdot \dfrac{1}{p} = 1 \checkmark

Comparison with related distributions

  • Binomial: fixes the number of trials, counts successes.
  • Geometric: fixes the requirement (first success), counts trials.
  • Negative binomial: generalizes geometric to the rr-th success.

Common mistakes

  • Off-by-one with the exponent. The exponent on (1p)(1 - p) is k1k - 1, not kk — because you need k1k - 1 failures before the success on trial kk.
  • Forgetting independence. The formula only works if each trial is independent and has the same pp. A shooter who gets tired or confident between attempts breaks the model.
  • Confusing the two versions. Some textbooks define XX as the number of failures before the first success (X=0,1,2,X = 0, 1, 2, \ldots). Then P(X=k)=(1p)kpP(X = k) = (1-p)^k p. Same idea, shifted index.

Try it in the visualization

Adjust pp to see the distribution re-scale: higher pp packs mass near k=1k = 1; lower pp spreads it out with a long tail. The animated trial sequence plays live, showing misses and eventual success.

Interactive Visualization

Parameters

0.70
4.00
5.00
Linear
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Geometric Distribution: Waiting for the First Success | MathSpin