Imagine a group of people of a particular size. They're all chatting to each other, finding out about each other. The subject turns to birthdays. To their surprise, two of them have a birthday on the same day of the year. How extraordinary! Well, how extraordinary is it? How big that the group have to be before it is quite likely? You might think that the group has to be quite big. After all, there are 365 days in the year, so perhaps the group has to be, let's say, about half that number, nearly 200. In fact, if you have a group of 23 people, there is a probability of 50% (or 1 in 2 chance) that two people will have the same birthday. This is an exercise in probability. You don't have to understand the mathematics; you can just enjoy the results (and fool other people!) But in case you want to know more, or don't believe it, this page gives the reasoning as well. First, we must state the problem clearly. Given a group of a certain size, what is the probability that two people have the same birthday? First, I think we can discard anyone with a birthday on February 29th! Yes, I know they exist (and I apologise to them) and we A probability is a number between zero (impossible) and one (certain). We usually use decimals to do the actual working out, but it's easy to convert them to percentages (0.5 = 50%). Now, imagine a group of size n+1 people all having birthdays on different days will be P. Now for some maths!_{n+1}
P_{n} x (365 - n) / 365That means that this new person (the But that's no good, I hear you cry! All right, we know P, but we don't know _{n}P! Ah, but we can work out _{n}P if we know _{n}P. So what? Well, we can carry on taking this down and down until we can get to a probability we _{n-1}do know. (For the people who have been using 25 rather than n, this means if we know the probability for one person, we can work it out for two, and then for three, and so on, until we get to the number we want.) So what is the probability of one person having a birthday different from all other people (in a group of one)? What? That's rubbish! Well, in fact it's certain, (or probability of one). He can't have a birthday different from himself, can he! All well and good. But what about the original problem? Remember that? We don't want the probability of everyone having So let's go. Click on the button below to get groupsof bigger and bigger sizes. The answers are listed backwards, so the most recent answer is next to the button (this is to stop it keep dropping off the bottom of the page). You are looking for the right-hand number to get above 50%. Carry on further, and see how big the group should be for a probability of 99% that two have the same birthday! In a group of 1 person, the probability of him having the same birthday as himself is 100% so the probability of two having the same birthday is 0% © Jo Edkins 2009 - Return to Puzzles index |