Probability Generating Functions Revision Notes

    Subject: Further Mathematics | Level: A-Level | Exam Board: OCR

    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.

    Revision Notes & Key Concepts

    ![Header image for Probability Generating Functions](https://xnnrgnazirrqvdgfhvou.supabase.co/storage/v1/object/public/study-guide-assets/guide_3f0e928d-1658-402d-b473-a12162b896da/header_image.png) ## 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. ![Podcast: Mastering Probability Generating Functions](https://xnnrgnazirrqvdgfhvou.supabase.co/storage/v1/object/public/study-guide-assets/guide_3f0e928d-1658-402d-b473-a12162b896da/probability_generating_functions_podcast.mp3) ## 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 PGF](https://xnnrgnazirrqvdgfhvou.supabase.co/storage/v1/object/public/study-guide-assets/guide_3f0e928d-1658-402d-b473-a12162b896da/pgf_moments_diagram.png) ### 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 PGFs](https://xnnrgnazirrqvdgfhvou.supabase.co/storage/v1/object/public/study-guide-assets/guide_3f0e928d-1658-402d-b473-a12162b896da/pgf_convolution_diagram.png) ## 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. | Distribution | PMF: P(X=x) | PGF: G(t) | Mean E(X) | Variance Var(X) | Status | | :--- | :--- | :--- | :--- | :--- | :--- | | **Bernoulli(p)** | p for x=1, q for x=0 | `q + pt` | `p` | `pq` | Must memorise | | **Binomial(n,p)** | `(nCx) pˣ qⁿ⁻ˣ` | `(q + pt)ⁿ` | `np` | `npq` | Must memorise | | **Poisson(λ)** | `e⁻ˡ λˣ / x!` | `e^(λ(t-1))` | `λ` | `λ` | Must memorise | | **Geometric(p)** | `qˣ⁻¹ p` (for x=1,2,...) | `pt / (1-qt)` | `1/p` | `q/p²` | Must memorise | | **Negative Binomial(r,p)** | `(x-1Cr-1) pʳ qˣ⁻ʳ` | `(pt / (1-qt))ʳ` | `r/p` | `rq/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.

    Key Terms & Definitions

    Probability Generating Function (PGF)
    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.
    Moment
    A quantitative measure of the shape of a probability distribution. The first moment is the mean. The second central moment is the variance.
    Factorial Moment
    The r-th factorial moment of X is E[X(X-1)...(X-r+1)]. The second factorial moment, E[X(X-1)], is found from G''(1).
    Convolution Theorem
    If X and Y are independent random variables, the PGF of their sum Z = X + Y is the product of their individual PGFs: G_Z(t) = G_X(t) * G_Y(t).
    PMF (Probability Mass Function)
    A function that gives the probability that a discrete random variable is exactly equal to some value. P(X=x).
    Dummy Variable
    A variable, such as 't' in G(t), that is used as a placeholder in a function and is not one of the variables being measured.

    Worked Examples

    Practice Questions

    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
    Examples
    5
    Questions
    6
    Key Terms
    🎙 Podcast Episode
    Probability Generating Functions
    0:00-0:00

    Study Notes

    Header image for Probability Generating Functions

    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.

    Podcast: Mastering Probability Generating Functions

    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 PGF

    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 PGFs

    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.

    Visual Resources

    4 diagrams and illustrations

    Extracting Moments from a PGF
    Extracting Moments from a PGF
    The Convolution Theorem for PGFs
    The Convolution Theorem for PGFs
    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

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

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

    Worked Examples

    3 detailed examples with solutions and examiner commentary

    Practice Questions

    Test your understanding — click to reveal model answers

    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.

    Key Terms

    Essential vocabulary to know