P = 0.072314699... ≈ 7.23%
SOLUTION
Let's identify the 8 people by integers 1, 2,..., 8, and their birthday by x1, x2,..., x8.
To include the possibility of xi = Feb. 29 (of a leap year), we will consider 4(365) +
1 = 1451 days, so the probability of a person having Feb. 29 as his birthday is
P(xi = Feb. 29) = 1/1461. The probability of a person having his birthday on any
given day except Feb. 29 is P(xi ≠ Feb. 29) = 4/1461.
Let's first calculate the probability of person 1 and 2 having the same birthday, x1 = x2, and persons 3, 4,..., 8, all have different birthdays x3,...,x8.
Now we go.
We take person 1 and have two possibilities:
A).- x1 = Feb. 29 B).- x1 ≠ Feb. 29
P(x1 = Feb. 29) = 1/1461; P(x ≠ Feb. 29) = 1 - 1/1461
We will construct two branches. One for each possibility.
Branch A: given x1 = Feb. 29, the probability of person 2 having the same birthday
is P(x2 = x1) = 1 - 1/1461. The probability of person 3 not having the same birthday is P(x3 ≠ x1 = x2) = 1 - 1/1461. The probability of person 4 not having either two birthdays is P(x4 ≠ x1, x4 ≠ x3) = 1 - 5/1461. The probability of person 5 not sharing x1 nor x3 nor x4 is P(x5 ≠ x4, x5 ≠ x3, x5 ≠ x2) = 1 - 9/1461. And so a series of terms develops:
P(xi ≠ ... ) = 1 - (4i - 3)/1461 from i = 1, to i = n-2
where n is the number of people in the room (In this particular question for 8
people, n = 8).
The branch we have constructed for possibility A is the product of the individual
conditional probabilities;
A: (1/1461)2 π1n-2[1-(4i-3)/1461]
where π1n-2 is the product operator "pi" of "i" terms from i =1, to i = n-2.
Branch B: Given x1 ≠Feb. 29, the probability of person 2 having the same birthday
is P(x2 = x2) = 4/1461. The probability of person 3 not having the same birthday
is P(x3 ≠ x1) = 1 - 4/1461. The probability of person 4 not sharing birthdays with 2 and 3 is P(x4 ≠ x3, x4 ≠ x2) = 1 - 8/1451. The probability of person 5 not
sharing x2 nor x3 nor x4 is P(x5 ≠ ...) = 1 - 12/1461. And so a series of terms
develops:
P(xi ≠ ... ) = 1- (4i -4)/1461 from i = 2, to i = n-1
where n is the number of people in the room (In this particular question for 8 people, n = 8).
Branch for possibility B: (1-1/1461)(4/1461) π2n-1[1-(4i-4)/1461]
The sum of these two branch expressions give the probability of persons 1 and 2
sharing a birthday in a group of n persons:
P(x1=x2)=(1/1451)2π1n-2[1-(4i-3)/1461]+(1-1/1461)(4/1461)π2n-1[1-(4i-4)/1461]
Now, the probability of any two persons, and only those two persons, to share a birthday in a group of n persons, is the previous probability, times the number of different combinations of two persons, (i,j), in a group of n persons, nC2
(where, nC2 = n!/[2!(n-2)!] )
The final expression is:
--------------------------------------------------------------------------------------------
P = nC2{(1/1451)2π1n-2[1-(4i-3)/1461]+(1-1/1461)(4/1461)π2n-1[1-(4i-4)/1461]}
--------------------------------------------------------------------------------------------
For the case of n = 8, the result is, P = 0.072314699... ≈ 7.23%
23. The probability that at least two people in a room share a birthday can be expressed more simply, mathematically, as 1 minus the probability that nobody in the room shares a birthday.Imagine a fairly simple example of a room with only three people. The probability that any two share a birthday is :1 - [ 365/365 x 364/365 x 363/365]i.e. 1-P(none of them share a birthday)=1 - [ (365x364x363) / 3653 ]=0.8%Similarly,P(any two share a birthday in a room of 4 people)= 1 - [ 365x364x363x362 / 3654 ] = 1.6%If you keep following that logic eventually you getP(any two share a birthday in a room of 23 people)=1 - [(365x364x...x344x343) / 36523 ] = 51%
The probability with 30 people is 0.7063 approx.
Leaving aside leap years, the probability is 0.0137
1/365 = 0.00274
12 because there are 12 months and no one in the room has a birthday in the same month
23. The probability that at least two people in a room share a birthday can be expressed more simply, mathematically, as 1 minus the probability that nobody in the room shares a birthday.Imagine a fairly simple example of a room with only three people. The probability that any two share a birthday is :1 - [ 365/365 x 364/365 x 363/365]i.e. 1-P(none of them share a birthday)=1 - [ (365x364x363) / 3653 ]=0.8%Similarly,P(any two share a birthday in a room of 4 people)= 1 - [ 365x364x363x362 / 3654 ] = 1.6%If you keep following that logic eventually you getP(any two share a birthday in a room of 23 people)=1 - [(365x364x...x344x343) / 36523 ] = 51%
The probability with 30 people is 0.7063 approx.
To guarantee that at least two people in a room share the same birthday, you need at least 23 people. This is based on the "birthday problem," which considers the probability of shared birthdays among a group. With 23 people, the chances of at least one pair sharing a birthday exceed 50%, due to the limited number of days in a year (365).
Leaving aside leap years, the probability is 0.0137
1/365 = 0.00274
The probability of two people's birthday being the same is actually more likely than many would think. The key thing is to note that it doesn't matter what the first person's birthday is. All we need to work out is the probability that the second person has a birthday on any specific day. This probability is 1/365.25 The probability that they were born on June 10th is 1/365.25. The probability that they were born on February 2nd is 1/365.25 and the probability that they were born on the same day as you is 1/365.25
12 because there are 12 months and no one in the room has a birthday in the same month
Slightly more than 1 in 2.
On average, in the entire world about twenty eight thousand people will have the same birthday as one another. In a room full of people, there should be two people who have the same birthday.
If you assume that birth dates are uniformly distributed over the year (they are not), and you ignore leap years, then the probability of two people selected at random, share a birthday is 1/365.
1:30
To determine the probability of 15 random people all having the same birthday, consider each person one at a time. (This is for the non leap-year case.)The probability of any person having any birthday is 365 in 365, or 1.The probability of any other person having that same birthday is 1 in 365, or 0.00274.The probability, then, of 15 random people having the same birthday is the product of these probabilities, or 0.0027414 times 1, or 1.34x10-36.Note: This answer assumes also that the distribution of birthdays for a large group of people in uniformly random over the 365 days of the year. That is probably not actually true. There are several non-random points of conception, some of which are spring, Valentine's day, and Christmas, depending of culture and religion. That makes the point of birth, nine months later, also be non-uniform, so that can skew the results.