A Level Further Mathematics · Chapter 40 · Further Statistics · Further Statistics 1
Instead of counting successes in a fixed number of trials, these distributions count how many trials it takes to reach a success.
A binomial distribution fixes the number of trials and counts successes, but often we ask how long to wait for a first or third success. This chapter builds the geometric distribution for the first success and the negative binomial distribution for later ones, with their probabilities, means and variances.
In this chapter · jump to a section
Start here
Your route through this chapter
By the end of this chapter you will be able to:
- calculate probabilities for the geometric distribution
- use and its complement for cumulative probabilities
- state and use the mean and variance of a geometric distribution
- calculate probabilities for the negative binomial distribution
- state and use its mean and variance
- model waiting problems and use the memoryless property
Time: three sessions, about 4½ hours, plus the practice ladder and the exam workshop.
You need first: the binomial distribution, discrete random variables, geometric series and binomial coefficients.
The big idea
The big idea
Repeat independent trials, each a success with the same probability . Let be the number of trials up to and including the first success. Then has the geometric distribution, , with
For the first success to come on trial , the first trials must all fail and trial must succeed.
The negative binomial distribution extends this idea to waiting for the th success. Both distributions describe waiting, and both have simple formulas for their means and variances.
Fixed trials or fixed successes
The binomial and geometric distributions use the same kind of trials but ask opposite questions. The binomial fixes the number of trials and lets the number of successes vary. The geometric fixes the number of successes at one and lets the number of trials vary. Deciding which quantity is fixed is the first step in choosing the right model, and it is the step most often missed.
The conditions
The geometric and negative binomial models need the same conditions as the binomial. Each trial has only two outcomes, success or failure. The trials are independent. The probability of success is the same on every trial. If any of these fails, for example if a player improves with practice, the model is only approximate and its predictions should be treated with caution.
Why waiting matters
Waiting times appear everywhere. A quality inspector wants to know how many items to check before finding a fault. A gamer wants to know how many attempts a rare reward will take. An engineer wants to know how many cycles a component will survive. Each is a waiting problem, and the distributions in this chapter answer them directly from a single probability.
Trials and outcomes
Every waiting problem starts with a sequence of trials. Each trial must have a clear definition of success, such as rolling a six, finding a fault or winning a game. The success probability must be known or estimated. Once these are fixed, the waiting time to the first success is a random variable, and its distribution follows from the rules of independent events.
Simulating a waiting time
A simple way to understand a waiting time is to simulate it. Roll a die repeatedly and record how many rolls it takes to get a six. Repeat the experiment many times. The results vary widely, from one roll to twenty or more, but their average settles close to six. A frequency chart of the results looks just like the geometric bar chart.
Section 1
The geometric distribution
The formula
If , then for . The smallest possible value is 1, when the first trial succeeds. There is no largest value: any number of failures is possible, though long runs quickly become unlikely.
Common mistake: using (1 − p)^x p instead of (1 − p)^(x − 1) p. If the first success is on trial , there are failures before it, not . Using failures counts one failure too many and gives probabilities that add up to less than 1.
Waiting for the first success
- P(X = 1)
- 0.3
- P(X = 3)
- 0.147
- Mean 1/p
- 3.333
- Variance (1 − p)/p²
- 7.778
Figure 40.1 shows how the bars shrink by the factor each step. The wrong model's outlines are all one step too small.
Derivation: the geometric probabilities sum to 1
Add the probabilities for every value and take out the factor p, leaving a geometric series with common ratio one minus p.
Since the common ratio lies between 0 and 1, the series converges to one over one minus the ratio.
So the probabilities form a valid distribution, and the name geometric comes from this series.
The shape of the distribution
Every geometric distribution has its largest probability at . Each following probability is the previous one multiplied by . So the bars always decrease, quickly if is large and slowly if is small. This can be surprising: even when success is rare, the single most likely trial for the first success is the very first one.
A useful recurrence
The ratio of consecutive probabilities is always . So once one probability is known, the next is found by multiplying by the probability of failure. This makes it easy to tabulate several values quickly, and it explains the steady decay seen in every geometric bar chart.
Defining the variable carefully
Some books define the geometric variable as the number of failures before the first success, which starts at 0 rather than 1. This course counts the trials up to and including the first success, starting at 1. Always check the definition in a question. The two versions differ by exactly 1, so their means differ by 1 but their variances are the same.
Building probabilities from trials
Every geometric probability is built the same way. Write down the outcomes of the trials in order, such as fail, fail, succeed. Multiply their probabilities, using independence. The result is a product of failure probabilities followed by one success probability. This approach works even when a question changes the setting, because it rests only on the meaning of the variable.
Notation for the distribution
Write a geometric random variable with its parameter, such as X having the geometric distribution with success probability one fifth. Stating the distribution at the start of an answer shows the examiner which model you are using. It also reminds you which formulas apply. The same habit works for the negative binomial, where both the number of successes and the probability must be given.
Worked example 1: a single probability
Given , find .
| Working | Reason |
|---|---|
| Two failures, then a success | The first success is on the third trial |
| Multiply the probabilities of independent trials | |
| Evaluate the product of the factors |
Checking reasonableness
A geometric probability should always be at most the success probability itself, because the first trial is the most likely place for the first success. If a calculation gives a larger value for a later trial, something has gone wrong. This quick comparison catches errors in the powers and in the order of the factors.
Rare rewards in games
Many video games give rare items with a fixed small chance on each attempt. If the chance is one in a hundred, the expected number of attempts is a hundred. But about a third of players will need more than a hundred and ten attempts, and some will need several hundred. The geometric distribution explains why players' experiences of the same game can be so different.
Worked example 2: waiting for a six
A fair die is rolled until a six appears. Find the probability that the first six is on the fourth roll.
| Working | Reason |
|---|---|
| Each roll succeeds with probability one sixth | |
| Three failures, then a success | |
| Evaluate with a calculator |
Check yourself. A first success has probability 0.35 on each trial. Calculate the probability that it comes on the fourth trial.
Show the answer
The first three trials fail and the fourth succeeds, so the probability is . Notice that this is smaller than , as it must be.
Waiting in everyday life
Many ordinary situations are waiting problems. Phoning a busy helpline until someone answers fits this pattern. So does buying packs of cards until a rare one appears. In each case, a small chance on every attempt leads to a long and unpredictable wait. The geometric distribution puts numbers on that intuition.
Section 2
Cumulative probabilities
The key fact
More than trials are needed exactly when the first trials all fail. So
These formulas avoid adding up long lists of probabilities. They are the quickest route to almost every cumulative question.
Common mistake: using (1 − p)^(x − 1) for P(X > x). The event needs all of the first trials to fail, which is failures. The power describes instead, because then only the first trials must fail.
Waiting longer than x trials
- P(X > 4) = (1 − p)^4
- 0.4096
- P(X ≤ 4)
- 0.5904
- Trials for a 90% chance of success
- 11
Figure 40.2 plots the tail and its complement. The wrong model's point sits one step higher on the curve.
Translating inequalities
For whole-number variables, rewrite each inequality in terms of . For example, , and . A range such as equals . Writing each step carefully prevents off-by-one errors.
How many trials are needed?
A common question asks how many trials are needed to make a success likely. To be at least 90% sure of a success within trials, solve . Rearranging gives . Take logarithms, remembering that dividing by the logarithm of a number less than 1 reverses the inequality, and round up.
Rounding up
When solving for a number of trials, the answer must be a whole number, and it must meet the requirement. So round up, never down. If the calculation gives 10.3, then 10 trials are not quite enough, and 11 are needed. Check the answer by evaluating the probability for the whole number found and for the one below it.
Complements save work
Adding many geometric probabilities is slow and error-prone. The complement rule replaces the whole sum by a single power. For example, the chance of success within ten trials is one minus the chance of ten failures in a row. This is far quicker than adding ten separate terms, and it is exact, not an approximation.
The cumulative curve
The cumulative probability of a success within a given number of trials rises quickly at first and then levels off towards one. It never quite reaches one, because there is always some chance of failing every time. The curve rises faster for larger success probabilities. Sketching it helps when judging how many trials are needed for a given level of confidence.
Worked example 3: tail and cumulative probabilities
Given , find and .
| Working | Reason |
|---|---|
| The first four trials must all fail | |
| The complement of the first five failing | |
| Evaluate the power and subtract it |
Logarithms and inequalities
When solving for a number of trials, the unknown is in the exponent, so logarithms are needed. Take the natural logarithm of both sides. Because the probability of failure is less than one, its logarithm is negative. Dividing an inequality by a negative number reverses its direction. Forgetting this step is the most common error in these questions.
Checking the answer
After finding the number of trials, check it directly. Evaluate the cumulative probability for that number and for one fewer. The first should meet the requirement and the second should not. This confirms both the rounding and the direction of the inequality. Examiners often award a final mark for showing this check.
Worked example 4: a 90% guarantee
Each trial succeeds with probability 0.2. Find the smallest number of trials that gives at least a 90% chance of a success.
| Working | Reason |
|---|---|
| , so | Write the requirement with the cumulative formula |
| Dividing by a negative logarithm reverses the inequality | |
| Round up to the next whole number |
Check yourself. Using , find .
Show the answer
This equals . It is also the sum of the three probabilities 0.16, 0.128 and 0.1024.
Ranges of values
Questions sometimes ask for the probability that the first success lies in a range, such as between the third and sixth trials. Write this as the difference of two tail probabilities. The first tail includes every value from the start of the range, and the second removes everything after the end. Listing the values first makes the choice of tails clear.
Section 3
Mean and variance of the geometric distribution
The formulas
If , then
The mean is intuitive: if success happens one time in five, we expect to wait five trials on average. The proof workshop proves the mean using a differentiated geometric series.
Common mistake: taking the variance to be 1/p². The variance has the factor in its numerator. Without it, the variance is too large, and for close to 1 the error is huge. When every trial succeeds, so the variance must be 0, which only the correct formula gives.
Interpreting the spread
The variance of a geometric distribution is large when is small. Waiting for a rare success is not only long on average but also very unpredictable. With the mean is 5 but the standard deviation is about 4.5, so waits of 1 or of 15 trials are both quite plausible. This high variability is typical of waiting times.
The mean from long-run frequency
If success has probability , then in a long run of trials we expect about successes. These split the run into about waits, whose total length is . So the average wait is about . This argument is not a proof, but it explains why the mean must be the reciprocal of the success probability.
Finding p from the mean
If the mean waiting time is known, the success probability follows from . For example, a mean wait of 4 trials means . Once is known, every other probability and the variance follow. Questions often give the mean and ask for other properties, so this rearrangement is worth practising.
Units of the mean
The mean of a geometric distribution is measured in trials. If each trial takes a fixed time, multiply by that time to get the expected waiting time. For example, if a machine is tested once a minute and fails with probability one hundredth, the expected time to the first failure is one hundred minutes. The variance scales by the square of the time per trial.
Expected waits and planning
Expected waiting times help with planning. A games designer may set the chance of a rare reward so that players expect to wait, say, fifty attempts. A manager may estimate how many interviews are needed to find a suitable candidate. In each case the reciprocal of the success probability gives a first estimate, and the variance shows how much individual experiences will differ.
Worked example 5: mean and variance
Given , find and .
| Working | Reason |
|---|---|
| The mean is the reciprocal of p | |
| Use the variance formula with its factor of one minus p | |
| Evaluate the fraction to get the answer |
Comparing waiting times
Two waiting problems can be compared using their means and variances. A process with a higher success probability has a shorter and more predictable wait. Halving the success probability doubles the mean wait and roughly quadruples the variance when the probability is small. This explains why rare events are so hard to predict.
Worked example 6: rolling for a six
A die is rolled until a six appears. Find the mean, variance and standard deviation of the number of rolls.
| Working | Reason |
|---|---|
| The mean is the reciprocal of one sixth | |
| Use the variance formula | |
| Standard deviation | Take the square root of the variance |
Check yourself. A geometric random variable has mean 4. Find and the variance.
Show the answer
The mean is , so . Then the variance is , so the standard deviation is about 3.46.
Estimating p from data
If a waiting time is observed many times, the success probability can be estimated from the average wait. The estimate is one divided by the sample mean. For example, if the average wait over many trials is 4.2 attempts, the estimated success probability is about 0.24. This links the theory of this chapter to real data.
Modelling assumptions in exams
When asked for assumptions, name the conditions of independence and constant probability in context. For example, say that the outcome of one free throw does not affect the next, and that the player's success rate stays the same throughout. Generic statements without context often lose the mark. Linking each assumption to the situation shows understanding rather than recall.
Section 4
The negative binomial distribution
Waiting for the r-th success
Let be the number of trials up to and including the th success. Then has the negative binomial distribution, , with
The geometric distribution is the special case .
Common mistake: using C(x, r) instead of C(x − 1, r − 1). The last trial must be the th success, so its position is fixed. Only the other successes are free, among the first trials. Using counts arrangements in which the last trial fails.
Waiting for the r-th success
- P(X = 5)
- 0.1382
- Mean r/p
- 7.5
- Variance r(1 − p)/p²
- 11.25
Figure 40.3 builds the negative binomial distribution for different values of and . The wrong model's outlines are too tall, because they count impossible arrangements.
Derivation: the negative binomial formula
For the r-th success to come on trial x, the first x minus 1 trials must contain exactly r minus 1 successes, and trial x must succeed. The first part is a binomial probability.
Multiply by the probability p that trial x is a success, since the trials are independent.
The powers count r successes and x minus r failures in total.
Checking the powers
In every negative binomial probability, the power of is the number of successes, , and the power of is the number of failures, . The two powers add up to the total number of trials, . This is a quick check on any probability you write down, and it catches most slips in the formula.
The shape of the distribution
For the distribution is geometric, with its peak at 1. For larger , the peak moves away from the start, because several successes are needed. The distribution becomes more symmetric as grows. For large it looks bell-shaped, which links it to the normal distribution through the central limit theorem.
Arranging successes and failures
For the negative binomial distribution, the key step is counting arrangements. The final trial is fixed as a success. The remaining successes and all the failures can be arranged in any order among the earlier trials. The binomial coefficient counts these arrangements. Each arrangement has the same probability, so multiply the count by that probability.
A check on the coefficient
A quick check on the binomial coefficient is to consider the case of one success. Then the coefficient becomes one, and the negative binomial formula reduces to the geometric formula. If your coefficient does not reduce in this way, it is wrong. This simple test catches the common error of using the total number of trials in the coefficient.
Worked example 7: the third success
Each trial succeeds with probability 0.4. Find the probability that the third success comes on the fifth trial.
| Working | Reason |
|---|---|
| We wait for the third success | |
| Two successes among the first four, then a success | |
| Evaluate each factor and multiply |
Negative binomial or binomial?
The negative binomial and the binomial use the same trials and similar formulas, so they are easily confused. The binomial fixes the number of trials and counts successes. The negative binomial fixes the number of successes and counts trials. The negative binomial formula includes an extra condition: the last trial must succeed. That condition explains the different binomial coefficient.
Counting without the formula
For small cases, the negative binomial probability can be checked by listing arrangements. Suppose the second head comes on the fourth toss. Then the first three tosses contain exactly one head: head tail tail, tail head tail, or tail tail head. That gives three arrangements, matching the binomial coefficient. Listing is a good check when the formula feels unfamiliar.
Worked example 8: a cumulative probability
A fair coin is tossed until the second head appears. Find the probability that at most four tosses are needed.
| Working | Reason |
|---|---|
| , values 2, 3, 4 | List the possible values up to four |
| Add the three probabilities | |
| Evaluate each probability and add them |
Check yourself. Suppose each trial succeeds with probability 0.1. Calculate the probability that the second success occurs on the tenth trial.
Show the answer
This is with , so the probability is . One success sits somewhere among the first nine trials, in nine possible places.
Possible values
The smallest possible value of a negative binomial variable is the number of successes required, because each success needs its own trial. There is no largest value. When listing values for a cumulative probability, start from that smallest value. Including smaller values by mistake adds probabilities of impossible events, which the formula would give as zero anyway.
Section 5
Mean and variance of the negative binomial distribution
The formulas
If , then
These are times the mean and variance of the geometric distribution. The reason is that waiting for successes is like waiting for one success times in a row.
Common mistake: forgetting to multiply the geometric mean and variance by r. The waits for each success add up, so both the mean and the variance are times those for a single success. Using the geometric formulas alone describes the wait for just one success.
A sum of geometric waits
After each success, the process starts afresh, because the trials are independent. So the wait for the th success splits into separate waits, each geometric with the same . The expectation of a sum is the sum of the expectations, giving . The waits are independent, so their variances add too, giving .
Relative spread
As grows, the mean grows in proportion to , but the standard deviation grows only in proportion to . So the relative spread shrinks. Waiting for many successes is more predictable, relative to its length, than waiting for one. This is the same averaging effect that makes large samples reliable.
Using the formulas in reverse
If the mean and variance of a negative binomial distribution are known, both parameters can be found. Dividing the variance by the mean gives , which fixes . Then follows from the mean. Questions may also give and the mean and ask for . Each case is a short algebraic rearrangement.
Why the name negative binomial?
The name comes from a link with the binomial theorem for negative powers. Expanding a negative power of one minus the failure probability produces exactly the negative binomial probabilities. This algebraic connection explains the name, even though the distribution itself counts trials rather than anything negative. It also shows that the probabilities add up to one.
Sums of independent waits
The decomposition into separate waits is a powerful idea. Each wait is geometric with the same success probability, and the waits are independent because the trials are. So any property of a sum of independent variables applies. In particular, both the mean and the variance add, which gives the negative binomial formulas immediately.
Worked example 9: the third success
Given , find and .
| Working | Reason |
|---|---|
| Three times the geometric mean | |
| Three times the geometric variance | |
| Evaluate the fraction to get the answer |
Standard deviation of a long wait
The standard deviation of a negative binomial wait grows with the square root of the number of successes. For five successes with probability one quarter, the mean is twenty games and the standard deviation is about 7.7. So waits between about twelve and twenty-eight games are typical. This range helps to plan, for example, how long a tournament might take.
Worked example 10: five successes
A player wins each game with probability 0.25 and plays until winning five games. Find the mean and variance of the number of games played.
| Working | Reason |
|---|---|
| The player waits for the fifth win | |
| Use the negative binomial mean | |
| Use the negative binomial variance |
Check yourself. For , state the mean and variance.
Show the answer
The mean is , and the variance is . Here the mean and variance happen to be equal, because when .
Reverse problems
Questions may give the mean and variance of a negative binomial wait and ask for the parameters. Dividing the variance by the mean isolates the success probability. Then the number of successes follows from the mean. Always check that the parameters make sense: the probability must lie between zero and one, and the number of successes must be a positive whole number.
From geometric to exponential
The geometric distribution describes waiting in whole numbers of trials. Its continuous counterpart, the exponential distribution, describes waiting in continuous time, such as the time until the next radioactive decay. The exponential distribution is also memoryless, and it is closely linked to the Poisson distribution. Together they form the basis of models for queues and networks.
Section 6
Modelling and the memoryless property
No memory
The geometric distribution has a striking property. Given that the first trials have all failed, the probability that more than further trials are needed is the same as at the start:
The process does not remember its past failures.
Common mistake: believing that a run of failures makes a success more likely. Independent trials have no memory, so a long run of failures does not make success due. This belief, known as the gambler's fallacy, leads to poor decisions. The probability of success on the next trial is always .
When the model fits
Geometric and negative binomial models fit well when trials are genuinely independent with a constant success probability. Coin tosses, dice and random sampling with replacement are good examples. They fit less well when people learn, machines wear out, or conditions change. In those cases, the success probability changes from trial to trial, and the memoryless property fails.
Criticising a model
Exam questions often ask for a criticism of a geometric or negative binomial model. Good answers refer to the context. For example, a basketball player's success rate may rise as they warm up, or fall as they tire. A machine may become more likely to fail as it ages. Each such effect breaks the assumption of a constant probability.
Choosing between distributions
Read the question to see what is fixed and what varies. If the number of trials is fixed, use the binomial. If you wait for one success, use the geometric. If you wait for a fixed number of successes, use the negative binomial. If events happen at a rate in continuous time, use the Poisson. Naming the distribution clearly is usually worth a mark.
Memory in real processes
Real processes often do have memory. A machine part becomes more likely to fail as it wears. A student becomes more likely to pass a test after practice. In such cases the geometric model is only an approximation. Spotting whether a process should have memory is a good way to judge whether the model is suitable.
Conditional probability
The memoryless property is an example of conditional probability. The probability of an event given that another has happened is the probability of both divided by the probability of the condition. Here the event of waiting more than eight trials lies inside the event of waiting more than five, so the probability of both is simply the first. Dividing gives the result.
Worked example 11: the memoryless property
Given , find .
| Working | Reason |
|---|---|
| The event X greater than 8 lies inside X greater than 5 | |
| Simplify the quotient of the powers | |
| The process forgets the first five failures |
Inspection strategies
In quality control, the geometric distribution tells an inspector how many items to check to be confident of finding a fault. If the fault rate is low, the required sample can be large. This informs decisions about whether to inspect every item, sample items, or improve the process instead. The calculation turns a vague worry into a clear number.
Interpreting long waits
A long wait does not mean that something has gone wrong. With a small success probability, long runs of failures are expected from time to time. For example, with a one in twenty chance of a fault, there is about a one in three chance of twenty sound items in a row. Recognising this prevents people from reading too much into a run of bad luck.
Worked example 12: quality control
Each item from a machine is faulty with probability 0.05, independently. Find the probability that the first faulty item is after the twentieth, and the number of items to inspect to be 95% sure of finding a fault.
| Working | Reason |
|---|---|
| The first twenty items must all be sound | |
| , so | Write the requirement as an inequality |
| , so 59 items | Take logarithms and round up |
Check yourself. A fair die is rolled. Find the probability that no six appears in the first three rolls.
Show the answer
No six in three rolls means the first three rolls all fail, so the probability is . In geometric terms, this is .
Choosing the right question
Before calculating, decide what the question is really asking. Is it the probability of a particular trial, a tail, a range or a number of trials needed? Each has its own formula. Writing the event in words and then as an inequality makes the choice clear. Many lost marks come from answering a slightly different question from the one asked.
Reference
Results in this chapter
| Result | What it says | When to use it | In the formula booklet? |
|---|---|---|---|
| Geometric probabilities | Waiting for the first success | Yes | |
| Geometric tail | Cumulative probabilities | No, learn it | |
| and | Geometric mean and variance | Summarising a wait | Yes |
| Negative binomial probabilities | Waiting for the r-th success | Yes | |
| and | Negative binomial mean and variance | Summarising a longer wait | Yes |
| Memoryless property | Conditional waiting questions | No, learn it |
Reasoning
Proof workshop: the mean of the geometric distribution
The claim
If with , then .
Strategy
Write the expectation as an infinite sum. Let , so the terms are . The sum is the derivative of the geometric series with respect to . Since the geometric series has a known sum, differentiating it gives the sum we need.
The key fact is that a convergent power series can be differentiated term by term inside its interval of convergence. Here lies between 0 and 1, so this is allowed. The rest is simplification using . This approach turns an awkward sum into a familiar one, which is a recurring theme in probability. Whenever a sum contains a factor matching the power, think of differentiating a known series. The same trick finds the mean of the negative binomial distribution, though there it is simpler to add geometric waits. Writing the substitution clearly at the start makes the later steps easy to follow.
The proof
With ,
Differentiating and substituting ,
Checking every step
The derivative of is , which matches each term, and the constant term differentiates to 0, so starting the sum at or makes no difference. The geometric series sums to because .
A numerical check uses . Adding for from 1 to 60 gives 4.9996, very close to the predicted mean of 5. The small shortfall comes from stopping the infinite sum, and adding more terms brings the total ever closer to 5.
The same method gives the variance. Differentiating the series twice gives , which leads to and then . Differentiating series in this way is a standard tool for finding moments of discrete distributions, and the next chapters use it again.
Your turn
Use to show that .
Show a model proof
First . Then .
Practice
Practice ladder
Rung 1: Recall and fluency
Q1. Calculate when .
Worked solution to Q1
The first trial must fail and the second succeed, so the probability is . This is less than the probability 0.3 of success on the first trial.
Q2. Work out for the distribution in Q1.
Worked solution to Q2
More than three trials are needed exactly when the first three all fail. So the probability is , about one chance in three.
Q3. State the mean and variance of the distribution in Q1.
Worked solution to Q3
The mean is the reciprocal of the success probability, . The variance is , which includes the factor 0.7 for failure.
Rung 2: Application
Q4. A die is rolled until a six appears. Determine the probability that at most three rolls are needed.
Worked solution to Q4
At most three rolls is the complement of the first three rolls all failing. So the probability is .
Q5. Trials succeed independently with probability 0.3. Evaluate the probability that the second success is on the fifth trial.
Worked solution to Q5
This is negative binomial with two successes. One success is among the first four trials, in four ways, so the probability is .
Q6. For , give the mean and variance.
Worked solution to Q6
The mean is four times the geometric mean, . The variance is , so the standard deviation is about 8.94.
Rung 3: Analysis
Q7. Each attempt succeeds with probability 0.1. How many attempts are needed to be at least 99% sure of a success?
Worked solution to Q7
We need , which rearranges to . Taking logarithms, and reversing the inequality because the logarithm of 0.9 is negative, gives . Rounding up, 44 attempts are needed, and 43 would fall just short.
Q8. A geometric variable has variance 12. Show that is consistent with this, and state the mean.
Worked solution to Q8
With , the variance is , which matches the given value. The mean is then trials. Since the variance is a decreasing function of on this range, no other success probability gives the same variance.
Q9. Evaluate for .
Worked solution to Q9
This equals , since the values from 3 to 6 are those beyond 2 but not beyond 6. So the probability is .
Rung 4: Stretch
Q10. Explain why for , and evaluate it.
Worked solution to Q10
Dividing the tails gives . By the memoryless property, ten failures do not change the future, so this equals the chance of five more failures from a fresh start.
Q11. Tossing a fair coin until the third head, find the probability that exactly six tosses are needed.
Worked solution to Q11
Two heads must fall among the first five tosses, in ways, and the sixth toss must be a head. So the probability is .
Q12. A geometric distribution has equal mean and variance. Find its success probability.
Worked solution to Q12
Setting and multiplying by gives , so . Then the mean and variance are both 2, as the formulas confirm.
Exam practice
Exam technique and worked answer workshop
How these questions are marked
M1 marks go to choosing the right distribution, writing the probability as failures then a success, using for tails and using the correct binomial coefficient. A1 marks go to correct probabilities, means and variances. B1 marks go to stating conditions, criticisms and interpretations in context.
Define the random variable and its distribution at the start, such as . When solving for a number of trials, show the logarithm step and round up, with a check either side. For criticisms, refer to the context.
Exam question 1 (5 marks · Paper 3 · about 6 minutes)
A basketball player scores each free throw with probability 0.35, independently.
(a) Find the probability that the first score is on the fourth throw. (2)
(b) Find the probability that more than 3 throws are needed for the first score. (3)
Mark scheme for exam question 1
(a) M1
A1
(b) Recognises the first three throws miss M1
M1
A1
Exam question 2 (6 marks · Paper 3 · about 8 minutes)
The number of attempts needed for a first success has a geometric distribution with mean 5.
(a) Find the probability of success on each attempt. (1)
(b) Find the variance of the number of attempts. (2)
(c) Find the probability that more than 5 attempts are needed. (3)
Mark scheme for exam question 2
(a) B1
(b) M1
A1
(c) M1
Uses the tail formula M1
A1
Exam question 3 (6 marks · Paper 3 · about 8 minutes)
Each item made by a machine is faulty with probability 0.05, independently.
(a) Show that the probability that the first faulty item is after the th item is . (2)
(b) Find the smallest number of items that must be inspected to give at least a 95% chance of finding a faulty item. (4)
Mark scheme for exam question 3
(a) The first n items are all sound M1
Independence gives A1
(b) M1
M1
A1
59 items A1
Exam question 4 (6 marks · Paper 3 · about 8 minutes)
Each trial succeeds with probability 0.4, independently.
(a) Find the probability that the third success occurs on the fifth trial. (3)
(b) Find the mean and variance of the number of trials needed for the third success. (3)
Mark scheme for exam question 4
(a) M1
M1
A1
(b) Mean B1
M1
Variance A1
Exam question 5 (7 marks · Paper 3 · about 10 minutes)
A fair coin is tossed repeatedly until the second head appears. Let be the number of tosses.
(a) Show that for . (3)
(b) Find . (3)
(c) State the mean of . (1)
Mark scheme for exam question 5
(a) One head among the first tosses M1
M1
A1
(b) M1
Adds three terms M1
A1
(c) Mean B1
Exam question 6 (6 marks · Paper 3 · about 8 minutes)
Prove that the mean of the geometric distribution with parameter is . (6)
Mark scheme for exam question 6
with M1
Recognises the derivative of M1
B1
Differentiates to M1
A1
A1
Exam question 7 (6 marks · Paper 3 · about 8 minutes)
Given :
(a) show that . (4)
(b) Interpret this result in context, where X is the number of attempts needed to pass a test. (2)
Mark scheme for exam question 7
(a) M1
M1
A1
A1
(b) Previous failures do not change the chance of future success B1
The model assumes the chance of passing does not improve with practice B1
Exam question 8 (7 marks · Paper 3 · about 10 minutes)
A player wins each game with probability 0.25, independently, and plays until winning five games.
(a) Find the mean and variance of the number of games played. (3)
(b) Find the probability that exactly 8 games are played. (3)
(c) Give one criticism of the model in context. (1)
Mark scheme for exam question 8
(a) B1
Mean 20 B1
Variance 60 B1
(b) M1
M1
A1
(c) The probability of winning may change as the player tires or improves B1
Annotated model answer: exam question 3
The first faulty item comes after the th exactly when the first items are all sound. M1. Each item is sound with probability 0.95, independently, so the probability is . A1.
To be at least 95% sure of finding a fault within items, we need , so . M1. Taking logarithms, and reversing the inequality because is negative, gives . M1 A1. So 59 items are needed; as a check, and . A1.
Annotated model answer: exam question 8
The number of games played until the fifth win is . B1. Its mean is and its variance is . B1 B1.
For exactly 8 games, four wins must be among the first seven games and the eighth must be a win. M1. So the probability is . M1 A1. The model assumes a constant chance of winning, which may fail if the player tires or improves. B1.
Connections
Synoptic link
Discrete random variables gives the definitions of expectation and variance used for both distributions here. The Poisson distribution counts events in a fixed interval, while these distributions measure the wait for events, which is the reverse question.
Probability generating functions offers a neat way to derive the means and variances in this chapter. Hypothesis tests for Poisson and geometric models uses the geometric tail formula to test claims about success probabilities.
Synoptic question 1. The probability generating function of is . Verify that and that , the mean, for .
Answer to synoptic question 1
At , . Differentiating by the quotient rule gives , so when .
Recap
Recap and next step
- The geometric distribution has , counting trials up to the first success.
- Tails are simple: and .
- The geometric mean is and its variance is .
- The negative binomial distribution has for the th success.
- Its mean and variance are r times the geometric values.
- The geometric distribution is memoryless, so past failures never make success due.
Next chapter: Hypothesis tests for Poisson and geometric models, where these distributions are used to test claims about rates and probabilities.
For your exam board
This chapter covers Pearson Edexcel A Level Further Mathematics (9FM0) Further Statistics 1 section 3: the geometric and negative binomial distributions, their probabilities, cumulative probabilities, means and variances, and their use in modelling. It is assessed on Paper 3B, Further Statistics 1. Similar content appears in AQA (7367) and OCR (H245) statistics options.