Saw this somewhere

If a set X X contains n n elements. A A and B B are subsets of X X . What is the probability that union of A A and B B is X X ? If the answer is k n k^n , find k k .

Note : A A and B B can be equal.


The answer is 0.75.

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.

2 solutions

Each element of X X has an equal chance of either being in or out of a given subset of X X . So the probability that an element of X X is in neither of A A or B B is ( 1 2 ) 2 = 1 4 (\frac{1}{2})^{2} = \frac{1}{4} , and thus the probability that this element is in at least one of A A or B B is 1 1 4 = 3 4 1 - \frac{1}{4} = \frac{3}{4} . As this is the case for each of the n n elements of X X , the probability that every element of X X is in at least one of A A or B B is ( 3 4 ) n (\frac{3}{4})^{n} , and so k = 3 4 = 0.75 k = \frac{3}{4} = \boxed{0.75} .

First, we'll pick a subset A with k elements. There are 2 k 2^k to pick from. The probability that we'd pick another subset B that is one of these substets is given by:

2 k 2 n = 2 k n \frac { { 2 }^{ k } }{ { 2 }^{ n } } ={ 2 }^{ k-n }

But that's only for one subset with k elements. The probability of picking such subset is:

2 n ( n k ) { 2 }^{ -n }\left( \begin{matrix} n \\ k \end{matrix} \right)

Now, sum over all possible values of k: k = 0 k = n 2 k n 2 n ( n k ) \sum _{ k=0 }^{ k=n }{ { 2 }^{ k-n } } { 2 }^{ -n }\left( \begin{matrix} n \\ k \end{matrix} \right)

Using: ( x + y ) n = k = 0 n ( n k ) x n k y k { (x+y) }^{ n }=\sum _{ k=0 }^{ n }{ \left( \begin{matrix} n \\ k \end{matrix} \right) } { x }^{ n-k }{ y }^{ k }

We get that: k = 0 k = n 2 k n 2 n ( n k ) = ( 3 4 ) n \sum _{ k=0 }^{ k=n }{ { 2 }^{ k-n } } { 2 }^{ -n }\left( \begin{matrix} n \\ k \end{matrix} \right) ={ \left( \frac { 3 }{ 4 } \right) }^{ n }

k = 3/4 = 0.75

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...