返回题库

偶数次正面

Even Flips

专题
Probability / 概率
难度
L5

题目详情

保罗掷一枚公平的硬币,直到他第一次连续两次获得正面或反面。求保罗抛硬币偶数次的概率。

Paul flips a fair coin until he obtains two consecutive heads or tails for the first time. Find the probability Paul flips the coin an even number of times.

解析

我们将 EE 称为 Paul 翻转硬币偶数次的事件,将 FnF_n 称为 nn 次翻转的结果。 P(E)=12P(EF1=heads)+12P(EF1=tails)P(E) = \frac12P(E | F_1 = heads) + \frac12P(E | F_1 = tails) 根据对称性,P(EF1=heads)=P(EF1=tails)P(E | F_1 = heads) = P(E | F_1 = tails),由于它们相同,因此也等于 P(E)P(E)。我们第一次翻转得到什么似乎并不重要。让我们检查一下 F2F_2 P(E)=12P(EF1=F2)+12P(EF1F2)P(E) = \frac12P(E | F_1 = F_2) + \frac12P(E | F_1 \not= F_2) 在 Paul 的第一次和第二次翻转比赛中,他发现 22 翻转是连续翻转,因此, P(EF1=F2)=1P(E | F_1 = F_2) = 1 如果他的前两次翻转不匹配,他的进步水平与 F1F_1 相同,但多了一次翻转。因此, P(EF1F2)=1P(E)P(E | F_1 \not= F_2) = 1 - P(E) 我们现在有: P(E)=12+12(1P(E))P(E)=23P(E) = \frac12 + \frac12(1- P(E)) \Longrightarrow P(E) = \boxed{\frac23}


Original Explanation

Let's call EE the event Paul flips the coin an even number of times and FnF_n the outcome of the nnth flip.

P(E)=12P(EF1=heads)+12P(EF1=tails)P(E) = \frac12P(E | F_1 = heads) + \frac12P(E | F_1 = tails)

By symmetry, P(EF1=heads)=P(EF1=tails)P(E | F_1 = heads) = P(E | F_1 = tails), and since they are the same, they also equal P(E)P(E). It does not seem to matter what we get on the first flip. Let's examine F2F_2

P(E)=12P(EF1=F2)+12P(EF1F2)P(E) = \frac12P(E | F_1 = F_2) + \frac12P(E | F_1 \not= F_2)

In the case Paul's first and second flip match, he found consecutive flips with 22 flips so,

P(EF1=F2)=1P(E | F_1 = F_2) = 1

In the case his first two flips don't match, he is at the same level of progress as F1F_1 but with an additional flip. Therefore,

P(EF1F2)=1P(E)P(E | F_1 \not= F_2) = 1 - P(E)

We now have:

P(E)=12+12(1P(E))P(E)=23P(E) = \frac12 + \frac12(1- P(E)) \Longrightarrow P(E) = \boxed{\frac23}