FS1-7 Probability generating functions — revision question pack

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

Checked against Edexcel 9FM0 section FS1-7. Review basis: the qualification registry sourced from the Pearson Edexcel Level 3 Advanced GCE in Further Mathematics (9FM0) specification; registry verification recorded 17 July 2026.

How this checking works

FS1-7.1 · Definitions, derivations and applications. Use of the probability generating function for the negative binomial, geometric, binomial and Poisson distributions.

Explanation

  • For a non-negative integer-valued random variable, the probability generating function is GX(t)=E(tX)=xP(X=x)txG_X(t)=E(t^X)=\sum_xP(X=x)t^x.
  • The coefficient of txt^x is P(X=x)P(X=x), so the PGF encodes the distribution and must satisfy GX(1)=1G_X(1)=1.
  • Standard forms are (1p+pt)n(1-p+pt)^n for binomial, eλ(t1)e^{\lambda(t-1)} for Poisson, pt1(1p)t\dfrac{pt}{1-(1-p)t} for geometric, and its rrth power for negative binomial.
  • Derivations use binomial, exponential or geometric-series expansions.
  • Examiners may require standard results to be proved, so the support and series index must be shown; the geometric PGF includes tt because FS1 counts trials from 11.

Worked example

Show that the probability generating function of a geometric variable with success probability pp, counting the trial of first success, is pt1(1p)t\dfrac{pt}{1-(1-p)t}.

  1. 1.GX(t)=x=1p(1p)x1txG_X(t)=\sum_{x=1}^{\infty}p(1-p)^{x-1}t^x.
  2. 2.Factor ptpt: GX(t)=ptj=0[(1p)t]jG_X(t)=pt\sum_{j=0}^{\infty}[(1-p)t]^j.
  3. 3.Use the geometric series to obtain GX(t)=pt1(1p)tG_X(t)=\dfrac{pt}{1-(1-p)t}.

Answer: GX(t)=pt1(1p)tG_X(t)=\dfrac{pt}{1-(1-p)t}, for values of tt where the series converges.

Common mistakes

  • Don't omit the factor tt and derive the PGF for failures before success instead.
  • Don't read the coefficient of txt^x as E(X=x)E(X=x) rather than P(X=x)P(X=x).
  • Don't use a PGF for a variable whose support includes negative integers.

Exam tip

For a derivation, write the probability sum before quoting the matching power-series identity.

Tier 1 · Easy

  1. 1.

    Given XBin(4,0.3)X\sim\operatorname{Bin}(4,0.3), write down GX(t)G_X(t) and use its coefficient of t2t^2 to find P(X=2)P(X=2).

    (3)

    (Total for Question 1 is 3 marks)

  2. 2.

    Write down GX(t)G_X(t) for XPo(1.8)X\sim\operatorname{Po}(1.8). Verify that GX(1)=1G_X(1)=1, and use the probability generating function to find P(X2)P(X\geq2).

    (3)

    (Total for Question 2 is 3 marks)

Tier 2 · Standard

  1. 1.

    A geometric random variable XX has parameter p=0.4p=0.4 and counts the trial of the first success. Show that the probability generating function of XX is 0.4t10.6t\dfrac{0.4t}{1-0.6t} and hence find P(X=5)P(X=5).

    (5)

    (Total for Question 1 is 5 marks)

  2. 2.

    XX is a discrete random variable with probability generating function GX(t)=(0.3t10.7t)4G_X(t)=\left(\dfrac{0.3t}{1-0.7t}\right)^4. State the name of its distribution, the values of its parameters and the values XX can take. Justify your answer from the standard PGF form, and find P(X=6)P(X=6).

    (5)

    (Total for Question 2 is 5 marks)

  3. 3.

    For XB(7,0.45)X\sim B(7,0.45), use the definition of a probability generating function to show that GX(t)=(0.55+0.45t)7G_X(t)=(0.55+0.45t)^7. Hence find P(X1)P(X\leq1), giving your answer to 44 decimal places.

    (5)

    (Total for Question 3 is 5 marks)

Tier 3 · Hard

  1. 1.

    The random variable XX counts the trial on which the third success occurs in independent trials with success probability 0.250.25. Show that GX(t)=(0.25t10.75t)3G_X(t)=\left(\dfrac{0.25t}{1-0.75t}\right)^3 and use it to find P(X=6)P(X=6).

    (7)

    (Total for Question 1 is 7 marks)

  2. 2.

    XX is a discrete random variable with probability generating function GX(t)=eλ(t1)G_X(t)=e^{\lambda(t-1)}, where λ>0\lambda>0. Its t4t^4 coefficient is 0.70.7 times its t3t^3 coefficient. Determine λ\lambda and hence find P(X1)P(X\leq1).

    (6)

    (Total for Question 2 is 6 marks)

  3. 3.

    The function GW(t)=(1p+pt)6G_W(t)=(1-p+pt)^6 is the probability generating function of WW, where 0<p<10<p<1. Given that P(W=0)=64/729P(W=0)=64/729, state the distribution of WW in the form WB(n,p)W\sim B(n,p) and determine pp. By considering GW(1)G_W(-1), find the exact probability that WW is even.

    (7)

    (Total for Question 3 is 7 marks)

  4. 4.

    The discrete random variable XX has a geometric distribution with parameter pp, where XX counts the trial of the first success and 0<p<10<p<1. Given that GX(1/2)=1/3G_X(1/2)=1/3, determine pp, find the exact value of P(X>4)P(X>4) and find the least integer kk for which P(X>k)<0.01P(X>k)<0.01.

    (7)

    (Total for Question 4 is 7 marks)

  5. 5.

    For a discrete random variable XX, GX(t)=a(1+t2)4+(1a)(3+t4)3G_X(t)=a\left(\dfrac{1+t}{2}\right)^4+(1-a)\left(\dfrac{3+t}{4}\right)^3, where 0<a<10<a<1. Given that P(X=1)=35/96P(X=1)=35/96, determine aa. Find the exact values of P(X=2)P(X=2) and P(X=4)P(X=4).

    (7)

    (Total for Question 5 is 7 marks)

FS1-7.2 · Use to find the mean and variance.

