ColdFusion, WordPress, Flash & other web things


Facebook and the birthday paradox

This is one for math geeks with a Facebook account. I recently heard of an interesting probability problem called the Birthday Paradox. I think it was on the excellent Five Numbers series on BBC Radio 4 (or one of the 2 follow-up series). Anyway, the problem states that if you put 23 (or more) randomly selected people in a room, there is more than a 50% chance that at least 2 people will share the same birthday. The solution is not a paradox in the logical sense, it just contradicts our intuition.

Now for the Facebook link. If you have an account you probably know about the birthdays page where you can see a list of all your friends’ birthdays. I checked it the other day and was surprised to find that 3 pairs of my friends shared the same birthday. That is, before I remembered the birthday paradox and that with my 40 Facebook friends there is a 90% chance that at least 2 of them share the same birthday.

If, unlike me, you are uber popular on Facebook and have more than 100 friends, the probability should be more than 99.99996%!

(OK, I did say that this one was for math geeks…)

17 comments

  1. #1: Pete Says:

    wow i have 7 pairs of birthday friends.

    Including me and my mate frank (althoough i have to admit i knew about this before)

    7 pairs though…

  2. #2: Liam Says:

    Note that the ‘birthday paradox’ states that they will be born on the same day of the month (so a 1 in 28, 30 or 31 chance in theory) - not “2 people will share the same birthday” (which implies day of the year).

    Sorry to be such a pedant, just thought someone might get confused there.

    L

  3. #3: Liam Says:

    Sorry, just found I am talking out of my arse here, and that I am totally wrong (why didn’t I press the wiki link before writing this…)

    It is day of the year. Apologises all around.

  4. #4: Martin Says:

    @Liam: he he no worries. It’s a good thing you corrected yourself fast. I was ready to start a flame war.

  5. #5: Liam Says:

    I’m sure when I first read about the guy that ‘discovered’ the b’day paradox that it explained it really badly, and I’ve been wandering around giving incorrect information out at dull dinner parties all these years…

    Anyway, I better go and do some actually work.

  6. #6: Lily Says:

    can u read my comments because i can’t seem them

  7. #7: Lily Says:

    im doin this science project you guys realy helped me

  8. #8: Adam Atkinson Says:

    That’s about right - I’ve about 50-odd friends and two had the same birthday last week. The theory was brought to my attention by George Atkinson at Rocom. Spookily, we shared the same birthday, although neither of us knew at the time.

  9. #9: Lily Says:

    we each should post our b-day mine is may 17

  10. #10: Lily Says:

    every time u post a commentr post your b-day

  11. #11: lily Says:

    No buddy comes on no more this is becoming stupid i feel like i m talking to myself

  12. #12: lily Says:

    i m so angry
    i m so bored
    i m so crazy
    i m so wacky
    i m so tackky
    lol this is fun no1 will probaly ever read this

  13. #13: Martin Says:

    @lily: I think you’re overestimating the popularity of my blog ;-). The paradox thing will start working when 23+ people post their birthday. As far as I know, we are only 5…

  14. #14: Pete Says:

    @martin - overstate - never this blog *is* certainly more popular than facebook..

    @lilly - 11/05 :)

  15. #15: Donna Says:

    I had heard about this before, but never knew the numbers… it’s amazing. It is really so counter-intuitive.

    So the numbers, are they based on straight probabilities, or observations?

    @pete 7 pairs… out of how many friends?

    @lily Nov 10

  16. #16: Ray Says:

    Sorry, I have 67 friends and no match… seems 9 months before 12 February is not a popular date for hooking up! :-)

    And oddly enough, between all of my 67 friends, there are only 2 matches.

    Are you sure the paradox is right? :-) (I know it’s right, just my case is a special one).

  17. #17: Ray Says:

    Oops, seems I didn’t understand the paradox at first read.

    It says that any two people will share a birthday, not that I would share it. So then my situation (2 matches) is completely normal.

    I don’t feel special anymore :( haha