Everything from the 3 lessons of this topic on a few pages: the key idea of each lesson, the diagram to remember, the points to learn and the traps examiners set. Read it, cover it, test yourself.
1Discrete probability distributions, E(X) and Var(X)
Syllabus 5.4
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
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\).
If \(X \sim \text{Geo}(p)\), \(X\) is the number of the trial on which the first success occurs: \(\text{P}(X = r) = p(1 - p)^{r - 1}\) for \(r = 1, 2, 3, \dots\). Also \(\text{P}(X > r) = (1 - p)^{r}\) (the first \(r\) trials all fail) and \(\text{E}(X) = \dfrac{1}{p}\).
Fig. 1: X ~ Geo(0.4) drawn to scale for r = 1 to 8. The most likely value is always r = 1, and the probabilities shrink by the factor 1 − p each time
Worked example: An exact probability
A fair die is thrown until a six appears. Find the probability that the first six occurs on the 4th throw.
\(X \sim \text{Geo}\left(\tfrac{1}{6}\right)\).
Three non-sixes then a six: \(\left(\tfrac{5}{6}\right)^3 \times \tfrac{1}{6}\).
\(= \dfrac{125}{1296}\).
Answer: \(\dfrac{125}{1296} = 0.0965\) (3 s.f.)
Fail \(r - 1\) times, then succeed.
Model: independent trials, constant \(p\), counting up to the first success: \(X \sim \text{Geo}(p)\).