Let P n be the set of all subsets of the set [ n ] = { 1 , 2 , … , n } . If two distinct elements of P 5 are chosen at random, the expected number of elements (of [ n ] ) that they have in common can be expressed as b a where a and b are coprime positive integers. What is the value of a + b ?
Details and assumptions
As an explicit example, P 2 = { ∅ , { 1 } , { 2 } , { 1 , 2 } } . { 1 } and { 1 , 2 } are 2 elements of P 2 , which have 1 element in common.
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.
Call a subset of P 5 a n -set if there are n elements in that subset.
Sets Total number of intersecting elements Number of pairs
5 -set and 5 -set 0 0
5 -set and 4 -set 20 5
5 -set and 3 -set. 30 10
5 -set and 2 -set. 20 10
5 -set and 1 -set. 5 5
5 -set and 0 -set. 0 1
4 -set and 4 -set. 30 10
4 -set and 3 -set. 120 50
4 -set and 2 -set. 80 50
4 -set and 1 -set. 20 25
4 -set and 0 -set. 0. 5
3 -set and 3 -set. 75 45
3 -set and 2 -set. 120 100
3 -set and 1 -set. 30 50
3 -set and 0 -set. 0. 10
2 -set and 2 -set. 45 45
2 -set and 1 -set. 20 50
2 -set and 0 -set. 0. 10
1 -set and 1 -set. 0. 10
1 -set and 0 -set 0. 5
0 -set and 0 -set. 0. 0
Total. 600 496 Thus,
Let x , y be the two chosen elements of P 5 . Let X i be the random variable that is 1 when i is contained in both x and y and 0 otherwise. The expected number of elements in both x and y will thus be E ( i = 1 ∑ 5 X i ) = i = 1 ∑ 5 E ( X i ) .
We seek to calculate E ( X i ) . The probability that i ∈ x is 2 1 . Given that i ∈ x , the probability that i ∈ y is 2 1 ⋅ 2 5 − 1 2 5 − 1 − 1 , so E ( X i ) = 6 2 1 5 . This is independent of which i is chosen, so the expected number of elements in both sets is 5 ( 6 2 1 5 ) = 6 2 7 5 . Thus a + b = 7 5 + 6 2 = 1 3 7 .
Problem Loading...
Note Loading...
Set Loading...
First, let's call the randomly chosen element of P 5 be the set A and set B.
The probability that an element x is in both A and B can be computed by multiplying the probability that x is in A and probability that x is in B.
The probability that x is in A is 2 1 since of the 32 elements of P 5 16 contains x. While the probability that x is in B provided it is in A is 3 1 1 5 since of the 32 elements of P 5 , one of them is A which is already chosen.
Therefore the probability that x is in both A and B is, 2 1 × 3 1 1 5 = 6 2 1 5
And since we we have five elements for [n]
The Expected number of same elements of set A and set B is
Probabilitu × n = 6 2 1 5 × 5 = 6 2 7 5
Since 75 and 62 are positive coprimes then a + b = 7 5 + 6 2 = 1 3 7