01 · Another target
For p=0.25, express a target of at least 90% as a bound on no successes.
Hint
Complement both the event and target.
Worked solution
0.75ⁿ≤0.10.
Understand · explore · practise
Find the minimum number of independent trials needed for a target chance of at least one success, using complements, logarithms and adjacent-integer checks.
Before you startBinomial zero-success probabilities, logarithms and inequalities.
01 / Make the trial number the unknown
P(X≥1)=1−(1−p)ⁿ for X~B(n,p).
This assumes n independent trials with the same success chance p.
The unknown is n, not the success count. The complement avoids adding probabilities for one, two, three and all the other possible success counts.
Each attempt succeeds with probability 0.2. Find the smallest positive integer n giving at least a 95% chance of one or more successes.
02 / Convert the target into a failure bound
No success in n attempts has probability 0.8ⁿ
All n attempts fail.
1−0.8ⁿ≥0.95
This is the required success probability.
0.8ⁿ≤0.05
The chance of complete failure must be at most 5%.
For p=0.25, express a target of at least 90% as a bound on no successes.
Complement both the event and target.
0.75ⁿ≤0.10.
For p=0.2 and n=1, what is P(at least one success)?
Use the complement or the stated success chance.
1−0.8=0.2.
03 / Divide by a negative logarithm
Pause, replay or seek freely. The notes explain the same idea and stay in view.
n log(0.8)≤log(0.05)
Log is increasing, so this step preserves the inequality.
n≥log(0.05)/log(0.8)≈13.425
Dividing by the negative number log(0.8) reverses it.
The first possible integer is 14
Now verify the original probabilities at 13 and 14.
A student writes n≤13.425 after dividing by log(0.8). Explain the error.
What sign does the divisor have?
log(0.8)<0, so division reverses ≤ to ≥.
Must these be natural logarithms?
Use the same base in the numerator and denominator.
No. Any standard logarithm base greater than 1 gives the same ratio. Natural or base-10 logarithms both work.
04 / Check the adjacent trial counts
At n=13: 1−0.8¹³≈0.94502442
This is below 0.95, so thirteen fails.
At n=14: 1−0.8¹⁴≈0.95601953
This reaches the target.
The minimum is n=14
As n increases, 0.8ⁿ decreases and the success probability increases.
For p=0.25, show that the minimum n for P(X≥1)≥0.90 is 9.
Compare n=8 and n=9.
At 8, 1−0.75⁸≈0.89988708<0.90. At 9, 1−0.75⁹≈0.92491531≥0.90. Thus 9 is the minimum.
For p=0.1, find the minimum n for P(X≥1)≥0.99.
Solve 0.9ⁿ≤0.01 and check neighbours.
The log ratio is approximately 43.709. At 43 the success probability is approximately 0.98922474; at 44 it is 0.99030226. The minimum is 44.
05 / An exact equality may be excluded
For independent fair trials, P(at least one success in three trials)=1−(1/2)³=7/8 exactly.
Find the minimum positive n giving a probability of at least 7/8 when p=1/2.
Equality is permitted.
n=3. Two trials give 3/4, which fails.
Find the minimum positive n giving a probability greater than 7/8.
Three gives equality only.
n=4, giving 15/16. For a strict inequality n>a, an integer value a itself is excluded.
Is “always take the ceiling of the log ratio” valid for a strict probability target?
What if the exact ratio is an integer?
No. For n>a, use the smallest integer strictly greater than a. If a is an integer, that is a+1. Always check the original condition.
06 / More trials help only under the model
All attempts fail whenever one shared obstruction is present. Can 1−(1−p)ⁿ be used from the marginal p alone?
The failure events may be linked.
No. Independence needs justification; a shared cause can stop extra attempts improving the chance as predicted.
Independent attempts have success chances p₁,p₂,…,pₙ. Write the chance of at least one success.
Multiply their individual failure probabilities.
1−(1−p₁)(1−p₂)…(1−pₙ). A single power applies only when all p values are equal.
This calculation chooses a fixed number of trials to perform. It does not say that the first success will occur on the last trial, and it does not guarantee success.
07 / Treat impossible and certain cases separately
If p=0, can any finite n reach a positive success target?
Each trial always fails.
No. The chance of at least one success is zero.
If p=1 and at least one trial is allowed, what minimum positive n reaches a target of 0.95?
One trial succeeds certainly.
n=1. The logarithmic formula is not needed.
For 0<p<1, can a finite n give P(at least one success)=1 exactly?
The all-failure probability remains positive.
No. It approaches 1 as n grows but stays strictly below 1 for every finite n.
08 / Complement, solve, then check integers
Write the target probability, use the complement of no successes and take logs only when 0<p<1. Reverse the inequality when dividing by log(1−p). Test the candidate and its predecessor without premature rounding, and state the independence assumption.
Section 1 of 8 · Make the trial number the unknown