FS1-3 Geometric and negative binomial distributions — coverage pack

3 specification leaves · notes, questions, answers and worked methods

FS1-3.1 · Geometric and negative binomial distributions.

  • For independent Bernoulli trials with success probability pp, a geometric variable XX counts the trial of the first success: P(X=x)=p(1p)x1P(X=x)=p(1-p)^{x-1} for x=1,2,x=1,2,\ldots.
  • A negative binomial variable YY counting the trial of the rrth success has P(Y=y)=(y1r1)pr(1p)yrP(Y=y)=\binom{y-1}{r-1}p^r(1-p)^{y-r} for y=r,r+1,y=r,r+1,\ldots.
  • The combination (y1r1)\binom{y-1}{r-1} places the first r1r-1 successes before the final, fixed success on trial yy.
  • A common error is to use (yr)\binom{y}{r}, forgetting that the last trial must be a success.

Tier 1 · Easy

  1. 1. Independent trials have success probability 0.30.3. Find the probability that the first success occurs on trial 44.[2 marks]

    Answer

    • 0.10290.1029

    Method: The first three trials must fail and trial 44 must succeed, so the probability is (0.7)3(0.3)=0.1029(0.7)^3(0.3)=0.1029.

Tier 2 · Standard

  1. 1. Independent trials have success probability 0.40.4. Find the probability that the third success occurs on trial 55.[3 marks]

    Answer

    • 0.138240.13824

    Method: Exactly two of the first four trials must be successes, followed by a success. Hence P(Y=5)=(42)(0.4)3(0.6)2=0.13824P(Y=5)=\binom{4}{2}(0.4)^3(0.6)^2=0.13824.

Tier 3 · Hard

  1. 1. Each route attempt succeeds independently with probability 0.350.35. Calculate the probability that the second successful route is completed by the fifth attempt.[4 marks]

    Answer

    • 0.5715850.571585

    Method: The second success occurs by attempt 55 exactly when there are at least two successes among the first five attempts. Its complement has zero or one success, so the probability is 1(0.65)5(51)(0.35)(0.65)4=0.5715851-(0.65)^5-\binom51(0.35)(0.65)^4=0.571585.

FS1-3.2 · Mean and variance of a geometric distribution with parameter p.

  • For a geometric variable that counts the trial of the first success, E(X)=1/pE(X)=1/p and Var(X)=(1p)/p2\operatorname{Var}(X)=(1-p)/p^2.
  • The standard deviation is 1p/p\sqrt{1-p}/p, obtained by taking the positive square root of the variance.
  • For example, when p=0.25p=0.25, the mean is 44 trials and the variance is 1212.
  • A common error is to use the alternative convention that counts failures before the first success; the Edexcel FS1 convention starts at X=1X=1.

Tier 1 · Easy

  1. 1. The random variable XX is geometric with parameter p=0.2p=0.2 and counts the trial of the first success. Find its mean and variance.[2 marks]

    Answer

    • E(X)=5E(X)=5
    • Var(X)=20\operatorname{Var}(X)=20

    Method: E(X)=1/p=1/0.2=5E(X)=1/p=1/0.2=5 and Var(X)=(1p)/p2=0.8/0.22=20\operatorname{Var}(X)=(1-p)/p^2=0.8/0.2^2=20.

Tier 2 · Standard

  1. 1. A geometric random variable has mean 88. Find pp, its variance and its standard deviation.[4 marks]

    Answer

    • p=0.125p=0.125
    • Variance =56=56
    • Standard deviation =7.48=7.48 to 33 significant figures

    Method: 1/p=81/p=8, so p=1/8=0.125p=1/8=0.125. Then Var(X)=(11/8)/(1/8)2=56\operatorname{Var}(X)=(1-1/8)/(1/8)^2=56, giving standard deviation 56=7.4833\sqrt{56}=7.4833\ldots.

Tier 3 · Hard

  1. 1. For a geometric random variable XX, the variance is twice the mean. Determine pp, then find P(X4)P(X\geq4), E(X)E(X) and Var(X)\operatorname{Var}(X).[6 marks]

    Answer

    • p=13p=\frac13
    • P(X4)=827P(X\geq4)=\frac{8}{27}
    • E(X)=3E(X)=3
    • Var(X)=6\operatorname{Var}(X)=6

    Method: Set (1p)/p2=2/p(1-p)/p^2=2/p. Multiplying by p2p^2 gives 1p=2p1-p=2p, so p=1/3p=1/3. The event X4X\geq4 means the first three trials fail, so P(X4)=(2/3)3=8/27P(X\geq4)=(2/3)^3=8/27. The mean is 1/p=31/p=3 and the variance is (1p)/p2=6(1-p)/p^2=6.

FS1-3.3 · Mean and variance of negative binomial distribution.

  • If XX counts the trial of the rrth success, then E(X)=r/pE(X)=r/p and Var(X)=r(1p)/p2\operatorname{Var}(X)=r(1-p)/p^2.
  • The ratio Var(X)/E(X)=(1p)/p\operatorname{Var}(X)/E(X)=(1-p)/p is useful when the mean and variance are given and pp is unknown.
  • For example, r=3r=3 and p=0.6p=0.6 give mean 55 and variance 10/310/3.
  • A common error is to use the formulas for the number of failures, whose mean is r(1p)/pr(1-p)/p; FS1 defines XX as the trial number of the rrth success.

Tier 1 · Easy

  1. 1. The random variable XX counts the trial on which the fourth success occurs, with success probability 0.250.25. Find E(X)E(X) and Var(X)\operatorname{Var}(X).[2 marks]

    Answer

    • E(X)=16E(X)=16
    • Var(X)=48\operatorname{Var}(X)=48

    Method: Here r=4r=4 and p=0.25p=0.25. Thus E(X)=r/p=4/0.25=16E(X)=r/p=4/0.25=16 and Var(X)=r(1p)/p2=4(0.75)/0.252=48\operatorname{Var}(X)=r(1-p)/p^2=4(0.75)/0.25^2=48.

Tier 2 · Standard

  1. 1. A negative binomial random variable has mean 1515 and variance 3030. Find pp and rr, then calculate P(X=7)P(X=7).[6 marks]

    Answer

    • p=13p=\frac13
    • r=5r=5
    • P(X=7)=0.02743P(X=7)=0.02743 to 44 significant figures

    Method: The ratio variance/mean is 2=(1p)/p2=(1-p)/p, so p=1/3p=1/3. Since r/p=15r/p=15, r=5r=5. Therefore P(X=7)=(64)(1/3)5(2/3)2=0.0274348P(X=7)=\binom64(1/3)^5(2/3)^2=0.0274348\ldots.

Tier 3 · Hard

  1. 1. Successive trials are independent with success probability 0.40.4. Let XX be the trial on which the sixth success occurs. Find the probability that X8X\leq8.[5 marks]

    Answer

    • P(X8)=0.04981P(X\leq8)=0.04981 to 44 significant figures

    Method: Sum the negative binomial probabilities for x=6,7,8x=6,7,8: P(X8)=x=68(x15)(0.4)6(0.6)x6=0.04980736P(X\leq8)=\sum_{x=6}^{8}\binom{x-1}{5}(0.4)^6(0.6)^{x-6}=0.04980736\ldots.