5.4 - Waiting for the first success
Repeating trials until the first success gives a waiting time rather than a fixed-trial success count. Learn to recognise a geometric distribution, count the failures in point and tail probabilities, and interpret its expected waiting time.
A geometric model
You repeat an independent attempt with success probability until the first success. Is it more likely that you need exactly four attempts, or more than four? The difference is whether the fourth attempt must succeed.
For this experiment, means immediate success. means three failures followed by success. There is no fixed maximum number of trials, unlike a binomial experiment.
Geometric distribution
The random variable has the geometric distribution when it counts the number of independent trials up to and including the first success, with the same success probability on every trial.
Write , where . Its possible values are ; if , only has positive probability.
The stopping rule matters as much as the individual trials. “Number of failures before success” would start at , so it is not the used here. “Number of successes in ten trials” is a binomial count instead.
Worked example 1: a first-success waiting time
Question. A machine makes independent attempts to read a label. Each attempt succeeds with probability , regardless of earlier outcomes. Let be the number of attempts needed for the first successful read. State its distribution and explain what means.
Plan. Check independence, constant success probability and the stopping rule.
The trials continue until the first success, each with the same probability . Therefore
The event is the sequence failure, failure, success. Its probability is .
Answer. ; means two failures then a successful third attempt.
Check. It is impossible to have , because even an immediate success requires one attempt.
Now keep the attempts identical but change the stopping rule from the first to the second success.
Worked example 2: a different stopping rule
Question. The machine is now used until it has made two successful reads. Let be the total number of attempts. Does ?
Plan. Compare the definition of with a first-success waiting time.
The trials are independent and have constant success probability, but they stop at the second success. At least two trials are required:
A variable has probability of equalling .
Answer. No. is a waiting time to the second success, so it is not this geometric model.
Check. Two immediate successes give ; the support starts at , confirming the mismatch.
The model assumes the process can continue with the same probability after any number of failures. A changing chance, dependence between attempts, or a fixed stopping limit needs separate consideration.
Key idea
A geometric variable counts trials, including the successful one. Write the relevant failure/success sequence before calculating.
Use that convention in this diagnostic check.
Point and tail probabilities
To get the first success on trial , the first trials must all fail, then trial must succeed. Independence lets you multiply their probabilities. There is just one permitted pattern, so no binomial coefficient is needed.
Geometric point probability
For , with ,
In the formula booklet.
If , the first trial succeeds with certainty, so . For a tail event with , describe what must have happened by the boundary. More than trials are needed precisely when the first trials all fail. At least trials are needed when the first trials fail; trial is unrestricted.
Geometric tail probabilities
For and a positive integer ,
Hence .
Not in the formula booklet: reconstruct these from the required failures.
Compare a point event with two different tail events at the same boundary.
Worked example 3: a success at the boundary
Question. Independent attempts have success probability . Find the probability that the first success occurs on the fourth attempt.
Plan. Require three failures, then a success.
Answer. , or to significant figures.
Check. This is also : survive three failures, but not four.
Change “on the fourth attempt” to “after the fourth attempt”. The fourth attempt must now fail, and no later outcome is specified.
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account