生日悖论
Birthday Paradox
题目详情
一个房间里有 23 个人。问:至少有两个人生日相同的概率是多少?(忽略闰年,假设一年 365 天且各天等可能)
In a room of 23 people, what is the probability that at least two people share the same birthday?
解析
先算补事件:23 人生日都不相同。
因此
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:
-
The first person can have any birthday:
-
The second person must have a different birthday than the first:
-
The third person must differ from the first two:
-
And so on, until the 23rd person:
So, the probability that all 23 people have distinct birthdays is:
Then, the probability that at least two people share a birthday is:
✅ Final Answer:
So, in a room of 23 people, there is about a 50.73% chance that at least two people share the same birthday.