It is Tihar, and your cousin Prabin, home from college, has a coin and an offer. “I’ll toss this until it lands heads. If it’s heads at once, I pay you Rs 2. Every tail before the head doubles the prize: tails then heads, Rs 4; two tails then heads, Rs 8; and so on, for as long as the tails keep coming. You pay me once, before I start. How much will you pay?”
Your little sister offers Rs 5. Prabin laughs. “You could win Rs 1,024. Or a lakh. Or a crore. There’s no limit.” He is right: no toss is ever the last one allowed. And yet nobody in the room would hand him Rs 500 to play, let alone Rs 50,000. Somewhere between Rs 5 and “no limit” is the game’s true worth, if it has one.
Play it first, as many times as you like, with no real money.
Guess first. If very many people played Prabin’s game, what would the average prize per game come to?
Pick an answer to see why.
Try it: a game that stops
An endless game is hard to think about, so cut it short. Suppose Prabin allows only three tosses: if all three are tails, the game ends and you get nothing.
There are four ways the game can go. Each toss is heads or tails with chance ½, and the tosses don’t affect one another, so the chances multiply (Grade 10’s multiplication law):
| Tosses | Chance | Prize |
|---|---|---|
| H | ½ | Rs 2 |
| T H | ¼ | Rs 4 |
| T T H | ⅛ | Rs 8 |
| T T T | ⅛ | Rs 0 |
Play this game eight times “on paper”, with each way coming up exactly as often as its chance says: H four times, TH twice, TTH once, TTT once. The prizes are 4 × Rs 2 + 2 × Rs 4 + 1 × Rs 8 + 1 × Rs 0 = Rs 24, which is Rs 3 a game.
Look at where those Rs 24 came from: Rs 8 from the H games, Rs 8 from the TH games, Rs 8 from the one TTH game. Each row of the table paid exactly the same. The prize doubles from row to row, and the chance halves, so (chance × prize) is ½ × 2 = ¼ × 4 = ⅛ × 8 = 1 every time.
Now take the cap away. Prabin’s real game has a row for every number of tosses, without end, and each row adds another Rs 1. Ten rows make Rs 10, a hundred rows Rs 100, a thousand rows Rs 1,000. No amount is ever enough: whatever price you name, enough rows add up to more.
What’s going on: expected value
What you have been working out has a name. A quantity that a chance event decides, like the prize in Prabin’s game, is a random variable, usually written with a capital letter, X. The table of its values with their chances is its probability distribution: every value it can take, and P(X = x), the chance it takes the value x. The chances add up to 1, because something has to happen.
The expected value of X is each value times its chance, all added up:
For the three-toss game, . That is the Rs 3 of the eight games on paper, and no accident.
Why it is a mean
You already know this formula, in disguise. Grade 10 finds the mean of a frequency table as : each value times how often it came, added up, divided by how many there were. Divide each frequency by the total first and you get : each value times the share of the games it came up in. In a long run of games those shares settle down near the chances (that is what a probability means), so the mean prize settles down near . The expected value is the mean of the probability distribution: the mean you would get from an endless run of games, worked out without playing any.
That is why a fair price for a game is its expected value. If you pay Rs 3 for each three-toss game, then over many games you and Prabin come out about even. Your gain in a game is the prize minus the price, and a game is fair when the expected gain is zero. The word “expected” is a trap, though: nobody expects to win Rs 3 in one three-toss game, which can only pay 0, 2, 4 or 8. The expected value is what many games average out to. (Is This Game Fair? in Grades 6–8 watches a fairground stall’s average settle as the games pile up.)
A spinner pays Rs 0 with chance 0.5, Rs 10 with chance 0.3 and Rs 50 with chance 0.2. What is a fair price to spin it once?
Pick an answer to see why.
An average that never settles
Prabin’s real game has an expected value too, but the sum never stops growing:
Mathematicians say the expected value is infinite: the sum passes every number. So what does an actual run of games do? In a run of n games, the rows whose chance is bigger than about come up often enough to pay their Rs 1 each; the rows beyond that mostly don’t come up at all, and once in a while one does and pays a fortune. A thousand games fill the first ten rows or so (); a million games fill about twenty. So the average of n games is usually close to the number of rows filled, about , plus a few rupees, and every so often a huge win throws it far above that.
Played by computer, thousands of runs for each length:
| Games played | 10 | 100 | 1,000 | 10,000 | 100,000 |
|---|---|---|---|---|---|
| Typical average prize (the median run) | Rs 6 | Rs 9.20 | Rs 12.60 | Rs 16 | Rs 19.20 |
| One run in ten averages more than | Rs 19 | Rs 25 | Rs 28 | Rs 30 | Rs 35 |
Ten times as many games add only about Rs 3 to the typical average; each further Rs 10 takes about a thousand times as many games (2¹⁰ = 1,024). The average does climb without end, as the expected value says it must, but so slowly that nobody will ever see a typical run reach Rs 100: that would take about games, roughly 1.6 × 10²⁹.
That is the first surprise of the game. An expected value is a long-run average, and for most games the long run arrives quickly. For Prabin’s game it never arrives.
How long is a game?
Expected values answer other questions too. How many tosses does one of Prabin’s games take, on average? The table of tosses: 1 toss with chance ½, 2 with chance ¼, 3 with chance ⅛, and so on, so
That sum can be done, but there is a lovelier way. Call the answer E. Every game takes one toss to start with. Half the time it lands heads and the game is over. The other half, it lands tails, and from then on the game is exactly like a fresh one: it still needs E more tosses on average. So
A game lasts 2 tosses on average. The same trick finds how long you wait for a six on a die: one throw, then with chance no six and a fresh start, so , and E = 6. The answer you would guess, but now for a reason. And the reason warns you that 6 is only an average: about a third of the time (33.5%) six throws pass with no six at all, and one wait in nine is longer than twelve throws.
Expected values add
One more rule makes many hard questions easy: the expected value of a sum is the sum of the expected values, E(X + Y) = E(X) + E(Y), whenever both are ordinary numbers, even when X and Y depend on each other. The mean of a total is the total of the means, as it is for any list of numbers. The total of two dice has expected value 3.5 + 3.5 = 7, with no table of 36 throws needed. Ten throws of a die show 10 × sixes on average. (The birthday topic used this rule to find the 0.69 matching pairs to expect in a class of 23.)
A teacher hands back 40 exam papers at random, without looking at the names. On average, how many students get their own paper back?
Pick an answer to see why.
Deciding with expected values
To weigh a decision, give each outcome its chance and its payoff, and compare the expected values of the choices. Two real decisions:
Should you guess?
Nepal’s entrance examination for medical and health courses, MECEE-BL, has 200 multiple-choice questions with four options each. A right answer earns 1 mark and each wrong answer loses 0.25, the Medical Education Commission says, “in order to discourage the examinee from answering only on the basis of conjecture” (as of 2026; read the current notice). Does it?
Suppose you have no idea and guess at random. The mark for that question is a random variable: +1 with chance ¼, −0.25 with chance ¾. Its expected value is
A blind guess is worth +0.0625 marks on average, more than leaving the question blank (0). If you can rule out one option and guess between three, it is worth ; between two, . For the deduction to make a blind guess worth exactly nothing, it would have to be of a mark. So on this scheme, a student who wants the most marks on average should answer every question, guessing where they must: the quarter-mark penalty doesn’t make a blind guess a bad bet, it only shrinks its reward from ¼ of a mark to . (A single guess still loses 0.25 three times in four: guessing raises the average, not the certainty. Whether a test-taker should play for the average is the question of “Why nobody pays much”, below.)
Is a lottery ticket worth buying?
The American Powerball lottery costs $2 a ticket. You pick five numbers from 1 to 69 and one “Powerball” from 1 to 26; the prizes depend on how many you match. The chances come from counting, as in Grade 12’s combinations: there are possible tickets, and exactly one wins the jackpot. The fixed prizes (as of 2026), and what each adds to the expected value of one ticket:
| Match | Chance (1 in …) | Prize | Adds to E(X) |
|---|---|---|---|
| Powerball only | 38.32 | $4 | $0.104 |
| 1 number + Powerball | 91.98 | $4 | $0.043 |
| 2 + Powerball | 701.33 | $7 | $0.010 |
| 3 numbers | 579.76 | $7 | $0.012 |
| 3 + Powerball | 14,494.11 | $100 | $0.007 |
| 4 numbers | 36,525.17 | $100 | $0.003 |
| 4 + Powerball | 913,129.18 | $50,000 | $0.055 |
| 5 numbers | 11,688,053.52 | $1,000,000 | $0.086 |
| 5 + Powerball | 292,201,338 | the jackpot | jackpot ÷ 292,201,338 |
The fixed prizes add up to about $0.32 of each $2 ticket. The jackpot starts at $20 million, which adds about 7 cents more: a ticket is then worth about 39 cents of its $2. For the ticket to be worth its price, the jackpot would have to pass about $491 million, and it does sometimes, because when nobody wins it rolls over and grows. The record, $2.04 billion in November 2022, would make a ticket worth about $7.30 by this sum.
But the sum leaves things out. The advertised jackpot is paid over 29 years; the winner of the $2.04 billion took the lump sum instead, which came to $628.5 million after taxes, under a third of it, and that alone brings the ticket down to about $2.50. A record jackpot also sells far more tickets, so a winner is more likely to have to share. Those record draws are rare: on almost every draw the jackpot is far below $491 million, and a ticket is worth much less than its $2, which is how a lottery keeps more than it pays out. And even with the most generous sum, a ticket loses everything 23 times in 24 (any prize at all comes up once in about 24.9 tickets), and the jackpot comes once in 292 million: buying a ticket every day, you would expect to wait about 800,000 years. This is where the expected value stops being the whole story.
Why nobody pays much
Back to Prabin. His game’s expected value is infinite, so by the rule “a fair price is the expected value”, you should give him anything he asks: your phone, your savings, your house. No one would. Three reasons why, each of them a real idea.
No bank is endless
Prabin doesn’t have a crore. Suppose he has Rs 1,000 and the rule is: if the prize would be more than he has, you get everything he has. Then rows 1 to 9 pay their Rs 1 each (the ninth prize is Rs 512), and every longer game pays Rs 1,000, which happens with chance 1 in 2⁹ = 512, adding 1,000 ÷ 512 ≈ Rs 1.95. The expected value is 9 + 1.95, about Rs 10.95. The infinity was always in the rows beyond any real bank.
Each time the bank doubles, one more row fits and the game is worth only Rs 1 more. Rs 1 crore makes it worth about Rs 24; a lakh crore rupees, Rs 41; a crore crore rupees (10¹⁴), only about Rs 47. The expected value grows like the logarithm of the bank: multiply the bank by ten and the game is worth only about Rs 3.32 more.
A rupee means less to the rich
In 1738 Daniel Bernoulli suggested that what a person should average is not money but how much the money is worth to them, and that a gain matters less the richer you already are: a thousand rupees means a great deal to a poor student and little to a millionaire. He proposed measuring it by the logarithm of a person’s whole wealth, so that doubling your money is worth the same to anyone, rich or poor. (Economists now call this worth utility.)
On Bernoulli’s scale, the most you should pay for Prabin’s game depends on how much you have. With Rs 1,000 to your name, about Rs 11; with a lakh, about Rs 17.50; with a crore, about Rs 24. The rich can afford to pay more for a long shot, and even they not much.
Most games pay little
The third reason is the one your stomach gives you. Half the games pay Rs 2; three in four pay Rs 4 or less; only one game in 32 pays Rs 64 or more. The infinite average is carried entirely by long runs of tails that almost never come. Paying Rs 100 for one game means losing money unless the coin shows tails six times running first, a chance of 1 in 64. An expected value tells you how a game averages over many plays. For a single play, it can be a poor guide to what will actually happen, and the less likely the outcomes that carry it, the poorer.
A story from maths
Where this is used
Questions
★ A game costs Rs 40. You throw a die and win Rs 10 times the number shown. What is your expected gain per game?
Pick an answer to see why.
The random variable X takes the values 1, 2 and 3 with . Check that this is a probability distribution, and find E(X).
Hint
Answer
A stall charges Rs 20 a spin. The spinner pays Rs 50 with chance p, Rs 10 with chance 0.5, and nothing otherwise. Find the value of p that makes the game fair.
Hint
Answer
You guess at random on all five questions of a test where each question has four options.
- a.Find the chance of getting 0, 1, 2, 3, 4 and 5 right, and the expected number right.
- b.Find the expected mark if each right answer earns 1 and each wrong answer loses 0.25. What is the chance that your mark is below zero?
Hint
Answer
A motorbike owner chooses between two insurance policies for a year. (The numbers are made up.) In a year there is at most one accident: a minor one with chance 0.10 (repairs Rs 20,000), a major one with chance 0.02 (repairs Rs 300,000), and otherwise none. Policy A costs Rs 12,000 and the owner pays the first Rs 5,000 of any repair; Policy B costs Rs 7,000 and the owner pays the first Rs 50,000. For A, B and no insurance, find the expected cost of the year and the cost of the worst year. Which would you choose?
Hint
Answer
Prabin changes his game: the prize starts at Rs 1 and is multiplied by 1.5, not 2, for every tail before the head. Is its expected value finite now? If so, find it.
Hint
Answer
Where to go next
- Is This Game Fair? (Grades 6–8) Expected value first met at a fairground stall, watched settling over a thousand games, with insurance for a buffalo.
- Should You Switch Doors? A game-show choice where working out the chances properly changes your mind.
- Is a Positive Test Result Bad News? Chances that depend on what you already know, in medical tests.
- Can You Add Halves Forever and Still Get One? (Grades 6–8) Endless sums that do settle, like question f.’s.
- Will Two People in Your Class Share a Birthday? Another chance everyone’s gut gets wrong, and the expected number of matching pairs.
- Why Do Snakes and Ladders Games Take So Long? (Computing, Going Further) The average length of a game, found by letting a program play thousands.
- Grade 10 Math: Probability The rules the chances on this page are built from.
Where these facts come from
- The game, its expected value as 1 + 1 + 1 + ⋯, “the probability is ½ that the player wins no more than $2, and ¾ … no more than $4”, Nicolaus Bernoulli’s die version in his letter to Montmort of 9 September 1713 (“you will find however something most curious”), Montmort’s reply of 15 November 1713, Nicolaus’s conclusion of 20 February 1714, Cramer’s coin version and his “men of good sense” in his letter of 21 May 1728, his square root and the game’s “moral value” of about 2.9, Daniel Bernoulli’s 1738 paper in the Commentarii Academiae Scientiarum Imperialis Petropolitanae, the logarithm of wealth, and his acknowledgment of Cramer; Fontaine and Buffon on the bank’s limits: Martin Peterson, “The St. Petersburg Paradox”, Stanford Encyclopedia of Philosophy (revised 1 August 2023), read October 2026.
- Daniel Bernoulli’s twenty ducats, Fontaine’s remark on the backer’s finite resources (dated 1754 in the text, his paper 1764 in its reference), the expected value growing as the logarithm of the bank: Wikipedia, “St. Petersburg paradox”, read October 2026 (Fontaine as cited there from J. Dutka, “On the St. Petersburg Paradox”, Archive for History of Exact Sciences 39 (1988), not opened).
- Buffon’s 2,048 games (1777, § 18 of his Essai d’arithmétique morale), their mean of 4.9 écus and longest game of 9 tosses, “the first statistical study of games of chance”: O. Sheynin, Theory of Probability: An Elementary Treatise against a Historical Background (arXiv, 2018), § 2.3.1, read October 2026.
- The words “random variable”, “probability distribution”, “expected value … the mean of the probability distribution”, a fair game as E(X) = 0, the distribution given as a formula, the guessing test and the lottery as examples: Common Core State Standards for Mathematics, HSS-MD.A.2, A.3 and B.5 (PDF); IB, Mathematics: analysis and approaches guide (2019), SL 4.7 (PDF, Wayback Machine), read October 2026.
- MECEE-BL’s format (200 single-best-response questions, four options, full marks 200 “with 0.25 mark deduction for each wrong response”): the Medical Education Commission’s notice as reproduced by Educate Nepal, “Medical Education Common Entrance Exam (MECEE-BL) Question Syllabus 2026 (2083 BS)”; the reason, “to discourage the examinee from answering only on the basis of conjecture”: CollegeNP, “MEC adopted percentile system in the results of the Common Entrance Examination” (updated 29 January 2026), both read October 2026 (the commission’s own site didn’t answer).
- The SAT’s 2016 change to four options and no penalty for wrong answers: Wikipedia, “SAT”, read October 2026.
- Powerball: $2 a play, five white balls from 69 and a Powerball from 26, the prize table (the chances recomputed by our script from those numbers), the $20 million starting jackpot, the annuity of 30 payments over 29 years, the record $2.04 billion in November 2022: Wikipedia, “Powerball”, read October 2026 (powerball.com didn’t answer). The winner’s lump sum, $628.5 million after taxes: Wikipedia, “Edwin Castro (lottery winner)”, read October 2026.
- Expected goals as the sum of each shot’s probability of becoming a goal, and different models giving different values: Wikipedia, “Expected goals”, read October 2026.
- Every number on this page (the rows of the game and the three-toss table, Rs 10 for ten tosses, the simulated averages for 10 to 100,000 games, games for Rs 100, the waits of 2 tosses and 6 throws with 33.5% and one in nine, the dice totals, the 1 paper and 36.8%, the guessing values 1/16, 1/6, 3/8 and 1/3, the Powerball chances and their $0.32, 39 cents, $491 million and $7.30, one prize in 24.9 tickets and 800,000 years, the bank limits Rs 10.95, 24, 41 and 47, Bernoulli’s Rs 11, 17.50 and 24 (the most you could pay and be no worse off on his log scale), the 1 in 32 and 1 in 64, Cramer’s 2.9, and every answer to the questions) was computed by
checks/textbooks/math-further-9-12/15/tmp/answers.pyand recomputed independently bychecks/textbooks/math-further-9-12/15/tmp/review/recompute.py(the simulated table from 4,000 to 200,000 runs a length,p90b.py,p90c.pythere).
