## Birthdays

Ah yes, birthdays. That time of the year where we mark time’s relentless march onwards. Where the young are dragged kicking and screaming into responsibility and maturity and the old are led stumbling and murmuring from their ability to kick and scream. Still, they’re not all bad. Statistics show that those who have the most tend to live the longest.

There are 365 possible birth dates (366 if we’re being picky) and it was equally likely for you to be born on any one of those days (well, not quite, but it certainly isn’t this blog’s place to go into that). This means that the chance of having your birthday is 0r about 0.27%. Makes you feel pretty special, doesn’t it?

So, if I asked you for the minimum number of people I’d need in a room to have a better than 50% chance that two of them shared the same birthday, you wouldn’t even blink, would you? I mean, it all seems very simple. It must be half the number of days in the year. This would give which, as required, is over 50%. Feeling pretty confident about this, aren’t we?

The answer, in fact, is *only 23.* That’s right, having just 23 people in your room gives a better than 50% chance that two of them share the same birthday. 23! That’s a small bus of people, or the entire population of “soccer” fans in the USA. And yet, surprisingly, that’s all it takes.

Not convinced? It’s understandable. You’ve been in groups of 23 or more many times and only very rarely have you discovered that someone shares your birthday. But that wasn’t the question, was it? If the question was how many people do you need to have a better than 50% chance they share a birthday with **you**, the answer is of course 183. With 23 people there’s only a 6.3% chance that one of them shares a birthday with you.

However, I didn’t specify *which* two people had to share a birthday, it’s not all about you, you know. What we are doing is comparing each person to every other person, giving us 253 distinct pairs of people. While this doesn’t help much with the calculation, it does make the answer seem slightly less surprising.

Want some proof? Lets first think about the probability that *none *of the 23 people share the same birthday, and think about each person in turn.

The probability person 1 has a different birthday than people we’ve previously analysed is 1 (as he haven’t analysed anyone else).

The probability person 2 has a different birthday than person 1 is (this is the same as saying there is only a chance of them sharing a birthday).

The probability person 3 has a different birthday from person 1 and 2 is .

And so on and so on, you get the idea. This continues until we reach the 23rd person.

This means that the probability of no one in a room of 23 people sharing a birthday is

The probability that two of group *do *share a birthday is therefore

or 50.7297%

See, I told you so. Interestingly, you only need 57 people to give a 99% chance that two of them share a birthday. The percentage gets unbelievably close to 100% the closer you get to 366 (99.9999999999999999999999999998% at 200 people) at which point the pigeonhole principle dictates it reaches 100% (if 365 people all have different birthdays, what is the chance that a new member has a different birthday to all of them, excluding leap years?)

So there you have it. Want to amuse yourself and impress your friends at parties? Simply badger everyone for their birthday, neatly arrange all of your results and wave goodbye to your social life. Who wants to be popular anyway?

**Explore posts in the same categories:**Everyday Maths

**Tags:** birthday, Maths, party, people, problem

July 7, 2010 at 8:24 am

Very well-written. I am already a big fan. hahaha…

I am including your blogs in my links.

July 7, 2010 at 2:32 pm

Glad you enjoy it!

July 13, 2010 at 5:36 pm

[…] Pollack in his new blog takes a fresh look at the Birthday […]

July 27, 2010 at 12:08 pm

[…] For more about matching birthdays, read A mathematician’s guide to birthdays. […]

July 28, 2010 at 8:32 pm

[…] For more about matching birthdays, read A mathematician’s guide to birthdays. […]

August 2, 2010 at 11:35 am

[…] third question is much more difficult, but if you read A mathematician’s guide to birthdays, that will give you a start. In the same way that he calculates the probability of sharing a […]

August 4, 2010 at 10:57 am

[…] For more about matching birthdays, read A mathematician’s guide to birthdays. […]