U4.11 Geometric Distribution
Master the AP Statistics geometric distribution: check BITS conditions, compute P(X=k), find the mean 1/p and standard deviation, and use geompdf/geomcdf.
What you'll do in this lesson
A voice-first session with the Crimsora tutor on U4.11 Geometric Distribution, then targeted practice and FRQs — with the tutor adapting to where you get stuck.
What this lesson covers
In Unit 4.9 you learned to count successes in a fixed number of trials with the binomial distribution. The geometric distribution flips the question around: instead of asking "how many successes in trials," it asks "how many trials until the first success?" Think of shooting free throws until you finally make one, or rolling a die until the first six appears.
This lesson shows you how to recognize a geometric setting using the BITS conditions, compute the probability that the first success happens on trial , and find the mean and standard deviation of the waiting time. You will also learn the calculator shortcuts geompdf and geomcdf, which the exam expects you to use fluently.
This lesson shows you how to recognize a geometric setting using the BITS conditions, compute the probability that the first success happens on trial , and find the mean and standard deviation of the waiting time. You will also learn the calculator shortcuts geompdf and geomcdf, which the exam expects you to use fluently.
Recognizing a Geometric Setting: BITS
A random variable follows a geometric distribution when the process meets four conditions, remembered by the acronym BITS.
B — Binary: each trial results in one of two outcomes, labeled success or failure.
I — Independent: the outcome of one trial does not affect any other. When sampling without replacement, the 10% condition (sample under 10% of the population) keeps trials approximately independent.
T — Trials until success: you keep going until the first success occurs. This is the defining feature — the number of trials is not fixed.
S — Same probability: the probability of success is identical on every trial.
The key contrast with the binomial is the T. In a binomial setting you fix the number of trials and count successes. In a geometric setting the number of successes is fixed at exactly one (the first), and you count the trials needed to get there. The random variable is the trial number on which the first success occurs, so can be with no upper limit.
A common exam trap: a problem that says "how many attempts until" signals geometric, while "how many successes in a fixed number" signals binomial. Read carefully to spot which quantity is fixed.
B — Binary: each trial results in one of two outcomes, labeled success or failure.
I — Independent: the outcome of one trial does not affect any other. When sampling without replacement, the 10% condition (sample under 10% of the population) keeps trials approximately independent.
T — Trials until success: you keep going until the first success occurs. This is the defining feature — the number of trials is not fixed.
S — Same probability: the probability of success is identical on every trial.
The key contrast with the binomial is the T. In a binomial setting you fix the number of trials and count successes. In a geometric setting the number of successes is fixed at exactly one (the first), and you count the trials needed to get there. The random variable is the trial number on which the first success occurs, so can be with no upper limit.
A common exam trap: a problem that says "how many attempts until" signals geometric, while "how many successes in a fixed number" signals binomial. Read carefully to spot which quantity is fixed.
Computing P(X = k)
To have the first success on trial , you must fail the first trials and then succeed on trial . Because trials are independent with constant probability, you multiply:Here is the probability of success on a single trial and is the probability of failure. The exponent is , not — this is the most frequent arithmetic mistake students make. You fail times, then succeed once.
For example, if , then .
Sometimes a question asks for the probability that the first success takes more than trials. This means the first trials were all failures:This shortcut is handy because it avoids summing an infinite series. From it you can also get , which is exactly what the cumulative calculator command returns. Knowing these algebraic forms lets you check calculator output and answer conceptual questions without a device.
For example, if , then .
Sometimes a question asks for the probability that the first success takes more than trials. This means the first trials were all failures:This shortcut is handy because it avoids summing an infinite series. From it you can also get , which is exactly what the cumulative calculator command returns. Knowing these algebraic forms lets you check calculator output and answer conceptual questions without a device.
Mean and Standard Deviation
On average, how many trials until the first success? Intuitively, if success happens 1 in every fraction of trials, you expect to wait trials. That is exactly the mean:The standard deviation is:For instance, if , then trials on average, and trials.
Notice the mean makes sense: a rare event (small ) means a long expected wait. If , you expect 10 trials. Interpretation matters on the exam — write "we expect about 4 trials until the first success," not just "."
Memorizing this comparison table prevents mixing up the two formulas under time pressure.
Notice the mean makes sense: a rare event (small ) means a long expected wait. If , you expect 10 trials. Interpretation matters on the exam — write "we expect about 4 trials until the first success," not just "."
| Feature | Geometric | Binomial |
|---|---|---|
| Question | Trials until 1st success | Successes in trials |
| Fixed | Number of successes (1) | Number of trials |
| Mean | ||
| SD |
Using geompdf and geomcdf
Your calculator has two geometric functions found in the distribution menu.
geompdf(p, k) gives the probability of the first success on exactly trial , i.e. . The "pdf" stands for probability density function — use it for an exact single value.
geomcdf(p, k) gives the cumulative probability , the chance the first success happens on or before trial . The "cdf" is cumulative — use it for "at most" or "within the first trials."
Order of arguments matters: probability comes first, then the trial number . On free-response questions, always show the setup — for example write " geompdf" — because naked calculator syntax without defining the variable or parameters may not earn full communication credit.
geompdf(p, k) gives the probability of the first success on exactly trial , i.e. . The "pdf" stands for probability density function — use it for an exact single value.
geomcdf(p, k) gives the cumulative probability , the chance the first success happens on or before trial . The "cdf" is cumulative — use it for "at most" or "within the first trials."
| You want | Command |
|---|---|
| geompdf | |
Key terms
- Geometric random variable.
- A count of the number of independent trials needed to obtain the first success, where each trial has the same success probability .
- BITS conditions.
- The four requirements for a geometric setting: Binary outcomes, Independent trials, Trials until first success, and Same probability on each trial.
- Success probability (p).
- The constant probability that any single trial results in a success; drives the mean, SD, and every probability calculation.
- P(X = k).
- The probability the first success occurs on trial , equal to : fail times then succeed.
- geompdf.
- Calculator command returning for a geometric variable, taking arguments .
- geomcdf.
- Calculator command returning the cumulative probability for a geometric variable, taking arguments .
- Mean of a geometric distribution.
- The expected number of trials until the first success, .
- 10% condition.
- When sampling without replacement, keeping the sample under 10% of the population so trials stay approximately independent.
Worked example
A basketball player makes each free throw independently with probability . Let be the number of free throws until (and including) her first miss. (a) Explain why is geometric. (b) Find the probability her first miss is on the third attempt. (c) Find the mean and standard deviation of . (d) Find the probability her first miss occurs within the first four attempts.
First, define the "success" carefully. Since counts trials until the first miss, a "success" here is a MISS, with probability . This relabeling is a classic trick — the event you are waiting for becomes the success.
(a) Check BITS. Binary: each shot is made or missed. Independent: shots are stated independent. Trials until success: we count shots until the first miss. Same probability: each shot. All four hold, so is geometric with .
(b) First miss on the third attempt means make, make, miss: . On the calculator, geompdf.
(c) Mean: shots. Standard deviation: shots. Interpret: we expect about 3.33 shots until her first miss.
(d) "Within the first four attempts" means . Compute: . So there is about a 76.0% chance her first miss happens by the fourth shot.
(a) Check BITS. Binary: each shot is made or missed. Independent: shots are stated independent. Trials until success: we count shots until the first miss. Same probability: each shot. All four hold, so is geometric with .
(b) First miss on the third attempt means make, make, miss: . On the calculator, geompdf.
(c) Mean: shots. Standard deviation: shots. Interpret: we expect about 3.33 shots until her first miss.
(d) "Within the first four attempts" means . Compute: . So there is about a 76.0% chance her first miss happens by the fourth shot.
Practice questions
A quality inspector tests light bulbs one at a time from a large shipment. Each bulb is defective with probability 0.05, independent of others. Let be the number of bulbs tested until the first defective bulb is found. What is the probability that the first defective bulb is the sixth one tested?
Answer:
The first success (a defective bulb) occurs on trial with . Using , we fail 5 times (non-defective, probability 0.95 each) then succeed once: . The exponent is , not 6 — a common error. This equals about 0.0387.
A student guesses randomly on multiple-choice questions, each with 5 options, so the probability of a correct guess is 0.2. Let be the number of questions until the first correct guess. Find and interpret the mean of , and find the probability it takes more than 5 questions to get the first correct answer. Show your work.
Answer: Mean questions; .
The setting is geometric with . The mean is , interpreted as: on average the student needs about 5 questions to get the first correct guess. For , the first 5 guesses must all be wrong: . On a calculator this equals . So there is about a 32.8% chance more than 5 questions are needed.
Which of the following scenarios describes a geometric random variable rather than a binomial one?
- The number of heads in 20 coin flips
- The number of defective items in a batch of 50
- The number of cards drawn until the first ace appears
- The proportion of voters supporting a candidate in a sample of 100
Answer: The number of cards drawn until the first ace appears
A geometric variable counts trials until the first success, with the number of trials not fixed. Drawing cards until the first ace fits this. The other options have a fixed number of trials (20 flips, batch of 50, sample of 100) and count successes or a proportion, which are binomial or proportion settings.
FAQ
- How do I know whether a problem is geometric or binomial?
- Look at what is fixed. If the number of trials is fixed and you count successes, it is binomial. If instead you keep going until the first success and count how many trials that takes, it is geometric. Phrases like "until the first" or "how many attempts until" signal geometric.
- Why is the exponent k−1 instead of k in the geometric formula?
- To have your first success on trial , the previous trials must all be failures, and then trial is the success. So you multiply by itself times for the failures and multiply by once for the success, giving .
- When should I use geomcdf instead of geompdf?
- Use geompdf for an exact single value, . Use for a cumulative range, , which answers "at most trials" or "within the first trials." For "more than ," compute .
- Can a geometric random variable take an infinite number of values?
- Yes. In theory can be any positive integer with no upper bound, since it is always possible (though increasingly unlikely) to keep failing. The probabilities shrink geometrically and sum to 1, and the expected value is finite.
Learn this with a teacher, not a page
The Crimsora tutor teaches U4.11 Geometric Distribution live — explaining on a whiteboard, asking you questions, and adapting to where you get stuck.