12,804 views
21 votes
21 votes
I need help with this question Please and thank you

I need help with this question Please and thank you-example-1
User Ayyappan Anbalagan
by
2.6k points

1 Answer

14 votes
14 votes

Since whether they had a boy or a girl in each birth is independent in each of them we have independent events. This means that we can use the binomial distribution to solve this problem, the binomial distribution is given by:


P(X=k)=\binom{n}{k}p^k(1-p)^(n-k)

where n is the number of trials, k is the number of successes and p is the probability of success. For this problem the number of trials is 9 and the probability of succes is 0.5

Probability of having at least 2 girls:

In this case we need the probability:


P(X\ge2)

To find it we would need to add the probability of getting 2, 3, 4 and so on until 9. To simplify teh calculation we can use the fact that:


P(X\ge2)=1-P(X\leq1)

which comes from the fact that the sum of the probability of all the posibilities has to be equal to 1, then we have:


\begin{gathered} P(X\ge2)=1-P(X\leq1) \\ =1-P(X=0)-P(X=1) \\ =1-\binom{9}{0}(0.5)^0(1-0.5)^(9-0)-\binom{9}{1}(0.5)^1(1-0.5)^(9-1) \\ =0.98046875 \end{gathered}

Therefore, the probability of getting at least two girls is 0.98046875

Probability of having at most 4 girls:

In this case we have:


\begin{gathered} P(X\leq4)=P(X=0)+P(X=1)+P(X=2)+P(X=3)+P(X=4) \\ =\binom{9}{0}(0.5)^0(1-0.5)^(9-0)+\binom{9}{1}(0.5)^1(1-0.5)^(9-1) \\ +\binom{9}{2}(0.5)^2(1-0.5)^(9-2)+\binom{9}{3}(0.5)^3(1-0.5)^(9-3) \\ +\binom{9}{4}(0.5)^4(1-0.5)^(9-4) \\ =0.5 \end{gathered}

Therefore, the probaility of having at most 4 girls is 0.5

User FlyingBurger
by
2.5k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.