Explanation

  • For a PGF GXG_X, first check GX(1)=1G_X(1)=1. Differentiating term by term gives GX(1)=E(X)G'_X(1)=E(X) and GX(1)=E[X(X1)]G''_X(1)=E[X(X-1)], the second factorial moment.
  • Since X2=X(X1)+XX^2=X(X-1)+X, E(X2)=GX(1)+GX(1)E(X^2)=G''_X(1)+G'_X(1). Therefore Var(X)=GX(1)+GX(1)[GX(1)]2\operatorname{Var}(X)=G''_X(1)+G'_X(1)-[G'_X(1)]^2.
  • Derivatives can establish standard means and variances or find moments from a given polynomial or rational PGF.
  • Higher derivatives similarly produce higher factorial moments and may be used in proofs of standard distribution results.
  • Examiners expect evaluation at t=1t=1, accurate differentiation and the extra first-derivative term in the variance; GX(1)G''_X(1) alone is not the second raw moment.

Worked example

A random variable has PGF G(t)=(0.7+0.3t)8G(t)=(0.7+0.3t)^8. Use derivatives to find its mean and variance.

  1. 1.G(t)=2.4(0.7+0.3t)7G'(t)=2.4(0.7+0.3t)^7, so G(1)=2.4G'(1)=2.4.
  2. 2.G(t)=5.04(0.7+0.3t)6G''(t)=5.04(0.7+0.3t)^6, so G(1)=5.04G''(1)=5.04.
  3. 3.Var(X)=5.04+2.42.42=1.68\operatorname{Var}(X)=5.04+2.4-2.4^2=1.68.

Answer: E(X)=2.4E(X)=2.4 and Var(X)=1.68\operatorname{Var}(X)=1.68.

Common mistakes

  • Don't substitute t=0t=0 rather than t=1t=1 when finding moments.
  • Don't treat G(1)G''(1) as E(X2)E(X^2) and omit G(1)G'(1).
  • Don't square G(t)G'(t) before evaluating rather than squaring the scalar G(1)G'(1).

Exam tip

Write the factorial-moment identity beside G(1)G''(1) before converting it to variance.

Tier 1 · Easy

  1. 1.

    The PGF of XX is GX(t)=(0.8+0.2t)6G_X(t)=(0.8+0.2t)^6. Use derivatives of the PGF to find E(X)E(X) and Var(X)\operatorname{Var}(X).

    (4)

    (Total for Question 1 is 4 marks)

  2. 2.

    XX is a discrete random variable with probability generating function GX(t)=e2.5(t1)G_X(t)=e^{2.5(t-1)}. Use calculus to show that E(X)=2.5E(X)=2.5 and Var(X)=2.5\operatorname{Var}(X)=2.5.

    (4)

    (Total for Question 2 is 4 marks)

Tier 2 · Standard

  1. 1.

    A random variable has PGF GX(t)=2t3tG_X(t)=\dfrac{2t}{3-t}. Use the PGF to find its mean and variance.

    (5)

    (Total for Question 1 is 5 marks)

  2. 2.

    A geometric random variable XX counts the trial on which the first success occurs and has PGF GX(t)=pt1(1p)tG_X(t)=\dfrac{pt}{1-(1-p)t}. By differentiating this PGF, prove the standard results for E(X)E(X) and Var(X)\operatorname{Var}(X). You may write q=1pq=1-p.

    (5)

    (Total for Question 2 is 5 marks)

  3. 3.

    The function GX(t)=e32(t21)G_X(t)=e^{\frac32(t^2-1)} is the probability generating function of a discrete random variable XX. Verify that GX(t)G_X(t) is a valid probability generating function by evaluating GX(1)G_X(1), then use derivatives to find E(X)E(X) and Var(X)\operatorname{Var}(X).

    (5)

    (Total for Question 3 is 5 marks)

Tier 3 · Hard

  1. 1.

    A random variable has PGF GX(t)=k(1+2t+3t2+4t3)G_X(t)=k(1+2t+3t^2+4t^3). Find kk, then use derivatives to calculate E(X)E(X) and Var(X)\operatorname{Var}(X).

    (6)

    (Total for Question 1 is 6 marks)

  2. 2.

    A random variable has PGF GX(t)=131+2t(2t)2G_X(t)=\dfrac{1}{3}\dfrac{1+2t}{(2-t)^2}. Use calculus to find Var(X)\operatorname{Var}(X). You must show all your working. Find the exact value of P(X=0)P(X=0).

    (6)

    (Total for Question 2 is 6 marks)

  3. 3.

    Consider GX(t)=(1a)e2(t1)1atG_X(t)=\dfrac{(1-a)e^{2(t-1)}}{1-at} for a discrete random variable XX, where 0<a<10<a<1. Verify that this is a valid probability generating function by evaluating GX(1)G_X(1). Given that Var(X)=4\operatorname{Var}(X)=4, use derivatives to find aa and E(X)E(X).

    (6)

    (Total for Question 3 is 6 marks)

  4. 4.

    For a discrete random variable XX, GX(t)=k(1+t+t2++tm)G_X(t)=k(1+t+t^2+\cdots+t^m) is a probability generating function, where mm is a positive integer. Given that E(X)=7/2E(X)=7/2, use derivatives to find the value of mm, the value of kk and Var(X)\operatorname{Var}(X).

    (7)

    (Total for Question 4 is 7 marks)

  5. 5.

    For a discrete random variable XX, GX(t)=1c+ceλ(t1)G_X(t)=1-c+ce^{\lambda(t-1)} is a probability generating function, where 0<c<10<c<1 and λ>0\lambda>0. Given that E(X)=2E(X)=2 and Var(X)=5\operatorname{Var}(X)=5, use derivatives to find cc and λ\lambda. Hence find P(X=0)P(X=0), giving your answer to 44 decimal places.

    (7)

    (Total for Question 5 is 7 marks)

FS1-7.3 · Probability generating function of the sum of independent random variables.

Explanation

  • If XX and YY are independent, then GX+Y(t)=GX(t)GY(t)G_{X+Y}(t)=G_X(t)G_Y(t). Independence allows E(tX+Y)=E(tX)E(tY)E(t^{X+Y})=E(t^X)E(t^Y).
  • Multiply and simplify before identifying a standard PGF or extracting a coefficient. This proves, for example, that independent Poisson parameters add and that independent binomial variables with the same pp combine by adding their trial counts.
  • A sum of independent geometric waiting times with common pp is negative binomial.
  • The product rule does not hold automatically for dependent variables.
  • Examiners expect independence to be stated, the product simplified into a recognisable form, and all distribution parameters and the support of the sum stated.

Worked example

Independent variables satisfy XBin(4,p)X\sim\operatorname{Bin}(4,p) and YBin(7,p)Y\sim\operatorname{Bin}(7,p). Use PGFs to identify X+YX+Y.

  1. 1.GX(t)=(1p+pt)4G_X(t)=(1-p+pt)^4 and GY(t)=(1p+pt)7G_Y(t)=(1-p+pt)^7.
  2. 2.Independence gives GX+Y(t)=GX(t)GY(t)G_{X+Y}(t)=G_X(t)G_Y(t).
  3. 3.Thus GX+Y(t)=(1p+pt)11G_{X+Y}(t)=(1-p+pt)^{11}.

Answer: X+YBin(11,p)X+Y\sim\operatorname{Bin}(11,p).

Common mistakes

  • Don't multiply PGFs without stating or establishing independence.
  • Don't add binomial probabilities pp as well as adding the trial counts.
  • Don't identify a negative-binomial sum using the failures-before-success convention instead of trial number.

Exam tip

After multiplying PGFs, quote the exact standard form that identifies the sum's distribution.

Tier 1 · Easy

  1. 1.

    Independent variables have distributions XPo(1.4)X\sim\operatorname{Po}(1.4) and YPo(2.6)Y\sim\operatorname{Po}(2.6). Use PGFs to identify the distribution of X+YX+Y and find P(X+Y=0)P(X+Y=0).

    (4)

    (Total for Question 1 is 4 marks)

  2. 2.

    Independent variables satisfy P(X=1)=0.3P(X=1)=0.3, P(X=0)=0.7P(X=0)=0.7 and YPo(1.2)Y\sim\operatorname{Po}(1.2). Form the PGF of S=X+YS=X+Y and extract the coefficient of t2t^2 to find P(S=2)P(S=2).

    (5)

    (Total for Question 2 is 5 marks)

Tier 2 · Standard

  1. 1.

    Independent variables satisfy XBin(5,0.4)X\sim\operatorname{Bin}(5,0.4) and YBin(7,0.4)Y\sim\operatorname{Bin}(7,0.4). Use PGFs to identify S=X+YS=X+Y and calculate P(S=3)P(S=3).

    (5)

    (Total for Question 1 is 5 marks)

  2. 2.

    The independent random variables XX and YY each have a negative binomial distribution with parameters r=2r=2 and p=0.25p=0.25, and each counts the trial on which the second success occurs. Use probability generating functions to identify the distribution of S=X+YS=X+Y. Hence find P(S=5)P(S=5).

    (6)

    (Total for Question 2 is 6 marks)

  3. 3.

    The independent random variables XX and YY have sum S=X+YS=X+Y. Given that XB(3,0.4)X\sim B(3,0.4) and GS(t)=(0.6+0.4t)3e1.7(t1)G_S(t)=(0.6+0.4t)^3e^{1.7(t-1)}, use probability generating functions to determine the distribution of YY. Hence find P(Y2)P(Y\geq2), giving your answer to 33 significant figures.

    (6)

    (Total for Question 3 is 6 marks)

Tier 3 · Hard

  1. 1.

    Independent geometric variables XX and YY each have parameter 0.40.4 and count trials to first success. Use PGFs to identify the distribution of S=X+YS=X+Y and find P(S>5)P(S>5).

    (7)

    (Total for Question 1 is 7 marks)

  2. 2.

    The independent random variables XX, YY and ZZ have Poisson distributions with means 0.80.8, 1.61.6 and 2.32.3 respectively. Use probability generating functions to identify the distribution of S=X+Y+ZS=X+Y+Z. Hence find P(S7)P(S\geq7), giving your answer to 44 decimal places.

    (6)

    (Total for Question 2 is 6 marks)

  3. 3.

    The independent random variables XX and YY satisfy XB(3,1/2)X\sim B(3,1/2) and YGeo(3/8)Y\sim\operatorname{Geo}(3/8), where YY counts the trial of the first success. Let S=X+YS=X+Y. Form the probability generating function of SS. For the event S=4S=4, calculate the exact conditional probability P(X=2S=4)P(X=2\mid S=4).

    (7)

    (Total for Question 3 is 7 marks)

  4. 4.

    Let S=X+YS=X+Y, where XB(2,1/3)X\sim B(2,1/3) and YB(4,1/2)Y\sim B(4,1/2) are independent. Form the probability generating function of SS, explain why SS does not have a binomial distribution, and find the exact value of P(S=3)P(S=3).

    (7)

    (Total for Question 4 is 7 marks)

  5. 5.

    Let S=X+YS=X+Y for independent random variables with probability generating functions GX(t)=(3+t2)/4G_X(t)=(3+t^2)/4 and GY(t)=t(3+t2)2/16G_Y(t)=t(3+t^2)^2/16. Find GS(t)G_S(t). State the set of possible values of SS and find the exact value of P(S5)P(S\geq5).

    (6)

    (Total for Question 5 is 6 marks)

Answer key

Answers begin on a new printed page so the question pack can be completed without the solutions alongside it.

FS1-7.1 · Definitions, derivations and applications. Use of the probability generating function for the negative binomial, geometric, binomial and Poisson distributions.

Tier 1 · Easy

Mark scheme for FS1-7.1 Tier 1 · Easy
QuestionSchemeMarks
1
  • GX(t)=(0.7+0.3t)4G_X(t)=(0.7+0.3t)^4
  • P(X=2)=0.2646P(X=2)=0.2646
3
(3 marks)3
Notes
The binomial PGF is (1p+pt)n(1-p+pt)^n, giving (0.7+0.3t)4(0.7+0.3t)^4. Its t2t^2 coefficient is (42)(0.3)2(0.7)2=0.2646\binom42(0.3)^2(0.7)^2=0.2646.
2
  • GX(t)=e1.8(t1)G_X(t)=e^{1.8(t-1)}
  • GX(1)=e0=1G_X(1)=e^0=1
  • P(X2)=1e1.8(1+1.8)=0.5372P(X\geq2)=1-e^{-1.8}(1+1.8)=0.5372 to 44 decimal places
3
(3 marks)3
Notes
The Poisson PGF is GX(t)=eλ(t1)G_X(t)=e^{\lambda(t-1)}, so here GX(t)=e1.8(t1)G_X(t)=e^{1.8(t-1)} and GX(1)=e0=1G_X(1)=e^0=1. Expanding, GX(t)=e1.8e1.8tG_X(t)=e^{-1.8}e^{1.8t}, so the t0t^0 and t1t^1 coefficients are e1.8e^{-1.8} and 1.8e1.81.8e^{-1.8}. Therefore P(X2)=1P(X=0)P(X=1)=1e1.8(1+1.8)=0.5371631129P(X\geq2)=1-P(X=0)-P(X=1)=1-e^{-1.8}(1+1.8)=0.5371631129\ldots, which rounds to 0.53720.5372.

Tier 2 · Standard

Mark scheme for FS1-7.1 Tier 2 · Standard
QuestionSchemeMarks
1
  • GX(t)=0.4t10.6tG_X(t)=\dfrac{0.4t}{1-0.6t}
  • P(X=5)=0.05184P(X=5)=0.05184
5
(5 marks)5
Notes
GX(t)=x=10.4(0.6)x1tx=0.4tj=0(0.6t)j=0.4t10.6tG_X(t)=\sum_{x=1}^{\infty}0.4(0.6)^{x-1}t^x=0.4t\sum_{j=0}^{\infty}(0.6t)^j=\dfrac{0.4t}{1-0.6t}. The coefficient of t5t^5 is 0.4(0.6)4=0.051840.4(0.6)^4=0.05184.
2
  • G(t)=[pt/(1(1p)t)]rG(t)=[pt/(1-(1-p)t)]^r with r=4r=4 and p=0.3p=0.3
  • XX has the negative binomial distribution with r=4r=4, p=0.3p=0.3
  • XX counts the trial on which the fourth success occurs, so X=4,5,6,X=4,5,6,\ldots
  • P(X=6)=(53)(0.3)4(0.7)2P(X=6)=\binom{5}{3}(0.3)^4(0.7)^2
  • P(X=6)=0.03969P(X=6)=0.03969
5
(5 marks)5
Notes
The standard PGF for the trial number of the rrth success is [pt/(1(1p)t)]r[pt/(1-(1-p)t)]^r. Comparison gives r=4r=4 and p=0.3p=0.3, so XX is negative binomial on 4,5,6,4,5,6,\ldots. For X=6X=6, the first five trials must contain three successes and the sixth must be a success. Hence P(X=6)=(53)(0.3)3(0.7)2(0.3)=0.03969P(X=6)=\binom{5}{3}(0.3)^3(0.7)^2(0.3)=0.03969.
3
  • GX(t)=x=07(7x)(0.45)x(0.55)7xtxG_X(t)=\displaystyle\sum_{x=0}^{7}\binom7x(0.45)^x(0.55)^{7-x}t^x
  • GX(t)=x=07(7x)(0.45t)x(0.55)7xG_X(t)=\displaystyle\sum_{x=0}^{7}\binom7x(0.45t)^x(0.55)^{7-x}
  • GX(t)=(0.55+0.45t)7G_X(t)=(0.55+0.45t)^7 by the binomial theorem
  • P(X1)=(0.55)7+7(0.45)(0.55)6P(X\leq1)=(0.55)^7+7(0.45)(0.55)^6
  • P(X1)=0.1024183703=0.1024P(X\leq1)=0.1024183703\ldots=0.1024
5
(5 marks)5
Notes
By definition, GX(t)=E(tX)=x=07P(X=x)txG_X(t)=E(t^X)=\sum_{x=0}^{7}P(X=x)t^x. Substituting the binomial probability gives x=07(7x)(0.45)x(0.55)7xtx=x=07(7x)(0.45t)x(0.55)7x=(0.55+0.45t)7\sum_{x=0}^{7}\binom7x(0.45)^x(0.55)^{7-x}t^x=\sum_{x=0}^{7}\binom7x(0.45t)^x(0.55)^{7-x}=(0.55+0.45t)^7 by the binomial theorem. Hence P(X1)P(X\leq1) is the sum of the constant and linear coefficients: (0.55)7+7(0.45)(0.55)6=0.1024183703(0.55)^7+7(0.45)(0.55)^6=0.1024183703\ldots, which is 0.10240.1024 to 44 decimal places.

Tier 3 · Hard

Mark scheme for FS1-7.1 Tier 3 · Hard
QuestionSchemeMarks
1
  • GX(t)=(0.25t10.75t)3G_X(t)=\left(\dfrac{0.25t}{1-0.75t}\right)^3
  • P(X=6)=0.06592P(X=6)=0.06592 to 44 significant figures
7
(7 marks)7
Notes
A waiting time to the third success is the sum of three independent geometric waiting times, so its PGF is the cube of the geometric PGF: GX(t)=[0.25t/(10.75t)]3G_X(t)=[0.25t/(1-0.75t)]^3. Using (1z)3=j=0(j+22)zj(1-z)^{-3}=\sum_{j=0}^{\infty}\binom{j+2}{2}z^j, the coefficient of t6t^6 is (52)(0.25)3(0.75)3=0.06591797\binom52(0.25)^3(0.75)^3=0.06591797\ldots.
2
  • GX(t)=eλx=0λxtx/x!G_X(t)=e^{-\lambda}\sum_{x=0}^{\infty}\lambda^xt^x/x!
  • P(X=4)/P(X=3)=λ/4P(X=4)/P(X=3)=\lambda/4
  • λ/4=0.7\lambda/4=0.7
  • λ=2.8\lambda=2.8
  • P(X1)=e2.8(1+2.8)P(X\leq1)=e^{-2.8}(1+2.8)
  • P(X1)=0.2311P(X\leq1)=0.2311 to 44 decimal places
6
(6 marks)6
Notes
Expanding the PGF gives coefficient P(X=x)=eλλx/x!P(X=x)=e^{-\lambda}\lambda^x/x!. Hence P(X=4)/P(X=3)=λ/4=0.7P(X=4)/P(X=3)=\lambda/4=0.7, so λ=2.8\lambda=2.8. Therefore P(X1)=e2.8[1+2.8]=0.2310782379P(X\leq1)=e^{-2.8}[1+2.8]=0.2310782379\ldots, which rounds to 0.23110.2311.
3
  • WB(6,p)W\sim B(6,p)
  • P(W=0)=(1p)6P(W=0)=(1-p)^6
  • (1p)6=64/729=(2/3)6(1-p)^6=64/729=(2/3)^6
  • p=1/3p=1/3
  • GW(1)=P(W is even)P(W is odd)G_W(-1)=P(W\text{ is even})-P(W\text{ is odd})
  • GW(1)=(12p)6=1/729G_W(-1)=(1-2p)^6=1/729
  • P(W is even)=12(1+1/729)=365/729P(W\text{ is even})=\tfrac12(1+1/729)=365/729
7
(7 marks)7
Notes
The standard binomial probability generating function identifies WB(6,p)W\sim B(6,p). Its constant coefficient is P(W=0)=(1p)6P(W=0)=(1-p)^6. Since 0<p<10<p<1, the equation (1p)6=64/729=(2/3)6(1-p)^6=64/729=(2/3)^6 gives p=1/3p=1/3. At t=1t=-1, the even-power coefficients enter with sign +1+1 and the odd-power coefficients with sign 1-1, so GW(1)=P(W is even)P(W is odd)G_W(-1)=P(W\text{ is even})-P(W\text{ is odd}). Also GW(1)=(12p)6=(1/3)6=1/729G_W(-1)=(1-2p)^6=(1/3)^6=1/729. Together with the total probability 11, this gives P(W is even)=(1+1/729)/2=365/729P(W\text{ is even})=(1+1/729)/2=365/729.
4
  • GX(t)=pt1(1p)tG_X(t)=\dfrac{pt}{1-(1-p)t}
  • GX(1/2)=p1+p=1/3G_X(1/2)=\dfrac{p}{1+p}=1/3
  • 3p=1+p3p=1+p, so p=1/2p=1/2
  • P(X>4)=(1p)4P(X>4)=(1-p)^4
  • P(X>4)=1/16P(X>4)=1/16
  • P(X>k)=(1/2)kP(X>k)=(1/2)^k, so (1/2)k<0.01(1/2)^k<0.01
  • Since (1/2)6=0.015625(1/2)^6=0.015625 and (1/2)7=0.0078125(1/2)^7=0.0078125, the least integer is k=7k=7
7
(7 marks)7
Notes
For a geometric variable that counts the trial of the first success, GX(t)=pt/[1(1p)t]G_X(t)=pt/[1-(1-p)t]. Substitution of t=1/2t=1/2 gives GX(1/2)=p/(1+p)G_X(1/2)=p/(1+p). Equating this to 1/31/3 gives 3p=1+p3p=1+p and hence p=1/2p=1/2. The event X>4X>4 means that the first four trials are failures, so P(X>4)=(1p)4=(1/2)4=1/16P(X>4)=(1-p)^4=(1/2)^4=1/16. More generally, P(X>k)=(1/2)kP(X>k)=(1/2)^k. Since (1/2)6=0.015625(1/2)^6=0.015625 is not below 0.010.01 but (1/2)7=0.0078125(1/2)^7=0.0078125 is, the least possible integer is k=7k=7.
5
  • P(X=1)=a/4+27(1a)/64P(X=1)=a/4+27(1-a)/64
  • a/4+27(1a)/64=35/96a/4+27(1-a)/64=35/96
  • a=1/3a=1/3
  • The first term contributes (1/3)(42)/24=1/8(1/3)\binom42/2^4=1/8 to P(X=2)P(X=2)
  • The second term contributes (2/3)(32)(1/4)2(3/4)=3/32(2/3)\binom32(1/4)^2(3/4)=3/32 to P(X=2)P(X=2)
  • P(X=2)=1/8+3/32=7/32P(X=2)=1/8+3/32=7/32
  • P(X=4)=(1/3)(1/2)4=1/48P(X=4)=(1/3)(1/2)^4=1/48
7
(7 marks)7
Notes
The coefficient of tt is a(41)/24+(1a)(31)(3/4)2(1/4)=a/4+27(1a)/64a\binom41/2^4+(1-a)\binom31(3/4)^2(1/4)=a/4+27(1-a)/64. Equating this to 35/9635/96 gives a=1/3a=1/3. The coefficient of t2t^2 is (1/3)(42)/24+(2/3)(32)(3/4)(1/4)2=1/8+3/32=7/32(1/3)\binom42/2^4+(2/3)\binom32(3/4)(1/4)^2=1/8+3/32=7/32. Only the first component has a t4t^4 term, so P(X=4)=(1/3)(1/2)4=1/48P(X=4)=(1/3)(1/2)^4=1/48.

FS1-7.2 · Use to find the mean and variance.

Tier 1 · Easy

Mark scheme for FS1-7.2 Tier 1 · Easy
QuestionSchemeMarks
1
  • E(X)=1.2E(X)=1.2
  • Var(X)=0.96\operatorname{Var}(X)=0.96
4
(4 marks)4
Notes
GX(t)=1.2(0.8+0.2t)5G'_X(t)=1.2(0.8+0.2t)^5, so GX(1)=1.2G'_X(1)=1.2. Also GX(1)=6(5)(0.2)2=1.2G''_X(1)=6(5)(0.2)^2=1.2. Hence Var(X)=1.2+1.21.22=0.96\operatorname{Var}(X)=1.2+1.2-1.2^2=0.96.
2
  • GX(t)=2.5e2.5(t1)G'_X(t)=2.5e^{2.5(t-1)}, so GX(1)=2.5G'_X(1)=2.5
  • GX(t)=6.25e2.5(t1)G''_X(t)=6.25e^{2.5(t-1)}, so GX(1)=6.25G''_X(1)=6.25
  • E(X)=GX(1)=2.5E(X)=G'_X(1)=2.5
  • Var(X)=GX(1)+GX(1)[GX(1)]2=6.25+2.52.52=2.5\operatorname{Var}(X)=G''_X(1)+G'_X(1)-[G'_X(1)]^2=6.25+2.5-2.5^2=2.5
