Support for LAist comes from
Local and national news, NPR, things to do, food recommendations and guides to Los Angeles, Orange County and the Inland Empire
Stay Connected
Listen

Share This

NPR News

Math Guy: The Birthday Problem

Congress has cut federal funding for public media — a $3.4 million loss for LAist. We count on readers like you to protect our nonprofit newsroom. Become a monthly member and sustain local journalism.

The Weekend Edition Saturday Math Guy, Stanford professor Keith Devlin, has a problem. In fact, he has more than one... which he's happy to share with Scott Simon.

What is the probability that in a room filled with 23 people at least two of them have the same birthday? (It's more than half!)

Devlin explains:

The birthday problem asks how many people you need to have at a party so that there is a better-than-even chance that two of them will share the same birthday. Most people think the answer is 183, the smallest whole number larger than 365/2. In fact, you need just 23. The answer 183 is the correct answer to a very different question: How many people do you need to have at a party so that there is a better-than-even chance that one of them will share YOUR birthday? If there is no restriction on which two people will share a birthday, it makes an enormous difference. With 23 people in a room, there are 253 different ways of pairing two people together, and that gives a lot of possibilities of finding a pair with the same birthday.

Support for LAist comes from

Here is the precise calculation. To figure out the exact probability of finding two people with the same birthday in a given group, it turns out to be easier to ask the opposite question: what is the probability that NO two will share a birthday, i.e., that they will all have different birthdays? With just two people, the probability that they have different birthdays is 364/365, or about .997. If a third person joins them, the probability that this new person has a different birthday from those two (i.e., the probability that all three will have different birthdays) is (364/365) x (363/365), about .992. With a fourth person, the probability that all four have different birthdays is (364/365) x (363/365) x (362/365), which comes out at around .983. And so on. The answers to these multiplications get steadily smaller. When a twenty-third person enters the room, the final fraction that you multiply by is 343/365, and the answer you get drops below .5 for the first time, being approximately .493. This is the probability that all 23 people have a different birthday. So, the probability that at least two people share a birthday is 1 - .493 = .507, just greater than 1/2.

The Children Puzzle

I tell you that a couple has two children and that (at least) one of them is a boy. I ask you what is the probability that their other child is a boy. Most people think the answer is 1/2, arguing that it is equally likely that the other child is a boy or a girl. But that's not the right answer for the question I have asked you. Here's why. In terms of order of birth, there are four possibilities for the couple's children: BB, BG, GB, GG. When I tell you that at least one child is a boy, I rule out the possibility GG. That leaves three possibilities: BB, BG, GB. With two of these, the other child is a girl; so the probability of the other child being a girl is 2/3. Leaving the probability of the other child being a boy at 1/3.

Copyright 2022 NPR. To see more, visit https://www.npr.org.

As Editor-in-Chief of our newsroom, I’m extremely proud of the work our top-notch journalists are doing here at LAist. We’re doing more hard-hitting watchdog journalism than ever before — powerful reporting on the economy, elections, climate and the homelessness crisis that is making a difference in your lives. At the same time, it’s never been more difficult to maintain a paywall-free, independent news source that informs, inspires, and engages everyone.

Simply put, we cannot do this essential work without your help. Federal funding for public media has been clawed back by Congress and that means LAist has lost $3.4 million in federal funding over the next two years. So we’re asking for your help. LAist has been there for you and we’re asking you to be here for us.

We rely on donations from readers like you to stay independent, which keeps our nonprofit newsroom strong and accountable to you.

No matter where you stand on the political spectrum, press freedom is at the core of keeping our nation free and fair. And as the landscape of free press changes, LAist will remain a voice you know and trust, but the amount of reader support we receive will help determine how strong of a newsroom we are going forward to cover the important news from our community.

Please take action today to support your trusted source for local news with a donation that makes sense for your budget.

Thank you for your generous support and believing in independent news.

Chip in now to fund your local journalism
A row of graphics payment types: Visa, MasterCard, Apple Pay and PayPal, and  below a lock with Secure Payment text to the right
(
LAist
)

Trending on LAist