Discrete probability distributions and expectation
IB Mathematics: Analysis and Approaches SL· Unit 4: Statistics & Probability, Topic 6· 15 min read
1. Discrete Random Variables and Valid Distributions★★☆☆☆⏱ 4 min
Discrete random variable
A variable that takes a countable set of distinct values, where each value corresponds to a random outcome.
Example:
Number of heads in 3 coin flips, number of customers entering a shop per hour
A discrete probability distribution is described by a probability mass function (PMF) , which gives the probability of the random variable taking each value . For a PMF to be valid, it must satisfy two core conditions:
All probabilities satisfy
The sum of all probabilities equals 1:
A random variable has PMF for , and 0 otherwise. Find the value of that makes this a valid distribution.
- 1
Use the condition that the sum of all probabilities must equal 1:
- 2
- 3
Substitute the PMF into the equation:
- 4
- 5
Solve for , then check all probabilities are between 0 and 1:
- 6
Exam tip:
Always check both conditions (sum to 1, all probabilities between 0 and 1) when asked to find a constant in an exam.
2. Expectation of a Discrete Distribution★★☆☆☆⏱ 5 min
Expected Value (Expectation)
or
The long-run average value of the random variable over many repeated trials, calculated as a weighted average of outcomes weighted by their probability.
For any discrete random variable , expectation is calculated with the formula:
For the valid distribution for , calculate the expected value of .
- 1
Substitute into the expectation formula:
- 2
- 3
Simplify the sum:
- 4
3. Common Pitfalls
Wrong move:
Only checking that probabilities sum to 1 when finding a constant , ignoring the condition
Why:
Solving for can give a value that produces negative probabilities or probabilities greater than 1
Correct move:
Always verify that all individual probabilities are between 0 and 1 after solving for
Wrong move:
Calculating expectation as an unweighted average of values, ignoring their probabilities
Why:
Confusing the sample mean of data with the expected value of a distribution
Correct move:
Always multiply each by its probability before summing to get expectation
Wrong move:
Expecting expectation to always be one of the possible values of
Why:
Thinking expectation is a possible outcome, not a long-run average
Correct move:
It is completely acceptable for expectation to be a non-integer or value not in the sample space of
4. Quick Reference Cheatsheet
Concept | Formula | Exam Note |
|---|---|---|
Valid PMF | , | Check both conditions |
Expectation | Weighted average of outcomes | |
Linear Expectation | Always holds for any constants |
Going deeper
What's Next
This sub-topic lays the foundation for all named discrete probability distributions you will study next in IB AA SL, including the binomial distribution. The expectation rules you learned here apply directly to these distributions, and you can use them to derive the standard formulas for named distributions. These concepts also form the basis for statistical inference, where you use sample statistics to estimate unknown population parameters like the true population mean. Mastery of these calculation methods is required for almost all probability questions on both Paper 1 and Paper 2 of the IB AA SL exam.
