Recursive expected value and the re-roll family
PROB · Chapter 312 min readAsked at Jane Street, Optiver, SIG, IMC
Assumes Conditioning: the tower property.
After this lesson you should be able to
- Price a game where you may pay to try again, using a threshold strategy.
- Set up and solve the self-referential equation for a game that can repeat forever.
- Explain why the optimal threshold equals the value of the game itself.
The single most-asked interview question type: you roll a die, then choose whether to roll again. These are optimal-stopping problems, and every one of them is solved by the same two moves — condition on the first outcome, and recognise that the continuation value is the value of the whole game.
The family of questions
Interviewers escalate through a fixed sequence: one roll, then one optional re-roll, then a re-roll that costs money, then unlimited re-rolls, then the same thing on a . Each step is a small change to the same equation. Knowing the shape means you are answering the fifth version while other candidates are still deriving the second.
Example 3.34
Stage 1 — one roll
You are paid the face value of a single roll of a fair six-sided die. What is a fair price?
Show the worked solutionHide the worked solution
Worked solution
- Formula
- Substitute
- Solve
- Answer
Example 3.35
Stage 2 — one optional free re-roll
You roll once, then choose whether to re-roll. If you re-roll you are paid whatever the second roll shows. What is a fair price?
Show the worked solutionHide the worked solution
Worked solution
- Formula
- Substitute
- SolveKeep anything strictly better than what a fresh roll is worth.
- Answer
Sanity check. Must exceed : the option to re-roll can be declined, so it cannot be worth less than nothing.
Example 3.37
Stage 3 — the re-roll costs $1
Same game, but re-rolling costs you . What is a fair price now?
Show the worked solutionHide the worked solution
Worked solution
- Formula
- Substitute
- Solve
- Answer
Sanity check. Between and : the option still has value, but the fee has eaten a third of it. The option is worth nothing only once the fee reaches , at which point the continuation drops to and you would never re-roll anything.
Proposition 3.38
Stage 4 — unlimited re-rolls, each costing
Now the continuation is not a single fresh roll but *the same game again*. Let be the value of the game. If you re-roll you pay and find yourself facing a game worth , so the continuation is worth . You therefore keep any roll above , and that threshold is what makes the equation close on itself.
Holds when
- The game must be genuinely identical after a re-roll — same die, same rules, same remaining rolls.
- The threshold must be consistent with the it produces, which is what solving the equation enforces.
The rest of this lesson is in Premium
You have read the opening. 10 more sections follow, including 4 worked examples and 3 quick checks.
Nothing is charged for 7 days, and you can cancel before then. Or read Arithmetic that survives a clock in full, free.