随机子集
Random Subsets
题目详情
从一个基数为 的集合 的所有子集中,均匀随机地选取子集 和 。求 是 的子集的概率。
Subsets and are chosen uniformly at random from the collections of all subsets of a set of cardinality . What is the probability that is a subset of ?
解析
有序对子 的总数为 。
对于每个元素 ,若要求 ,则它在 中的出现方式有 3 种合法选择。因此,有利的有序对子总数为 。
进一步解释一下上面的说法。对每个元素 ,它要么属于某个子集,要么不属于某个子集。因此对 和 来说:
- 或
- 或
对单个元素而言, 有两种选择, 也有两种选择,因此一共是 4 种可能。可以表示为有序对:
记住: 的意思是,如果 在 中,那么它也必须在 中。
- 情况 : 不在 中,也不在 中。允许。
- 情况 : 不在 中,但在 中。允许。
- 情况 : 在 中,但不在 中。不允许。
- 情况 : 同时在 和 中。允许。
因此,在 4 种等可能模式中,有 3 种满足 。
所以, 是 的子集的概率为 。
Original Explanation
The total number of ordered pairs is .
For each element there are 3 valid choices for how it can appear in if we require . So the total number of favorable ordered pairs is .
To expand on the previous statement, we can think of each element as either in or not in a subset. So, for subsets and :
- or
- or
There's two choices for and two choices for which equals 4 total possibilities for this single element. We can represent them as ordered pairs:
Remember: means if x is in , then it must also be in .
- Case : x is neither in nor . Allowed (no conflict)
- Case : x is not in but is in . Allowed (subset rule is still satisfied)
- Case : x is in but not in . Not allowed
- Case : x is in and : Allowed
So, out of the 4 equally likely patterns, 3 are valid when we require .
Thus the probability that is a subset of is .