For a geometric distribution with p=0.4: (a) find P(X≤3), (b) find the expected number of trials until first success.
Example 3
medium
Derive a closed form for P(X≤n) when X is geometric with parameter p.
Example 4
medium
Show that the geometric distribution is memoryless: P(X>m+n∣X>m)=P(X>n).
Example 5
hard
Use the geometric series to verify that the PMF P(X=k)=(1−p)k−1p sums to 1 over k=1,2,3,….
Example 6
hard
Find the moment generating function of a geometric random variable with parameter p.
Example 7
medium
A casino game pays out on 5% of plays. A gambler plans to play until winning once. Find P(wins within first 20 plays).
Practice Problems
Try each one, then open the solution to compare your method.
Example 1
easy
A fair coin is flipped until heads appears. What is P(first heads on flip 4), and what is the expected number of flips?
Example 2
hard
A quality inspector samples items until finding the first defective. Defect probability is p=0.05. Find P(X>10) (probability of needing more than 10 inspections) and the expected number to inspect.
Example 3
easy
For a geometric distribution with success probability p, what is P(X=1) (success on the first trial)?
Example 4
easy
Rolling a die until a 6 appears, p=61. What is the expected number of rolls?
Example 5
easy
A fair coin is flipped until heads, p=0.5. What is the expected number of flips?
Example 6
easy
Using P(X=k)=(1−p)k−1p with p=0.2, find P(X=2).
Example 7
easy
In a geometric setting, is the number of trials fixed in advance?
Example 8
easy
True or false: each trial in a geometric distribution is independent with the same success probability p.
Example 9
easy
If P(X=k)=(1−p)k−1p counts trials until first success, what is the smallest value k can take?
Example 10
easy
A salesperson closes each call with probability p=0.25. What is the expected number of calls to the first sale?
Example 11
medium
With p=0.3, find P(X=3) using P(X=k)=(1−p)k−1p.
Example 12
medium
With p=0.2, find P(X>2), the probability the first success comes after trial 2.
Example 13
medium
With p=0.5, find P(X≤2) (first success within the first two trials).
Example 14
medium
A free throw is made with probability p=0.8. What is the probability the first miss occurs on the third attempt?
Example 15
medium
A player believes 'I've missed 10 times, so I'm due for a hit.' What property of the geometric distribution refutes this?
Example 16
medium
Should you use the binomial or geometric distribution to model 'number of trials until the first defective item'?
Example 17
medium
With p=0.1, what is the expected number of trials until the first success, and what does it imply about typical waits?
Example 18
challenge
Derive why the geometric mean is 1/p from the tail-sum identity E[X]=∑k=0∞P(X>k)=∑k=0∞(1−p)k.
Example 19
challenge
Prove the memoryless property: show P(X>m+n∣X>m)=P(X>n) for the geometric distribution.
Example 20
challenge
With p=0.25, find the smallest number of trials n so that the probability of at least one success is at least 0.9.
Example 21
medium
With p=0.4, find P(X>3), the probability the first success comes after trial 3.
Example 22
medium
With p=0.5, find P(X=4) using P(X=k)=(1−p)k−1p.
Example 23
easy
A geometric random variable has p=0.3. Compute P(X=1).
Example 24
easy
A free-throw shooter makes 80% of attempts. What is the probability the first miss happens on the 2nd shot?
Example 25
medium
A die is rolled until a 5 appears. Find P(X≤2).
Example 26
medium
A geometric random variable has p=0.25. Find P(X>4).
Example 27
medium
If X is geometric with p=0.4, compute Var(X).
Example 28
medium
A computer reboot has a 10% chance of failure each attempt. What is the probability the first failure occurs on or before the 5th reboot?
Example 29
medium
Given X is geometric with p=0.2 and we know X>3, what is P(X>7∣X>3)?
Example 30
hard
A lottery has win probability p=0.01. What is the smallest n such that P(X≤n)≥0.5?
Example 31
hard
A fair die is rolled until a 1 appears. Given the first 1 has not happened in the first 5 rolls, what is the expected number of additional rolls?
Example 32
hard
A virus test has sensitivity 0.95 (true-positive rate). Assuming independent tests on a truly infected person, what is the probability the test misses a positive 3 times in a row before catching it on the 4th test?
Example 33
easy
A spinner lands on red with probability 0.4. Find P(first red on spin 2).
Example 34
medium
A geometric RV has P(X=1)=0.6. Find P(X=3).
Example 35
hard
Two geometric variables X1,X2 each have p=0.5 and are independent. Find P(X1+X2=4).
Example 36
medium
A geometric RV with p=0.3. Compute P(2≤X≤4).
Example 37
challenge
A coupon machine dispenses a special golden coupon with probability 1/n. Approximately how many coupons must be drawn so that the probability of having drawn at least one golden coupon exceeds 1−1/e?
What to focus on
Core idea:The geometric distribution gives the probability that the first success occurs on trial k, when independent trials each succeed with probability p.
Common stuck point:The procedure for geometric distribution is the easy part; the trap is using the binomial because both involve p and 1−p. Asking "Am I counting the number of trials up to and including the first success (not the number of successes in a fixed set of trials)?" first is what keeps a correct-looking calculation from being attached to the wrong concept.
Ask yourself:Am I counting the number of trials up to and including the first success (not the number of successes in a fixed set of trials)?
Concept recap
The probability distribution for the number of independent Bernoulli trials needed to get the first success, where each trial has success probability p.
Waiting for a geometric success resembles waiting for a bus that arrives completely at random, each minute carrying the same chance. Having already waited ten minutes doesn't make the next minute any luckier, so the wait so far says nothing about the wait to come. Real buses run on timetables, so the comparison holds only for truly random arrivals.