Birthday Problem question

61 Views Asked by At

What is the probability that in a class of 30 people everyone has a different birthday.

Would the answer be $1-\frac{364}{365} \cdot \frac{363}{365}\cdot\frac{362}{365}\cdots$ as it is written in my book or would it be $\frac{365}{365}\cdot\frac{364}{365}\cdot\frac{363}{365}\cdots$ I dont understand where the $1 -{}$ comes from

2

There are 2 best solutions below

1
On

The quantity $\frac{364}{365} \cdot \frac{363}{365}\cdots$ is the probability that no two people in the same room share a birthday. Thus, to obtain the probability that someone in the room shares a birthday from someone else, we take one minus this quantity.

See https://en.wikipedia.org/wiki/Birthday_problem#Calculating_the_probability.

0
On

Assuming uniform distribution, $$\frac{364}{365} \cdot \frac{363}{365}\cdot\frac{362}{365}\cdots$$ is the probability of all have different birthdays.
$$1-\frac{364}{365} \cdot \frac{363}{365}\cdot\frac{362}{365}\cdots$$ is the probability of at least two people have the same birthday.