Sort
Profile photo for Dave Wade-Stein

It’s much easier to prove some number of people don’t have the same birthday, and then once you have that probability, you can subtract it from one to find the probability that 2 or more people have the same birthday.

For simplicity, I’ll ignore February 29th birthdays, and I’ll also assume birthdays are evenly distributed (they aren’t).

Suppose your birthday is April 12. What is the probability that another person in the room with you DOES NOT share your birthday?

There are 364 other birthdays that this second person could have.

[math]\frac{364}{365} = .9973[/math]

That means there is 99.73% chance that two pe

It’s much easier to prove some number of people don’t have the same birthday, and then once you have that probability, you can subtract it from one to find the probability that 2 or more people have the same birthday.

For simplicity, I’ll ignore February 29th birthdays, and I’ll also assume birthdays are evenly distributed (they aren’t).

Suppose your birthday is April 12. What is the probability that another person in the room with you DOES NOT share your birthday?

There are 364 other birthdays that this second person could have.

[math]\frac{364}{365} = .9973[/math]

That means there is 99.73% chance that two people do not share the same birthday. (And if we flip the script, we can say there is a [math]1 - .9973 = .0027[/math] or a 0.27% chance these two people do share a birthday–which, unsurprisingly, is the same as [math]\frac{1}{365}[/math]).

Now, let’s add a third person to the mix. Your birthday is April 12, and let’s say the second person’s birthday is January 4. The third person can have any of the remaining 363 birthdays and not share a birthday with either of you. There is a [math]\frac{363}{365}[/math] probability of this.

If we want both things to be true, i.e., Person 2 has a birthday other than yours, and Person 3 has a birthday other than you and Person 2, we have to multiply these probabilities together:

[math]\frac{364}{365} \times \frac{363}{365} = .9917[/math]

(or a 99.17% chance that all 3 people have different birthdays)

The general formula for [math]n[/math] people would be:

[math]\frac{364}{365} \times \frac{363}{365} \times ... \times \frac{366 - n}{365}[/math]

Continuing with this math is tedious, so I wrote a Python script to perform the computation up to 70 and print out a few notable numbers of people in the room:

We can see that when you have 23 people in a room, it is just slightly more likely than not that 2+ people share a birthday.

When we get to 60, the probability is well over 99%, and with 70 people the probability is 99.92%.

I used to teach classes that had 23+ people in them, and when that happened, I would ask the students to tell me their birthdays. About half the time, there would be 2 people that shared a birthday…

EDIT: I wrote code to generate 23 (or any [math]n[/math]) random birthdays one million times and count the number of times a duplicate is found. When [math]n[/math] is 23, here is the result of running that code five times…

And if we try it with 30 people in the room…

Profile photo for Tim Farage

The easiest way to do this is to calculate the probability that none of the 70 people have the same birthday. (I’ll assume 365 possible birthdays).

Pick the first person. They have some birthday, and it doesn’t matter which.

Now the second person must have a different birthday than the first. Since there are 364 birthdays left, the probability that this is different than the first person is [math]\frac{364}{365}[/math].

