Discrete Random Variables
Edexcel International A-Level Mathematics· 2018 Issue 3 S1 §5· 25 min read
1. What is a Discrete Random Variable?★☆☆☆☆⏱ 5 min
✓ Calculator OK
Discrete Random Variable (DRV)
A variable that takes a countable set of distinct numerical values, each associated with a probability of occurrence, from the outcome of a random experiment.
Example:
The score rolled on a 6-sided die, number of heads in 2 coin flips
Discrete variables have clear gaps between possible values (e.g. you cannot roll a 2.5 on a standard die). Continuous random variables are out of scope for S1 and covered in S2. Non-numerical discrete outcomes (e.g. card suits, colours) must be assigned numerical values to be modelled as DRVs.
State which of the following are discrete random variables: (a) Height of a randomly selected student, (b) Number of cars passing a checkpoint in 10 minutes, (c) Suit of a randomly drawn playing card.
- 1
Check if the variable is numerical and countable. (a) Height is a continuous measurement with no distinct countable values → not a DRV.
- 2
(b) Number of cars takes distinct integer values 0, 1, 2, ... → countable and numerical, so it is a DRV.
- 3
(c) Suit is non-numerical (hearts, diamonds, etc.) → not a numerical variable, so not a DRV without value assignment.
2. Probability Function and Cumulative Distribution Function★★☆☆☆⏱ 7 min
✓ Calculator OK
Probability Function (p(x))
Gives the probability that the discrete random variable X takes the specific value x. All p(x) values satisfy 0 ≤ p(x) ≤ 1 and the sum of all p(x) over all possible x equals 1.
The cumulative distribution function (CDF) calculates the total probability of all outcomes up to a given value. It is a non-decreasing function that ranges from 0 (for values below the minimum possible X) to 1 (for values above the maximum possible X).
Cumulative Distribution Function (F(x))
Sum of all probability values for outcomes of X that are less than or equal to x₀.
A discrete random variable X has the probability function p(x) = kx for x = 1, 2, 3. (a) Find the value of k. (b) Find F(2), the CDF at x=2.
- 1
Use the rule that the sum of all p(x) values equals 1:
- 2
- 3
Solve for k: k = 1/6
- 4
Calculate F(2) as the sum of p(1) and p(2):
- 5
3. Expected Value and Variance of DRVs★★★☆☆⏱ 7 min
✓ Calculator OK
Expected Value (E(X)) and Variance (Var(X))
E(X) is the long-run mean of the DRV. Var(X) measures the spread of the distribution around the mean, and is always non-negative.
For linear transformations of the form Y = aX + b where a and b are constants, two key rules apply: the mean scales by a and shifts by b, while variance only scales by the square of a (the constant b does not affect spread).
E(aX + b) = aE(X) + b
Var(aX + b) = a² Var(X)
A DRV X has E(X) = 4 and Var(X) = 3. A new variable Y is defined as Y = 2X - 5. Calculate (a) E(Y), (b) Var(Y).
- 1
Apply the linear expectation rule:
- 2
- 3
Apply the linear variance rule, ignoring the constant -5:
- 4
4. Discrete Uniform Distribution★★★☆☆⏱ 6 min
✓ Calculator OK
Discrete Uniform Distribution
A DRV X follows a discrete uniform distribution if it takes n distinct integer values, each with equal probability 1/n. The most common example is the score from rolling a fair n-sided die.
For a discrete uniform distribution over values 1, 2, ..., n, the mean and variance can be derived from first principles and should be memorised for S1 (they are not provided in the formula booklet):
E(X) = (\frac{n+1}{2})
Var(X) = (\frac{n^2 - 1}{12})
A fair 8-sided die is rolled, with score X following a discrete uniform distribution over values 1 to 8. Calculate (a) E(X), (b) Var(X), (c) P(X ≤ 5).
- 1
For n=8, apply the discrete uniform mean formula:
- 2
- 3
Apply the discrete uniform variance formula:
- 4
- 5
Each value has probability 1/8, so sum probabilities for x=1 to 5:
- 6
5. Common Pitfalls
Wrong move:
Treating non-numerical discrete outcomes as discrete random variables
Why:
DRVs require numerical values to calculate mean and variance, which cannot be computed for non-numerical data.
Correct move:
Assign numerical values to non-numerical outcomes (e.g. let X=1 for heads, X=0 for tails) before modelling as a DRV.
Wrong move:
Forgetting to square the coefficient a when calculating Var(aX + b)
Why:
Variance measures squared deviation from the mean, so scaling X by a scales deviation by a, so variance scales by a².
Correct move:
Always apply Var(aX + b) = a² Var(X), ignoring the constant b entirely.
Wrong move:
Calculating CDF as P(X < x) instead of P(X ≤ x)
Why:
The standard Edexcel S1 definition of F(x) is the cumulative probability up to and including the given x value.
Correct move:
Sum all p(x) values for x ≤ the given value when calculating F(x).
Wrong move:
Using binomial or Poisson distribution formulas for S1 discrete distribution questions
Why:
Binomial and Poisson distributions are out of scope for S1; only the discrete uniform is a permitted named distribution in this unit.
Correct move:
Derive all probabilities from first principles unless explicitly told the distribution is discrete uniform.
Wrong move:
Calculating Var(X) as E(X) - [E(X)]² instead of E(X²) - [E(X)]²
Why:
Missing the square on the X term is a common arithmetic slip that leads to incorrect negative variance values.
Correct move:
Always compute E(X²) (sum of x² multiplied by p(x)) first before subtracting the square of the mean to find variance.
6. Quick Reference Cheatsheet
Concept | Formula / Rule | Exam Note |
|---|---|---|
Discrete Random Variable | 0 ≤ p(x) ≤ 1, Σp(x) = 1 | Only numerical values qualify |
CDF F(x₀) | P(X ≤ x₀) = Σ_{x ≤ x₀} p(x) | Non-decreasing, ranges 0 to 1 |
Expected Value | E(X) = Σ x p(x) | E(aX + b) = aE(X) + b |
Variance | Var(X) = E(X²) - [E(X)]² | Var(aX + b) = a² Var(X) |
Discrete Uniform (1 to n) | E(X)=(n+1)/2, Var(X)=(n²-1)/12 | Derive if range does not start at 1 |
7. Frequently Asked
Do I need to memorise the discrete uniform mean and variance formulas?
Yes, these are not provided in the Edexcel formula booklet for S1. You can also derive them from first principles using the general E(X) and Var(X) definitions if needed.
Does the constant b in Y=aX+b affect variance?
No. The constant b only shifts the mean of the distribution, it does not change the spread, so it is ignored when calculating Var(aX+b) = a²Var(X).
Going deeper
What's Next
You have now mastered all discrete random variable content required for Edexcel IAL S1. This topic forms the foundation for all further discrete distribution content in S2, including binomial and Poisson distributions, which are tested heavily in both AS and A2 exams. This topic typically accounts for 8-12% of marks in your S1 exam, so practice past paper questions to build speed and accuracy. Ensure you can apply all linear transformation rules and CDF calculations quickly before moving to more advanced statistics topics.
