Boys and Girls

Consider a family of n n children. Define the events A A and B B as follows.
A A is the event that the family has both boys and girls.
B B is the event that he family has at most 1 girl.
Find the value of n n such that events A A and B B are independent.

Assumptions and Clarifications

  • Probability that a randomly selected child is a boy or girl is same.
  • Two events are independent if occurrence of one does not affect the probability of the other.


The answer is 3.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Andreas Wendler
Apr 21, 2016

For A we get P ( A ) = k = 1 n 1 ( n k ) ( 1 2 ) k ( 1 2 ) n k = ( 2 n 2 ) ( 1 2 ) n P(A)=\sum_{k=1}^{n-1}{n \choose k}(\frac{1}{2})^{k}(\frac{1}{2})^{n-k}=(2^{n}-2)(\frac{1}{2})^{n} .

P ( B ) = ( n + 1 ) ( 1 2 ) n P(B)=(n+1)(\frac{1}{2})^{n} [for 0 or 1 girl]

P ( A B ) = n ( 1 2 ) n P(A*B)=n(\frac{1}{2})^{n} [for exactly 1 girl]

Now we check independency P(A B)=P(A) P(B): n = ( n + 1 ) ( 2 n 2 ) ( 1 2 ) n n=(n+1)(2^{n}-2)(\frac{1}{2})^{n}

From this equation we calculate the solution n = 3 n=\boxed{3} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...