4
(4 marks)4
Notes
Differentiation gives GX(t)=2.5e2.5(t1)G'_X(t)=2.5e^{2.5(t-1)} and GX(t)=6.25e2.5(t1)G''_X(t)=6.25e^{2.5(t-1)}. Hence GX(1)=2.5G'_X(1)=2.5 and GX(1)=6.25G''_X(1)=6.25. Therefore E(X)=GX(1)=2.5E(X)=G'_X(1)=2.5 and Var(X)=GX(1)+GX(1)[GX(1)]2=6.25+2.56.25=2.5\operatorname{Var}(X)=G''_X(1)+G'_X(1)-[G'_X(1)]^2=6.25+2.5-6.25=2.5.

Tier 2 · Standard

Mark scheme for FS1-7.2 Tier 2 · Standard
QuestionSchemeMarks
1
  • E(X)=32E(X)=\frac32
  • Var(X)=34\operatorname{Var}(X)=\frac34
5
(5 marks)5
Notes
GX(t)=6/(3t)2G'_X(t)=6/(3-t)^2 and GX(t)=12/(3t)3G''_X(t)=12/(3-t)^3. Thus GX(1)=3/2G'_X(1)=3/2 and GX(1)=3/2G''_X(1)=3/2. Therefore Var(X)=3/2+3/2(3/2)2=3/4\operatorname{Var}(X)=3/2+3/2-(3/2)^2=3/4.
2
  • With q=1pq=1-p, GX(t)=pt/(1qt)G_X(t)=pt/(1-qt)
  • GX(t)=p/(1qt)2G'_X(t)=p/(1-qt)^2
  • GX(t)=2pq/(1qt)3G''_X(t)=2pq/(1-qt)^3
  • E(X)=GX(1)=1/pE(X)=G'_X(1)=1/p
  • Var(X)=GX(1)+GX(1)[GX(1)]2=(1p)/p2\operatorname{Var}(X)=G''_X(1)+G'_X(1)-[G'_X(1)]^2=(1-p)/p^2
