Skip to content

Quant interviews

Expected value and decision problems with checked answers

Expected value turns a risky choice into a single number you can compare. This page sets out the method, then eight original problems on payoffs, stopping rules, pot odds and recurrences, with answers a program re-derives.

Your first hour with George Li (60 minutes by video, $250) ends with a written plan within one working day.

Book your first hour ($250)

The idea in one line

The expected value of a quantity is the sum of each possible value times its probability. If a game costs less than its expected payoff, it is worth playing once in the sense of average outcome. That is a statement about averages across many plays, not a promise about one play, and good answers say so.

Three tools that cover most problems

  1. Linearity. The expectation of a sum is the sum of the expectations, even when the parts depend on each other. Split a count into indicator pieces and add their probabilities.
  2. Conditioning on the first step. Let E be the expected value from now. Write E in terms of what happens after one move, and solve the resulting equation. Recurrences and stopping times fall out this way.
  3. Work backwards. When you may stop or continue, find the value with no moves left, then the value with one move left, and so on. The best choice at each stage is to keep the roll if it beats the value of continuing.

Decisions under uncertainty

A decision problem adds a choice. Write the payoff for each action in each state, find the chance of each state given what you have seen, and pick the action with the larger expected payoff. Pot odds are the same idea in card-game language: compare what a call costs with what it wins, weighted by the chance that the next card helps. The comparison, not the card terms, is what interviewers look for.

Eight practice problems

Work each problem on paper first. The working shows one route, and you may find another.

Problem 1. A fair 12-sided die (faces 1 to 12) is rolled once. If the result is a prime number you win that many dollars. Otherwise you pay 3 dollars. What is your expected net result in dollars? Give a fraction in lowest terms.

Show the answer and the working

Answer: 7/12

  1. The primes up to 12 are 2, 3, 5, 7 and 11, which sum to 28.
  2. The other 7 faces each cost 3 dollars, a total of 21.
  3. The expected result is (28 - 21)/12 = 7/12 dollars.

Problem 2. You roll a fair 8-sided die and are paid its face value in dollars. After seeing a roll you may reroll, at most 2 rerolls in total, and you are paid the last roll you keep. With the best strategy, what is your expected payment in dollars? Give a fraction in lowest terms.

Show the answer and the working

Answer: 97/16

  1. With no rerolls left the expected payment is 9/2.
  2. With one reroll left, keep a roll above 9/2, that is 5 to 8, and reroll 1 to 4: (5+6+7+8)/8 + (4/8)(9/2) = 26/8 + 9/4 = 11/2.
  3. With two rerolls left, keep a roll above 11/2, that is 6 to 8, and reroll 1 to 5: 21/8 + (5/8)(11/2) = 42/16 + 55/16 = 97/16.

Problem 3. A box holds 3 red and 2 blue tokens. They are drawn one at a time without replacement, in random order, until the first blue token appears. What is the expected number of tokens drawn, including the blue one? Give an integer or a fraction in lowest terms.

Show the answer and the working

Answer: 2

  1. The 2 blue tokens split the 3 red tokens into 3 gaps (before the first blue, between the blues, after the second blue).
  2. By symmetry each gap holds 3/3 = 1 red token on average.
  3. The first blue token appears after 1 red token on average, so the expected number of draws is 1 + 1 = 2.

Problem 4. In a card game you face a decision with one card still to come. The pot holds 90 dollars before the opponent bets 30 dollars. Calling costs you 30 dollars. If you call and the next card is one of your 9 outs you win the pot plus the opponent's bet, 120 dollars profit. Otherwise you lose the 30 dollars you called. The next card is equally likely to be any of the 46 unseen cards, and no more betting follows. What is the expected profit of calling, in dollars? Give a fraction in lowest terms.

Show the answer and the working

Answer: -15/23

  1. Winning cards: 9 of 46, worth 120 dollars each.
  2. Losing cards: 37 of 46, each costing 30 dollars.
  3. Expected profit: (9 x 120 - 37 x 30)/46 = (1080 - 1110)/46 = -30/46 = -15/23 dollars.

