To calculate the expected value of a discrete random variable, multiply each possible value by its probability and add the resulting products. In symbols, .
The Method
The expected value is the probability-weighted mean of all possible values of a discrete random variable. Before calculating it, check that the probability distribution is valid: every probability must be between and , and
Then follow these steps:
- Multiply each outcome by its corresponding probability .
- Add all the products.
- Interpret the result in the context of many repetitions of the experiment.
Because probabilities act as weights, outcomes with larger probabilities have more influence on . The calculation uses every possible outcome, unlike the ordinary mean of the listed values, which would incorrectly treat the outcomes as equally likely.
Worked Example
A game gives a player the following gains, where negative values represent losses.
| Gain | Probability | Product |
|---|---|---|
First, confirm that . Then calculate
The expected gain is therefore units per game. This does not mean the player will gain exactly in one game; it means the mean gain approaches per game over many repetitions.
Expected value also predicts an expected total over repeated trials. If the game is played independent times under the same conditions, the expected total gain is units. This is still not a guaranteed result; random variation means the actual total may differ.
A common misconception is that the expected value must be one of the possible outcomes. It does not: it is a long-run average. In a game, indicates a fair game, while a positive expected value favours the player.
IB Exam Technique
This is SL 4.7: Discrete random variables. Show the substitution into , not only a GDC answer, and interpret the result in context when the command term requires it. Keep full precision until the final answer.
