A discrete random variable takes separate values, each with a probability. Drawing up its table from a situation, using the fact that the probabilities add to 1, and calculating \(\text{E}(X)\) and \(\text{Var}(X)\) are core Paper 5 skills.
The probabilities in a distribution add up to 1. \(\text{E}(X) = \sum x\,p\) is the long-run mean, and \(\text{Var}(X) = \sum x^2 p - \left[\text{E}(X)\right]^2\) measures the spread: the same 'mean of the squares minus the square of the mean' as for data.
Fig. 1: X is the larger score when two fair dice are thrown. P(X = x) = (2x − 1)/36, and the six probabilities add up to 36/36 = 1
Section 01
Probabilities add to one.
A probability distribution lists every value a discrete random variable \(X\) can take, with its probability. Because one of the values must occur, \(\sum \text{P}(X = x) = 1\). This single fact finds any unknown constant.
Worked example Finding a constant
The random variable \(X\) has \(\text{P}(X = x) = kx\) for \(x = 1, 2, 3, 4\). Find \(k\) and \(\text{P}(X \ge 3)\).
\(k(1) + k(2) + k(3) + k(4) = 1\), so \(10k = 1\) and \(k = 0.1\).
Forgetting that \(\text{P}(X \ge 3)\) includes 3. 'At least 3' and 'more than 2' are the same event for whole-number values; 'more than 3' is not.
Section 02
Drawing up the table.
Most questions describe a situation and ask you to draw up the distribution. List the possible values first, then find each probability (with a tree, a sample space or combinations), and check that the total is 1.
Worked example Counters without replacement
A bag holds 4 red and 2 green counters. Two are taken at random without replacement. \(X\) is the number of green counters taken. Draw up the probability distribution of \(X\).
Which is the correct formula for \(\text{Var}(X)\)?
Quick check+10 XP
Which of these could NOT be a probability distribution?
Section 03
Expectation and variance.
\(\text{E}(X)\) is what the average value of \(X\) would settle to over many trials. Multiply each value by its probability and add. For the variance, find \(\text{E}(X^2) = \sum x^2 p\) the same way, then subtract the square of \(\text{E}(X)\).
Worked example From a formula
For \(\text{P}(X = x) = 0.1x\), \(x = 1, 2, 3, 4\), find \(\text{E}(X)\) and \(\text{Var}(X)\).
Stopping at \(\text{E}(X^2)\), or writing \(\text{Var}(X) = \text{E}(X^2) - \text{E}(X)\). The expectation must be SQUARED before subtracting.
Section 04
Games and profit.
In a game, let \(X\) be the profit (winnings minus the cost to play). \(\text{E}(X) < 0\) means the player loses on average; \(\text{E}(X) = 0\) is a fair game.
Worked example Is it worth playing?
It costs $1.50 to throw a fair die once. A six wins $5, a 4 or 5 wins $1, and anything else wins nothing. Find the expected profit and its variance.