Prologue โ The Question in the Woods
What you will learn in this tale
Geometric ConditionsWhat makes a situation "geometric" in the first place.
The Probability FormulaHow to calculate the chance the first success lands on a chosen trial.
Mean & Std. DeviationHow many shots to expect on average, and how much that varies.
Calculator MagicUsing geometpdf and geometcdf to do the heavy lifting.
Geometric vs. BinomialTwo cousins that are easy to confuse โ until now.
Chapter 1 โ The Four Rules of the Range
The B.I.T.S. Checklist
Binary outcomeEach trial is either a "success" (bullseye) or a "failure" (miss) โ nothing in between.
Independent trialsOne shot never affects the next. Robin's bad shot doesn't curse the next arrow.
Trials share the same pThe probability of success, p, stays constant from shot to shot.
Stop at first successWe are counting trials until the first success โ then we stop, no fixed number of trials.
If a situation satisfies all four, the number of trials needed for the first success, X, is a geometric random variable.
Robin hits the bullseye with probability $p = 0.3$ on every shot, and shots are independent. Robin keeps shooting until the first bullseye. Is $X = $ "number of shots until the first bullseye" geometric?
โ Binary: hit or miss. โ Independent: one shot doesn't change the next. โ Same p: 0.3 every time. โ We stop counting at the first success.
Yes โ this is geometric โRobin now draws arrows from a small quiver of exactly 10, where 3 are enchanted "lucky" arrows that always hit. Robin shoots until the first lucky arrow is drawn (without replacing arrows back into the quiver). Is this geometric?
No. Because arrows are not replaced, the probability of drawing a lucky arrow changes after every draw โ the trials are no longer independent, and p is not constant. (This situation is closer to a hypergeometric setting, a tale for another day.)
Chapter 2 โ The Weight of Waiting
The Formula
If $X$ = the trial number of the first success, and each trial succeeds with probability $p$ (so fails with probability $1-p$), then:
In words: (miss) repeated $k-1$ times, then one hit. Every earlier trial must be a failure, and the very last one a success.
Robin's chance of a bullseye each shot is $p = 0.3$. What is the probability that the first bullseye happens on exactly the 3rd shot?
We need: miss, miss, then hit โ $k = 3$.
A locksmith's apprentice picks a lock correctly with probability $p = 0.2$ on each attempt, attempts are independent. Find the probability the lock first opens on the 2nd attempt.
So there is a 16% chance the very first success happens on the second try.
Chapter 3 โ The Long Run of Arrows
The Formulas
The rarer the success (small $p$), the larger the expected wait โ and the more that wait swings from attempt to attempt.
Robin's bullseye probability is $p = 0.3$. On average, how many shots until the first bullseye, and what is the standard deviation?
Only 1 in 20 arrows in Robin's quiver is a rare "golden" arrow drawn at random with replacement ($p = 0.05$). On average, how many draws until a golden arrow appears?
Rare events take a long average wait โ this matches intuition: a 1-in-20 chance takes about 20 tries on average.
Chapter 4 โ The Elder's Enchanted Scroll
Two Spells
| Command | What it finds | Meaning in words |
|---|---|---|
geometpdf(p, k) | $P(X = k)$ | Probability the first success is exactly on trial k |
geometcdf(p, k) | $P(X \le k)$ | Probability the first success happens on or before trial k |
On a TI-84: press 2nd โ VARS (DISTR), scroll to geometpdf( or geometcdf(, then enter p and k.
With $p = 0.3$, find the probability the first bullseye is exactly on shot 3, using the scroll.
This matches Example 2.1 exactly โ the calculator just saves the by-hand work!
P(X = 3) = 0.147Still with $p = 0.3$, find the probability Robin's first bullseye happens within the first 3 shots (on shot 1, 2, or 3).
There is about a 65.7% chance the bullseye happens within the first three shots. Note the shortcut: $P(X \le k) = 1-(1-p)^k$.
Quick tip: "more than k" shots
Sometimes you'll be asked for $P(X > k)$ โ the probability it takes more than k shots. Since all failures happened for the first k shots:
Chapter 5 โ Two Cousins of the Range
Robin (Geometric) vs. Casey (Binomial)
| Geometric (Robin) | Binomial (Casey) | |
|---|---|---|
| Number of trials | Not fixed โ keep going until success | Fixed number, n |
| What X counts | The trial number of the first success | The total number of successes in n trials |
| Possible values of X | $1, 2, 3, \dots$ (no upper limit) | $0, 1, 2, \dots, n$ |
| Formula | $(1-p)^{k-1}p$ | $\binom{n}{k}p^{k}(1-p)^{n-k}$ |
| Typical question | "On which shot is the first success?" | "Out of n shots, how many succeed?" |
Both Robin and Casey have $p = 0.3$. Casey always shoots $n = 5$ arrows.
(a) Casey (Binomial): probability of exactly 2 bullseyes out of 5 shots?
(b) Robin (Geometric): probability the first bullseye is on shot 3?
(a)
(b)
Same $p$, completely different questions โ and completely different answers!
(a) 0.309 (b) 0.147A basketball player makes free throws with $p=0.6$. Decide: is each scenario geometric or binomial?
โ "Probability the player makes exactly 7 of the next 10 shots."
โก "Probability the player's first miss happens on the 4th shot."
โ Binomial โ fixed number of trials (10), counting total successes.
โก Geometric โ counting trials until the first occurrence of an outcome (here, "success" = miss, with p = 0.4).
Epilogue โ Robin's Diary, Summarized
4.1 CONDITIONS โ B.I.T.S.
Binary outcome ยท Independent trials ยท Trials share the same p ยท Stop at first success.
4.2 PROBABILITY FORMULA
4.3 MEAN & STD. DEVIATION
4.4 CALCULATOR
geometpdf(p,k) โ $P(X=k)$geometcdf(p,k) โ $P(X\le k)$
$P(X>k) = (1-p)^k$
4.5 GEOMETRIC vs. BINOMIAL โ the one-line test
Ask: "Is the number of trials fixed?" โ Yes โ Binomial (counting successes). No, we stop at the first success โ Geometric (counting the waiting trial).
Robin's Final Words
"Every arrow is independent. Every wait has a pattern. Learn the pattern, and even uncertainty becomes something you can calculate." โ Robin of Elmswood