If a set X contains n elements. A and B are subsets of X . What is the probability that union of A and B is X ? If the answer is k n , find k .
Note : A and B can be equal.
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.
First, we'll pick a subset A with k elements. There are 2 k to pick from. The probability that we'd pick another subset B that is one of these substets is given by:
2 n 2 k = 2 k − n
But that's only for one subset with k elements. The probability of picking such subset is:
2 − n ( n k )
Now, sum over all possible values of k: ∑ k = 0 k = n 2 k − n 2 − n ( n k )
Using: ( x + y ) n = ∑ k = 0 n ( n k ) x n − k y k
We get that: ∑ k = 0 k = n 2 k − n 2 − n ( n k ) = ( 4 3 ) n
k = 3/4 = 0.75
Problem Loading...
Note Loading...
Set Loading...
Each element of X has an equal chance of either being in or out of a given subset of X . So the probability that an element of X is in neither of A or B is ( 2 1 ) 2 = 4 1 , and thus the probability that this element is in at least one of A or B is 1 − 4 1 = 4 3 . As this is the case for each of the n elements of X , the probability that every element of X is in at least one of A or B is ( 4 3 ) n , and so k = 4 3 = 0 . 7 5 .