5
(5 marks)5
Notes
Put q=1pq=1-p, so GX(t)=pt(1qt)1G_X(t)=pt(1-qt)^{-1}. Differentiation and simplification give GX(t)=p(1qt)2G'_X(t)=p(1-qt)^{-2} and GX(t)=2pq(1qt)3G''_X(t)=2pq(1-qt)^{-3}. Since 1q=p1-q=p, GX(1)=1/pG'_X(1)=1/p and GX(1)=2q/p2G''_X(1)=2q/p^2. Hence E(X)=1/pE(X)=1/p and Var(X)=2q/p2+1/p1/p2=q/p2=(1p)/p2\operatorname{Var}(X)=2q/p^2+1/p-1/p^2=q/p^2=(1-p)/p^2.
3
  • GX(1)=1G_X(1)=1
  • GX(t)=3tGX(t)G'_X(t)=3tG_X(t)
  • E(X)=GX(1)=3E(X)=G'_X(1)=3
  • GX(t)=(3+9t2)GX(t)G''_X(t)=(3+9t^2)G_X(t), so GX(1)=12G''_X(1)=12
  • Var(X)=12+332=6\operatorname{Var}(X)=12+3-3^2=6
5
(5 marks)5
Notes
Substitution gives GX(1)=e0=1G_X(1)=e^0=1. Differentiating the exponential gives GX(t)=3tGX(t)G'_X(t)=3tG_X(t), so E(X)=GX(1)=3E(X)=G'_X(1)=3. Differentiating again gives GX(t)=3GX(t)+9t2GX(t)=(3+9t2)GX(t)G''_X(t)=3G_X(t)+9t^2G_X(t)=(3+9t^2)G_X(t), hence GX(1)=12G''_X(1)=12. Therefore Var(X)=GX(1)+GX(1)[GX(1)]2=12+39=6\operatorname{Var}(X)=G''_X(1)+G'_X(1)-[G'_X(1)]^2=12+3-9=6.

