mastree

Expected value: 7 exam questions solved step by step

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.
Key idea

Two formulas for expected values

  1. Expected number = n × p.
  2. E(X) = Σ x × P(X = x): each value × its probability.
  3. Take off any cost to play.
  4. Round, and explain it in context.
Your turn

Question 1 · Achieved, in context

  • A packhouse grades 2500 kiwifruit.
  • P(undersized) = 0.08
  • How many are expected to be undersized?
Worked example

Q1: expected number

  • Trials × probability.
  • Answer with units.
  1. expected number = n × p
  2. = 2500 × 0.08
  3. = 200
  4. about 200 undersized kiwifruit
  5. not undersized: 2500 − 200 = 2300
Key idea

Try it: expected numbers

Your turn

Question 2 · Achieved

  • A fair spinner pays these prizes.
  • Find the expected prize, E(X).
Prize, xP(X = x)
$00.5
$20.3
$50.15
$200.05
Worked example

Q2: E(X) for the spinner

  • Check the total is 1.
  • Each prize × its probability.
  1. 0.5 + 0.3 + 0.15 + 0.05 = 1
  2. E(X) = Σ x × P(X = x)
  3. = 0 × 0.5 + 2 × 0.3
  4. + 5 × 0.15 + 20 × 0.05
  5. = 0 + 0.6 + 0.75 + 1
  6. = 2.35
  7. expected prize: $2.35 a spin
Key idea

Try it: the long run

Your turn

Question 3 · Merit, in context

  • The school charges $3 a spin.
  • Find the player's expected net gain.
  • Expected profit from 200 spins?
Prize, xP(X = x)
$00.5
$20.3
$50.15
$200.05
Worked example

Q3: subtract the cost

  • E(X) is not the profit.
  • Net = prize − cost.
  1. E(net) = E(X) − cost
  2. = 2.35 − 3
  3. = −0.65
  4. player: −$0.65 a spin on average
  5. school: +$0.65 a spin
  6. 200 × 0.65 = 130
  7. expected profit: $130
Your turn

Question 4 · Merit

  • X = people in a car on the bridge.
  • Find k, then E(X).
  • Explain what E(X) means.
People, xP(X = x)
10.1
20.35
3k
40.2
Worked example

Q4: find k, then E(X)

  • Find k first.
  • E(X) need not be whole.
  1. 0.1 + 0.35 + k + 0.2 = 1total is 1
  2. 0.65 + k = 1add
  3. k = 0.35subtract 0.65
  4. E(X) = 1 × 0.1 + 2 × 0.35
  5. + 3 × 0.35 + 4 × 0.2
  6. = 0.1 + 0.7 + 1.05 + 0.8
  7. = 2.65 people
  8. a long-run average per car
Your turn

Question 5 · Merit, in context

  • A rugby club has 80 players.
  • 60% are forwards, 40% backs.
  • Injured: 15% of forwards, 10% of backs.
  • How many injured players are expected?
Question 5 · Merit, in context
Worked example

Q5: tree, then n × p

  • Find P(injured) first.
  • Round to whole people.
  1. P(F and I) = 0.6 × 0.15 = 0.09
  2. P(B and I) = 0.4 × 0.1 = 0.04
  3. P(I) = 0.09 + 0.04 = 0.13add across
  4. expected = 80 × 0.13
  5. = 10.4
  6. about 10 injured playerswhole people
  7. 48 × 0.15 + 32 × 0.1 = 10.4
Your turn

Question 6 · Excellence

  • A fair stall game costs $4 to play.
  • Find x so the game is fair.
  • Then find x for $1 profit a game.
ResultProbabilityWin
Top prize0.1$x
Money back0.25$4
Nothingthe rest$0
Worked example

Q6: a fair game

  • Fair: E(winnings) = cost.
  • Form an equation in x.
  1. P(nothing) = 1 − 0.1 − 0.25 = 0.65
  2. E(W) = 0.1x + 0.25 × 4 + 0.65 × 0
  3. = 0.1x + 1
  4. 0.1x + 1 = 4fair: E(W) = cost
  5. 0.1x = 3subtract 1
  6. x = 30divide by 0.1
  7. fair top prize: $30
Worked example

Q6: $1 profit a game

  • Profit = cost − E(W).
  • Check the new prize.
  1. E(W) = 0.1x + 1
  2. E(W) = 4 − 1 = 3school keeps $1
  3. 0.1x + 1 = 3
  4. 0.1x = 2, x = 20
  5. check: 0.1 × 20 + 1 = 3
  6. profit: 4 − 3 = $1 a game
  7. top prize: $20
Key idea

Try it: run a fair stall

Your turn

Question 7 · Excellence, in context

  • P(damaging frost this season) = 0.15
  • No fans: a frost costs $40 000.
  • Fans: $5000, and a frost costs $8000.
  • Should the grower hire the fans?
Worked example

Q7: expected cost each way

  • Fans cost $5000 for sure.
  • The frost loss is a chance.
  1. no fans: 0.15 × 40 000 = $6000
  2. fans: 5000 + 0.15 × 8000
  3. = 5000 + 1200 = $6200
  4. 6200 − 6000 = $200fans cost more
  5. 40 000p = 5000 + 8000pbreak-even frost risk
  6. 32 000p = 5000− 8000p
  7. p = 5000 ÷ 32 000 = 0.15625
Worked example

Q7: decide, with reasons

  • E(cost) is a long-run average.
  • One season: look at the worst case.
  1. 0.15 is just under 0.156
  2. no fans: $200 cheaper on average
  3. no fans: lose $0 or $40 000
  4. fans: lose $5000 or $13 000
  5. fans cost $200 more, cap the loss

Common mistakes

  • E(X) = $2.35, so the player gains $2.35 a spin.
    Subtract the $3 cost: the expected net gain is 2.35 − 3 = −$0.65, a loss of 65c a spin.
  • Expected injured = 80 × (0.15 + 0.10) = 20
    Weight each group: P(injured) = 0.6 × 0.15 + 0.4 × 0.10 = 0.13, so 80 × 0.13 = 10.4, about 10 players.
  • E(X) = 2.65, so a car usually has 2.65 people in it.
    E(X) is a long-run average over many cars; no single car carries 2.65 people.
  • Fans cost $5000, which is less than $40 000, so hire them.
    Compare expected costs: 0.15 × 40 000 = $6000 without fans, 5000 + 0.15 × 8000 = $6200 with fans.
Summary

The method that solved all seven

  • Multiply, add, subtract the cost, then explain.
StepHow
Numbern × p, rounded in context
Checkprobabilities add to 1
ValueΣ x × P(X = x)
Netsubtract the cost to play
FairE(winnings) = cost
Meaninga long-run average

Challenge

1

X is the number of goals a Wellington football team scores in a match. P(X = 0) = 0.2, P(X = 1) = a, P(X = 2) = b and P(X = 3) = 0.1, and no other values are possible. The long-run average is 1.4 goals a match. Find a and b. In a season of 30 matches, how many matches are expected to have at least 2 goals?

Hint

Two unknowns need two equations. One comes from the probabilities adding to 1, the other from E(X) = Σ x × P(X = x) = 1.4.

Answer

a = 0.3 and b = 0.4. About 15 of the 30 matches are expected to have at least 2 goals.

Step by step
  1. The probabilities add to 1, so a + b = 0.7.
  2. E(X) = 0 × 0.2 + 1 × a + 2 × b + 3 × 0.1 = 1.4, so a + 2b = 1.1.
  3. Subtract the first equation from the second: b = 0.4, then a = 0.3.
  4. P(X ≥ 2) = 0.4 + 0.1 = 0.5.
  5. Expected number = n × p = 30 × 0.5 = 15 matches.
Full working
  1. 0.2 + a + b + 0.1 = 1, so a + b = 0.7total is 1
  2. a + 2b + 0.3 = 1.4, so a + 2b = 1.1E(X) = 1.4
  3. b = 1.1 − 0.7 = 0.4subtract
  4. a = 0.7 − 0.4 = 0.3
  5. check: 0 + 0.3 + 0.8 + 0.3 = 1.4
  6. P(X ≥ 2) = 0.4 + 0.1 = 0.5add
  7. a = 0.3, b = 0.4; expected 30 × 0.5 = 15 matches
