Two people, A and B, have a 30-sided and 20-sided die, respectively. Each rolls their die, and the person with the highest roll wins. (B also wins in the event of a tie.) The loser pays the winner the value on the winner's die.
1)What is expected value for player A?
2)How does the expected value of the game for player A change when player B can re-roll (AFTER seeing player A’s roll)?
My struggle with this question comes in part 2. As player B will only reroll in the case when A's number is higher, here is my calculation for A's expected value.
For $\frac{10}{30}$ of the cases, A's roll will be between 21 and 30 and hence automatically higher. For the remaining $\frac{20}{30}$ cases, $\frac{210}{400}$ times B will not reroll as B would have either higher or tied score to A. Finally, in the remaining $\frac{190}{400}$ cases, B will have a lower score, and will hence reroll. Here, the probability of B's rerolled score being higher than A's score should be $\frac{1}{3}$, as it represents the ordering B2>A1>B1. Putting this all together, I get:
E(A) = $\frac{10}{30}(\frac{21+30}{2}) + \frac{20}{30}((\frac{210}{400})(\frac{-21}{2}) + \frac{190}{400}(\frac{2}{3}(\frac{21}{2})-\frac{1}{3}(\frac{21}{2})) = 5.933$
However, the answer appears to be 5.4725. What is wrong in my approach, or am I misinterpreting the problem?
For $\frac{10}{30}$ of the cases, A's roll will be between 21 and 30 and hence automatically higher. For the remaining $\frac{20}{30}$ cases, $\frac{210}{400}$ times B will not reroll as B would have either higher or tied score to A. Finally, in the remaining $\frac{190}{400}$ cases, B will have a lower score, and will hence reroll. Here, the probability of B's rerolled score being higher or equal to A's score should be $\frac{210}{400}$. Putting this all together, I get:
E(A) = $\frac{10}{30}(\frac{21+30}{2}) + \frac{20}{30}((\frac{210}{400})(\frac{-21}{2}) + \frac{190}{400}(\frac{190}{400}(\frac{21}{2})-\frac{210}{400}(\frac{21}{2})) = 4.66$
However, the answer appears to be 5.4725. What is wrong in my approach, or am I misinterpreting the problem?
I see two problems. First, your assessment that the chance B2 is highest ($B2 \gt A1 \gt B1)$ as $\frac 13$ assumes that none of the rolls are equal. The fact that they can be changes the chance as you want the chance of $B2 \ge A1 \gt B1$. Second, you are using the $\frac 13$ only in the case $A1 \gt B1$. This biases $A1$ high, so the $\frac 13$ is not correct.