Statistics
Expected Value
Lesson
A discrete random variable can take a finite list of values, each with its own probability. The list of (value, probability) pairs is a probability distribution — and the probabilities must sum to 1.
The expected value of is its weighted average — multiply each value by its probability, then add:
Think of as the long-run average per trial. If you played a game many times, your average outcome would approach the expected value. A “fair game” is one where the expected profit (after the cost to play) is 0.
Worked example 1
A die roll. = the number rolled. Each value 1–6 has probability .
Worked example 2 — game with a cost
You pay $5 to play. You win $20 with probability 0.2, otherwise you win nothing. What’s the expected profit?
Profit on each outcome subtracts the $5 cost:
On average, you lose $1 per play — not a fair game.
How to type your answer
A single number. Use a decimal point or a fraction. Examples: 3.5, 0, -1, 1.7.
Practice
Work through these. Stuck? Click Get a hint.
Warm-Up
Quick problems to get going.
Problem 1
Problem 2
Problem 3
Problem 4
Practice
Standard problems matching the lesson.
Problem 5
Problem 6
Problem 7
Problem 8
Problem 9
Problem 10
Problem 11
Problem 12
Problem 13
Problem 14
Challenge
Harder problems — edge cases, trickier numbers, multiple steps.
Problem 15
Problem 16
Problem 17
Problem 18
Problem 19
Problem 20
Problem 21
Problem 22