The Birthday Paradox
Probabilities can sometimes be difficult to think about. For example, when asked the following question, known as the birthday problem,
Given a room filled with N people, what is the probability than any pair of people in the room share a birthday?
many people might try to simplify the problem, and ask themselves the easier question,
If I am in a room filled with N people, what is the probability than I share a birthday with someone else?
The answer to the second question is simply (N-1)/365 (disregarding Feb 29th and assuming a uniform distribution of birthdays). However, the answer to the first question is much different! For example, if there are 23 people in the room, the answer to the second question is only 6%, but (as we'll see below) the answer to the first is roughly 50%. This is called the birthday paradox.
This demonstration allows you to investigate the birthday problem. You can enter birthdays one at a time by either making them up yourself or by letting Maple choose a random one. You can also let Maple fill the remaining entries in the table with random birthdays.
When the table is filled, Maple will check whether or not the table has any matches. If at least one match is found, it is indicated in the final cell of the table. The total number of tables with matches is shown in the bottom display area, as well as the updated percentage which you can compare to the theoretical probability, each time the table is filled.
Enter a birthday (MM-DD) to add to the table:
|
Explanation of the Probability
|
|
Since there are 365 days in the year, the probability of any two people not having the same birthday is , the probability of a third person having a different birthday than the other two people is , and so on. Thus, in a room containing 23 people, the probability of no two people sharing the same birthday will be
or 0%.
If this is the probability of no one having the same birthday, then the probability of someone sharing a birthday is simply or 0%.
|
|