OCR · A-Level · Further Mathematics

    Overview guide · Check your current course specification before revising.

    Probability Generating Functions

    Master one of the most powerful tools in A-Level Further Maths. This guide breaks down Probability Generating Functions (PGFs), showing you how to encode entire distributions into a single function, then differentiate to find the mean and variance. It’s your key to unlocking top marks in OCR exam questions on discrete distributions.

    • 6 min read
    • 3 worked examples
    • 5 practice questions
    • 6 key terms

    Study Notes

    Overview

    Probability Generating Functions (PGFs) are a cornerstone of advanced probability theory, covered in section 3.6 of the OCR A-Level Further Mathematics specification. A PGF is a sophisticated way to represent a discrete probability distribution. Instead of working with a table of probabilities, we encode the entire distribution into a single polynomial or power series, G(t). The magic of PGFs lies in their ability to simplify complex calculations. By differentiating G(t) and evaluating it at t=1, candidates can swiftly calculate the mean and variance of the distribution. Furthermore, PGFs provide an elegant method for finding the distribution of the sum of independent random variables using the convolution theorem. Exam questions typically require candidates to derive PGFs for standard distributions (like Binomial, Poisson, and Geometric), use them to find moments, and apply the convolution theorem to solve problems. Mastery of PGFs demonstrates a deep understanding of the algebraic structure of probability, a skill highly rewarded by examiners.

    Key Concepts

    Concept 1: The Definition and Purpose of a PGF

    A Probability Generating Function, G(t), is a power series that ‘encodes’ the probability mass function (PMF) of a discrete random variable X. It is defined as:

    G(t) = E(tˣ) = Σ P(X=x) * tˣHere, the summation is over all possible values, x, that the random variable X can take. The variable ‘t’ is a dummy variable, a placeholder that allows us to create this function. Think of it as a clothes hanger: the hanger (t) isn't the important part; it's the clothes (the probabilities and values of X) that it holds in a structured way. The primary purpose is to transform a sequence of probabilities into a single, manageable function. A crucial property, and a key exam check, is that G(1) = 1, because substituting t=1 reduces the sum to Σ P(X=x), which is the sum of all probabilities and must equal 1.

    Example: A biased coin shows heads with probability p=1/3. Let X=1 for heads and X=0 for tails. The PMF is P(X=1)=1/3 and P(X=0)=2/3. The PGF is:
    G(t) = P(X=0)t⁰ + P(X=1)t¹ = (2/3) * 1 + (1/3) * t = (2+t)/3.

    Concept 2: Extracting Moments (Mean and Variance)

    This is the most common application of PGFs in exams. By differentiating G(t) with respect to t and evaluating at t=1, we can find the moments of the distribution.

    • The Mean (Expected Value): The first derivative gives the mean.
      E(X) = G'(1)
    • The Variance: This requires the first and second derivatives.
      First, the second derivative gives the second factorial moment: E[X(X-1)] = G''(1). This is a very common point of error; G''(1) is NOT E(X²). From this, we find Var(X) using the formula:
      Var(X) = G''(1) + G'(1) - [G'(1)]²Credit is often awarded for explicitly stating this variance formula before substitution.

    Extracting Moments from a PGFOpen full-size image (opens in a new tab)

    Concept 3: The Convolution Theorem

    This theorem is used for finding the distribution of the sum of two or more independent random variables. If Z = X + Y, where X and Y are independent, the PGF of Z is simply the product of the PGFs of X and Y.

    **G_Z(t) = G_X(t) * G_Y(t)**This is a powerful shortcut. For example, if you have two independent Poisson variables, X ~ Po(λ₁) and Y ~ Po(λ₂), you can find the distribution of their sum Z = X + Y by multiplying their PGFs. The result is the PGF for a Po(λ₁ + λ₂) distribution, saving you a much more complex convolution calculation.

    The Convolution Theorem for PGFsOpen full-size image (opens in a new tab)

    Mathematical Relationships

    Below are the key formulas and PGFs for standard distributions. Candidates should be able to derive these but are strongly advised to memorise them for exam efficiency.

    DistributionPMF: P(X=x)PGF: G(t)Mean E(X)Variance Var(X)Status
    Bernoulli(p)p for x=1, q for x=0q + ptppqMust memorise
    Binomial(n,p)(nCx) pˣ qⁿ⁻ˣ(q + pt)ⁿnpnpqMust memorise
    Poisson(λ)e⁻ˡ λˣ / x!e^(λ(t-1))λλMust memorise
    Geometric(p)qˣ⁻¹ p (for x=1,2,...)pt / (1-qt)1/pq/p²Must memorise
    Negative Binomial(r,p)(x-1Cr-1) pʳ qˣ⁻ʳ(pt / (1-qt))ʳr/prq/p²Given on formula sheet

    Key Moment Formulas:

    • E(X) = G'(1) (Must memorise)
    • Var(X) = G''(1) + G'(1) - [G'(1)]² (Must memorise)

    Key Transformation Formula:

    • For Z = aX + b, G_Z(t) = tᵇ * G_X(tᵃ) (Must memorise)

    Practical Applications

    While PGFs are largely a theoretical tool in A-Level, they have significant real-world applications in fields that model discrete events, particularly where sums of variables are involved.

    • Queueing Theory: In call centres or network traffic analysis, the number of arrivals in a given interval might be modelled by a Poisson distribution. PGFs can be used to analyse the total number of arrivals over several intervals or the properties of waiting times.
    • Genetics: The number of offspring carrying a certain gene can be modelled as a random variable. PGFs are used in branching processes to model population growth over generations, calculating the probability of eventual extinction or survival of a genetic line.
    • Insurance Risk: An insurance company might model the number of claims for different policy types using different distributions. PGFs allow them to combine these to find the distribution of the total number of claims, which is crucial for calculating capital reserves.

    Check what you remember

    Read the wording for your board, then hide it and explain Probability Generating Function (PGF) in your own words. Rough notes are fine. This is a self-check, with no mark or grade.

    Reference: OCR

    For a discrete random variable X, the PGF is G(t) = E(tˣ) = Σ P(X=x)tˣ, where the sum is over all values x that X can take.
    OCR

    Visual Resources

    2 diagrams and illustrations

    PGF Problem Solving Workflow
    PGF Problem Solving Workflow
    Standard PGF Reference Table
    Standard PGF Reference Table

    Interactive Diagrams

    2 interactive diagrams to visualise key concepts

    Conceptual Flow Outline

    Define X: discrete random variable\nwith PMF P(X=x)
    ➔Write PGF definition\nG(t) = Σ P(X=x)·tˣ
    Write PGF definition\nG(t) = Σ P(X=x)·tˣ
    ➔Is it a standard\ndistribution?
    Is it a standard\ndistribution?
    ➔"Yes"Use known PGF formula\n(Binomial, Poisson, Geometric)
    ➔"No"Substitute PMF and\nsum the series
    Use known PGF formula\n(Binomial, Poisson, Geometric)
    ➔Verify: G(1) = 1 ✓
    Substitute PMF and\nsum the series
    ➔Verify: G(1) = 1 ✓
    Verify: G(1) = 1 ✓
    ➔Differentiate: find G'(t)
    Differentiate: find G'(t)
    ➔Evaluate G'(1) = E(X)\n→ Mean
    Evaluate G'(1) = E(X)\n→ Mean
    ➔Differentiate again: find G''(t)
    Differentiate again: find G''(t)
    ➔Evaluate G''(1) = E[X(X−1)]\n→ Second factorial moment
    Evaluate G''(1) = E[X(X−1)]\n→ Second factorial moment
    ➔State variance formula\nVar(X) = G''(1) + G'(1) − [G'(1)]²
    State variance formula\nVar(X) = G''(1) + G'(1) − [G'(1)]²
    ➔Calculate Var(X)

    A flowchart showing the complete workflow for solving a typical PGF problem, from definition to calculating the variance.

    Conceptual Flow Outline

    Standard PGF\nReference
    ➔Bernoulli(p)\nG(t) = q + pt
    ➔Binomial B(n,p)\nG(t) = (q + pt)ⁿ
    ➔Poisson(λ)\nG(t) = e^(λ(t−1))
    ➔Geometric(p)\nG(t) = pt/(1−qt)
    ➔Neg. Binomial(r,p)\nG(t) = (pt/(1−qt))ʳ
    Bernoulli(p)\nG(t) = q + pt
    ➔Mean = p\nVar = pq
    Binomial B(n,p)\nG(t) = (q + pt)ⁿ
    ➔Mean = np\nVar = npq
    Poisson(λ)\nG(t) = e^(λ(t−1))
    ➔Mean = λ\nVar = λ
    Geometric(p)\nG(t) = pt/(1−qt)
    ➔Mean = 1/p\nVar = q/p²
    Neg. Binomial(r,p)\nG(t) = (pt/(1−qt))ʳ
    ➔Mean = r/p\nVar = rq/p²

    A concept map linking the standard discrete distributions to their PGFs and key moments. Essential for quick recall in an exam.

    Worked Examples

    3 worked examples — open one to explore the question and available guidance.

    Practice Questions

    Try the question, then reveal an answer plan or example response

    Q1

    A fair four-sided die is numbered 1, 2, 3, 4. The result of a single roll is the random variable X. Find the probability generating function of X.

    3 marks
    foundation

    Hint: The probability of each outcome is the same. Write down the PMF first, then use the definition G(t) = Σ P(X=x)tˣ.

    Q2

    A random variable X has PGF G(t) = (0.4 + 0.6t)¹⁰. Identify the distribution of X, stating its parameters, and find E(X).

    3 marks
    standard

    Hint: Does this PGF match one of the standard forms you have memorised? Compare it to G(t) = (q + pt)ⁿ.

    Q3

    The random variable Y has PGF G(t) = e^(4(t-1)). Use differentiation to find the variance of Y.

    5 marks
    standard

    Hint: You need to find G'(t) and G''(t), evaluate them at t=1, and then substitute into the full variance formula.

    Q4

    Let X be a random variable with PGF G_X(t). A second random variable is defined as Y = 2X + 3. Find the PGF of Y, G_Y(t), in terms of G_X(t).

    2 marks
    challenging

    Hint: Use the scaling rule for linear transformations: G_aX+b(t) = tᵇ G_X(tᵃ).

    Q5

    A discrete random variable X has PGF G(t) = (1/35)(1 + 4t + 10t² + 20t³). Find the mode of X.

    3 marks
    challenging

    Hint: The PGF is a polynomial in t. What do the coefficients of the powers of t represent? The mode is the value of X with the highest probability.

    Ready to test yourself interactively?

    Active recall beats reading alone. Answer questions on Probability Generating Functions with instant AI scoring and mark scheme guidance.

    Start interactive practice

    A week of Premium from your first lesson · Then the free plan continues · No card, no charge

    Exam technique

    How to turn what you know into marks

    How to approach the question

    1. **Identify the distribution**: Is it given, or do you need to derive the PGF from a PMF? 2. **Identify the goal**: Are you finding moments, identifying a sum, or using the scaling rule? 3. **Write down the formula**: Before you do anything, write the PGF definition, the variance formula, or the convolution theorem. This secures method marks. 4. **Execute the maths**: Differentiate, multiply, or substitute carefully. 5. **State the conclusion**: Explicitly state the mean, variance, or the name and parameters of the resulting distribution.

    How to structure your answer

    For a 3-mark 'find the mean' question: 1 mark for G'(t), 1 mark for evaluating G'(1), 1 mark for the final answer. For a 6-mark 'find mean and variance' question: 1 mark for G'(t), 1 mark for mean, 1 mark for G''(t), 1 mark for stating the variance formula, 1 mark for substituting into it, 1 mark for the final variance.

    Timing

    Approximately 1.8 minutes per mark in a standard 1 hour 45 minute paper for 100 marks. A 6-mark question should take about 10-11 minutes.

    Common pitfalls

    • Confusing G''(1) with E(X²). Remember, G''(1) = E[X(X-1)]. This is the most frequent error.
    • Forgetting the + G'(1) term in the variance formula. Write the formula down every single time to avoid this.
    • Algebraic errors when differentiating quotients, like the PGF for the Geometric distribution. Use the quotient rule slowly and methodically.
    • When identifying a sum of distributions, just writing 'Poisson' is not enough. You must state the parameter, e.g., 'Z ~ Poisson(λ₁+λ₂)' for full marks.
    • Forgetting the tᵇ factor in the scaling rule G_aX+b(t) = tᵇ G_X(tᵃ).

    What the command words want

    Compare
    Not typically used for PGFs.
    Describe
    Not common for PGFs, but would mean to explain the properties of the function or distribution.
    Identify
    After finding a new PGF (e.g., from a sum), you must state the name of the distribution and its parameters that correspond to that PGF.
    Explain/Show that
    Provide a step-by-step derivation. For 'Show G(1)=1', you must substitute t=1 and demonstrate that the sum of probabilities is 1.
    State/Give/Write down
    No working needed, just the answer. Often used for recalling a standard PGF.
    Calculate/Find/Determine
    Show all your working, including differentiation and substitution, to arrive at a numerical answer.
    Watch or listen (optional)
    🎙 Podcast Episode
    Probability Generating Functions
    0:00-0:00

    Test your understanding of Probability Generating Functions

    Active recall beats re-reading. Take an instant quiz now to test what you’ve learned and lock it into long-term memory.

    Take topic quiz

    A week of Premium from your first lesson · Then the free plan continues · No card, no charge