HL AA · Statistics and Probability

Discrete probability distributions — expectation and variance (IB Math AA HL)

Updated October 2026

Quick answer: For a discrete random variable, the probabilities add to 1, E(X) = Σ x P(X = x) and Var(X) = E(X²) − [E(X)]², where E(X²) = Σ x² P(X = x). For a linear change, E(aX + b) = aE(X) + b and Var(aX + b) = a²Var(X).

E(X), Var(X), and the shortcut Var(X) = E(X²) - [E(X)]². HL AA Paper 1 tests these algebraically without a GDC.

Practise Discrete probability distributions — expectation and variance with AI marking

Open the full HL AA engine — every question in this unit is worked through with instant AI-graded feedback on your handwritten workings.

Practise HL AA Statistics and Probability →

Key ideas

Worked example

The random variable X has P(X = x) = kx for x = 1, 2, 3, 4. Find k, E(X) and Var(X), and hence E(2X + 3) and Var(2X + 3).

  1. k(1 + 2 + 3 + 4) = 1, so 10k = 1 and k = 1/10.
  2. E(X) = (1 × 1 + 2 × 2 + 3 × 3 + 4 × 4) ÷ 10 = 30 ÷ 10 = 3.
  3. E(X²) = (1 × 1 + 4 × 2 + 9 × 3 + 16 × 4) ÷ 10 = 100 ÷ 10 = 10.
  4. Var(X) = 10 − 3² = 1.
  5. E(2X + 3) = 2 × 3 + 3 = 9 and Var(2X + 3) = 2² × 1 = 4.

Answer: k = 1/10, E(X) = 3, Var(X) = 1, E(2X + 3) = 9, Var(2X + 3) = 4.

Exam-style HL AA questions on this topic

Try it now

1 of 5

  1. Question 1 of 5
  2. Question 2 of 5
  3. Question 3 of 5
  4. Question 4 of 5
  5. Question 5 of 5

5 quick questions on discrete random variables. No sign-in needed.

Find \(E(X)\) for the distribution in the table.
\(x\)102050
\(P(X = x)\)\(\frac{7}{10}\)\(\frac{1}{5}\)\(\frac{1}{10}\)
Choose your answer · keys 1–4

Maths IA ideas that use discrete probability distributions

Related in Statistics and Probability

Revise Discrete probability distributions for the exam

Stretch yourself: original probability problems at Senior level (ages 16 to 18), with hints and full solutions: Problem S33 · Problem S106 · Problem S34 · Problem S107. All 20 →

More on this topic

FAQ

How do you find the variance of a discrete random variable?

Find E(X) = Σ x P(X = x) and E(X²) = Σ x² P(X = x), then Var(X) = E(X²) − [E(X)]². Check that the variance is not negative: if it is, there is an arithmetic slip.

Where can I practise discrete probability distributions questions?

On the Advanced Random Variables questions page: 52 exam-style HL AA questions with full mark schemes, plus free step-by-step worked examples.

Can I use my calculator for discrete probability distributions?

In HL AA, Paper 1 is non-calculator and the other papers allow a GDC, so learn the exact method as well as the calculator one.

What else is free here

Save your progress as you reviseA free account remembers the questions you have done on every topic and brings you back to this page.

Join free

Already have an account? Sign in