Problem 5. A fair coin is flipped until the first tail appears, but at most 5 flips are made. You are paid 2 to the power of the number of heads, in dollars. What is the expected payment in dollars? Give a fraction in lowest terms.

Show the answer and the working

Answer: 7/2

  1. With h heads before the first tail (h = 0 to 4) the chance is (1/2)^(h+1) and the payment is 2^h, so each such h contributes 1/2: total 5/2.
  2. All 5 flips heads has chance 1/32 and pays 2^5 = 32, contributing 1.
  3. The expected payment is 5/2 + 1 = 7/2 dollars.

Problem 6. You pay 2 dollars to play a game. Two fair six-sided dice are rolled and you receive the absolute difference of the two numbers in dollars. What is your expected net result in dollars? Give a fraction in lowest terms.

Show the answer and the working

Answer: -1/18

  1. For a difference of d (1 to 5) there are 2(6 - d) ordered outcomes: 10, 8, 6, 4, 2.
  2. The total of all differences is 10 + 16 + 18 + 16 + 10 = 70 over 36 outcomes, which is 35/18.
  3. Net of the 2 dollar fee: 35/18 - 36/18 = -1/18 dollars.

Problem 7. A hidden coin lands heads with probability 1/4 or with probability 3/4, the two cases being equally likely. You see one flip of the coin, then you choose heads or tails for the next flip and receive 10 dollars if you are right, nothing otherwise. With the best choice after each possible first flip, what is your expected winnings in dollars? Give a fraction in lowest terms.

Show the answer and the working

Answer: 25/4

  1. After seeing a head, the 3/4 coin has posterior 3/4 and the 1/4 coin has 1/4, because a head is equally likely overall.
  2. The next flip is then heads with probability (3/4)(3/4) + (1/4)(1/4) = 10/16 = 5/8, so choose heads and win with probability 5/8.
  3. After seeing a tail the situation mirrors this, so choose tails and again win with probability 5/8.
  4. The expected winnings are 10 x 5/8 = 25/4 dollars.

Problem 8. A fair 4-sided die (faces 1 to 4) is rolled repeatedly and the numbers are added up. What is the expected number of rolls until the running total is at least 7? Give a fraction in lowest terms.

Show the answer and the working

Answer: 13065/4096

  1. Let E(s) be the expected number of further rolls from total s, with E(s) = 0 for s of 7 or more, and E(s) = 1 + (E(s+1) + E(s+2) + E(s+3) + E(s+4))/4.
  2. Working down: E(6) = 1, E(5) = 5/4, E(4) = 25/16, E(3) = 125/64, E(2) = 625/256, E(1) = 2869/1024.
  3. Then E(0) = 1 + (2869 + 2500 + 2000 + 1600)/(4 x 1024) = 1 + 8969/4096 = 13065/4096.

Patterns to notice

  • Problem 1 and 6 are direct sums over outcomes. Check that your probabilities add to one.
  • Problem 2 is a backward induction, and problem 7 weighs two possible worlds after a clue.
  • Problem 3 uses symmetry to avoid a long sum, and problem 5 sums a pattern that repeats.
  • Problem 4 is a decision with a negative expected profit: knowing when the number says no is as useful as finding a yes.
  • Problem 8 is a recurrence, and the cleanest way to solve it is to start from the end.

Every answer on this page is recomputed by a separate program when the site is built, using exact fractions and by counting cases directly rather than by following the written steps. A wrong answer would stop the build. Read how the problems are checked.

These are our own practice problems, written for this site to train the reasoning that timed interviews reward. If you have signed an agreement about an assessment, keep its contents to yourself, including in a coaching session.

Practise saying the setup before the arithmetic. If you want a second reader, a session with George is a place to work a problem aloud, hear questions and see where your setup went wrong. For counting practice, see probability for quant interviews.

Why George

  • Teaching assistant, Algorithmic Game Theory, University of Chicago
  • International Master
  • One Grandmaster norm (Winter of Washington, December 2019)
  • 2023 U.S. National Blitz Champion

Want help with your own applications? See internship interview coaching, a career coach for college internships, or resume review for internships.

Start with one hour

  • Your first purchase is refundable for unused time within 7 days. Nothing renews. Refund terms