Problem Statement
Suppose that you roll a dice. For each roll, you are paid the face value. If a roll gives 4, 5 or 6, you can roll the dice again. Once you get 1, 2 or 3, the game stops. What is the expected payoff of this game?
Solution
This problem demonstrates the Law of Total Expectation (also called the Tower Rule) in action. The key insight is that the game has a recursive structure: if you roll high, you continue playing, effectively restarting the game.
Step 1: Define the Random Variable
Let X be the total payoff from the game. We want to find E[X].
Step 2: Condition on the First Roll
Let Y be the outcome of the first roll. We condition on Y to break down the problem.
The first roll can result in two mutually exclusive scenarios:
Scenario A: Y \in \{1, 2, 3\} (Game Stops)
-
Probability: P(Y \in \{1,2,3\}) = \frac{3}{6} = \frac{1}{2}
-
If this occurs, the game stops immediately
-
The payoff is simply the face value of the die
-
Expected payoff given this scenario: E[X \mid Y \in \{1,2,3\}] = \frac{1 + 2 + 3}{3} = 2
Scenario B: Y \in \{4, 5, 6\} (Game Continues)
-
Probability: P(Y \in \{4,5,6\}) = \frac{3}{6} = \frac{1}{2}
-
If this occurs, you receive the face value and get to roll again
-
Expected face value: \frac{4 + 5 + 6}{3} = 5
-
After receiving this payoff, you roll again, which is equivalent to starting a new game
-
Therefore: E[X \mid Y \in \{4,5,6\}] = 5 + E[X]
Step 3: Apply the Law of Total Expectation
The Law of Total Expectation states:
In our case, we condition on the two scenarios:
Substituting our values:
Step 4: Solve for E[X]
Expanding the equation:
Rearranging:
Final Answer
The expected payoff of this game is 7.
Verification
We can verify this result by considering the infinite series expansion:
-
With probability \frac{1}{2}, we get 2 and stop: contribution = \frac{1}{2} \cdot 2 = 1
-
With probability \frac{1}{2}, we get 5 and continue:
-
With probability \frac{1}{2}, we get 2 more and stop: contribution = \frac{1}{2} \cdot \frac{1}{2} \cdot 2 = 0.5
-
With probability \frac{1}{2}, we get 5 more and continue: contribution = \frac{1}{2} \cdot \frac{1}{2} \cdot 5 = 1.25
-
And so on…
The infinite series sums to 7, confirming our result.
Key Insights
-
Law of Total Expectation: This problem is a classic application of E[X] = E[E[X \mid Y]], where conditioning on the first roll breaks the problem into manageable pieces.
-
Recursive Structure: When you roll 4, 5, or 6, the game effectively restarts, creating a self-referential equation: E[X] = \text{immediate payoff} + \text{probability of continuing} \times E[X].
-
Conditional Expectation: The expected payoff depends on the first roll’s outcome, so we compute E[X \mid Y] for each possible value of Y.
-
Stopping Condition: The game stops when rolling low (1, 2, 3), which provides a natural base case for the recursion.
-
Intuition: The expected payoff of 7 makes sense: you have a 50% chance of getting an average of 2 (low rolls), and a 50% chance of getting 5 plus continuing, which creates the recursive structure.
Alternative Approach: Direct Calculation
We can also solve this by explicitly writing out the infinite series:
This is a geometric series that converges to 7.
Generalization
Problem: Roll a die. If you get values in set A, you stop and receive that value. If you get values in set B, you receive that value and continue.
Let:
-
p_A = P(\text{roll} \in A)
-
p_B = P(\text{roll} \in B)
-
\mu_A = E[\text{roll} \mid \text{roll} \in A]
-
\mu_B = E[\text{roll} \mid \text{roll} \in B]
Then:
Solving:
Applications
-
Gambling Theory: Understanding expected value in games with continuation rules
-
Decision Making: Evaluating strategies with recursive decision points
-
Stochastic Processes: Modeling processes with stopping conditions
-
Finance: Valuing options or contracts with continuation clauses
-
Game Theory: Analyzing games with recursive payoff structures
Common Pitfalls
-
Forgetting the recursive structure: It’s easy to miss that rolling high means restarting the game, not just adding a fixed amount.
-
Incorrect conditioning: Make sure to condition on the first roll properly and account for all outcomes.
-
Algebraic errors: When solving E[X] = a + bE[X], be careful with the algebra: E[X] - bE[X] = a, so E[X](1-b) = a.
-
Confusing with independence: The rolls are independent, but the total payoff depends on the sequence, creating the recursive relationship.
Summary
The dice game demonstrates how the Law of Total Expectation elegantly solves problems with recursive structure. By conditioning on the first roll, we derive the equation E[X] = \frac{1}{2} \cdot 2 + \frac{1}{2} \cdot (5 + E[X]), which yields an expected payoff of 7. This problem showcases how conditional expectation and recursive thinking combine to solve complex expected value problems.