Paper 5. Probability distribution tables, expectation and variance, the binomial distribution, and the geometric distribution.
Written for the 2026–2027 syllabus · 5 min read
5.4 Discrete random variables
Probability distributions
A discrete random variable takes separate values, each with a probability. A probability distribution lists them, and the probabilities add to 1.
k+2k+3k+4k=1, so k=0.1.
To draw up a table from a situation, list every possible value of X first, then work out each probability. Check that they total 1.
Expectation and variance
x
1
2
3
P(X=x)
0.2
0.5
0.3
E(X)=0.2+1.0+0.9=2.1
∑x2p=0.2+2.0+2.7=4.9, so Var(X)=4.9−2.12=0.49.
The binomial distribution
X∼B(n,p) counts the number of successes in n trials. It is suitable when:
There is a fixed number of trials, n.
Each trial has two outcomes, success and failure.
The trials are independent.
The probability p of success is constant.
P(X=2)=(210)(0.3)2(0.7)8=45×0.09×0.05765=0.233
P(X≥1)=1−P(X=0)=1−0.710=0.972
Inequalities
Translate the words carefully:
Words
Means
For B(10,p)
At most 2
X≤2
Add P(0)+P(1)+P(2)
Fewer than 2
X≤1
Add P(0)+P(1)
At least 2
X≥2
1−P(0)−P(1)
More than 2
X≥3
1−P(0)−P(1)−P(2)
Finding the number of trials
1−0.7n>0.95⇒0.7n<0.05⇒n>ln0.7ln0.05=8.4
So n=9. The inequality reverses because ln0.7 is negative.
The geometric distribution
X∼Geo(p) counts the number of trials up to and including the first success. There is no upper limit. The trials are independent, with constant probability of success, as for the binomial, but with no fixed number of them.
Getting the first success on trial r needs r−1 failures, then one success.
These two results come from the same idea:
P(X>r)=(1−p)rP(X≤r)=1−(1−p)r
P(X>r) is the probability that the first r trials are all failures.
P(X=3)=(65)261=21625=0.116
P(X>4)=(65)4=0.482E(X)=6
Which distribution?
Question
Distribution
How many successes in a fixed number of trials?
Binomial
How many trials until the first success?
Geometric
When a question combines distributions
A common type of question has two levels: first, the probability for one group, then a binomial on the number of groups.
For one bag: P(good)=10(0.9)9(0.1)+(0.9)10=0.3874+0.3487=0.7361.