Tier 3 · Hard

Mark scheme for FS1-7.2 Tier 3 · Hard
QuestionSchemeMarks
1
  • k=0.1k=0.1
  • E(X)=2E(X)=2
  • Var(X)=1\operatorname{Var}(X)=1
6
(6 marks)6
Notes
GX(1)=10k=1G_X(1)=10k=1, so k=0.1k=0.1. Then GX(t)=0.1(2+6t+12t2)G'_X(t)=0.1(2+6t+12t^2), giving GX(1)=2G'_X(1)=2, and GX(t)=0.1(6+24t)G''_X(t)=0.1(6+24t), giving GX(1)=3G''_X(1)=3. Hence Var(X)=3+222=1\operatorname{Var}(X)=3+2-2^2=1.
2
  • GX(t)=2(3+t)3(2t)3G'_X(t)=\dfrac{2(3+t)}{3(2-t)^3}
  • E(X)=GX(1)=8/3E(X)=G'_X(1)=8/3
  • GX(t)=2(11+2t)3(2t)4G''_X(t)=\dfrac{2(11+2t)}{3(2-t)^4}
  • GX(1)=26/3G''_X(1)=26/3
  • Var(X)=26/3+8/3(8/3)2=38/9\operatorname{Var}(X)=26/3+8/3-(8/3)^2=38/9
  • P(X=0)=GX(0)=1/12P(X=0)=G_X(0)=1/12
