๐ Key ideas of this section
Expected count = number of tries ร probability Expected value E = add up (each prize ร its probability) A game is FAIR when E = cost โ and you can solve backward for the fair prize.
P(heads) = 1/2, but flip a coin 10 times and you might get 7 heads. Nothing is broken โ probability never promised you exactly half of a small batch. It promises the long run. Ten flips could be anything; 100 flips will usually land pretty close to 50 heads. The more tries, the closer reality gets to the fraction. The next flip, though, is never promised โ coins have no memory and no plans.
Expected count. If you repeat an experiment n times, with probability p of success each time:
expected count = n ร p
- ยทRoll a die 60 times: expect 60 ร 1/6 = 10 sixes.
- ยทSpin a spinner with P(red) = 3/8 forty times: expect 40 ร 3/8 = 15 reds.
- ยทFlip two coins 20 times: expect 20 ร 1/4 = 5 double-heads.
"Expect" doesn't mean "guaranteed" โ it means "the long-run average." Reality wiggles around it, and bigger batches wiggle less (as a fraction of the total).
Expected value: the money version. Different outcomes often pay different prizes, so a plain count isn't enough. Weigh each prize by its probability and add the pieces. The result E is the average win per play in the long run:
Game: roll a die; win 5 points on a 6, otherwise 0. E = 5 ร P(6) + 0 ร P(not 6) E = 5 ร 1/6 + 0 ร 5/6 = 5/6 โ 0.83 points per play
Now say the game costs 1 point to play. You pay 1 and collect 5/6 on average โ a bad deal. Over 12 games: expect 12 ร 1/6 = 2 wins โ 2 ร 5 = 10 points won, but 12 paid โ about 2 points down in the long run. That's the math behind every carnival game, lottery, and casino on Earth.
(Mathematicians write this recipe with the Greek letter โ โ sigma โ which just means "add them all up": E = โ (prize ร its probability). Same idea, fancier outfit.)
Worked example โ when is a game FAIR? When E equals the cost. Same die game, but the prize is 12 points for a 6:
E = 12 ร 1/6 + 0 ร 5/6 = 2 points per play
A cost of exactly 2 points is fair: in the long run nobody gains and nobody loses. Charge more than 2 and the house profits; charge less and YOU profit.
Worked example โ two prizes at once. A spinner pays 4 points on red (P = 1/2), 10 points on blue (P = 1/4), and nothing on green (P = 1/4):
E = 4 ร 1/2 + 10 ร 1/4 + 0 ร 1/4 each prize ร its probability, added E = 2 + 10/4 + 0 multiply each piece E = 2 + 5/2 simplify: 10/4 = 5/2 E = 4/2 + 5/2 = 9/2 = 4.5 โ common denominator 2
A fair cost for this game is 4.5 points per play. (Note the check built into the recipe: 1/2 + 1/4 + 1/4 = 1 โ the probabilities must total 1, or the spinner is missing a color.)
Worked example โ BACKWARD: design the prize. A game has two outcomes, each with probability 1/2: win 2 points, or win p points. The cost is 3 points. What prize p makes the game perfectly fair?
E = cost the fairness equation 2 ร 1/2 + p ร 1/2 = 3 the expected value recipe, with unknown p 1 + p/2 = 3 simplify: 2 ร 1/2 = 1 p/2 = 2 subtract 1 from both sides p = 4 โ multiply both sides by 2
CHECK: E = 2 ร 1/2 + 4 ร 1/2 = 1 + 2 = 3 = cost โ โ perfectly fair.
โ๏ธ Your Turn!
You roll a die 30 times.
- (a)About how many 5s do you expect?
- (b)A game pays 6 points for rolling a 6, and 3 points for rolling a 5, otherwise 0. Find E.
- (c)The game in
- (b)costs 1 point to play. Good deal or bad deal? Prove it.
๐ Show the answers
Answers: (a) 30 ร 1/6 = 5 fives. (b) E = 6 ร 1/6 + 3 ร 1/6 + 0 ร 4/6 = 1 + 1/2 + 0 = 3/2 = 1.5. (c) E = 3/2 > 1 = cost โ a GOOD deal: you expect to gain 1/2 point per play in the long run.