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
Practice
Standard problems matching the lesson.
Problem 23
Roll a fair six-sided die. You win dollars equal to the number rolled. What is E(winnings)?
Problem 24
A raffle ticket costs 5 dollars. There is a 1% chance to win 200 dollars; otherwise nothing. What is E(profit) per ticket?
Challenge
Harder problems — edge cases, trickier numbers, multiple steps.
Problem 25
You pay 2 dollars to play. Flip 3 fair coins; you win 1 dollar for each head. What is E(net profit)?
Ask the tutor
Stuck on a concept? Want another example? Ask anything about this topic.
Type your own question below, or tap one of the suggestions. The tutor can re-explain the lesson, work through a specific problem with you, generate fresh practice tuned to where you are, or check your reasoning.
Quiz
Test yourself on this topic →
10 questions, no hints. About 5 minutes.