When a game or decision depends on chance, we cannot predict the next outcome, so we need a way to find what a single try is worth on average over the long run.
1
Expected Value as the Long-Run Average and Balance Point
We want to find the average payout per roll in a dice game where only two outcomes can happen. Suppose you roll a fair six-sided die once: rolling a 6 pays $12, and rolling a 1,2,3,4, or 5 pays $0.
Expected Value as the Long-Run Average and Balance Point
Text solution
Average over 600 rollsOut of 600 rolls, a fair die lands on 6 about 100 times and on 1 through 5 about 500 times, so we find the total winnings and divide by the 600 rolls.
Average per roll=600100×$12+500×$0=600$1,200=$2
Split into probabilitiesSeparating the fraction shows that the 600 rolls cancel out into each outcome's probability, 61 and 65, so we can weight each outcome directly by its probability.
So the expected value of a roll is $2, even though a single roll can only ever pay $0 or $12.
On the number-line beam, the balance point gets pulled toward whichever outcome has more probability blocks. It only sits right in the middle at $6 when the 6 blocks are split evenly, 3 and 3.
The balance point is pulled toward whichever outcome holds more of the 6 blocks, sitting at the $6 midpoint only when the blocks are split 3 and 3.
2
Net Profit and Fair Games
In most games, you don't just collect payouts for free. You have to pay a ticket price upfront to play. We want to find your expected net profit per game after paying that fee, and find the ticket price that makes a game fair so neither side comes out ahead in the long run.
Suppose I charge you a $3 ticket price before you roll in the same dice game ($12 for rolling a 6, and $0 for rolling 1 through 5).
Net Profit and Fair Games
Text solution
Subtract the ticket price from the expected payoutBecause you pay the $3 ticket price on every roll and win back $2 on average, you can subtract the ticket price once at the end.
Expected net profit=expected payout$2−ticket price$3=−$1
Or weight each outcome's net profitSubtracting the $3 ticket price from each payout first gives a net profit of $12−$3=+$9 when you roll a 6 and $0−$3=−$3 when you roll 1 through 5.
Expected net profit=(61×$9)+(65×−$3)=6$9+6−$15=−6$6=−$1
Set expected net profit to $0 for a fair gameA game is fair when neither player comes out ahead in the long run, which happens when the ticket price equals the $2 expected payout.
$2Expected payout−Fair price=$0⟹Fair price=$2
With a $3 ticket, you lose an average of $1 per roll in the long run, so the game is not fair; lowering the ticket price to $2 balances the wins and losses at $0 per roll.
Paying a ticket price shifts the outcome stacks and the balance point to the left by that exact amount. That means the beam balances at $0 net profit only when the ticket price equals the $2 expected payout.
Charging a ticket price shifts every outcome and the balance point left by the exact same amount, so the game breaks even only when the ticket costs the average payout.
3
Warranties, Insurance, and Real-Life Risk
Protection plans and insurance policies work like a game where you pay an upfront price, except there are often more than two outcomes and the probabilities are given as percentages. We want to find the company's average repair cost per customer (their break-even price), your expected net value when you buy a policy, and how to decide when a negative expected value is still worth paying.
Suppose you buy a $1,000 phone and are offered a two-year protection plan for $100. Repair data shows that over two years, 85% of phones need no repairs ($0), 10% need a $200 screen repair, and 5% need a full $1,000 replacement.
Warranties, Insurance, and Real-Life Risk
Text solution
Check that the probabilities add to 1Convert the percentages to decimals and make sure every possible outcome, including nothing going wrong, is included.
0.85+0.10+0.05=1.00
Weight each repair cost by its probabilityMultiply each repair cost by how often it happens and add the products to find the long-run average repair cost per phone.
Subtract the plan price for the buyer's expected net valueThe company breaks even at $70 per phone, so charging $100 gives the company +$30 per plan on average and leaves you with a negative expected net value.
Buyer’s expected net value=expected repair cost$70−plan price$100=−$30
Compare a catastrophic loss (home insurance)If a $400,000 house has a 0.1% (0.001) chance of burning down this year and fire insurance costs $600 a year, we weight the loss the same way.
Expected fire loss⟹Buyer’s expected net value=0.001×$400,000=$400=$400−$600=−$200
Both policies have a negative expected net value for you (−$30 for the phone plan and −$200 for the house policy). Even so, it makes sense to skip the small phone warranty, since your repair costs will average out over a lifetime of buying phones, and buy the house insurance, since you cannot afford a single $400,000 loss.
4
The Expected Value Formula
To find the expected value of a discrete random variable X, we multiply each possible value by its probability and add the products together. You will see that written with a single formula:
The Expected Value Formula
E[X]=μX=∑x⋅P(x)
Every piece of the formula names a step we have already been doing:
The brackets in E[X] and the subscript in μX just name which random variable we are averaging; they do not mean multiplication. On a test, write out the products (x1⋅P(x1)+x2⋅P(x2)+…) before adding them so a single arithmetic slip doesn't hide a correct setup.
Key concepts
Whenever you need the long-run average of a discrete random variable X, weight each possible outcome x by its probability P(x) and add them up:
E[X]=μX=∑x⋅P(x)
Finding the long-run average
Check first that the probabilities add to 1 so the $0 outcome isn't left out, then sum the weighted outcomes. In the dice game, E[X]=(61×$12)+(65×$0)=$2, which is the long-run average per roll over many rolls, never an amount you can win on a single roll.
Accounting for an upfront ticket or plan price
Subtract the fixed price once from the expected payout (or expected benefit) rather than recalculating every outcome:
Expected net profit=E[payout]−Price
For a $3 ticket on a game with a $2 expected payout, your expected net profit is $2−$3=−$1 per game.
Testing for a fair game or finding a break-even price
A game or plan is fair when the expected net profit is $0, which means the price to play equals the expected payout:
Fair price=E[payout]
If a problem gives the ticket price and asks for the jackpot J that makes the game fair, set ∑x⋅P(x)=Price and solve for J.
When not to follow expected value alone
Use expected value to guide decisions when you can afford the worst-case loss and repeat the choice many times (skipping a $100 phone warranty with an expected net value of −$30). Do not rely on expected value alone when the worst-case outcome would bankrupt you (buying a $600 home insurance policy with an expected net value of −$200 to protect yourself from a $400,000 fire loss).
5
Practice
1
A coffee shop runs a promotion where every customer spins a digital wheel for a discount on their drink. The wheel lands on $0 with probability 0.70,$2 with probability 0.20, and $5 with probability 0.10. Let X be the discount amount. Find E[X], and explain whether a customer should expect to get that exact discount on their next spin.
Watch out: taking a simple average 3$0+$2+$5=$2.33 treats all three discounts as equally likely and ignores that $0 happens 70% of the time.
Weight each discount amount by how often the wheel lands on it; then compare your result with the three numbers actually on the wheel.
Multiply each discount x by its probability P(x) and add them together (watch out: taking a simple average 3$0+$2+$5=$2.33 treats all three discounts as equally likely and ignores that $0 happens 70% of the time):
A customer cannot get a $0.90 discount on their next spin because a single spin can only land on $0,$2, or $5;$0.90 is the long-run average discount per spin over many customers.
2
You pay $4 to draw one card at random from a deck of 10 cards numbered 1 through 10. If you draw the 10, you win $20. If you draw an 8 or 9, you win $5. On any other card, you win $0. What is your expected net profit per game, and is the game fair?
Be careful to use 102 rather than 101 for the "8 or 9" payout, which would drop the expected payout to $2.50 and give −$1.50.If you subtract $4 from each outcome first, remember the 7 losing cards net −$4, not $0, or you will get +$1.80.Don't stop at the $3 expected payout: subtract the $4 ticket price to find the expected net profit.
Count how many of the 10 cards give each payout to find the expected payout first, then subtract the $4 ticket price.
Out of 10 cards, 1 card pays $20,2 cards (8 and 9) pay $5, and 7 cards pay $0 (be careful to use 102 rather than 101 for the "8 or 9" payout, which would drop the expected payout to $2.50 and give −$1.50):
Now subtract the $4 ticket price to find the expected net profit (don't stop at the $3 expected payout, and if you subtract $4 from each outcome first, remember the 7 losing cards net −$4, not $0, or you will get +$1.80):
Expected net profit=$3−$4=−$1
Because the expected net profit is −$1 per game instead of $0, the game is not fair.
3
A company sells an $800 e-bike and offers a two-year protection plan for $65. Over two years, 3% of bikes need a $100 battery repair, 2% need a $300 motor repair, 5% are damaged beyond repair and need a full $800 replacement, and the rest need no repairs. Find the company's expected repair cost per bike (the break-even price for the plan) and the buyer's expected net value for buying the $65 plan.
Watch the decimal places: writing 3%,2%, and 5% as 0.3,0.2, and 0.5 multiplies the answer by 10 to give $490.
Convert each percentage to a decimal to find the expected repair cost first, then subtract the $65 plan price from the buyer's perspective.
The remaining 1−(0.03+0.02+0.05)=0.90 of bikes need $0 in repairs. Multiply each repair cost by its decimal probability (watch the decimal places: writing 3%,2%, and 5% as 0.3,0.2, and 0.5 multiplies the answer by 10 to give $490):
Now subtract the $65 plan price from the $49 expected benefit to get the buyer's expected net value (subtracting $65−$49=+$16 finds the company's average profit per plan instead of the buyer's net value):
Buyer’s expected net value=$49−$65=−$16
4
You are deciding between two policies: (A) a $15 extended warranty on a $100 toaster that has a 10% chance of breaking and needing full replacement, and (B) a $500 annual fire insurance policy on a $300,000 home that has a 0.1% (0.001) chance of burning down. Find your expected net value for each policy, and explain which one you should buy and why.
Find Expected loss−Policy price for each option, then ask which worst-case loss you could afford to pay for yourself if it happened once.
For the toaster warranty (A), the expected loss is 0.10×$100=$10:
Expected net value (A)=$10−$15=−$5
For the home fire policy (B), the expected loss is 0.001×$300,000=$300 (be careful not to write 0.1% as 0.01, which makes the expected loss $3,000 and gives +$2,500):
Expected net value (B)=$300−$500=−$200
Even though both policies have negative expected net values (and −$5 is closer to $0 than −$200), you should skip the toaster warranty and buy the home insurance: over a lifetime of buying small appliances you can easily afford a $100 replacement and let the costs average out in the long run, whereas a single $300,000 house fire is a catastrophic loss you cannot afford.
5
A game costs $5 to play. You roll a fair six-sided die: if it lands on 1,2,3, or 4, you win $0; if it lands on 5, you win $6; if it lands on 6, you win a jackpot of J dollars. What must the jackpot J be for this to be a fair game?
If you use net profits instead, remember to subtract $5 on the four $0 outcomes too so they become −$5, or you will get J=$4.Don't forget the $1 average payout from rolling a 5, which would leave 6J=$5 and give $30.
For the expected net profit to be $0, what must the expected payout equal when the ticket costs $5?
For a fair game, the expected payout must equal the $5 ticket price (if you use net profits instead, remember to subtract $5 on the four $0 outcomes too so they become −$5, or you will get J=$4):
(64×$0)+(61×$6)+(61×J)=$5
Simplify and solve for J (don't forget the $1 average payout from rolling a 5, which would leave 6J=$5 and give $30):