Expected Value and Pricing Strategy for a Coin-Flip Doubling Game
Statistics & ExperimentsModel answerLast updated
Analyze a game where a fair coin doubles your stake on heads and ends on tails; compute expected value, determine rational pricing, and explore repeated-play strategies.
You are evaluating a gambling game with the following rules:
- You start with $1
- Flip a fair coin repeatedly
- Each time it lands heads, your current amount doubles
- The first time it lands tails, the game stops and you keep whatever amount you have
For example, if you flip H, H, T, you walk away with $4.
Answer the following:
Part A: Calculate the expected payout of this game. Does the series converge? Show your work.
Part B: Suppose you have log utility U(w) = ln(w) over final wealth and your initial wealth is W dollars. What is the maximum price you would rationally pay to play this game once? Provide both a simplified benchmark answer and discuss how it changes with W.
Part C: If you can play this game repeatedly by betting a fraction f of your current wealth at a fixed ticket price p per round, derive the condition under which your expected log-growth rate is positive. What is the optimal betting fraction f*?
Part D: Real casinos impose payout caps. If the maximum payout is capped at C dollars, how does this change the expected value? How does it affect your willingness to pay?
Hints
Hint 1
The payout after k heads is 2^k dollars, which occurs with probability (1/2)^(k+1). Write out the first few terms of the expected value sum.
Hint 2
For part B, the certainty equivalent under log utility involves E[ln(X)]. Use the fact that the number of heads K follows a geometric distribution.
Hint 3
Kelly criterion maximizes log-growth. The growth rate g(f) = E[ln(1 + f(X/p - 1))]. Find where the derivative equals zero, and check boundary conditions.
Model answer
Hard Try it yourself first — then compare your approach, complexity and edge cases.
Model Answer
This problem explores a classic probability puzzle often called the St. Petersburg paradox. A strong answer demonstrates facility with infinite series, utility theory, and optimal betting strategies.
Part A: Expected Payout
Let K denote the number of heads before the first tail. Since each flip is independent with probability 1/2:
- P(K = k) = (1/2)^(k+1) for k = 0, 1, 2, ...
- The payout is X = 2^K dollars
The expected payout is:
E[X] = Σ_{k=0}^∞ 2^k · (1/2)^(k+1)
= Σ_{k=0}^∞ 2^k · 2^(-k-1)
= Σ_{k=0}^∞ 1/2
= 1/2 + 1/2 + 1/2 + ...
The series diverges to infinity. Each possible outcome contributes exactly $0.50 to the expectation, and there are infinitely many terms.
This creates the paradox: a risk-neutral decision-maker should pay any finite amount to play, yet no reasonable person would pay even $100. The resolution lies in recognizing that the median payout is only $1, and extreme outcomes contributing most of the expectation are vanishingly rare.
Part B: Maximum Price Under Log Utility
With logarithmic utility U(w) = ln(w), we need the price c such that:
E[U(W - c + X)] = U(W)
This ensures indifference between playing and not playing.
Simplified benchmark (ignoring initial wealth):
When we consider only the game payout itself:
E[ln(X)] = Σ_{k=0}^∞ (1/2)^(k+1) · ln(2^k)
= ln(2) · Σ_{k=0}^∞ k · (1/2)^(k+1)
= ln(2) · E[K]
= ln(2) · 1 = ln(2)
The certainty equivalent is e^(ln 2) = $2.
With initial wealth W:
The full indifference condition:
Σ_{k=0}^∞ (1/2)^(k+1) · ln(W - c + 2^k) = ln(W)
This has no closed form but can be solved numerically. For large W, a good approximation emerges:
- Small payouts (2^k << W) contribute approximately (2^k - c)/W to the utility difference
- Large payouts have negligible total probability weight
This yields the approximation: c(W) ≈ (1/2)·log₂(W) + 1
Example values:
- W = $1,000 → c ≈ $6
- W = $100,000 → c ≈ $9
- W = $1,000,000 → c ≈ $11
The reservation price grows only logarithmically with wealth, reflecting extreme risk aversion toward the rare but massive payouts.
Part C: Repeated Play with Kelly Sizing
Betting fraction f of wealth at price p per ticket, your wealth multiplier per round is:
R = 1 - f + f·(X/p) = 1 + f(X/p - 1)
The expected log-growth rate is:
g(f) = E[ln(1 + f(X/p - 1))]
Condition for positive growth:
Taking the derivative at f = 0:
g'(0) = E[X/p - 1] = E[X]/p - 1
Since E[X] = ∞ in the uncapped game, g'(0) = +∞ for any finite p. This means some small positive f will always yield positive growth—though the optimal f may be very small for large p.
At full commitment f = 1:
g(1) = E[ln(X)] - ln(p) = ln(2) - ln(p)
This is positive when p < 2.
Optimal fraction f:*
Set g'(f) = 0:
E[(X - p)/(p + f(X - p))] = 0
For p ≤ 1: Since X ≥ 1 always, the game has no downside risk. Optimal strategy is maximum leverage (f* = 1 or higher if allowed).
For 1 < p < 3/2: f* = 1 (full Kelly)
For p ≥ 3/2: f* < 1. Check the boundary:
g'(1) = E[(X - p)/X] = 1 - p·E[1/X]
Using E[1/X] = Σ (1/2)^(k+1) · 2^(-k) = 2/3:
g'(1) = 1 - 2p/3
When p > 3/2, g'(1) < 0, so f* is interior and must be found numerically. For p = $4, optimal f* ≈ 2.5%.
Key insight: Kelly sizing and log-utility pricing are equivalent frameworks. Both maximize expected log wealth.
Part D: House Cap
With a maximum payout cap C = 2^M:
E[X_C] = Σ_{k=0}^{M-1} 2^k · (1/2)^(k+1) + C · P(K ≥ M)
= Σ_{k=0}^{M-1} 1/2 + 2^M · 2^(-M)
= M/2 + 1
For general C: E[X_C] ≈ (1/2)·log₂(C) + 1
Examples:
- Cap at $1,024 (2^10) → E[X] = $6
- Cap at $1,048,576 (2^20) → E[X] = $11
- Cap at $1 billion → E[X] ≈ $16
The cap makes the expected value finite and reasonable. Your reservation price under log utility converges to approximately the expected value for large caps. The paradox essentially disappears in real-world implementations.
Common Mistakes
- Failing to recognize the series diverges (claiming it sums to a finite value)
- Using expected value alone to justify pricing (ignoring risk aversion)
- Confusing median ($1) with mean (infinite)
- Not recognizing that Kelly and log-utility frameworks are equivalent
- Overlooking that practical caps eliminate the theoretical paradox