sciandu
Mathematics

Mathematics

Expected value

Is a game worth playing in the long run? A single number answers that, and insurance companies live off it.

At the fairground a ticket costs 2 €. Every twentieth ticket pays back 30 €, otherwise nothing. Is that worth it? A single ticket says nothing about it, because you either win or you do not. It only gets interesting across many tickets, and there is one number for that view: the expected value.

A weighted average

In an ordinary average every value counts the same. In an expected value every value counts as much as it is likely. So you multiply every possible outcome by its probability and add everything up. That is exactly why it is also called a weighted average: rare outcomes pull little, frequent ones pull a lot.

E=x1p1+x2p2++xnpnE = x_1 \cdot p_1 + x_2 \cdot p_2 + \dots + x_n \cdot p_n
Every possible value times its probability, all added together.

Back to the ticket. With probability 120\frac{1}{20} you receive 30 €, with 1920\frac{19}{20} you receive 0 €. The expected payout is 30120+01920=1.5030 \cdot \frac{1}{20} + 0 \cdot \frac{19}{20} = 1.50 €. But you pay 2 €, so on average you lose 50 cents per ticket. Over 100 tickets that is 50 €, and that is exactly what the stall lives on.

Fair games

A game is called fair when the expected value of the profit is exactly 0. Then stake and payout balance out in the long run and nobody has an advantage. For our ticket the expected profit is 1.502=0.501.50 - 2 = -0.50 €, so the game is not fair. To be fair the ticket could cost at most 1.50 €, or the prize would have to be 40 €.

Marble bag
Blue3
Yellow5
P(Blue) = 3/8 = 37.5%
Set 2 blue and 8 yellow marbles, the bag shows P(blue) = 20%. Imagine a game with it: blue pays 5 €, yellow pays nothing. The expected value is then 50.2=15 \cdot 0.2 = 1 €, and exactly 1 € would be a fair stake. Push it to 5 blue and 5 yellow: 20% becomes 50%, the expected value rises to 2.50 €, and a fair stake would now be 2.50 €.

What this is really for

Expected values are the basis of every insurance policy. If a loss of 5000 € occurs with a probability of 0.2%, the expected loss is 50000.002=105000 \cdot 0.002 = 10 €. That is exactly how the premium is calculated, plus administration and profit. For the individual policyholder that is a losing deal on paper, and still sensible: you trade a small certain minus for protection against a rare but ruinous loss.

Exercises

0 of 6 solved

Time to try it yourself. You can't break anything, every attempt counts.

How do you work out an expected value?

A game pays out exactly 8 € with probability 0.25, otherwise 0 €. What is the expected payout in euros?

When rolling a fair die: what is the expected value of the number thrown?

A game is fair when the expected profit is .

A ticket costs 3 €. With probability 0.1 you win 20 €, otherwise nothing. What is the expected profit in euros?

Match each expected profit to the right assessment.

E=0E = 0
E=0.80E = -0.80
E=+1.20E = +1.20