返回题库

生日悖论

Birthday Paradox

专题
Finance / 金融
难度
L4

题目详情

一个房间里有 23 个人。问:至少有两个人生日相同的概率是多少?(忽略闰年,假设一年 365 天且各天等可能)

In a room of 23 people, what is the probability that at least two people share the same birthday?

解析

先算补事件:23 人生日都不相同。

P(全不同)=365365364365363365343365.P(\text{全不同})=\frac{365}{365}\cdot\frac{364}{365}\cdot\frac{363}{365}\cdots\frac{343}{365}.

因此

P(至少两人同生日)=1P(全不同)0.5073.P(\text{至少两人同生日})=1-P(\text{全不同})\approx 0.5073.

Original Explanation

Instead of calculating the probability directly that at least two people share a birthday, we first calculate the complement: the probability that no one shares a birthday — that is, all birthdays are distinct — and subtract it from 1.

Step-by-step logic:

  1. The first person can have any birthday:
    365365=1\frac{365}{365} = 1

  2. The second person must have a different birthday than the first:
    364365\frac{364}{365}

  3. The third person must differ from the first two:
    363365\frac{363}{365}

  4. And so on, until the 23rd person:
    343365\frac{343}{365}

So, the probability that all 23 people have distinct birthdays is:

P(distinct)=365365×364365×363365××343365P(\text{distinct}) = \frac{365}{365} \times \frac{364}{365} \times \frac{363}{365} \times \cdots \times \frac{343}{365}

Then, the probability that at least two people share a birthday is:

P(shared)=1P(distinct)10.4927=0.5073P(\text{shared}) = 1 - P(\text{distinct}) \approx 1 - 0.4927 = 0.5073

Final Answer:

0.5073\boxed{0.5073}

So, in a room of 23 people, there is about a 50.73% chance that at least two people share the same birthday.