返回题库

连续抛硬币

Flipped in Succession

专题
Probability / 概率
难度
L3

题目详情

连续抛掷 5 枚公平硬币。前 3 次抛掷中出现的正面数等于后 2 次抛掷中出现的正面数的概率是多少?

Five fair coins are flipped in succession. What is the probability that the number of heads in the first three coin flips is equal to the number of heads in the last two coin flips?

解析

我们要求前 3 次抛掷中的正面数等于后 2 次抛掷中的正面数。

r=0,1,2r = 0, 1, 2,两边都有可能相等。

概率为 r=02P(前 3 次有 r 个正面)P(后 2 次有 r 个正面)\sum_{r=0}^2{P(\text{前 3 次有 } r \text{ 个正面})} \cdot P(\text{后 2 次有 } r \text{ 个正面})

P(前 3 次有 r 个正面)=(3r)23,P(后 2 次有 r 个正面)=(2r)22P(\text{前 3 次有 } r \text{ 个正面}) = \frac{3\choose r}{2^3}, \quad P(\text{后 2 次有 } r \text{ 个正面}) = \frac{2\choose r}{2^2}

因此

P=r=02(3r)8(2r)4=1+6+332=516P = \sum_{r=0}^2 \frac{{3}\choose{r} }{8} \cdot \frac{{2}\choose{r} }{4} = \frac{1 + 6 + 3}{32} = \boxed{\frac{5}{16}}

Original Explanation

We want the # of heads in the first three flips to equal the # of heads in the last 2 flips.

For r=0,1,2r = 0, 1, 2 the events can match.

Probability = r=02P(first 3 have r)P(last 2 have r)\sum_{r=0}^2{P(\text{first 3 have} \ r}) \cdot P(\text{last 2 have} \ r)

P(first 3 have r)=(3r)23, P(last 2 have r)=(2r)22P(\text{first 3 have} \ r) = \frac{3\choose r}{2^3}, \ P(\text{last 2 have} \ r) = \frac{2\choose r}{2^2}

So

P=r=02(3r)8(2r)4=1+6+332=516P = \sum_{r=0}^2 \frac{{3}\choose{r} }{8} \cdot \frac{{2}\choose{r} }{4} = \frac{1 + 6 + 3}{32} = \boxed{\frac{5}{16}}