令牌之争
Token Tussle
题目详情
两名玩家每人一开始有 12 个代币。他们掷三个骰子,直到总点数为 11 或 14。如果总点数为 14,则玩家 向玩家 提供一个令牌;如果点数为 14,则玩家 向玩家 提供一个令牌;如果点数为 14,则玩家 向玩家 提供一个令牌。如果总和为 11,则玩家 向玩家 给予令牌。他们重复这个过程,直到一个玩家(获胜者)拥有所有代币。玩家 获胜的概率是多少?
Two players each start with 12 tokens. They roll three dice until the sum is either 11 or 14. If the sum is 14, player gives a token to player ; if the sum is 11, player gives a token to player . They repeat this process until one player, the winner, has all the tokens. What is the probability that player wins?
解析
让我们稍微概括一下,假设每个玩家一开始都有 代币,而玩家 一回合获得代币的概率是 。
令 为 的代币数量减去 。因此游戏从 开始,玩家 需要在达到 之前达到 才能获胜。
我们可以将游戏视为有偏差的、吸引人的随机游走:从零开始,在每一步,增加1(概率为)或减少1(概率为),直到或。
当的代币数量减去为时,令为的获胜概率。然后我们知道: 和 对于。上面的方程是线性递推关系的一个例子,我们可以按如下方式求解 : 这有特征方程 我们假设 。那么这个方程的两个根就是和。那么存在常量 和 使得: 与 和 。求解,我们找到和。我们对 感兴趣,我们发现: 对于我们的特定问题, 和 (因为用三个骰子掷出总和为 11 和 14 的概率分别为 和 ),因此 和 玩家获胜的概率为:
Original Explanation
Let's generalize slightly and suppose that each player starts with tokens and the probability of player gaining a token on one turn is .
Let be the number of 's tokens minus . So the game begins with , and player needs to reach before reaching in order to win.
We can view the game as a biased, absorbing random walk: begins at zero, and at each step, increases by one (with probability ) or decreases by 1 (with probability ) until or .
Let be 's probability of winning when the number of 's tokens minus is . Then we know:
and
for . The equation above is an example of a linear recurrence relation, and we can solve for as follows:
and this has characteristic equation
Let's assume . Then the two roots of this equation are and . Then there exist constants and such that:
with and . Solving, we find and . We are interested in and we find:
For our particular problem, and (since the probabilities of throwing a sum of 11 and 14 with three dice are and , respectively), so and so the probability of player winning is: