点球训练
Soccer Practice
题目详情
你在练习足球点球,共踢 100 次。已知第 1 球踢进了,第 2 球踢丢了。从第 3 球开始,每一脚踢进的概率等于此前已踢进球数占尝试总数的比例。比如,若前 30 次尝试中进了 17 球,则第 31 球踢进的概率为 。包含前两脚在内,100 次尝试后你恰好进 66 球的概率是多少?
You're practicing soccer by taking 100 penalty kicks. Assume that you have made the first goal but missed the second. For each of the following kicks, the probability that you score is the fraction of goals you've made thus far. For example, if you made 17 goals out of the first 30 attempts, then the probability that you make the 31st goal is . After 100 attempts, including the first two, what is the probability that you score exactly 66 penalty kicks?
解析
设 , 表示踢完 脚后的总进球数。题目已知前两脚结果分别为:第 1 脚进球,第 2 脚未进。因此前两脚后我们有 次成功、 次失败。对每个后续时刻 ,进球概率为:
未进球的概率则为 。
固定任意一个由第 脚组成的具体结果序列,并且它最终使总进球数 (包含第 1 脚的进球)。这意味着在剩余的 脚中,恰好多了 个进球和 个未进球。
来计算这个特定序列的概率。分母会贡献一个因子 ,因为对每个 到 ,我们都要除以 ,而这些 的乘积就是 。
分子则由每次成功或失败前对应的当前计数累乘而成。随着成功一次次出现,成功事件(除去第一脚已知成功)对应的分子恰好是整数
因此它们的乘积为 。同理,失败事件(除去第二脚已知失败)对应的分子是:
因此它们的乘积为 。所以,在前两脚结果已固定的情况下,该特定有序序列的概率为:
那么,剩余 脚中恰有 次成功的不同有序序列一共有多少个?答案正是
即从这 个位置中选出 个作为成功的位置。将单个序列的概率乘上这样的序列个数,得到
因此, 在整数 上服从均匀分布(在第 1 脚进、第 2 脚失的条件下,这正是所有可能的总进球数)。对于本题 ,有:
Original Explanation
Let . Let be the total number of goals after kicks. We are told the outcomes of the first two kicks: goal on kick 1 and miss on kick 2. So after the first two kicks we have success and failure. For each subsequent kick the probability of scoring is:
and the probability of missing is
Fix any particular sequence of outcomes for kicks that results in a total of goals (including the first goal). This means among the remaining kicks there are exactly additional goals and additional misses.
Compute the probability of that specific sequence. The denominator contributes a factor of (because for each from to we divide by ; the product of those ).
The numerator collects factors given by the current counts just before each success or failure. As successes occur one by one, the numerators for the success events (after the first) are exactly the integers
so their product is . Likewise the numerators for the failure events (after the second) are:
so their product is . Therefore the probability of that particular ordered sequence (with the first two outcomes fixed) is:
How many different ordered sequences of the remaining kicks give exactly successes? Exactly
choices of positions for the successes. Multiplying the per-sequence probability by the number of such sequences gives
Thus is uniform on the integers (these are exactly the possible totals given the first is a goal and the second a miss). For our case we get: