IB AA · 8A Discrete Random Variables
A game is fair when your expected gain is 0. The fair charge equals the expected payout.
Your gain
Gain = amount you receive − amount you pay. A loss is a negative gain.
Fair
The game is fair when E(G) = 0.
Find the payment
Put the unknown payment into E(G). Set E(G) = 0 and solve.
The charge
If you receive a payout and then want a fair price, the charge equals the expected payout.
Two outcomes. Decide whether the game is fair.
Let G be your gain.
Heads: you receive $10 and you pay $6.
G = 10 − 6
G = 4
Tails: you receive $2 and you pay $6.
G = 2 − 6
G = −4
E(G) = Σ g P(G = g)
E(G) = 4 × 12 + (−4) × 12
E(G) = 2 − 2
E(G) = 0
The expected gain is 0, so the game is fair.
Answer: fair
Let G be your gain.
Heads: you receive $8 and you pay $5.
G = 8 − 5
G = 3
Tails: you receive $2 and you pay $5.
G = 2 − 5
G = −3
E(G) = Σ g P(G = g)
E(G) = 3 × 12 + (−3) × 12
E(G) = 32 − 32
E(G) = 04
E(G) = 0
The expected gain is 0, so the game is fair.
Answer: fair
Let G be your gain.
Heads: you receive $9 and you pay $5.
G = 9 − 5
G = 4
Tails: you receive $3 and you pay $5.
G = 3 − 5
G = −2
E(G) = Σ g P(G = g)
E(G) = 4 × 12 + (−2) × 12
E(G) = 2 − 1
E(G) = 1
The expected gain is not 0, so the game is not fair.
Answer: not fair, E(G) = 1
Let G be your gain.
Heads: you receive $6 and you pay $4.
G = 6 − 4
G = 2
Tails: you receive nothing and you pay $4.
G = 0 − 4
G = −4
E(G) = Σ g P(G = g)
E(G) = 2 × 12 + (−4) × 12
E(G) = 1 − 2
E(G) = −1
The expected gain is not 0, so the game is not fair.
Answer: not fair, E(G) = −1
Let G be your gain.
Heads: you receive $12 and you pay $8.
G = 12 − 8
G = 4
Tails: you receive $4 and you pay $8.
G = 4 − 8
G = −4
E(G) = Σ g P(G = g)
E(G) = 4 × 12 + (−4) × 12
E(G) = 2 − 2
E(G) = 0
The expected gain is 0, so the game is fair.
Answer: fair
Let G be your gain.
Roll a 6: you receive $12 and you pay $3.
G = 12 − 3
G = 9
Any other roll: you receive nothing and you pay $3.
G = 0 − 3
G = −3
E(G) = Σ g P(G = g)
E(G) = 9 × 16 + (−3) × 56
E(G) = 32 − 52
E(G) = −44
E(G) = −1
The expected gain is not 0, so the game is not fair.
Answer: not fair, E(G) = −1
Find the payment that makes the expected gain 0.
Let G be your gain. A fair game has E(G) = 0.
With probability 14, G = 9.
With probability 34, G = −n.
E(G) = 0
E(G) = 14 × 9 + 34 × (−n)
14 × 9 = 94
94 + 34 × (−n) = 0
34 × (−n) = − 34 × n
94 − 34 × n = 0
34 × n = 94
n = 94 × 43
n = 3612
n = 3
Answer: n = 3
Let G be your gain. A fair game has E(G) = 0.
With probability 14, G = 12.
With probability 34, G = −n.
E(G) = 0
E(G) = 14 × 12 + 34 × (−n)
14 × 12 = 3
3 + 34 × (−n) = 0
34 × (−n) = − 34 × n
3 − 34 × n = 0
34 × n = 3
n = 3 × 43
n = 123
n = 4
Answer: n = 4
Let G be your gain. A fair game has E(G) = 0.
With probability 34, G = 6.
With probability 14, G = −n.
E(G) = 0
E(G) = 34 × 6 + 14 × (−n)
34 × 6 = 92
92 + 14 × (−n) = 0
14 × (−n) = − 14 × n
92 − 14 × n = 0
14 × n = 92
n = 92 × 4
n = 362
n = 18
Answer: n = 18
Let G be your gain. A fair game has E(G) = 0.
With probability 38, G = 10.
With probability 58, G = −n.
E(G) = 0
E(G) = 38 × 10 + 58 × (−n)
38 × 10 = 154
154 + 58 × (−n) = 0
58 × (−n) = − 58 × n
154 − 58 × n = 0
58 × n = 154
n = 154 × 85
n = 12020
n = 6
Answer: n = 6
Let G be your gain. A fair game has E(G) = 0.
With probability 15, G = 20.
With probability 45, G = −n.
E(G) = 0
E(G) = 15 × 20 + 45 × (−n)
15 × 20 = 4
4 + 45 × (−n) = 0
45 × (−n) = − 45 × n
4 − 45 × n = 0
45 × n = 4
n = 4 × 54
n = 204
n = 5
Answer: n = 5
Let G be your gain. A fair game has E(G) = 0.
With probability 13, G = 8.
With probability 23, G = −n.
E(G) = 0
E(G) = 13 × 8 + 23 × (−n)
13 × 8 = 83
83 + 23 × (−n) = 0
23 × (−n) = − 23 × n
83 − 23 × n = 0
23 × n = 83
n = 83 × 32
n = 246
n = 4
Answer: n = 4
Build the distribution of the payout, then find the fair charge.
Let X be the count. The payout is $4 times X.
E(payout) = Σ payout × probability
E(payout) = 0 × 18 + 4 × 38 + 8 × 38 + 12 × 18
E(payout) = 02 + 32 + 62 + 32
E(payout) = 122
E(payout) = 6
Let C be the charge for one game.
Your gain is the payout − C.
E(gain) = E(payout) − C
A fair game has E(gain) = 0.
C = E(payout)
C = 6
Answer: charge $6
Let X be the count. The payout is $2 times X.
E(payout) = Σ payout × probability
E(payout) = 0 × 18 + 2 × 38 + 4 × 38 + 6 × 18
E(payout) = 04 + 34 + 64 + 34
E(payout) = 124
E(payout) = 3
Let C be the charge for one game.
Your gain is the payout − C.
E(gain) = E(payout) − C
A fair game has E(gain) = 0.
C = E(payout)
C = 3
Answer: charge $3
Let X be the count. The payout is $1 times X.
E(payout) = Σ payout × probability
E(payout) = 1 × 16 + 2 × 16 + 3 × 16 + 4 × 16 + 5 × 16 + 6 × 16
E(payout) = 16 + 26 + 36 + 46 + 56 + 66
E(payout) = 216
E(payout) = 72
Let C be the charge for one game.
Your gain is the payout − C.
E(gain) = E(payout) − C
A fair game has E(gain) = 0.
C = E(payout)
C = 72
Answer: charge $3.50
Let X be the count. The payout is $2 times X.
E(payout) = Σ payout × probability
E(payout) = 2 × 14 + 4 × 14 + 6 × 14 + 8 × 14
E(payout) = 12 + 22 + 32 + 42
E(payout) = 102
E(payout) = 5
Let C be the charge for one game.
Your gain is the payout − C.
E(gain) = E(payout) − C
A fair game has E(gain) = 0.
C = E(payout)
C = 5
Answer: charge $5
Let X be the count. The payout is $6 times X.
E(payout) = Σ payout × probability
E(payout) = 0 × 14 + 6 × 12 + 12 × 14
E(payout) = 6
Let C be the charge for one game.
Your gain is the payout − C.
E(gain) = E(payout) − C
A fair game has E(gain) = 0.
C = E(payout)
C = 6
Answer: charge $6
Let X be the count. The payout is $3 times X.
E(payout) = Σ payout × probability
E(payout) = 0 × 115 + 3 × 815 + 6 × 25
E(payout) = 05 + 85 + 125
E(payout) = 205
E(payout) = 4
Let C be the charge for one game.
Your gain is the payout − C.
E(gain) = E(payout) − C
A fair game has E(gain) = 0.
C = E(payout)
C = 4
Answer: charge $4
Want to go over a random variable together?
Book a Session with Amy