All revision notes topics

The negative binomial distributionEdexcel A-Level Further Maths: Revision notes

Section 1

The negative binomial model

The negative binomial distribution extends the geometric distribution. You carry out independent trials, each with the same probability pp of success, and let XX be the number of trials needed to obtain rr successes. We write X∼NB(r,p)X\sim\mathrm{NB}(r,p). The conditions are the same as for the geometric model: two outcomes, constant probability pp and independent trials. Because the rrth success must happen on trial XX, the smallest possible value is x=rx=r, so x=r,r+1,r+2,…x=r,r+1,r+2,\dots with no upper limit. When r=1r=1 it is the geometric distribution. For example, the number of rolls of a fair die needed to get two sixes is NB(2,16)\mathrm{NB}\left(2,\frac16\right).

Key termsnegative binomial distributionsuccess
Common mistake

Mixing this up with the binomial distribution. For the binomial, the number of trials is fixed and you count successes. For the negative binomial, the number of successes rr is fixed and you count trials.

Section 2

The probability function

For X∼NB(r,p)X\sim\mathrm{NB}(r,p): P(X=x)=(x−1r−1)pr(1−p)x−r,x=r,r+1,r+2,…\mathrm{P}(X=x)=\binom{x-1}{r-1}p^r(1-p)^{x-r},\quad x=r,r+1,r+2,\dots The reasoning gives the formula. Trial xx must be the rrth success, giving a factor pp. The first x−1x-1 trials contain exactly r−1r-1 successes in any order, which is (x−1r−1)pr−1(1−p)x−r\binom{x-1}{r-1}p^{r-1}(1-p)^{x-r}. Multiplying gives the formula. Worked example: a shooter hits with probability 0.30.3 and XX is the number of shots needed for 33 hits. P(X=5)=(42)(0.3)3(0.7)2=6×0.027×0.49=0.0794\mathrm{P}(X=5)=\binom42(0.3)^3(0.7)^2=6\times0.027\times0.49=0.0794. For 'on or before' probabilities, add the individual terms: P(X≤4)=P(X=3)+P(X=4)=0.027+0.0567=0.0837\mathrm{P}(X\leq4)=\mathrm{P}(X=3)+\mathrm{P}(X=4)=0.027+0.0567=0.0837. For 'more than', use 1−P(X≤x)1-\mathrm{P}(X\leq x) as the number of terms is then smaller.

Key termsbinomial coefficient
Common mistake

Using (xr)\binom{x}{r} instead of (x−1r−1)\binom{x-1}{r-1}. The final trial is fixed as a success, so only the first x−1x-1 trials can be arranged.

Section 3

Mean and variance

For X∼NB(r,p)X\sim\mathrm{NB}(r,p): μ=E(X)=rp,σ2=Var(X)=r(1−p)p2.\mu=\mathrm{E}(X)=\frac rp,\qquad \sigma^2=\mathrm{Var}(X)=\frac{r(1-p)}{p^2}. These are in the formulae booklet and you do not need to prove them. They are rr times the geometric mean and variance, which fits the idea of waiting for rr successes one after another. Worked example: r=4r=4, p=0.25p=0.25 gives μ=40.25=16\mu=\frac{4}{0.25}=16 and σ2=4×0.750.0625=48\sigma^2=\frac{4\times0.75}{0.0625}=48. For the die with r=2r=2 and p=16p=\frac16, μ=12\mu=12 and σ2=2×56136=60\sigma^2=\frac{2\times\frac56}{\frac1{36}}=60.

Key termsmeanvariance
Common mistake

Using pp instead of p2p^2 in the denominator of the variance, or leaving out the factor rr.

Section 4

Using the model in context

State what a trial and a success are, then give X∼NB(r,p)X\sim\mathrm{NB}(r,p) with the values of rr and pp. The model suits a 'first to rr' situation. For a best-of-five series ending when a team has 33 wins, imagine the games continuing regardless. Then a team wins the series if its third win comes by game 55, that is X≤5X\leq5, and you add P(X=3)\mathrm{P}(X=3), P(X=4)\mathrm{P}(X=4) and P(X=5)\mathrm{P}(X=5). For the series to last exactly five games, either team's third win is on game 5: add the two negative binomial probabilities, which cannot happen together. Check an assumption such as independence and constant pp when asked to comment on the model.

Key termsindependent
Exam tip

Set out the sum of the terms clearly: one line for P(X=3)\mathrm{P}(X=3), one for P(X=4)\mathrm{P}(X=4) and so on. It earns method marks even if an arithmetic slip occurs.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on The negative binomial distribution

  1. A shooter hits the target with probability 0.30.3 on each shot, independently of all other shots. Let XX be the number of shots needed to score 33 hits, so that the third hit occurs on shot XX.
    Find the probability that the third hit is scored on or before the fourth shot.2 marks
  2. A fair six-sided die is rolled repeatedly. Let XX be the number of rolls up to and including the roll on which the second six appears.
    Find the probability that more than 33 rolls are needed to obtain the second six.2 marks
  3. A telesales agent makes a sale on each call with probability 0.250.25, independently of all other calls. Let XX be the number of calls made up to and including the call on which the fourth sale is made.
    State the distribution of XX, and find E(X)\mathrm{E}(X) and Var(X)\mathrm{Var}(X).3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).