Discrete random variables and expected value
What a discrete random variable is
- A random variable is a quantity whose value depends on chance (e.g. the score on a die).
- It is discrete when it can only take separate, countable values (0, 1, 2, …) — usually a count.
- A probability distribution lists each value with its probability, often as a table.
- The probabilities must add to 1, because some outcome is certain to happen:
Expected value (the mean)
- The expected value is the long-run average value of the variable — what you'd expect on average over many repeats.
- Multiply each value by its probability and add:
- The expected value does not have to be one of the possible outcomes.
A game's payout (in dollars) has the distribution below. Find the expected payout.
| 0 | 1 | 2 | 3 | |
|---|---|---|---|---|
| 0.1 | 0.3 | 0.4 | 0.2 |
Step 1 — Check the probabilities sum to 1
Step 2 — Multiply each value by its probability and add
The expected payout is $1.70.
Test yourself
Practice by grade
One question each at Achieved, Merit and Excellence. Have a go, then compare with the model answer.
Achieved
A random variable takes values 1, 2, 3 with probabilities 0.2, 0.5, 0.3. Verify the probabilities are valid.
Merit
For the distribution with , find .
Excellence
A game costs $2 to play. You win $5 with probability 0.3 and nothing otherwise. Find the expected profit per game and state whether the game is worth playing.