点数分配问题
帕斯卡和费马研究赌局中止时赌注该如何分配。他们的通信把期望值和概率变成了数学主题。
Needs 2 more rounds to win.
Needs 3 more rounds to win.
P(A wins) = Σj=02 C(1+j, j) · 0.502 · 0.50j = 0.6875
This is the Pascal–Fermat solution. Each player’s fair share equals the chance they would win if the interrupted game were played out. The sum counts every order of future rounds in which A reaches the target before B does. Current score alone is not enough: the distance to the target and the round-win probability both matter.
Raise A’s score and watch the fair share jump. The answer is not proportional to the score: with target 5, a 3–2 lead is worth more than 60% of the pot because A needs fewer future wins. Move the round chance to see how an unfair game shifts the split.
你看到的是什么
两名玩家需要赢得固定轮数才能获胜。游戏在比分未完成时提前停止。
公平分配是按当前比分计算每位玩家最终获胜的概率,假设之后的轮次公平。
帕斯卡和费马用不同方法计算这些概率,都得到相同的期望值规则。
为什么重要
这个问题标志着数学概率论的开端。期望值如今是保险、金融、博弈和决策理论的基础。
复杂度与细节
从比分计算获胜概率可以使用二项式和,目标为 n 轮时为 O(n)。
常见问题
为什么不按当前比分分配?+
当前比分忽略了每位玩家离胜利有多近以及还剩多少轮。概率能同时反映二者。
如果游戏不公平呢?+
使用每位玩家真实的单轮获胜概率。相同的递推期望值逻辑仍然适用,只是概率不同。