The third person must have a different birthday than the first two people. Since there are 363 birthdays left, the probability that this is different than the first two people is [math]\frac{363}{36[/math]

The easiest way to do this is to calculate the probability that none of the 70 people have the same birthday. (I’ll assume 365 possible birthdays).

Pick the first person. They have some birthday, and it doesn’t matter which.

Now the second person must have a different birthday than the first. Since there are 364 birthdays left, the probability that this is different than the first person is [math]\frac{364}{365}[/math].

The third person must have a different birthday than the first two people. Since there are 363 birthdays left, the probability that this is different than the first two people is [math]\frac{363}{365}[/math].

The fourth person must have a different birthday than the first three people. Since there are 362 birthdays left, the probability that this is different than the first three people is [math]\frac{362}{365}[/math].

You get the idea.

We must multiply the first 70–1=69 of these to get the probability that all 70 people have different birthdays. This will give:

[math]\frac{364}{365}*\frac{363}{365}*\frac{362}{365}*\cdots*\frac{296}{365}[/math].

You can whip out your calculator, but I prefer Wolfram Alpha to estimate this value. It comes out to a probability of: 0.00084. Subtracting this from 1, we get the probability that at least two people having the same birthday as 0.9992 or 99.92%.

Pretty surprising, isn’t it?

The break even point is at 23 people. That is to say, if you have 23 people there is about a 50% chance that two of them will have the same birthday.

I’ve done this in a class of 50 students. There have always been duplicate birthdays.

Where do I start?

I’m a huge financial nerd, and have spent an embarrassing amount of time talking to people about their money habits.

Here are the biggest mistakes people are making and how to fix them:

Not having a separate high interest savings account

Having a separate account allows you to see the results of all your hard work and keep your money separate so you're less tempted to spend it.

Plus with rates above 5.00%, the interest you can earn compared to most banks really adds up.

Here is a list of the top savings accounts available today. Deposit $5 before moving on because this is one of th

Where do I start?

I’m a huge financial nerd, and have spent an embarrassing amount of time talking to people about their money habits.

Here are the biggest mistakes people are making and how to fix them:

Not having a separate high interest savings account

Having a separate account allows you to see the results of all your hard work and keep your money separate so you're less tempted to spend it.

Plus with rates above 5.00%, the interest you can earn compared to most banks really adds up.

Here is a list of the top savings accounts available today. Deposit $5 before moving on because this is one of the biggest mistakes and easiest ones to fix.

Overpaying on car insurance

You’ve heard it a million times before, but the average American family still overspends by $417/year on car insurance.

If you’ve been with the same insurer for years, chances are you are one of them.

Pull up Coverage.com, a free site that will compare prices for you, answer the questions on the page, and it will show you how much you could be saving.

That’s it. You’ll likely be saving a bunch of money. Here’s a link to give it a try.

Consistently being in debt

If you’ve got $10K+ in debt (credit cards…medical bills…anything really) you could use a debt relief program and potentially reduce by over 20%.

Here’s how to see if you qualify:

Head over to this Debt Relief comparison website here, then simply answer the questions to see if you qualify.

It’s as simple as that. You’ll likely end up paying less than you owed before and you could be debt free in as little as 2 years.

Missing out on free money to invest

It’s no secret that millionaires love investing, but for the rest of us, it can seem out of reach.

Times have changed. There are a number of investing platforms that will give you a bonus to open an account and get started. All you have to do is open the account and invest at least $25, and you could get up to $1000 in bonus.

Pretty sweet deal right? Here is a link to some of the best options.

Having bad credit

A low credit score can come back to bite you in so many ways in the future.

From that next rental application to getting approved for any type of loan or credit card, if you have a bad history with credit, the good news is you can fix it.

Head over to BankRate.com and answer a few questions to see if you qualify. It only takes a few minutes and could save you from a major upset down the line.

How to get started

Hope this helps! Here are the links to get started:

Have a separate savings account
Stop overpaying for car insurance
Finally get out of debt
Start investing with a free bonus
Fix your credit

Profile photo for Assistant
Assistant

The statement that if you put 70 people into a room, there's almost a 100% chance that two of them share the same birthday is a reference to the birthday problem in probability theory. To understand and prove this, let’s break down the reasoning.

Explanation of the Birthday Problem

The birthday problem explores the probability that in a group of [math]n[/math] people, at least two people share the same birthday. The surprising result is that this probability increases rapidly as [math]n[/math] increases.

Assumptions:

  1. There are 365 days in a year (ignoring leap years).
  2. Birthdays are uniformly distributed across these days.

St

The statement that if you put 70 people into a room, there's almost a 100% chance that two of them share the same birthday is a reference to the birthday problem in probability theory. To understand and prove this, let’s break down the reasoning.

Explanation of the Birthday Problem

The birthday problem explores the probability that in a group of [math]n[/math] people, at least two people share the same birthday. The surprising result is that this probability increases rapidly as [math]n[/math] increases.

Assumptions:

  1. There are 365 days in a year (ignoring leap years).
  2. Birthdays are uniformly distributed across these days.

Steps to Calculate the Probability

  1. Calculate the probability that no two people share a birthday:
    - For the first person, they can have their birthday on any of the 365 days.
    - The second person can have their birthday on any of the remaining 364 days.
    - The third person can have their birthday on any of the remaining 363 days, and so on.

The probability [math]P(n)[/math] that all [math]n[/math] people have different birthdays can be calculated as follows:

[math]P(n) = \frac{365}{365} \times \frac{364}{365} \times \frac{363}{365} \times \ldots \times \frac{365 - n + 1}{365}[/math]

This can be simplified to:

[math]P(n) = \frac{365!}{(365 - n)! \cdot 365^n}[/math]

  1. Calculate the probability that at least two people share a birthday:
    - The probability
    [math]Q(n)[/math] that at least two people share a birthday is given by:

[math]Q(n) = 1 - P(n)[/math]

Calculation for [math]n = 70[/math]

Using the formula for [math]P(n)[/math]:

  • For [math]n = 70[/math]:

[math]P(70) = \frac{365}{365} \times \frac{364}{365} \times \frac{363}{365} \times \ldots \times \frac{296}{365}[/math]

Calculating this can be complex, but it can also be approximated using the exponential function:

[math]P(n) \approx e^{-\frac{n(n-1)}{2 \cdot 365}}[/math]

Plugging in [math]n = 70[/math]:

[math]P(70) \approx e^{-\frac{70 \cdot 69}{2 \cdot 365}} \approx e^{-6.615} \approx 0.00133[/math]

Thus,

[math]Q(70) \approx 1 - 0.00133 \approx 0.99867[/math]

Conclusion

The probability [math]Q(70)[/math] is approximately 0.99867, which means there is about a 99.87% chance that at least two of the 70 people share the same birthday. Therefore, the statement that there is almost a 100% chance is indeed accurate. The surprising nature of the birthday problem highlights how quickly probabilities can accumulate as the number of people increases.

Profile photo for Quora User

Others have given perfectly good answers proving that the probability is >99%. I’m going to say why you can intuitively see that it’s gotta be true with just a few seconds of thought.

If you have 70 people in a room, how many pairs of people do you have? Well, to get a pair of people, you first pick one person and then you pick another person. There are 70 options for the first pick, and then 69 options (everyone except the first pick) for the second pick. That’s 70 * 69. But to stick with numbers that I can multiply in my head, it’s somewhere around 70 * 70, which is 4900. But wait, my method

Others have given perfectly good answers proving that the probability is >99%. I’m going to say why you can intuitively see that it’s gotta be true with just a few seconds of thought.

If you have 70 people in a room, how many pairs of people do you have? Well, to get a pair of people, you first pick one person and then you pick another person. There are 70 options for the first pick, and then 69 options (everyone except the first pick) for the second pick. That’s 70 * 69. But to stick with numbers that I can multiply in my head, it’s somewhere around 70 * 70, which is 4900. But wait, my method of choosing a pair of people double-counts the number of pairs. I might have chosen Allan and then Betty, but I might have also chosen Betty and then Allan. That’s the same pair (Allan and Betty), but it’s counted twice in the 4900 count. So it follows that the number of pairs of people is half of ~4900, or around 2450. I’m going to round down to ~2400.

Considered independently, each of the pairs has a ~1/365 chance of having the same birthday. Notice that 2400/365 is somewhere around 6 or 7, so you should expect several pairs to have the same birthday. Now what do you think the odds are that none of the ~2400 pairs is a birthday match? You probably think it’s pretty low odds, and you’d be right.

Profile photo for Junth Basnet

Complementation Law;

[math]\mathbb{P}(A)^c=1-\mathbb{P}(A).[/math]

Using complementation law in Birthday Paradox.

[math]\mathbb{P}(atleast[/math] [math]2[/math] [math]have[/math] [math]same[/math] [math]Birthday)=1-\mathbb{P}(noone[/math] [math]have[/math] [math]same[/math] [math] Birthday).[/math]

Calculation of Probability of no [math]2[/math] having same Birthday.

[math]\mathbb{P}(1B)=(\frac{365}{365}).[/math]

[math]\mathbb{P}(2B)=(\frac{364}{365}).[/math]

[math]\mathbb{P}(3B)=(\frac{363}{365}).[/math]

[math]\mathbb{P}(70B)=(\frac{365-69}{365}).[/math]

Since;[math]\mathbb{P}(noBirthday)=(\frac{365}{365})(\frac{364}{365})(\frac{363}{365})...(\frac{365-69}{365})[/math]

Therefore;

[math]\mathbb{P}(2Birthday)=1-\mathbb{P}(noBirthday).[/math]

Beautifying the equation with Factorial.

[math]\mathbb{P}(2Birthday)=1-(\[/math]

Complementation Law;

[math]\mathbb{P}(A)^c=1-\mathbb{P}(A).[/math]

Using complementation law in Birthday Paradox.

[math]\mathbb{P}(atleast[/math] [math]2[/math] [math]have[/math] [math]same[/math] [math]Birthday)=1-\mathbb{P}(noone[/math] [math]have[/math] [math]same[/math] [math] Birthday).[/math]

Calculation of Probability of no [math]2[/math] having same Birthday.

[math]\mathbb{P}(1B)=(\frac{365}{365}).[/math]

[math]\mathbb{P}(2B)=(\frac{364}{365}).[/math]

[math]\mathbb{P}(3B)=(\frac{363}{365}).[/math]

[math]\mathbb{P}(70B)=(\frac{365-69}{365}).[/math]

Since;[math]\mathbb{P}(noBirthday)=(\frac{365}{365})(\frac{364}{365})(\frac{363}{365})...(\frac{365-69}{365})[/math]

Therefore;

[math]\mathbb{P}(2Birthday)=1-\mathbb{P}(noBirthday).[/math]

Beautifying the equation with Factorial.

[math]\mathbb{P}(2Birthday)=1-(\frac{365!}{(365^{70})(365-70)!})=0.9999[/math]

Concept Required;Probability Theorem.

Absolutely. With online platforms such as BetterHelp, you are able to speak and work with a licensed therapist in the comfort of your own home.

BetterHelp has quickly become the largest online therapy service provider. With over 5 million users to date, and 30K+ licensed therapists, BetterHelp is here to provide professional, affordable, and personalized therapy in a convenient online format.

By simply taking a short quiz, BetterHelp will match you with an online therapist based on your needs and preferences, all while never leaving the comfort of your own home. You can choose between video, aud

Absolutely. With online platforms such as BetterHelp, you are able to speak and work with a licensed therapist in the comfort of your own home.

BetterHelp has quickly become the largest online therapy service provider. With over 5 million users to date, and 30K+ licensed therapists, BetterHelp is here to provide professional, affordable, and personalized therapy in a convenient online format.

By simply taking a short quiz, BetterHelp will match you with an online therapist based on your needs and preferences, all while never leaving the comfort of your own home. You can choose between video, audio-only, or even live chat messaging sessions making your therapy experience completely customizable to you.

To get started today, simply fill out this short form.

Profile photo for Alon Amit

No. It is about 99.916%, a bit less than 99.99%.

[math]\displaystyle 1-\frac{365!}{(365-70)!365^{70}}=0.99916\ldots[/math]

This assumes a uniform distribution over 365 possible birth dates. There are actually 366, but one of them is significantly more rare than the others. If you allow 366 birth dates, the answer changes to roughly 99.914%.

The precise probability, taking into account the likelihood of being born on Feb 29, is somewhere between these two figures. Determining the exact value requires assumptions on the distribution of birth years among the attendees of the party.

Furthermore, birth dates are no

No. It is about 99.916%, a bit less than 99.99%.

[math]\displaystyle 1-\frac{365!}{(365-70)!365^{70}}=0.99916\ldots[/math]

This assumes a uniform distribution over 365 possible birth dates. There are actually 366, but one of them is significantly more rare than the others. If you allow 366 birth dates, the answer changes to roughly 99.914%.

The precise probability, taking into account the likelihood of being born on Feb 29, is somewhere between these two figures. Determining the exact value requires assumptions on the distribution of birth years among the attendees of the party.

Furthermore, birth dates are not uniformly distributed through the year

. Depending on the geographical region and healthcare practices, various factors affect the likelihood of conception at a given month or the frequency of C-sections on a given day of the week.

Such concentration effects will increase the likelihood of birthday collisions among any number of people, likely beyond the 99.99% figure for 70 people mentioned in the question.

Footnotes

Profile photo for Lucas Curtis

Let’s start by figuring out the probability that nobody has the same birthday as anybody else, then subtract that probability from [math]1[/math].

(By the way, I’m ignoring leap years and assuming there are [math]365[/math] unique birthdays).

For [math]n[/math] people in a room, the total number of combinations of birthdays without repetition is given by:

[math]V_{nr} = \frac{365!}{(365-n)!}[/math]

While the total number of combinations with repetition is given by:

[math]V_{r} = 365^n[/math]

And the probability that no two people have the same birthday in a group of [math]n[/math] people is given by:

[math]P(A) = \frac{V_{nr}}{V_{r}}[/math]

The probability that two people do share a birthda

Let’s start by figuring out the probability that nobody has the same birthday as anybody else, then subtract that probability from [math]1[/math].

(By the way, I’m ignoring leap years and assuming there are [math]365[/math] unique birthdays).

For [math]n[/math] people in a room, the total number of combinations of birthdays without repetition is given by:

[math]V_{nr} = \frac{365!}{(365-n)!}[/math]

While the total number of combinations with repetition is given by:

[math]V_{r} = 365^n[/math]

And the probability that no two people have the same birthday in a group of [math]n[/math] people is given by:

[math]P(A) = \frac{V_{nr}}{V_{r}}[/math]

The probability that two people do share a birthday is therefore:

[math]P(B) = 1 - P(A)[/math]

You were asking about [math]100[/math] people:

[math]V_{nr} = \frac{365!}{(365-100)!}[/math]

This number is unspeakably huge, so we’re not going to calculate it outright.

[math]V_{nr} = 365^{100}[/math]

Another huge number.

[math]P(A) = \dfrac{\frac{365!}{265!}}{365^{100}} \approx 3.1\times10^{-7}[/math]

(Thanks WolframAlpha!)

[math]P(B) = 1 - (3.1\times10^{-7}) = 0.99999969 = 99.999969\text{%}[/math]

It might be surprising that the probability is so high. Here’s an analogy: imagine that you are asked to throw 100 darts — blindfolded — at a board divided into 365 wedges. Chances are extremely good that you’re going to hit the same wedge twice.

Profile photo for Quora User

Here’s the thing: I wish I had known these money secrets sooner. They’ve helped so many people save hundreds, secure their family’s future, and grow their bank accounts—myself included.

And honestly? Putting them to use was way easier than I expected. I bet you can knock out at least three or four of these right now—yes, even from your phone.

Don’t wait like I did. Go ahead and start using these money secrets today!

1. Cancel Your Car Insurance

You might not even realize it, but your car insurance company is probably overcharging you. In fact, they’re kind of counting on you not noticing. Luckily,

Here’s the thing: I wish I had known these money secrets sooner. They’ve helped so many people save hundreds, secure their family’s future, and grow their bank accounts—myself included.

And honestly? Putting them to use was way easier than I expected. I bet you can knock out at least three or four of these right now—yes, even from your phone.

Don’t wait like I did. Go ahead and start using these money secrets today!

1. Cancel Your Car Insurance

You might not even realize it, but your car insurance company is probably overcharging you. In fact, they’re kind of counting on you not noticing. Luckily, this problem is easy to fix.

Don’t waste your time browsing insurance sites for a better deal. A company called Insurify shows you all your options at once — people who do this save up to $996 per year.

If you tell them a bit about yourself and your vehicle, they’ll send you personalized quotes so you can compare them and find the best one for you.

Tired of overpaying for car insurance? It takes just five minutes to compare your options with Insurify and see how much you could save on car insurance.

2. Ask This Company to Get a Big Chunk of Your Debt Forgiven

A company called National Debt Relief could convince your lenders to simply get rid of a big chunk of what you owe. No bankruptcy, no loans — you don’t even need to have good credit.

If you owe at least $10,000 in unsecured debt (credit card debt, personal loans, medical bills, etc.), National Debt Relief’s experts will build you a monthly payment plan. As your payments add up, they negotiate with your creditors to reduce the amount you owe. You then pay off the rest in a lump sum.

On average, you could become debt-free within 24 to 48 months. It takes less than a minute to sign up and see how much debt you could get rid of.

3. You Can Become a Real Estate Investor for as Little as $10

Take a look at some of the world’s wealthiest people. What do they have in common? Many invest in large private real estate deals. And here’s the thing: There’s no reason you can’t, too — for as little as $10.

An investment called the Fundrise Flagship Fund lets you get started in the world of real estate by giving you access to a low-cost, diversified portfolio of private real estate. The best part? You don’t have to be the landlord. The Flagship Fund does all the heavy lifting.

With an initial investment as low as $10, your money will be invested in the Fund, which already owns more than $1 billion worth of real estate around the country, from apartment complexes to the thriving housing rental market to larger last-mile e-commerce logistics centers.

Want to invest more? Many investors choose to invest $1,000 or more. This is a Fund that can fit any type of investor’s needs. Once invested, you can track your performance from your phone and watch as properties are acquired, improved, and operated. As properties generate cash flow, you could earn money through quarterly dividend payments. And over time, you could earn money off the potential appreciation of the properties.

So if you want to get started in the world of real-estate investing, it takes just a few minutes to sign up and create an account with the Fundrise Flagship Fund.

This is a paid advertisement. Carefully consider the investment objectives, risks, charges and expenses of the Fundrise Real Estate Fund before investing. This and other information can be found in the Fund’s prospectus. Read them carefully before investing.

4. Earn Up to $50 this Month By Answering Survey Questions About the News — It’s Anonymous

The news is a heated subject these days. It’s hard not to have an opinion on it.

Good news: A website called YouGov will pay you up to $50 or more this month just to answer survey questions about politics, the economy, and other hot news topics.

Plus, it’s totally anonymous, so no one will judge you for that hot take.

When you take a quick survey (some are less than three minutes), you’ll earn points you can exchange for up to $50 in cash or gift cards to places like Walmart and Amazon. Plus, Penny Hoarder readers will get an extra 500 points for registering and another 1,000 points after completing their first survey.

It takes just a few minutes to sign up and take your first survey, and you’ll receive your points immediately.

5. Get Up to $300 Just for Setting Up Direct Deposit With This Account

If you bank at a traditional brick-and-mortar bank, your money probably isn’t growing much (c’mon, 0.40% is basically nothing).

But there’s good news: With SoFi Checking and Savings (member FDIC), you stand to gain up to a hefty 3.80% APY on savings when you set up a direct deposit or have $5,000 or more in Qualifying Deposits and 0.50% APY on checking balances — savings APY is 10 times more than the national average.

Right now, a direct deposit of at least $1K not only sets you up for higher returns but also brings you closer to earning up to a $300 welcome bonus (terms apply).

You can easily deposit checks via your phone’s camera, transfer funds, and get customer service via chat or phone call. There are no account fees, no monthly fees and no overdraft fees. And your money is FDIC insured (up to $3M of additional FDIC insurance through the SoFi Insured Deposit Program).

It’s quick and easy to open an account with SoFi Checking and Savings (member FDIC) and watch your money grow faster than ever.

Read Disclaimer

5. Stop Paying Your Credit Card Company

If you have credit card debt, you know. The anxiety, the interest rates, the fear you’re never going to escape… but a website called AmONE wants to help.

If you owe your credit card companies $100,000 or less, AmONE will match you with a low-interest loan you can use to pay off every single one of your balances.

The benefit? You’ll be left with one bill to pay each month. And because personal loans have lower interest rates (AmONE rates start at 6.40% APR), you’ll get out of debt that much faster.

It takes less than a minute and just 10 questions to see what loans you qualify for.

6. Lock In Affordable Term Life Insurance in Minutes.

Let’s be honest—life insurance probably isn’t on your list of fun things to research. But locking in a policy now could mean huge peace of mind for your family down the road. And getting covered is actually a lot easier than you might think.

With Best Money’s term life insurance marketplace, you can compare top-rated policies in minutes and find coverage that works for you. No long phone calls. No confusing paperwork. Just straightforward quotes, starting at just $7 a month, from trusted providers so you can make an informed decision.

The best part? You’re in control. Answer a few quick questions, see your options, get coverage up to $3 million, and choose the coverage that fits your life and budget—on your terms.

You already protect your car, your home, even your phone. Why not make sure your family’s financial future is covered, too? Compare term life insurance rates with Best Money today and find a policy that fits.

Profile photo for Julian

It’s much easier to work out the probability that nobody has same birthday as anybody else in the room first. Let’s say their birthday is independent

and let’s ignore the leap years

For the first person in the room,he or she’s birthday could be any day in a year,and the second person’s birthday could be any day but the first person’s birthday. etc.etc.

So the probability that nobody has the same birthday as anybody else in the room is

[math]\displaystyle\prod_{n=0}^{99} \dfrac{365-n}{365}[/math]

[math]=\displaystyle\prod_{n=0}^{99} \dfrac{365-n}{365} \dfrac{(365-100)!}{(365-100)!}=\dfrac{365!}{365^{100}(365-100)!}=[/math]

Footnotes

It’s much easier to work out the probability that nobody has same birthday as anybody else in the room first. Let’s say their birthday is independent

and let’s ignore the leap years

For the first person in the room,he or she’s birthday could be any day in a year,and the second person’s birthday could be any day but the first person’s birthday. etc.etc.

So the probability that nobody has the same birthday as anybody else in the room is

[math]\displaystyle\prod_{n=0}^{99} \dfrac{365-n}{365}[/math]

[math]=\displaystyle\prod_{n=0}^{99} \dfrac{365-n}{365} \dfrac{(365-100)!}{(365-100)!}=\dfrac{365!}{365^{100}(365-100)!}=\dfrac{365!}{365^{100}265!}[/math]

OK,modern solution:

And don’t forget that the final answer is 1 minus this number

So the answer is[math]8-3.0724892785158286e[/math]

Footnotes

Profile photo for David Gillies

Assuming 365 days per year and that birth dates are randomly chosen, the likelihood that of n people none will have a common birthday is [math]\frac{365}{365}\frac{364}{365}\dots\frac{365-n+1}{365} = \frac{365!}{(365-n)!\,365^n}[/math]. The likelihood that at least two will share a birthday is thus one minus this probability. For n = 100, the likelihood of a shared birthday is ~0.99999969275, which is to all intents and purposes a certainty. If the people had genuinely been chosen at random you could essentially bet your life that at least two would share a birthday. Even with fifty people there’s a 97% ch

Assuming 365 days per year and that birth dates are randomly chosen, the likelihood that of n people none will have a common birthday is [math]\frac{365}{365}\frac{364}{365}\dots\frac{365-n+1}{365} = \frac{365!}{(365-n)!\,365^n}[/math]. The likelihood that at least two will share a birthday is thus one minus this probability. For n = 100, the likelihood of a shared birthday is ~0.99999969275, which is to all intents and purposes a certainty. If the people had genuinely been chosen at random you could essentially bet your life that at least two would share a birthday. Even with fifty people there’s a 97% chance of a common birthday.

Profile photo for Grammarly

If you want to write better essays, it’s helpful to understand the criteria teachers use to score them. Instead of solely focusing on the grade you are given, focus on how you are being graded and how you can improve, even if you are already getting a high grade.

Development of Your Thesis

A thesis is the essence of your paper—the claim you are making, the point you are trying to prove. All the other paragraphs in your essay will revolve around this one central idea. Your thesis statement consists of the one or two sentences of your introduction that explain what your position on the topic at ha

If you want to write better essays, it’s helpful to understand the criteria teachers use to score them. Instead of solely focusing on the grade you are given, focus on how you are being graded and how you can improve, even if you are already getting a high grade.

Development of Your Thesis

A thesis is the essence of your paper—the claim you are making, the point you are trying to prove. All the other paragraphs in your essay will revolve around this one central idea. Your thesis statement consists of the one or two sentences of your introduction that explain what your position on the topic at hand is. Teachers will evaluate all your other paragraphs on how well they relate to or support this statement.

Strong Form

A good essay presents thoughts in a logical order. The format should be easy to follow. The introduction should flow naturally to the body paragraphs, and the conclusion should tie everything together. The best way to do this is to lay out the outline of your paper before you begin. After you finish your essay, review the form to see if thoughts progress naturally. Ensure your paragraphs and sentences are in a logical order, the transitions are smooth so that the paragraphs are coherently connected, and that your body paragraphs relate to the thesis statement.

Style

Just as your clothes express your personality, the style of your essay reveals your writing persona. You demonstrate your fluency by writing precise sentences that vary in form. A mature writer uses various types of sentences, idiomatic phrases, and demonstrates knowledge of genre-specific vocabulary, all the while ensuring the writing reflects your authentic voice.

Conventions

Conventions include spelling, punctuation, sentence structure, and grammar. Having lots of mistakes suggests carelessness and diminishes the credibility of your arguments. Furthermore, because most essays are written on computers these days, there is a lower tolerance for spelling mistakes, which can easily be avoided with spell-checking tools such as Grammarly. Beyond spelling, Grammarly can also help to weed out other major grammatical errors. Follow up with a close reading of your entire paper.

Support and References

Finally, your teacher will examine your resources. Select information from reliable websites, articles, and books. Use quotes and paraphrases to support your ideas, but be sure to credit your sources correctly. Also, always remember that copying five consecutive words or more from any source constitutes plagiarism. If you are concerned about unintentionally quoting your sources, Grammarly Pro offers a plagiarism detector so you can always double-check your work.

The grades you get on your essays are important, but you can never improve your writing if they are the only things you consider. Focus on improving your essays’ overall structure—the thesis development, form, style, conventions, and support. Learning to master these five elements will cause your scores to soar!

Profile photo for Doug Hensley

It’s not easy to give an exact answer because dates of birth are not evenly distributed. Also, what if you’re looking at a convention of “people who were drafted to serve in Vietnam in the first year of the draft lottery”? They’ll all be drawn from some restricted set of dates of birth, the dates that the lottery picked early.

But in the normal course of events, it’s a very high probability.

By the time you’re up to 60 people, say, if they all have different birthdays, then every one of the remaining 40 have to at any rate miss those 60 numbers. So the chance that they all do is in the ballpark

It’s not easy to give an exact answer because dates of birth are not evenly distributed. Also, what if you’re looking at a convention of “people who were drafted to serve in Vietnam in the first year of the draft lottery”? They’ll all be drawn from some restricted set of dates of birth, the dates that the lottery picked early.

But in the normal course of events, it’s a very high probability.

By the time you’re up to 60 people, say, if they all have different birthdays, then every one of the remaining 40 have to at any rate miss those 60 numbers. So the chance that they all do is in the ballpark of (5/6)^40 which is pretty small. Well less than 1 in 1000.

Profile photo for Quora User

Think of any two people as a pairing.

Two people, one pairing:

Three people, three pairings:

Four people, six pairings:

Five people, ten pairings:

Generally speaking, any n people make (n)(n - 1)/2 pairings (also known as triangular numbers). And any one pairing has 1/365 chance to have the same birthday. So if you have, for example, 5 people, the chances that at least two of them have the same birthday is [math]1 - (364/365)^{10} = 1 - 0.973 = 0.027[/math]

That’s pretty low probability, but as you add more people, it goes up fast. You need only 23 people for the probability of one pair of same birthdays to be o

Think of any two people as a pairing.

Two people, one pairing:

Three people, three pairings:

Four people, six pairings:

Five people, ten pairings:

Generally speaking, any n people make (n)(n - 1)/2 pairings (also known as triangular numbers). And any one pairing has 1/365 chance to have the same birthday. So if you have, for example, 5 people, the chances that at least two of them have the same birthday is [math]1 - (364/365)^{10} = 1 - 0.973 = 0.027[/math]

That’s pretty low probability, but as you add more people, it goes up fast. You need only 23 people for the probability of one pair of same birthdays to be over 50%:

[math]23*22/2 = 253[/math]

[math]1 - (364/365)^{253} = 1 - 0.4995 = 0.5005[/math]

75th triangular number is 75*74/2 = 2775. So the chances of at least two out of 75 have the same birthday is [math]1 - (364/365)^{2775} = 1 - 0.00049 = 0.99951[/math]

Profile photo for Joe Blitzstein

The key intuition is that with 30 people, there are 435 pairs of people (this is choose(30,2)=30*29/2). The number of pairs of people is a pretty big number even though the number of people isn't large. Any one of those 435 pairs of people could be a birthday match (the chance is 1/365 for any particular pair). Overall, it works out that there is about a 71% chance of at least one match when there are 30 people (under some standard assumptions).

For more on the birthday problem, see What is the birthday problem (in mathematics)? and

Profile photo for Bob Gibson

I make it 57 rather than 75 for a 99% chance using the (correct) formula given in Boni’s answer.

As low as 23 will give you a 50/50 chance

Profile photo for Daniel Schwartz

“What is the probability of two people having the same birthday in a room full of people?”

Higher than you might think.

The way you calculate this is a little counter-intuitive. You ask the reverse question: in a room with N people, where we can assume birthdays are scattered randomly, what are the odds that no one shares a birthday with anyone else?

(That will give you a probability, a number between 0 and 1. Subtract that number from 1 and you get the converse: the probability that at least one person shares a birthday with someone else.)

Start with one person. What are the odds this person does

“What is the probability of two people having the same birthday in a room full of people?”

Higher than you might think.

The way you calculate this is a little counter-intuitive. You ask the reverse question: in a room with N people, where we can assume birthdays are scattered randomly, what are the odds that no one shares a birthday with anyone else?

(That will give you a probability, a number between 0 and 1. Subtract that number from 1 and you get the converse: the probability that at least one person shares a birthday with someone else.)

Start with one person. What are the odds this person does not share a birthday with anyone else in the room? The odds are 100%, or 1, because there's no one else in the room! Let's represent that as 365/365.

Now we add a second person. What are the odds the 2nd person doesn't share a birthday with the 1st one? Ignoring leap years, there are 364/365 chances that they don't share a birthday. The two birthdays are independent, so we multiply. Now we have 365/365 x 364/365.

When we add a third person, the same logic applies — this person shouldn't have the same birthday as either of the first two. So for the 3rd person, the probability is 363/365.

Keep multiplying elements of this series — 365/365 x 364/365 x 363/365 x 362/365 x 361/365… until you get what you want. For example you might want to know: how many random people need to be in a room, for the chances of a common birthday to be over 50%? The number of people turns out to be 23. (Check it and see.)

Profile photo for Rahul Erai

Its quite straight forward. Assume there are n random dudes under consideration. The probability we are interested is
P(n) = the probability of at least 2 dudes among the
n having the same birthday.
But its complement P'(n) is much more easier to calculate.

P'(n) = No two dudes among the n dudes has same birthday.
=
[math]\frac{365}{365}*\frac{365-1}{365}*\frac{365-2}{365}*..*\frac{365-(n-1)}{365}[/math]
=
[math]\frac{365!}{(365-n)!*365^n}[/math]

Of course. P(n) = 1-P'(n)
In your case,p(42) = 1 - 0.086
= 0.914

Its quite straight forward. Assume there are n random dudes under consideration. The probability we are interested is
P(n) = the probability of at least 2 dudes among the
n having the same birthday.
But its complement P'(n) is much more easier to calculate.

P'(n) = No two dudes among the n dudes has same birthday.
=
[math]\frac{365}{365}*\frac{365-1}{365}*\frac{365-2}{365}*..*\frac{365-(n-1)}{365}[/math]
=
[math]\frac{365!}{(365-n)!*365^n}[/math]

Of course. P(n) = 1-P'(n)
In your case,p(42) = 1 - 0.086
= 0.914

Profile photo for Quora User

A quick intuitive approach to see why this probability is so high.

Note: this is a quick approximation.

There are [math]{75 \choose 2} = \frac{75 \times 74}{2} = 2775[/math] pairs of people. For each pair of people, there is a [math]\frac{1}{366}[/math] chance that they have the same birthday. Or, for each pair there is a [math]\frac{365}{366}[/math] chance that they do not share a birthday and we look at [math]\left(\frac{365}{366}\right)^{2775} \approxeq 0.0005[/math].

Now, that was just an approximation. The actual probability of people sharing a birthday will be higher than that. Why? Well, let’s consider the case where there are 400 people. N

A quick intuitive approach to see why this probability is so high.

Note: this is a quick approximation.

There are [math]{75 \choose 2} = \frac{75 \times 74}{2} = 2775[/math] pairs of people. For each pair of people, there is a [math]\frac{1}{366}[/math] chance that they have the same birthday. Or, for each pair there is a [math]\frac{365}{366}[/math] chance that they do not share a birthday and we look at [math]\left(\frac{365}{366}\right)^{2775} \approxeq 0.0005[/math].

Now, that was just an approximation. The actual probability of people sharing a birthday will be higher than that. Why? Well, let’s consider the case where there are 400 people. Now it is absolutely certain there will be people sharing a birthday, but the above reasoning would give a value just a tad bit below [math]100\%[/math].

That’s because we did not take into account that, if the first two people we look at do not share a birthday, there’s only [math]364[/math] possible days left for the other people. The probability of no two people sharing a birthday becomes: [math]\frac{365}{366} \times \frac{364}{366} \times \frac{363}{366} \times \cdots \times \frac{366 - 74}{366}[/math]. This gives a probability of about [math]0.0003[/math] that no two people share a birthday.

Profile photo for David Vanderschel

Line ’em up. The probability that the [math]n[/math]th person’s birthday does not match that of a predecessor is [math](366-n)/365. [/math]

[math]\prod_{n=1}^{70}\frac{366-n}{365}\approx0.00084[/math]

So failure for two to have same birthday has an extremely low probability. (There would be a correction for leap year that is so small that it is not worth messing with.)

Profile photo for Chris Prosser

This is known as the birthday paradox, named a paradox just because it is at first counter intuitive.

Basically, for each individual, the chance of them sharing a birthday with someone in the room is relatively low, but to get the probability of any two people sharing a birthday you add all of these small probabilities together which makes it to a 50% chance faster than most people expect (with just 23 people).

There is a breakdown of the maths to calculate the exact percentages here: http://betterexplained.com/articles/understanding-the-birthday-paradox/

Profile photo for Scott Brickner

The simplest way to think of it is that, if there were 367 people, it would be impossible for them not to have the same birthday—there are only 366 birthdays to go around.

If there are 366 people, it’s almost impossible—each one has to be born on a separate day. Once you’d found 365 of them all had different birthdays, there’s only a very tiny chance (one in 366) that the last person had the right birthday for them all to have different birthdays.

But even the 364th person had only a two in 366 chance to be different.

Even halfway through the list, after you’d found 183 people, all with different

The simplest way to think of it is that, if there were 367 people, it would be impossible for them not to have the same birthday—there are only 366 birthdays to go around.

If there are 366 people, it’s almost impossible—each one has to be born on a separate day. Once you’d found 365 of them all had different birthdays, there’s only a very tiny chance (one in 366) that the last person had the right birthday for them all to have different birthdays.

But even the 364th person had only a two in 366 chance to be different.

Even halfway through the list, after you’d found 183 people, all with different birthdays, the next person already has a 50/50 chance of breaking the streak.

So, the farther you get into the list, the smaller chances of keeping the streak alive. The 94th person has a one in four chance of breaking the streak, but you’ve got more than 250 people to go, all of whom have a better than one in four chance of breaking the streak.

Obviously, as you work backward, from 94 to 75, the odds of the last person in the lists breaking the streak get better and better, but the list has to be pretty short in order for none of them to break the streak.

Suppose you have 22 people, none of whom share the same birthday. The next random person has about a 94% chance of keeping the streak alive—but to get to that point, you’ve already had twenty two tries at breaking the streak, which gets harder at each step.

It turns out the 23rd person is where you hit the break-even point. Yes, given that you already have 22 who don’t share the same birthday, there’s only a 94% chance that the 23rd will match one of them, but it’s hard to get to 22—in around two in five times, someone in the first 22 will already have broken the streak.

It’s that interplay between the work needed to get to stage n with the streak still alive, and the diminishing chances that the [math](n+1)[/math]th person can keep the streak alive that makes the break even point so surprisingly low.

Let us first find the probability that everyone has different birthdays (say P). With this found, probability that at least a pair has same birthday will be (1 - P)

[math]P = (365/365) * ((365-1)/365) * ((365-2) / 365) * ... * ((365-74)/365) [/math]

[math]P=365!/(365^(75) * (365-74)!)[/math]

[math]P=2.510412867 * (10^(778)) / 1.485815 * 10^(192) * (1.7552* 10^(592))[/math]

[math]P=(2.510412867/(1.485815*1.7552))*10^(-6)[/math]

[math]P=9.62617613 * 10^(-7)[/math]

So, the probability that at least 2 people will have same birthday is (1-P) or

[math]1-9.62617613 * 10^(-7) = 0.99999903738 , 99.999999%[/math]

Profile photo for Quora User

There is not as far as I know because it belongs to another field that science just ignores and considers silly.

I am not even sure if science would even BOTHER to look at that stuff and keep an open mind.

Like attracts like whether they realise it or not.

Birthdays..OK...let's talk astrology here a bit and not laugh.

Ex: I was in the travel industry..the amount of people with sagittarius suns, or moons or prominent Jupiter ascendants were very noticeable. Jupiter/Sag very prominent. More than normal.

Somebody I knew : in his industry..Gosh...you are all LEOS ! the Leo people tended to like and em

There is not as far as I know because it belongs to another field that science just ignores and considers silly.

I am not even sure if science would even BOTHER to look at that stuff and keep an open mind.

Like attracts like whether they realise it or not.

Birthdays..OK...let's talk astrology here a bit and not laugh.

Ex: I was in the travel industry..the amount of people with sagittarius suns, or moons or prominent Jupiter ascendants were very noticeable. Jupiter/Sag very prominent. More than normal.

Somebody I knew : in his industry..Gosh...you are all LEOS ! the Leo people tended to like and employ those they liked best in terms of leadership, qualities...they employed their own..

I have seen that scenario again and again and again..

Once in an office ..out of 10 people, 8 of us were sagittarius and the 2 others .scorpios.

Totally defying the odds. And yes I did have same birthday with one.

I am not going to go further because statistic minded people will tell you ..heck of course it is a game of chance ..

not to me..

Profile photo for Russell Taylor

365–70+1=296

365*1*364*…*297///(365^70) [70*69//2]=

35(69)[365*1*364*…*297//(365)^70]=

35(69)365!/(296!)(365)^70=0.00685684

So the probability is .00685684

Profile photo for Rebecca Harbison

All right. So, let’s spell this out. 365 days — we asked that anyone born on February 29th stays home — and we assume that there’s even odds that anyone was born on the same day.

For 2 people, Alice and Bob, there’s 365^2 possibilities — Alice and Bob born on 1/1, Alice born on 1/1 and Bob born on 1/2, etc. But there are 365 ways Alice and Bob can share a birthday. So that’s 1/365 of a chance.

For 3 people (Alice, Bob and Carol), there’s 365^3 possibilities. There are 365*364 ways for Alice to share a birthday with Bob and not Carrol. There are also 365*364 ways for Alice to share a birthday wit

All right. So, let’s spell this out. 365 days — we asked that anyone born on February 29th stays home — and we assume that there’s even odds that anyone was born on the same day.

For 2 people, Alice and Bob, there’s 365^2 possibilities — Alice and Bob born on 1/1, Alice born on 1/1 and Bob born on 1/2, etc. But there are 365 ways Alice and Bob can share a birthday. So that’s 1/365 of a chance.

For 3 people (Alice, Bob and Carol), there’s 365^3 possibilities. There are 365*364 ways for Alice to share a birthday with Bob and not Carrol. There are also 365*364 ways for Alice to share a birthday with Carol and not Bob. There are 365*354 ways for Bob and Carol to share a birthday, but not Alice. And there’s 365 ways for Alice, Bob and Carol to all have the same birthday.

So let’s write that mathematically to find the odds.

[math]\frac{3\times365\times364 + 365}{365^3} = \frac{3\times 365 - 2}{365^2} \approx \frac{3}{365}[/math]

Now, what this means is that because we compare three pairs (and one trio), we have more combinations than one pair, even though there’s also more total possibilities. So the fraction goes up.

With four people, we have six pairs (Alice-Bob, Alice-Carol, Alice-Dave, Bob-Carol, Bob-Dave, Carol-Dave), four trios (Alice-Bob-Carol, Alice-Bob-Dave, Alice-Carol-Dave, Bob-Carol-Dave), and the foursome. We include the trios and foursome to make sure we don’t double-count, but consider that the number of pairs we have goes up faster than the number of people. Instead of 2, 3, 4, 5 we have 1, 3, 6, 10… this makes the number of successes increase faster than the number of all combinations.

Profile photo for Quora User

The Birthday Paradox is pretty easy to wrap your head around, when you formulate it properly.

If you have 70 people in a room, what are the chances of two+ of them having their birthday on January 1st? Pretty slim.

But the chances of the same people having the same birthday on any possible day of the year is much higher, almost 100%. Think of it as having 70 goats in a 365 capacity goat-room, and the chances of two of them fighting each other. It’s pretty high isn’t it? Because you’re not thinking of two goats fighting for one specific spot but a lot of fluid goats going around headbutting each

The Birthday Paradox is pretty easy to wrap your head around, when you formulate it properly.

If you have 70 people in a room, what are the chances of two+ of them having their birthday on January 1st? Pretty slim.

But the chances of the same people having the same birthday on any possible day of the year is much higher, almost 100%. Think of it as having 70 goats in a 365 capacity goat-room, and the chances of two of them fighting each other. It’s pretty high isn’t it? Because you’re not thinking of two goats fighting for one specific spot but a lot of fluid goats going around headbutting each other.

Profile photo for Frederick Beutler

This is the well-known “birthday problem.” See the web for discussion, formulation, and numerical approximations. For the number mentioned, the probability is 0.9999997.

Profile photo for Russell Taylor

365–100+1=266

1-(365*364*363*……..*266)/(365)^100=

1-(365!/265!(365)^100)= 1-3.0725*10^-7=

1-.00000030725= .999999692751

Profile photo for Guido Van den Heuvel

If everyone had a different birthday there would be at least 367 days in the year, which is not true. Therefore not everyone has a different birthday.

Profile photo for Paul Dennee

You are assigning 367 people to the 365 days of the year (or 366 in a leap year). This would require assigning two people to the same date.

There is no one-to-one map from a set of 367 elements to a set of 366 or fewer elements.

Profile photo for Tim Farage

Let’s first compute the probability that all 30 people have different birthdays. (I’ll assume 365 possible birthdays, ignoring leap years. And also that birthdays are equally distributed, which they are not).

Pick the first person. They have some birthday. The second person must have a different birthday than this and the probability of that is:

[math]\frac{364}{365}[/math].

The third person must have a different birthday than both of the first two and the probability of that is:

[math]\frac{363}{365}[/math].

Continue this until you do 30 people. Now multiply these fractions together to get the probability that all 30 have

Let’s first compute the probability that all 30 people have different birthdays. (I’ll assume 365 possible birthdays, ignoring leap years. And also that birthdays are equally distributed, which they are not).

Pick the first person. They have some birthday. The second person must have a different birthday than this and the probability of that is:

[math]\frac{364}{365}[/math].

The third person must have a different birthday than both of the first two and the probability of that is:

[math]\frac{363}{365}[/math].

Continue this until you do 30 people. Now multiply these fractions together to get the probability that all 30 have different birthdays:

[math]\frac{364}{365}*\frac{363}{365}*\frac{362}{365}*…*\frac{336}{365}=29.4\%[/math]. Note that there are 29 factors here.

If we subtract this from 1, we get the probability that at least 2 people have the same birthday is:

[math]100\%-29.4\%=70.6\%[/math].


The breakeven point is when there are 23 people in the room. This means that if there are 23 people in a room, there’s about a 50% chance that two or more will have the same birthday.

In many of my classes there are 60 students. When I check on birthdays, I’ve always had students with the same birthday. There’s less than a 1 in 200 chance that all 60 students have different birthdays.

Profile photo for Frank Abbing

My computer thinks: extremely probable

  1. #include <stdio.h> 
  2. #include <time.h> 
  3. #include <stdlib.h> 
  4.  
  5. int room[100]; 
  6.  
  7. void bubble(){ // bubble sort 
  8. int i, j, t; 
  9. for(i = 0; i < 100; i++) 
  10. for(j = 0; j < 99; j++)  
  11. if(room[j] > room[j+1]){ 
  12. t = room[j]; 
  13. room[j] = room[j+1]; 
  14. room[j+1] = t; 
  15. } 
  16. } 
  17.  
  18. int main(){ 
  19. int i; 
  20. long seed;  
  21. time(&seed); 
  22. srand(seed); 
  23. for(i = 0; i<100; i++) room[i] = rand()%365; 
  24. bubble(); 
  25. for(i = 0; i<100; i++) printf("%4d", room[i]); 
  26. } 
Profile photo for Mac Tan

First, 50.7% isn’t like, super likely. Even though it’s greater than 50%, if you look at a large number of collections of 23 people, each of whom is drawn randomly from a uniform distribution as far as birthdays are concerned, in almost half of them, people will not share a birthday, as you might expect giving the problem some cursory thought.

The reason it’s as high as 50.7% is that we haven’t specified what the birthday is. If the question is “how many people do you have to gather so that the probability that at least two of them share the birthday April 23 exceeds 50%”, then indeed that numb

First, 50.7% isn’t like, super likely. Even though it’s greater than 50%, if you look at a large number of collections of 23 people, each of whom is drawn randomly from a uniform distribution as far as birthdays are concerned, in almost half of them, people will not share a birthday, as you might expect giving the problem some cursory thought.

The reason it’s as high as 50.7% is that we haven’t specified what the birthday is. If the question is “how many people do you have to gather so that the probability that at least two of them share the birthday April 23 exceeds 50%”, then indeed that number is quite large: 613, considerably more than the number of days in a year. (It’s a nice little exercise to figure out how you’d get that answer.)

But here, while you’re looking for the relatively uncommon occurrence of two people sharing a birthday, there are 365 different ways in which that can happen, and you’re not picky about which one of the ways it is. So you’re not really looking at the probability of a single rare event; you’re looking at the probability that at least one of a bunch of different rare events happens. And that goes up very quickly as the number of different rare events you’re considering goes up.

As always, if you’re not convinced, simulation is a useful tool. Here’s an R function that simulates a bunch of “rooms” of [math]n[/math] different people each:

  1. ## Define bday function for simulation 
  2. bday <- function(n, r) { 
  3. # Simulates r rooms of n people each where integers represent birthdays 
  4.  
  5. # Sample from discrete uniform(1,365) distribution with replacement 
  6. birthdays <- sample(1:365, n*r, replace = TRUE) 
  7.  
  8. # Divide into rooms 
  9. rooms_matrix <- matrix(birthdays, r, n) 
  10.  
  11. return(rooms_matrix) 
  12. } 

The output is an [math]r\times n[/math] matrix where each row corresponds to a room and columns correspond to individual people within each room. To numerically estimate the probability that any two people out of [math]n[/math] share a birthday, all you have to do is count the number of rows in which at least one element is duplicated, and then divide that by the number of rows in total.

Let’s loop through values of [math]n[/math] from 2 (since we know the probability is zero for [math]n=1[/math]) to 80 (at which point the probability estimates for a simulation are going to basically be one):

  1. ## Initialize probability vector 
  2. probs_sim <- rep(0, 80) 
  3.  
  4. set.seed(2019) 
  5.  
  6. ## Loop through values of n 
  7. for(n in 2:80) { 
  8. birthdays_sim <- bday(n, 1e5) 
  9.  
  10. # For each row of the matrix, check for duplicates 
  11. duplicated_bdays <- apply(birthdays_sim, 1, function(x) any(duplicated(x))) 
  12.  
  13. # Probability is the mean of this vector 
  14. probs_sim[n] <- mean(duplicated_bdays) 
  15. } 

We can plot the results:

Once you get to [math]n=10[/math] the probability starts rising very rapidly, and just eyeballing it, it does appear that the probability passes the 50% mark at just over 20 people.

And at exactly what number does it do that?

  1. > min(which(probs_sim >= 0.5)) 
  2. [1] 23 
Your response is private
Was this worth your time?
This helps us sort answers on the page.
Absolutely not
Definitely yes
Profile photo for Russell Taylor

365–70+1=296

70c2(365*1*364*…..*297/(365)^70)=

70c2(365!/296!(365)^70)=2.83927038798*10^-6*2415=

.00686

Profile photo for Quora User

Yes, it is very TRUE !!

This is how you figure it out:

p=1 - [365 P 23] / [365^23] ==0.507297 or 50.7297% probability of 2 people out of 23 share the same birthday

Replace 23 people in the formula by 75 people and you get:

p=1 - [365 P 75] / [365^75] ==0.999719 or 99.9719% probability of 2 people out of 75 share the same birthday.

Profile photo for Josh Manson

Well, if we think of the probability of a pair of birthdays in a set of x members as P(x), its easier to calculate ~P(x).

P(x)=1-~P(x)

If the group size is:
1, the probability is 0,
2, ~P(2)=364/365
3, ~P(3)=363/365*364/365
4, ~P(4)=362/365*363/365*364/365
.
.
.
x, ~P(x)=364!/((365-x)!*365^x)

So P(x)=1-364!/((365-x)!*365^x)

Profile photo for Gaku Sato

As written, one cannot. (I used to write and review items for a well-known testing company.)

A school has 15 classes, okay. With 26 students. Umm, 26 total? In each class? 15 classes meaning five each trimester? Can students be in more than one class?

What is meant here by “celebrate”? Likely some percentage of students don't “celebrate” their birthdays.

The only real answer would be “hire enough private eyes to follow all students all the time, and observe until two students hold birthday celebrations on the same day.”

Now, to answer the intended question, look up the “pigeon hole principle” and

As written, one cannot. (I used to write and review items for a well-known testing company.)

A school has 15 classes, okay. With 26 students. Umm, 26 total? In each class? 15 classes meaning five each trimester? Can students be in more than one class?

What is meant here by “celebrate”? Likely some percentage of students don't “celebrate” their birthdays.

The only real answer would be “hire enough private eyes to follow all students all the time, and observe until two students hold birthday celebrations on the same day.”

Now, to answer the intended question, look up the “pigeon hole principle” and figure out how it applies to your homework.

Profile photo for Nuno Reis

Only 23.

This is basic math, but with a not that simple logic behind.

If you are not familiar with probabilities, you might take it slowly.

Start with coin tossing.

The chances of have heads or tails are 1/2 each.

The chance of having 3 consecutive heads is 1/2*1/2*1/2 = 1/8.

The chances of having 3 consecutive equal faces is 1/2*1/2 because the first one doesn't matter. If you started with tails, you n

Only 23.

This is basic math, but with a not that simple logic behind.

If you are not familiar with probabilities, you might take it slowly.

Start with coin tossing.

The chances of have heads or tails are 1/2 each.

The chance of having 3 consecutive heads is 1/2*1/2*1/2 = 1/8.

The chances of having 3 consecutive equal faces is 1/2*1/2 because the first one doesn't matter. If you started with tails, you need 2 tails in 2 throws. If you started with heads, you need two more heads.

Does it make sense?

HHH

HHT

HTH

HTT

THH

THT

TTH

TTT

Look the 1/2 pattern on each row to a full set of 8 combinations. Beautiful.

Now moving on to dice.

The chances of each face are 1/6.

The chances of having 3 6's is 1/6*1/6*1/6 = 1/216.

The chances of having 3 equal results is 1/6*1/6=1/36 (again, the first doesn't matter).

And what are the chances of having 3 different faces?

The first doesn't matter because it is different of "nothing". The second must be different of the first so 5/6 and the third must be different from both first and second so 4/6.

5/6*4/6=20/36=5/9

Making th...

Profile photo for Quora User

The approximation in this case would probably not be as good for 2 reasons:

  1. The distribution of births year to year is not as uniform as the distribution of births day to day. Therefore, if we estimate with a uniform distribution, we will probably get a number of people required that is greater than the true number required.
  2. Leap years become another problem, because on average there would be 2 or 3 leap years within a 10 year period. I’ll treat it as if there are exactly 2 leap years in my calculation. I’ll act as if you have instructed people to count their birthday as the leap day if they are

The approximation in this case would probably not be as good for 2 reasons:

  1. The distribution of births year to year is not as uniform as the distribution of births day to day. Therefore, if we estimate with a uniform distribution, we will probably get a number of people required that is greater than the true number required.
  2. Leap years become another problem, because on average there would be 2 or 3 leap years within a 10 year period. I’ll treat it as if there are exactly 2 leap years in my calculation. I’ll act as if you have instructed people to count their birthday as the leap day if they are born on the leap day. Some people born on leap days count their birthday as one of the non-leap days.

The number of possible birthdays in 10 years would be 3652 in that case.

If you treat the birth days as uniform, that means the calculation would be like so:

[math]1-\dfrac{_{3652}P_{n}}{3652^n}[/math]

That calculation first exceeds 0.50 when [math]n=72[/math]

Because of reason #1, the true number of people required for a 50% probability would likely be less than that, but how much less is the question. Similarly, the probability of a match is probably greater than the one given by the formula, but how much greater is unknown.

Profile photo for Sassmatron - Master of All Trades Except Humility

It means if you select 23 random people, the chance that at least 2 of them share a birthday is just above 50%.

As to how to solve that…

Before anything else, let's get out of the way that I'm excluding February 29.

First, the case of 1 random person. There are 365 possible birthdays for them. Of them, 365 of them yield a unique birthday, 0 yield a match. So the probability of all unique birthdays is [math]\frac{365}{365}.[/math]

Now, let's add a second random person. There are 365 possible birthdays. 1 yields a match, 364 a unique birthday; the probability of person #2 having a unique birthday assuming no pri

It means if you select 23 random people, the chance that at least 2 of them share a birthday is just above 50%.

As to how to solve that…

Before anything else, let's get out of the way that I'm excluding February 29.

First, the case of 1 random person. There are 365 possible birthdays for them. Of them, 365 of them yield a unique birthday, 0 yield a match. So the probability of all unique birthdays is [math]\frac{365}{365}.[/math]

Now, let's add a second random person. There are 365 possible birthdays. 1 yields a match, 364 a unique birthday; the probability of person #2 having a unique birthday assuming no prior matches is [math]\frac{364}{365}.[/math] That makes the probability of all unique birthdays [math]\frac{365\times 364}{365\times 365}.[/math]

Now, let's add a third random person. There are 365 possible birthdays. Assuming no prior matches, 2 yield a match, 363 a unique birthday. That's a probability that #3 has a unique birthday of [math]\frac{363}{365}.[/math] That makes the probability of all 3 having unique birthdays [math]\frac{365\times 364\times 363}{365\times 365\times 365}.[/math]

You'll notice that the probability of all unique birthdays is getting multiplied by smaller and smaller numbers, making it decrease. When you have 23 people, it's [math]\frac{365\times 364\times...\times 344\times 343}{365^{23}}.[/math] That number comes out to just under 50%- about 49.3%.

Since the probability of all unique birthdays drops below 50%, it means the probability of a match exceeds 50% (just barely).

Profile photo for Dave Smith

I don’t know if this will help or not but it is interesting to consider the paradox in terms of the complement, ie the probability of getting no matching birthdays being <1%. So imagine an empty room. Then one person walks in and writes their birthday on a board. Then another person comes in and writes their birthday underneath it, and so on. What you are looking for is that 74 times in a row, no one has already written the date on the board.

Now early on it seems quite likely the dates won’t match but by the time you get to say 37 people in the room, there is a 1 in 10 chance (37/365) the very

I don’t know if this will help or not but it is interesting to consider the paradox in terms of the complement, ie the probability of getting no matching birthdays being <1%. So imagine an empty room. Then one person walks in and writes their birthday on a board. Then another person comes in and writes their birthday underneath it, and so on. What you are looking for is that 74 times in a row, no one has already written the date on the board.

Now early on it seems quite likely the dates won’t match but by the time you get to say 37 people in the room, there is a 1 in 10 chance (37/365) the very next person will match, like rolling a ten sided dice. And you need to roll that dice another 40 ish times in a row without a single match. And of course you aren’t just needing to avoid a 1-in-10 match for 40 times in a row, each person that writes a new date on the board makes it more likely the next person will match. So in fact the last 5 people have each got a probability of about 1 in 5 of matching with one of the first 70 people, ie we would expect on average for one of those 5 to have a match - even if we already got that far.

Maybe this will help: Consider a dart board with 365 wedges. You are looking to have 75 people in a row throw a dart, and none of them land in the same wedge as another dart. The issue isn’t so much the probability of any one throw landing in the same wedge, it is that you are trying to do it 75 times in a row!

Profile photo for Mike Mayer

The answer to this type of problem is to recast it to ask what is the probability of your condition NOT happening. The probability of it happening is 1 minus the probability of it not happening.

The wrinkle in your problem is that we don’t know exactly how many days are in your 10 year period. It could contain either 2 or 3 leap days. Therefore there are with 3652 or 3653 possible days on which your sample population could have been born. For sake of moving forward, I will simply call this number M.

You also did not specify how many people are in your population. I will call this number N.

Pick o

The answer to this type of problem is to recast it to ask what is the probability of your condition NOT happening. The probability of it happening is 1 minus the probability of it not happening.

The wrinkle in your problem is that we don’t know exactly how many days are in your 10 year period. It could contain either 2 or 3 leap days. Therefore there are with 3652 or 3653 possible days on which your sample population could have been born. For sake of moving forward, I will simply call this number M.

You also did not specify how many people are in your population. I will call this number N.

Pick one person from your population and ask yourself, on how many of the M days could they have been born so as to not have the same birthday as anyone else you already selected. As you have not yet selected anyone else (so far), they can be born on any of the M days.

Now, pick a second person from your population and ask yourself, on how many of the M days could they have been born so as to not have the same birthday as anyone else you already selected. As there is only one other person selected (so far), your second person could have been born on any of M-1 days without sharing a birthday with anyone else selected.

Now, pick a third person from your population and ask yourself, on how many of the M days could they have been born so as to not have the same birthday as anyone else you already selected. As there are only two other persons selected (so far), your second person could have been born on any of M-2 days without sharing a birthday with anyone else selected.

Continue doing this until you have selected everyone. Note for person number N, there will be M-(N-1) possible birthdays.

So how many possible ways can you assign birthdays without duplication? Simply multiply all these number meets together: M(M-1)(M-2)…(M-N+1). This can be written using factorials as M!/(M-N)!

almost there…

So how many ways can you assign birthdays if you don’t care about duplication? Each person has M possible birthdays. So the total is the product of multiplying N Ms, or more simply: M^N

Putting these together, the probability of no two people in your population having the same birthday is M!/(M^N (M-N)!)

The probability of at least two sharing a birthday is 1 - M!/(M^N (M-N)!)

How would you go about solving the birthday problem if you want to find the probability that 2 or more people in a group, all born within a 10 year period, share the exact same birthday (day and year) during that 10 year period?

Profile photo for Quora User

n=70; p = 1 - ((365 P n) / (365^n))==99.9159576%

Profile photo for Jack Brennen

Yes; this is a fact which derives from a mathematical concept called the Pigeonhole Principle. In short, it says that if you have N pigeonholes, and N+1 objects to place into the pigeonholes, at least one of the pigeonholes gets multiple objects.

Here the pigeonholes are the 366 possible birthdays, and the objects are the 367 people.

About · Careers · Privacy · Terms · Contact · Languages · Your Ad Choices · Press ·
© Quora, Inc. 2025