6
(6 marks)6
Notes
Direct differentiation gives GX(t)=2(3+t)/[3(2t)3]G'_X(t)=2(3+t)/[3(2-t)^3] and GX(t)=2(11+2t)/[3(2t)4]G''_X(t)=2(11+2t)/[3(2-t)^4]. Therefore GX(1)=8/3G'_X(1)=8/3 and GX(1)=26/3G''_X(1)=26/3. It follows that E(X)=8/3E(X)=8/3 and Var(X)=GX(1)+GX(1)[GX(1)]2=26/3+8/364/9=38/9\operatorname{Var}(X)=G''_X(1)+G'_X(1)-[G'_X(1)]^2=26/3+8/3-64/9=38/9. The constant coefficient of a PGF is P(X=0)P(X=0), so P(X=0)=GX(0)=1/12P(X=0)=G_X(0)=1/12.
3
  • GX(1)=1G_X(1)=1
  • GX(t)=GX(t){2+a/(1at)}G'_X(t)=G_X(t)\{2+a/(1-at)\}
  • GX(t)=GX(t){2+a/(1at)}+GX(t)a2/(1at)2G''_X(t)=G'_X(t)\{2+a/(1-at)\}+G_X(t)a^2/(1-at)^2
  • Var(X)=2+a/(1a)2\operatorname{Var}(X)=2+a/(1-a)^2
  • 4=2+a/(1a)24=2+a/(1-a)^2, so 2a25a+2=02a^2-5a+2=0 and a=1/2a=1/2 or 22
  • 0<a<10<a<1 gives a=1/2a=1/2, and E(X)=2+a/(1a)=3E(X)=2+a/(1-a)=3
6
(6 marks)6
Notes
The function satisfies GX(1)=(1a)/(1a)=1G_X(1)=(1-a)/(1-a)=1. Differentiation gives GX(t)=GX(t)(2+a/(1at))G'_X(t)=G_X(t)(2+a/(1-at)). Applying the product rule to this expression gives GX(t)=GX(t)(2+a/(1at))+GX(t)a2/(1at)2G''_X(t)=G'_X(t)(2+a/(1-at))+G_X(t)a^2/(1-at)^2. Since GX(1)=1G_X(1)=1, E(X)=GX(1)=2+a/(1a)E(X)=G'_X(1)=2+a/(1-a). Substitution into Var(X)=GX(1)+GX(1)[GX(1)]2\operatorname{Var}(X)=G''_X(1)+G'_X(1)-[G'_X(1)]^2 simplifies to Var(X)=2+a/(1a)2\operatorname{Var}(X)=2+a/(1-a)^2. Hence 4=2+a/(1a)24=2+a/(1-a)^2, giving 2a25a+2=02a^2-5a+2=0 and therefore a=1/2a=1/2 or a=2a=2. The condition 0<a<10<a<1 gives a=1/2a=1/2, and then E(X)=2+(1/2)/(1/2)=3E(X)=2+(1/2)/(1/2)=3.
4
  • GX(1)=k(m+1)=1G_X(1)=k(m+1)=1, so k=1/(m+1)k=1/(m+1)
  • GX(1)=kx=0mx=km(m+1)/2G'_X(1)=k\displaystyle\sum_{x=0}^{m}x=k\,m(m+1)/2
  • E(X)=m/2E(X)=m/2
  • GX(1)=kx=0mx(x1)=m(m1)/3G''_X(1)=k\displaystyle\sum_{x=0}^{m}x(x-1)=m(m-1)/3
  • Var(X)=m(m1)/3+m/2m2/4=m(m+2)/12\operatorname{Var}(X)=m(m-1)/3+m/2-m^2/4=m(m+2)/12
  • m/2=7/2m/2=7/2, so m=7m=7
  • k=1/8k=1/8 and Var(X)=21/4\operatorname{Var}(X)=21/4
7
(7 marks)7
Notes
Normalisation gives k=1/(m+1)k=1/(m+1). Using x=m(m+1)/2\sum x=m(m+1)/2 and x(x1)=m(m+1)(m1)/3\sum x(x-1)=m(m+1)(m-1)/3, the PGF derivatives give GX(1)=m/2G'_X(1)=m/2 and GX(1)=m(m1)/3G''_X(1)=m(m-1)/3. The given mean therefore gives m/2=7/2m/2=7/2, so m=7m=7 and k=1/8k=1/8. Finally Var(X)=GX(1)+GX(1)[GX(1)]2=m(m+2)/12=21/4\operatorname{Var}(X)=G''_X(1)+G'_X(1)-[G'_X(1)]^2=m(m+2)/12=21/4.
5
  • GX(t)=cλeλ(t1)G'_X(t)=c\lambda e^{\lambda(t-1)}, so cλ=2c\lambda=2
  • GX(t)=cλ2eλ(t1)G''_X(t)=c\lambda^2e^{\lambda(t-1)}, so GX(1)=cλ2G''_X(1)=c\lambda^2
  • 5=cλ2+2225=c\lambda^2+2-2^2, so cλ2=7c\lambda^2=7
  • Dividing cλ2=7c\lambda^2=7 by cλ=2c\lambda=2 gives λ=7/2\lambda=7/2
  • c=2/λ=4/7c=2/\lambda=4/7
  • P(X=0)=GX(0)=1c+ceλ=3/7+(4/7)e7/2P(X=0)=G_X(0)=1-c+ce^{-\lambda}=3/7+(4/7)e^{-7/2}
  • P(X=0)=0.4458P(X=0)=0.4458 to 44 decimal places
7
(7 marks)7
Notes
Differentiation gives GX(1)=cλG'_X(1)=c\lambda and GX(1)=cλ2G''_X(1)=c\lambda^2. The mean condition gives cλ=2c\lambda=2, while the variance identity gives 5=cλ2+245=c\lambda^2+2-4, so cλ2=7c\lambda^2=7. Division yields λ=7/2\lambda=7/2 and then c=4/7c=4/7. The constant coefficient is GX(0)=1c+ceλ=3/7+(4/7)e7/2=0.4458270762G_X(0)=1-c+ce^{-\lambda}=3/7+(4/7)e^{-7/2}=0.4458270762\ldots, which is 0.44580.4458 to 44 decimal places.

FS1-7.3 · Probability generating function of the sum of independent random variables.

Tier 1 · Easy

Mark scheme for FS1-7.3 Tier 1 · Easy
QuestionSchemeMarks
1
  • X+YPo(4)X+Y\sim\operatorname{Po}(4)
  • P(X+Y=0)=e4=0.01832P(X+Y=0)=e^{-4}=0.01832
4
(4 marks)4
Notes
GX(t)GY(t)=e1.4(t1)e2.6(t1)=e4(t1)G_X(t)G_Y(t)=e^{1.4(t-1)}e^{2.6(t-1)}=e^{4(t-1)}, which is the PGF of Po(4)\operatorname{Po}(4). Its constant coefficient is P(X+Y=0)=e4=0.0183156P(X+Y=0)=e^{-4}=0.0183156\ldots.
2
  • GX(t)=0.7+0.3tG_X(t)=0.7+0.3t
  • GY(t)=e1.2(t1)G_Y(t)=e^{1.2(t-1)}
  • GS(t)=(0.7+0.3t)e1.2(t1)G_S(t)=(0.7+0.3t)e^{1.2(t-1)}
  • P(S=2)=e1.2[0.7(1.2)2/2!+0.3(1.2)]P(S=2)=e^{-1.2}[0.7(1.2)^2/2!+0.3(1.2)]
  • P(S=2)=0.2602P(S=2)=0.2602 to 44 decimal places
5
(5 marks)5
Notes
Independence gives GS(t)=GX(t)GY(t)=(0.7+0.3t)e1.2(t1)G_S(t)=G_X(t)G_Y(t)=(0.7+0.3t)e^{1.2(t-1)}. The coefficient of t2t^2 is e1.2[0.7(1.2)2/2!+0.3(1.2)]=0.2602317991e^{-1.2}[0.7(1.2)^2/2!+0.3(1.2)]=0.2602317991\ldots, which rounds to 0.26020.2602.

Tier 2 · Standard

Mark scheme for FS1-7.3 Tier 2 · Standard
QuestionSchemeMarks
1
  • SBin(12,0.4)S\sim\operatorname{Bin}(12,0.4)
  • P(S=3)=0.1419P(S=3)=0.1419 to 44 significant figures
5
(5 marks)5
Notes
GS(t)=(0.6+0.4t)5(0.6+0.4t)7=(0.6+0.4t)12G_S(t)=(0.6+0.4t)^5(0.6+0.4t)^7=(0.6+0.4t)^{12}, so SBin(12,0.4)S\sim\operatorname{Bin}(12,0.4). The coefficient of t3t^3 is (123)(0.4)3(0.6)9=0.14189396\binom{12}{3}(0.4)^3(0.6)^9=0.14189396\ldots.
2
  • GX(t)=GY(t)=(0.25t10.75t)2G_X(t)=G_Y(t)=\left(\dfrac{0.25t}{1-0.75t}\right)^2
  • By independence, GS(t)=GX(t)GY(t)=(0.25t10.75t)4G_S(t)=G_X(t)G_Y(t)=\left(\dfrac{0.25t}{1-0.75t}\right)^4
  • SS is negative binomial with parameters r=4r=4 and p=0.25p=0.25
  • P(S=s)=(s13)(0.25)4(0.75)s4P(S=s)=\binom{s-1}{3}(0.25)^4(0.75)^{s-4} for s=4,5,6,s=4,5,6,\ldots
  • P(S=5)=(43)(0.25)4(0.75)P(S=5)=\binom{4}{3}(0.25)^4(0.75)
  • P(S=5)=3/256P(S=5)=3/256
6
(6 marks)6
Notes
Each variable counts the trial of the second success, so each has PGF [0.25t/(10.75t)]2[0.25t/(1-0.75t)]^2. Independence gives GS(t)=[0.25t/(10.75t)]4G_S(t)=[0.25t/(1-0.75t)]^4, the PGF of the trial count for the fourth success. Thus P(S=s)=(s13)(0.25)4(0.75)s4P(S=s)=\binom{s-1}{3}(0.25)^4(0.75)^{s-4} for s=4,5,6,s=4,5,6,\ldots. In particular, P(S=5)=(43)(0.25)4(0.75)=4(1/256)(3/4)=3/256P(S=5)=\binom43(0.25)^4(0.75)=4(1/256)(3/4)=3/256.
3
  • GX(t)=(0.6+0.4t)3G_X(t)=(0.6+0.4t)^3
  • GS(t)=GX(t)GY(t)G_S(t)=G_X(t)G_Y(t) by independence
  • GY(t)=GS(t)/GX(t)=e1.7(t1)G_Y(t)=G_S(t)/G_X(t)=e^{1.7(t-1)}
  • YPo(1.7)Y\sim\operatorname{Po}(1.7)
  • P(Y2)=1e1.7(1+1.7)P(Y\geq2)=1-e^{-1.7}(1+1.7)
  • P(Y2)=0.507P(Y\geq2)=0.507 to 33 significant figures
6
(6 marks)6
Notes
For XB(3,0.4)X\sim B(3,0.4), GX(t)=(0.6+0.4t)3G_X(t)=(0.6+0.4t)^3. Independence gives GS(t)=GX(t)GY(t)G_S(t)=G_X(t)G_Y(t), so division by GX(t)G_X(t) yields GY(t)=e1.7(t1)G_Y(t)=e^{1.7(t-1)}. This is the probability generating function of Po(1.7)\operatorname{Po}(1.7). Therefore P(Y2)=1P(Y=0)P(Y=1)=1e1.7(1+1.7)=0.5067544851P(Y\geq2)=1-P(Y=0)-P(Y=1)=1-e^{-1.7}(1+1.7)=0.5067544851\ldots, which is 0.5070.507 to 33 significant figures.

Tier 3 · Hard

Mark scheme for FS1-7.3 Tier 3 · Hard
QuestionSchemeMarks
1
  • SS is negative binomial with r=2r=2, p=0.4p=0.4
  • P(S>5)=0.33696P(S>5)=0.33696
7
(7 marks)7
Notes
GS(t)=(0.4t10.6t)2G_S(t)=\left(\dfrac{0.4t}{1-0.6t}\right)^2, the PGF of the trial of the second success. Hence P(S>5)=1s=25(s11)(0.4)2(0.6)s2=0.33696P(S>5)=1-\sum_{s=2}^{5}\binom{s-1}{1}(0.4)^2(0.6)^{s-2}=0.33696.
2
  • GX(t)=e0.8(t1)G_X(t)=e^{0.8(t-1)}, GY(t)=e1.6(t1)G_Y(t)=e^{1.6(t-1)} and GZ(t)=e2.3(t1)G_Z(t)=e^{2.3(t-1)}
  • By independence, GS(t)=GX(t)GY(t)GZ(t)G_S(t)=G_X(t)G_Y(t)G_Z(t)
  • GS(t)=e(0.8+1.6+2.3)(t1)=e4.7(t1)G_S(t)=e^{(0.8+1.6+2.3)(t-1)}=e^{4.7(t-1)}
  • SPo(4.7)S\sim\operatorname{Po}(4.7)
  • P(S7)=1e4.7s=064.7ss!P(S\geq7)=1-e^{-4.7}\displaystyle\sum_{s=0}^{6}\dfrac{4.7^s}{s!}
  • P(S7)=0.1954P(S\geq7)=0.1954 to 44 decimal places
6
(6 marks)6
Notes
The three PGFs are e0.8(t1)e^{0.8(t-1)}, e1.6(t1)e^{1.6(t-1)} and e2.3(t1)e^{2.3(t-1)}. Independence gives GS(t)=e(0.8+1.6+2.3)(t1)=e4.7(t1)G_S(t)=e^{(0.8+1.6+2.3)(t-1)}=e^{4.7(t-1)}, the PGF of Po(4.7)\operatorname{Po}(4.7). Therefore P(S7)=1P(S6)=1e4.7s=064.7s/s!=0.1953949169P(S\geq7)=1-P(S\leq6)=1-e^{-4.7}\sum_{s=0}^{6}4.7^s/s!=0.1953949169\ldots, which rounds to 0.19540.1954.
3
  • GX(t)=(1/2+t/2)3G_X(t)=(1/2+t/2)^3
  • GY(t)=3t/(85t)G_Y(t)=3t/(8-5t)
  • GS(t)=(1/2+t/2)33t/(85t)G_S(t)=(1/2+t/2)^3\,3t/(8-5t) by independence
  • P(S=4)=375/32768+225/4096+45/512+3/64P(S=4)=375/32768+225/4096+45/512+3/64
  • P(S=4)=6591/32768P(S=4)=6591/32768
  • P(X=2,S=4)=P(X=2,Y=2)=45/512P(X=2,S=4)=P(X=2,Y=2)=45/512
  • P(X=2S=4)=(45/512)/(6591/32768)=960/2197P(X=2\mid S=4)=(45/512)/(6591/32768)=960/2197
7
(7 marks)7
Notes
The two probability generating functions are (1/2+t/2)3(1/2+t/2)^3 and 3t/(85t)3t/(8-5t); the latter is normalised because GY(1)=3/(85)=1G_Y(1)=3/(8-5)=1. Independence gives GS(t)=(1/2+t/2)33t/(85t)G_S(t)=(1/2+t/2)^3\,3t/(8-5t). The coefficient of t4t^4 is the convolution over (X,Y)=(0,4),(1,3),(2,2),(3,1)(X,Y)=(0,4),(1,3),(2,2),(3,1): 375/32768+225/4096+45/512+3/64=6591/32768375/32768+225/4096+45/512+3/64=6591/32768. The event X=2X=2 together with S=4S=4 requires Y=2Y=2, and its probability is [(32)/23][(3/8)(5/8)]=45/512[\binom32/2^3][(3/8)(5/8)]=45/512. Therefore the conditional probability is (45/512)/(6591/32768)=960/2197(45/512)/(6591/32768)=960/2197.
4
  • GX(t)=(2/3+t/3)2G_X(t)=(2/3+t/3)^2
  • GY(t)=(1/2+t/2)4G_Y(t)=(1/2+t/2)^4
  • GS(t)=(2/3+t/3)2(1/2+t/2)4G_S(t)=(2/3+t/3)^2(1/2+t/2)^4 by independence
  • The two distinct linear factors have roots 2-2 and 1-1, whereas a non-degenerate binomial PGF has only one repeated root
  • P(S=3)=P(X=0,Y=3)+P(X=1,Y=2)+P(X=2,Y=1)P(S=3)=P(X=0,Y=3)+P(X=1,Y=2)+P(X=2,Y=1)
  • P(S=3)=1/9+1/6+1/36P(S=3)=1/9+1/6+1/36
  • P(S=3)=11/36P(S=3)=11/36
7
(7 marks)7
Notes
Independence gives the product GS(t)=(2/3+t/3)2(1/2+t/2)4G_S(t)=(2/3+t/3)^2(1/2+t/2)^4. A binomial PGF (1p+pt)n(1-p+pt)^n with 0<p<10<p<1 is a power of one linear factor, but this product has distinct roots 2-2 and 1-1, so it is not binomial. The t3t^3 coefficient is the convolution over (X,Y)=(0,3),(1,2),(2,1)(X,Y)=(0,3),(1,2),(2,1), giving (4/9)(1/4)+(4/9)(3/8)+(1/9)(1/4)=1/9+1/6+1/36=11/36(4/9)(1/4)+(4/9)(3/8)+(1/9)(1/4)=1/9+1/6+1/36=11/36.
5
  • GS(t)=GX(t)GY(t)G_S(t)=G_X(t)G_Y(t) by independence
  • GS(t)=t(3+t2)3/64G_S(t)=t(3+t^2)^3/64
  • GS(t)=(27t+27t3+9t5+t7)/64G_S(t)=(27t+27t^3+9t^5+t^7)/64
  • The set of possible values of SS is {1,3,5,7}\{1,3,5,7\}
  • P(S5)=(9+1)/64P(S\geq5)=(9+1)/64
  • P(S5)=5/32P(S\geq5)=5/32
6
(6 marks)6
Notes
Independence gives GS(t)=GX(t)GY(t)=t(3+t2)3/64G_S(t)=G_X(t)G_Y(t)=t(3+t^2)^3/64. Direct expansion gives GS(t)=(27t+27t3+9t5+t7)/64G_S(t)=(27t+27t^3+9t^5+t^7)/64, so the non-zero coefficients show that the support is {1,3,5,7}\{1,3,5,7\}. Adding the coefficients of t5t^5 and t7t^7 gives P(S5)=(9+1)/64=5/32P(S\geq5)=(9+1)/64=5/32.