2

A quality inspector tests bottles from a batch one at a time, up to a limit of 3. She stops as soon as she finds a faulty bottle. Each bottle is faulty with probability 0.1, independently. Find the expected number of bottles tested per batch. Each test costs $15: what is the expected testing cost for 200 batches?

Hint

X is the number tested: 1, 2 or 3. She tests exactly 1 if the first is faulty. Be careful with X = 3: she reaches the third bottle whether or not it is faulty.

Answer

E(X) = 2.71 bottles a batch. The expected cost is $40.65 a batch, so $8130 for 200 batches.

Step by step
  1. X = 1 when the first bottle is faulty: 0.1.
  2. X = 2 when the first is fine and the second is faulty: 0.9 × 0.1 = 0.09.
  3. X = 3 when the first two are fine, whatever the third is: 0.9 × 0.9 = 0.81.
  4. Check: 0.1 + 0.09 + 0.81 = 1. Then E(X) = Σ x × P(X = x) = 2.71.
  5. Cost per batch is 15 × 2.71 = $40.65 on average; over 200 batches, 200 × 40.65 = $8130.
Full working
  1. P(X = 1) = 0.1first faulty
  2. P(X = 2) = 0.9 × 0.1 = 0.09fine, then faulty
  3. P(X = 3) = 0.9 × 0.9 = 0.81first two fine
  4. 0.1 + 0.09 + 0.81 = 1check
  5. E(X) = 1 × 0.1 + 2 × 0.09 + 3 × 0.81 = 0.1 + 0.18 + 2.43 = 2.71
  6. E(cost) = 15 × 2.71 = $40.65 a batch$15 a test
  7. 200 batches: 200 × 40.65 = $8130
3

Kiwifruit weights at a packhouse are normal with mean 110 g and standard deviation 9 g. Fruit under 95 g earn nothing, fruit from 95 g to 120 g earn 40c, and fruit over 120 g earn 65c. Find the expected income per fruit. A new feed would raise the mean to 113 g (same standard deviation) and costs $25 per 1000 fruit. Is it worth using?

Hint

Use the normal distribution to find the probability of each grade, then use E(X) = Σ x × P(X = x). Repeat with mean 113 g and compare the gain per 1000 fruit with the cost of the feed.

Answer

About 41.4c per fruit now and 44.5c with the feed. The feed adds about $31 per 1000 fruit, which is more than its $25 cost, so on average it is worth using (about $6 more per 1000 fruit).

Step by step
  1. Find P(under 95 g) and P(over 120 g) with the normal distribution; the middle grade is what is left.
  2. Multiply each income by its probability and add.
  3. Repeat with mean 113 g: fewer small fruit and more large fruit.
  4. The expected income rises by about 3.13c a fruit, or about $31.29 per 1000 fruit.
  5. $31.29 is more than the $25 cost, so the feed is worth it in the long run, by about $6.29 per 1000 fruit.
Full working
  1. μ = 110: P(X < 95) = 0.0478, P(X > 120) = 0.1333normal, σ = 9
  2. P(95 ≤ X ≤ 120) = 1 − 0.0478 − 0.1333 = 0.8189the rest
  3. E = 0 × 0.0478 + 0.40 × 0.8189 + 0.65 × 0.1333 = $0.4142Σ x × P
  4. μ = 113: P(X < 95) = 0.0228, P(X > 120) = 0.2184, middle 0.7589
  5. E = 0.40 × 0.7589 + 0.65 × 0.2184 = $0.4455Σ x × P
  6. gain per 1000 = 1000 × (0.44549 − 0.41420) = $31.29unrounded values
  7. $31.29 > $25: the feed is worth it, about $6.29 more per 1000 fruit

More challenge problems

Practice

Practise this

Worksheet with answersWithout answersDownload PDF
2026 practice paper with worked answersOpen the paper
Report a mistake

More in AS 91267