Learn / Library / Expected value
Reroll before a duel
Player A rolls a fair -sided die and may reroll once, in which case the second result is kept. Then player B rolls one fair -sided die with no reroll, independently. A wins only if the final face of A is strictly greater than the face of B; ties and lower faces are not wins. If A maximizes the probability of winning, what is that probability?
Checking an answer needs JavaScript. The hint and the solution open without it.
Hint
Find the winning probability for each face of A, then compare it with the average over a fresh roll.
Solution
- If A holds face , the winning probability is .
- A fresh roll has average winning probability .
- A keeps exactly when , that is .
- Keeping , or contributes .
- Rerolling happens with probability and contributes .
- The total is .
Answer: