Discrete random variables
QCE Maths Methods · Unit 3: Probability
Discrete random variables notes
Fact-checked by a second, independent AI review.
Key ideas for discrete random variables in Unit 3: understand X as a discrete random variable, its probability mass function, and how to compute expectation and variance from outcomes. Prepare for table/graph questions and short-answer steps.
- Discrete random variable
- X takes countable values with a probability p(x) for each value; probabilities sum to 1.
- Probability mass function (pmf)
- p(x)=P(X=x) for all possible x; use to compute probabilities and expectations.
- Expectation (mean)
- E[X]=Σ x·P(X=x); a weighted average of outcomes.
- Variance
- Var(X)=E[X^2]−(E[X])^2; measures spread of X around the mean.
- Typical exam tasks
- Find pmf from a table/experiment, compute E[X], Var(X), and use E[aX+b]=aE[X]+b; assess independence if multiple variables are given.
Remember it: Mnemonic: DISCRETE = D, I = Iden tify x-values, S = Sum x·p(x), C = Compute E[X], R = Var via E[X^2], E = Expected value, T = Tables/graphs, E = Examine.”
Exam tip: Markers look for correct pmf representation, proper use of sums over all possible values, correct E[X] and Var(X) calculations, and clear justification of steps rather than just numbers.
Syllabus checklist
- Discrete random variables: core ideas
- Terms and typical exam questions for "Probability" in QCE Mathematical Methods Units 3&4
Practice questions
1. A fair six-sided die is rolled. Let X be the outcome. What is P(X ≤ 3)?
Answer checked
Show answer
Answer: 0.5. There are 3 outcomes (1,2,3) out of 6, so 3/6 = 0.5.
2. True or False: If X takes values 0 and 1 with probabilities 0.7 and 0.3, E[X] = 0.3.
Answer checked
Show answer
Answer: True. E[X] = 0 × (0.7) + 1 × (0.3) = 0.3.
3. A discrete random variable X has P(X=2)=0.25 and P(X=5)=0.75. The expected value E[X] = ____.
Answer checked
Show answer
Answer: 4.25. E[X] = 2(0.25) + 5(0.75) = 0.5 + 3.75 = 4.25.
4. If X ∈ {0,1,2} with P = {0.5,0.3,0.2}, what is Var(X)?
Answer checked
Show answer
Answer: 0.61. E[X] = 0(0.5)+1(0.3)+2(0.2)=0.7; E[X²]=0+0.3+4(0.2)=1.1; Var=1.1−0.7²=0.61.
5. Compute the median of X when X ∈ {2,4,6} with equal probabilities.
Answer checked
Show answer
Answer: 4. With equal probabilities, the middle value 4 is the median.

Practise discrete random variables as a game
Hearts, combos, streaks and an AI tutor that explains every answer. Start free.