Maths4UBETA

Maths4U · Learning together

Building and reading generating functions

← Rank-sum tests for independent groupsRecovering distributions and moments →

Work on paper, compare with the solution or mark scheme, and record your result. Submit solutions and files in your teacher’s assignments.

Search & filters

Available tasks: 17

  1. 1
    First successful calibrationMaths4U

    A calibration attempt succeeds with probability 310\frac{3}{10}. Attempts are independent. The random variable XX is the number of attempts made, including the first successful attempt.

    1. Derive the probability generating function of XX.

      [3]
    2. Use the PGF to find E(X)\mathrm E(X).

      [2]
    3. Find the least integer NN for which P(X<N)>0.98\mathrm P(X<N)>0.98.

      [3]
    Exam8 pts
  2. 2
    Failures before a successful transmissionMaths4U

    A transmitter sends independent messages until one is received correctly. Each message succeeds with probability 25\frac{2}{5}. Let FF count only the failed messages before the first success.

    1. State the possible values of FF and derive its PGF.

      [3]
    2. Find P(F=4)\mathrm P(F=4) and P(F≥3)\mathrm P(F\ge3).

      [2]
    3. Find the greatest positive integer nn for which P(F<n)<0.97\mathrm P(F<n)<0.97.

      [2]
    Exam7 pts
  3. 3
    Scheduled checks on three days each weekMaths4U

    A laboratory runs an independent diagnostic check every Monday, Wednesday and Friday, beginning on a Monday. The probability that a check detects a fault is a constant pp. The probability that the first three checks all fail to detect the fault is 0.343. Let XX be the number of checks until the first detection, including that check.

    1. Find pp and derive GX(t)G_X(t).

      [3]
    2. Find the probability that the first detection is on Friday of the second week.

      [2]
    3. Find the least integer NN such that P(X≤N)>0.96\mathrm P(X\le N)>0.96. State the corresponding day and week.

      [3]
    Exam8 pts
  4. 4
    Reading a waiting-time distribution from its PGFMaths4U

    The number XX of independent attempts needed to authenticate a device has PGF

    GX(t)=t4−3t.G_X(t)=\frac{t}{4-3t}.
    1. Expand the PGF as a geometric series and hence find P(X≤3)\mathrm P(X\le3).

      [2]
    2. Find the least integer NN such that P(X<N)>0.99\mathrm P(X<N)>0.99.

      [3]
    Exam5 pts
  5. 5
    Two conditions for a successful trialMaths4U

    Each test of a component is successful only if two independent checks both pass. Their pass probabilities are 2/32/3 and 3/53/5. Tests are independent and identically conducted. Let XX be the number of tests up to and including the first successful test.

    1. Find the PGF of XX.

      [2]
    2. Use the PGF to find the mean number of tests.

      [2]
    3. Given that no success occurs in the first four tests, find the probability that more than nine tests are needed in total.

      [2]
    Exam6 pts
  6. 6
    Recovering a success probability from the varianceMaths4U

    Independent inspections detect a defect with the same probability pp, where 0<p<10<p<1. Let XX be the number of inspections including the first detection. It is known that Var⁡(X)=12\operatorname{Var}(X)=12.

    1. Derive GX(t)=pt1−(1−p)tG_X(t)=\dfrac{pt}{1-(1-p)t}.

      [3]
    2. Use derivatives of the PGF to find E(X)\mathrm E(X) and Var⁡(X)\operatorname{Var}(X) in terms of pp, and hence find pp.

      [4]
    3. Find P(3≤X≤6)\mathrm P(3\le X\le6).

      [2]
    4. Find the least integer NN for which P(X≤N)>0.99\mathrm P(X\le N)>0.99.

      [2]
    Exam11 pts
  7. 7
    A relation between mean and varianceMaths4U

    The number XX of independent searches needed to find a record, including the successful search, has PGF

    GX(t)=pt1−(1−p)t,0<p<1.G_X(t)=\frac{pt}{1-(1-p)t},\qquad 0<p<1.

    It is given that Var⁡(X)=2E(X)\operatorname{Var}(X)=2\mathrm E(X).

    1. Use the PGF to find pp.

      [4]
    2. Find P(X=4∣X>2)\mathrm P(X=4\mid X>2).

      [1]
    3. Find P(2≤X≤5)\mathrm P(2\le X\le5).

      [2]
    Exam7 pts
  8. 8
    Deriving the Poisson generating functionMaths4U

    Let XX have a Poisson distribution with parameter λ>0\lambda>0. You may use the series ez=∑r=0∞zr/r!e^z=\sum_{r=0}^{\infty}z^r/r!.

    1. Starting from the probability mass function, prove that GX(t)=eλ(t−1)G_X(t)=e^{\lambda(t-1)}.

      [3]
    2. Use this PGF to obtain the mean and variance of XX.

      [3]
    3. By evaluating GX(−1)G_X(-1), find the probability that XX is even. Include zero as even.

      [2]
    Exam8 pts
  9. 9
    Factorial moments and a shifted infinite totalMaths4U

    Independent variables XX and YY have PGFs

    GX(t)=t(2−t)3,GY(t)=t2(2−t)2.G_X(t)=\frac{t}{(2-t)^3},\qquad G_Y(t)=\frac{t^2}{(2-t)^2}.

    Let Z=X+YZ=X+Y.

    1. Use the PGF to find E(X)\mathrm E(X) and Var⁡(X)\operatorname{Var}(X).

      [5]
    2. Find P(Z>5)\mathrm P(Z>5) using the PGF of ZZ.

      [5]
    Exam10 pts
  10. 10
    Failures, attempts and independent repetitionsMaths4U

    Independent trials succeed with probability pp, where 0<p<10<p<1. The variable FF counts failures before the first success; T=F+1T=F+1 counts all trials up to that success.

    1. Show from the definition that GF(t)=p1−(1−p)tG_F(t)=\dfrac{p}{1-(1-p)t}.

      [3]
    2. Use GFG_F to derive E(F)\mathrm E(F) and Var⁡(F)\operatorname{Var}(F).

      [4]
    3. Now take p=2/5p=2/5. Let ZZ be the total number of trials in three independent repetitions of the process. Find GZ(t)G_Z(t).

      [3]
    Exam10 pts
  11. 11
    Uniform counts and a conditioned totalMaths4U

    The variable XX is discrete uniform on {0,1,2,3,4}\{0,1,2,3,4\}. Let X1,X2,X3X_1,X_2,X_3 be independent observations of XX, and set S=X1+X2+X3S=X_1+X_2+X_3.

    1. Find GX(t)G_X(t) both as a polynomial and as a single fraction for t≠1t\ne1. State its value at t=1t=1.

      [3]
    2. Use the PGF to find E(X)\mathrm E(X) and Var⁡(X)\operatorname{Var}(X).

      [3]
    3. Use the PGF of SS to find P(S=4)\mathrm P(S=4).

      [3]
    4. Given that S=4S=4, find P(X1=0∣S=4)\mathrm P(X_1=0\mid S=4).

      [3]
    Exam12 pts
  12. 12
    A binomial count plus a Poisson countMaths4U

    A variable XX has distribution Bin⁡(n,p)\operatorname{Bin}(n,p), where nn and pp are unknown, nn is a positive integer and 0<p<10<p<1. Its mean is 4 and its variance is 12/512/5. Independently, YY is Poisson with mean 3/23/2. Let Z=X+YZ=X+Y.

    1. Derive GX(t)G_X(t) in terms of nn and pp.

      [2]
    2. Using the mean and variance, determine nn and pp.

      [3]
    3. Find the PGF of ZZ.

      [2]
    4. Use the PGF to find E(Z)\mathrm E(Z) and Var⁡(Z)\operatorname{Var}(Z).

      [2]
    5. Find P(Z=2)\mathrm P(Z=2) in exact form.

      [3]
    Exam12 pts
  13. 13
    Adding two unequal waiting timesMaths4U

    Independent variables XX and YY count trials up to and including a first success. Their respective success probabilities are 1/21/2 and 2/32/3. Let Z=X+YZ=X+Y.

    1. Find GZ(t)G_Z(t).

      [3]
    2. Use partial fractions and power series to find P(Z=r)\mathrm P(Z=r) for every possible integer rr.

      [4]
    3. Use the PGF to find E(Z)\mathrm E(Z) and Var⁡(Z)\operatorname{Var}(Z).

      [2]
    4. Find P(Z≤4)\mathrm P(Z\le4).

      [2]
    Exam11 pts
  14. 14
    Poisson parameters and the composition of a totalMaths4U

    Independent Poisson variables XX and YY have unknown positive means λ\lambda and μ\mu. It is known that E(X+Y)=5\mathrm E(X+Y)=5 and P(X=0)=[P(Y=0)]4\mathrm P(X=0)=[\mathrm P(Y=0)]^4. Define Z=X+YZ=X+Y.

    1. Find λ\lambda and μ\mu.

      [3]
    2. Find GZ(t)G_Z(t) and identify the distribution of ZZ.

      [2]
    3. Use the PGF to find P(Z=3)\mathrm P(Z=3).

      [2]
    4. Given that Z=3Z=3, find the probability that X=2X=2.

      [4]
    Exam11 pts
  15. 15
    A uniform spinner and a two-spin totalMaths4U

    A spinner returns each integer 1 to 5 with equal probability. Let XX be one result and SS the sum of two independent results.

    1. Find GX(t)G_X(t).

      [2]
    2. Use the PGF to find E(X)\mathrm E(X) and Var⁡(X)\operatorname{Var}(X).

      [2]
    3. Use the PGF of SS to find P(S=7)\mathrm P(S=7).

      [2]
    Exam6 pts
  16. 16
    Independent Poisson counts over several periodsMaths4U

    The number XX of alerts in one monitoring period is Poisson with unknown mean λ\lambda. The probability of no alerts is e−6/5e^{-6/5}. Counts in separate periods are independent. Let SnS_n be the total in nn periods.

    1. Find λ\lambda and GX(t)G_X(t).

      [2]
    2. Find the PGF, mean and variance of SnS_n.

      [3]
    3. Find the least positive integer nn for which P(Sn>0)>0.999\mathrm P(S_n>0)>0.999.

      [2]
    4. Use the PGF to find P(S3=2)\mathrm P(S_3=2).

      [2]
    Exam9 pts
  17. 17
    A capped sequence of attemptsMaths4U

    A test succeeds independently with probability 1/31/3 on each attempt. Testing stops immediately after the first success, or after four attempts if no earlier success has occurred. Let TT be the number of attempts actually made.

    1. Find the probability distribution and PGF of TT. Explain the probability assigned to T=4T=4.

      [4]
    2. Use the PGF to find E(T)\mathrm E(T) and Var⁡(T)\operatorname{Var}(T).

      [4]
    Exam8 pts