Expected value and expected numbers
What this lesson covers
- An expected number is the probability multiplied by the number of trials.
- Expected value is a long-run average, so it need not be a possible single outcome.
What to expect
- A probability says how likely.
- An expected number says how many.
- An expected value says how much, on average.
Expected number: n × p
- 11% buy a warranty.
- Expected number = n × p.
- n = 400, p = 0.11
- expected = n × p
- = 400 × 0.11
- = 44 customers
Try it: expected is not guaranteed
Expected is not guaranteed
- Another 400 customers might give 40, or 49.
- 44 is the long-run average.
- Say "about 44" or "expected".
A game: $2.50 to roll a die
- A 6 wins $9.
- A 4 or 5 wins $2.
- Anything else wins nothing.
| Outcome | P | Win |
|---|---|---|
| Roll a 6 | 1/6 | $9 |
| Roll a 4 or 5 | 2/6 | $2 |
| Roll 1, 2 or 3 | 3/6 | $0 |
Try it: play it a thousand times
The expected value of the game
- Σ prize × probability.
- Then subtract the cost.
- E(win) = 9 × 1/6 + 2 × 2/6
- + 0 × 3/6
- = 1.5 + 0.6667 + 0
- = $2.1667
- E(net) = 2.1667 − 2.50subtract the cost
- = −$0.3333about −33c a game
You never lose exactly 33 cents
- No game loses exactly 33c.
- A long-run average.
- roll 6: 9 − 2.50 = $6.50
- roll 4, 5: 2 − 2.50 = −$0.50
- roll 1–3: 0 − 2.50 = −$2.50
- E(net) = 6.50 × 1/6 − 0.50 × 2/6
- − 2.50 × 3/6
- = 1.0833 − 0.1667 − 1.25
- = −$0.33as before
Is it a fair game?
- Fair means E(net) = 0.
- Fee: E(win), to the cent.
- fair: E(net) = 0
- E(win) − fee = 0
- fee = $2.1667
- ≈ $2.17to the cent
- 2.1667 − 2.17 = −0.0033a third of a cent
Expected numbers from a tree
- P comes from the tree.
- Round to whole people.
- P(warranty) = 0.11from the tree
- expected = 250 × 0.11
- = 27.5
- about 28 customerspeople are whole
Round in context
- People and days are whole numbers.
- Money is to the cent.
- Keep full accuracy until the final answer.
| Value | Because | Report |
|---|---|---|
| 27.5 customers | people are whole | about 28 |
| 2.64 late days | days are whole | about 3 |
| $2.1667 per game | money | $2.17 |
Where the marks are
- Achieved: an expected number.
- Merit: an expected value using a tree.
- Excellence: interpreting it, and its limits.
What to take away
- N × p for numbers; Σ value × p for value.
| Expected number | n × p |
| Expected value | Σ value × probability |
| Net | subtract the cost |
| Meaning | a long-run average |
| Rounding | whole things in context, money to cents |
Common mistakes
- E = 9 × 1/6 + 2 × 2/6 = $2.17, so the player wins on average.That is the expected winnings. Subtract the $2.50 cost: E(net) = 2.1667 − 2.50 = −$0.33 a game.
- E(net) = −$0.33, so you lose 33 cents every game.No single game loses 33c. It is the long-run average loss per game over many games.
- 250 × 0.11 = 27.5, so 27.5 customers will buy a warranty.People are whole, so say about 28 customers are expected; another 250 customers could give a different number.
- Fair fee: 2.1667 rounds to $2.20.Money is given to the cent, so the fair fee is $2.17. At $2.20 the player would lose about 3c a game.
Your turn: four questions
- Question 2: subtract the ticket price.
- Round sensibly in context.
P(defect) = 0.035. How many defects in 2000 items?
500 tickets at $5, prizes $500 and $200. E(net)?
P(late) = 0.12 a day. Late days in 22 days?
P(claim) 0.02, pays $3000, premium $80. Profit?
Show answer
1. 0.035 × 2000 = 70. 2. E(win) = 700 ÷ 500 = $1.40, so E(net) = 1.40 − 5 = −$3.60. 3. 0.12 × 22 = 2.64, about 3 days. 4. Expected payout 0.02 × 3000 = $60, so $80 − $60 = $20 expected profit per policy.
The answers: questions 1 and 2
- 1. expected = 2000 × 0.035
- = 70 defects
- 2. P(each prize) = 1/500
- E(win) = 500 × 1/500
- + 200 × 1/500
- = 1 + 0.40 = $1.40
- E(net) = 1.40 − 5 = −$3.60per ticket
The answers: questions 3 and 4
- 3. expected = 22 × 0.12
- = 2.64
- about 3 daysdays are whole
- 4. E(payout) = 3000 × 0.02
- = $60
- profit = 80 − 60 = $20per policy
Sample question: Achieved
The probability that a morning flight from Wellington to Christchurch is delayed is 0.14. How many delayed flights would you expect over 30 mornings?
Hint
Expected number = n × p.
Answer
About 4 delayed flights (4.2)
Step by step
- Recall the rule: expected number = number of trials × probability, n × p.
- Here each morning is one trial, so n = 30. The probability of a delay is p = 0.14.
- Multiply: 30 × 0.14 = 4.2.
- Flights are whole things, so you cannot have 4.2 delays. Say about 4.
- Expected does not mean guaranteed: one month might have 2 delays and another 7. 4.2 is the long-run average.
- Check: 0.14 is a bit more than 1 in 10, and 1 in 10 of 30 is 3, so a bit more than 3 is sensible.
Full working
- n = 30, p = 0.14
- expected = 30 × 0.14 = 4.2n × p
- about 4 delayed flights
Sample questions: Merit
At a school gala, a spinner game costs $4 a go. The spinner lands on red with probability 0.25 and pays $10, on blue with probability 0.35 and pays $3, and otherwise pays nothing. Find the expected net gain for a player. What price would make the game fair, and how much profit should the stall expect from 300 plays at $4?
Hint
Find E(win) = Σ prize × probability first, then subtract the cost. A fair game has an expected net gain of 0.
Answer
E(net) = −$0.45; a fair price is $3.55; the stall expects about $135 profit
Step by step
- Set out the outcomes with their probabilities: red 0.25 pays 10, blue 0.35 pays 3, other 0.40 pays 0.
- Check the probabilities add to 1: 0.25 + 0.35 + 0.40 = 1. Good.
- Recall: expected value = Σ value × probability.
- E(win) = 10 × 0.25 + 3 × 0.35 + 0 × 0.40 = 2.50 + 1.05 + 0 = $3.55.
- The player paid $4, so E(net) = 3.55 − 4 = −$0.45. On average the player loses 45 cents a go.
- Fair means the expected net gain is 0, so the price must equal E(win): $3.55.
- The stall gains what the players lose: $0.45 a play on average. Over 300 plays that is 300 × 0.45 = $135.
- The classic mistake is to forget the cost and say the player expects to gain $3.55.
- Check: no single play ever loses exactly 45 cents. It is a long-run average over many plays.
Full working
- E(win) = 10 × 0.25 + 3 × 0.35 + 0 × 0.40 = 3.55Σ value × probability
- E(net) = 3.55 − 4 = −0.45subtract the cost
- fair price = $3.55fair means E(net) = 0
- stall profit = 300 × 0.45 = $135
- E(net) = −$0.45; fair price $3.55; $135 profit
A bag holds 3 red and 2 blue marbles. A player pays $3 and takes two marbles without replacement. Two reds win $6, one of each colour wins $2, and two blues win nothing. Show that the game is fair.
Hint
Draw a tree for the two draws. The second-draw probabilities change because the first marble is not put back.
Answer
P(two red) = 0.3, P(one of each) = 0.6, P(two blue) = 0.1; E(win) = $3 = the cost, so E(net) = 0 and the game is fair
Step by step
- Fair means the expected net gain is 0, so we must show E(win) is exactly $3.
- Draw a tree. First draw: red 35, blue 25.
- Without replacement, the bag has 4 marbles for the second draw. After a red: red 24, blue 24. After a blue: red 34, blue 14.
- Multiply along each path. Red, red: 35 × 24 = 620 = 0.3. Blue, blue: 25 × 14 = 220 = 0.1.
- One of each has two paths: red then blue 35 × 24 = 0.3, and blue then red 25 × 34 = 0.3. Add them: 0.6.
- Check the tree: 0.3 + 0.6 + 0.1 = 1.
- E(win) = 6 × 0.3 + 2 × 0.6 + 0 × 0.1 = 1.8 + 1.2 = $3.
- E(net) = 3 − 3 = 0, so the game is fair.
- The classic mistake is to use 35 again on the second draw. That treats the marble as if it went back in.
- Another one: forgetting that "one of each" can happen in two orders.
Full working
- P(RR) = 35 × 24 = 0.3without replacement
- P(one of each) = 35 × 24 + 25 × 34 = 0.6two orders, so add
- P(BB) = 25 × 14 = 0.1
- E(win) = 6 × 0.3 + 2 × 0.6 + 0 × 0.1 = 3Σ value × probability
- E(net) = 3 − 3 = 0, so the game is fair
Sample questions: Excellence
A phone insurer pays $900 if a phone is stolen (probability 0.03 a year) and $250 if it is damaged (probability 0.08 a year). Assume a phone cannot be both. The insurer wants an expected profit of $15 a policy. Find the yearly premium, and the expected profit from 4000 policies. Hence, keeping that premium, find the largest damage payout that still gives an expected profit of at least $10 a policy. Give one limitation of these expected values.
Hint
Expected profit = premium − expected payout. Find the expected payout first, then set up an inequality with the damage payout as the unknown.
Answer
Premium $62; $60,000 from 4000 policies; damage payout at most $312.50
Step by step
- The insurer's profit on a policy is the premium minus whatever it pays out. So find the expected payout first.
- Recall: expected value = Σ value × probability. The two claims cannot both happen, so their parts simply add.
- Expected payout = 900 × 0.03 + 250 × 0.08 = 27 + 20 = $47.
- For $15 expected profit: premium − 47 = 15, so the premium is $62.
- Over 4000 policies, the expected profit is 4000 × 15 = $60,000.
- Hence part: call the new damage payout d. The expected payout becomes 27 + 0.08d.
- The expected profit is 62 − 27 − 0.08d = 35 − 0.08d, and we need 35 − 0.08d ≥ 10.
- So 0.08d ≤ 25 and d ≤ 25 ÷ 0.08 = 312.5. The largest payout is $312.50.
- Check: 62 − 27 − 0.08 × 312.5 = 62 − 27 − 25 = 10. Exactly 10, as wanted.
- Limitation: these are long-run averages. In one year the actual profit could be much lower if more phones are stolen than 3%, for example after a burglary spree.
- Another limitation: the probabilities 0.03 and 0.08 come from past data and may not hold for new customers.
Full working
- E(payout) = 900 × 0.03 + 250 × 0.08 = 47Σ value × probability
- premium = 47 + 15 = $62
- 4000 × 15 = $60,000
- 62 − (27 + 0.08d) ≥ 10new damage payout d
- 0.08d ≤ 25, d ≤ 312.5
- $62; $60,000; d ≤ $312.50
At a fair, a player pays $3 and rolls two dice. A total of 7 wins x dollars, a double wins $5, and anything else wins nothing. Find x so the game is fair. The organisers instead want to raise about $200 from 400 plays. What should x be then? Explain whether the $200 is guaranteed.
Hint
List the 36 equally likely outcomes. A double can never total 7, so the two prizes cannot both happen.
Answer
Fair: x = $13; to raise $200 from 400 plays: x = $10; the $200 is an expected amount, not guaranteed
Step by step
- Two dice give 36 equally likely outcomes.
- A total of 7: (1,6), (2,5), (3,4), (4,3), (5,2), (6,1). That is 6 outcomes, so P(7) = 636 = 16.
- A double: (1,1) up to (6,6). Also 6 outcomes, so P(double) = 16. A double totals an even number, so it can never be 7.
- E(win) = x × 16 + 5 × 16 = x + 56.
- Fair means E(win) equals the cost: x + 56 = 3, so x + 5 = 18 and x = 13.
- For the fundraiser: $200 from 400 plays is 200 ÷ 400 = $0.50 a play. So the player's E(net) must be −0.50.
- That means E(win) = 3 − 0.50 = 2.50: x + 56 = 2.5, so x + 5 = 15 and x = 10.
- Check: with x = 10, E(win) = 106 + 56 = 156 = 2.50, so the organisers keep 0.50 a play.
- Not guaranteed: $200 is a long-run average. With only 400 plays, a lucky run of 7s could leave the organisers with much less.
- The classic mistake is to count a double 7 or to use P(7) = 111, treating the 11 totals as equally likely. They are not.
Full working
- P(7) = 636 = 16, P(double) = 636 = 16a double is never 7
- E(win) = x + 56Σ value × probability
- x + 56 = 3, x = 13fair: E(win) = cost
- 200 ÷ 400 = 0.50 a play, so E(win) = 2.50
- x + 56 = 2.5, x = 10
- x = 13 for fair; x = 10 to raise about $200
Practise this
Report a mistake
More in AS 91267
Probability: when to add and when to multiply7 min
Two-way tables and conditional probability6 min
Probability trees from written information, forwards and backwards8 min
Expected value and expected numbers7 min
Relative risk: above 1, below 1, and evaluating a claim7 min
The normal distribution: probabilities and z-values8 min
Inverse normal: finding a value, the mean or the standard deviation8 min
Comparing distributions: shape, centre and spread7 min
Probability rules: 7 exam questions solved step by step10 min
Two-way tables: 7 exam questions solved step by step10 min
Probability trees: 7 exam questions solved step by step10 min
Expected value: 7 exam questions solved step by step10 min
Relative risk: 7 exam questions solved step by step9 min
Normal distribution: 7 exam questions solved step by step10 min
Inverse normal: 7 exam questions solved step by step10 min
Comparing distributions: 7 exam questions solved step by step10 minIs your child on track?
Take the free placement test