15.6k views
2 votes
The probability that two people have the same birthday in a room of 20 people is about 41.1%. It turns out that

your math, science, and English classes all have 20 people in them.
a. Develop the probability distribution for the random variable number of pairs of people who share birthdays
out of three classes.
b. What is the probability that one or more pairs of people share a birthday in your three classes? Interpret the
probability in context.

User Iamtoc
by
2.9k points

1 Answer

5 votes

Answer:

a) Let X the random variable of interest, on this case we know that:


X \sim Binom(n=20, p=0.411)

This random variable represent that two people have the same birthday in just one classroom

b) We can find first the probability that one or more pairs of people share a birthday in ONE class. And we can do this:


P(X\geq 1 ) = 1-P(X<1) = 1-P(X=0)

And we can find the individual probability:


P(X=0) = (20C0) (0.411)^0 (1-0.411)^(20-0)=0.0000253

And then:


P(X\geq 1 ) = 1-P(X<1) = 1-0.0000253=0.99997

And since we want the probability in the 3 classes we can assume independence and we got:


P= 0.99997^3 = 0.9992

So then the probability that one or more pairs of people share a birthday in your three classes is approximately 0.9992

Explanation:

Previous concepts

A Bernoulli trial is "a random experiment with exactly two possible outcomes, "success" and "failure", in which the probability of success is the same every time the experiment is conducted". And this experiment is a particular case of the binomial experiment.

The binomial distribution is a "DISCRETE probability distribution that summarizes the probability that a value will take one of two independent values under a given set of parameters. The assumptions for the binomial distribution are that there is only one outcome for each trial, each trial has the same probability of success, and each trial is mutually exclusive, or independent of each other".

The probability mass function for the Binomial distribution is given as:


P(X)=(nCx)(p)^x (1-p)^(n-x)

Where (nCx) means combinatory and it's given by this formula:


nCx=(n!)/((n-x)! x!)

Solution to the problem

Part a

Let X the random variable of interest, on this case we know that:


X \sim Binom(n=20, p=0.411)

This random variable represent that two people have the same birthday in just one classroom

Part b

We can find first the probability that one or more pairs of people share a birthday in ONE class. And we can do this:


P(X\geq 1 ) = 1-P(X<1) = 1-P(X=0)

And we can find the individual probability:


P(X=0) = (20C0) (0.411)^0 (1-0.411)^(20-0)=0.0000253

And then:


P(X\geq 1 ) = 1-P(X<1) = 1-0.0000253=0.99997

And since we want the probability in the 3 classes we can assume independence and we got:


P= 0.99997^3 = 0.9992

So then the probability that one or more pairs of people share a birthday in your three classes is approximately 0.9992

User Svural
by
4.4k points