集合a的幂集是集合a的所有子集的集合。当处理一个有n个元素的有限集合时,我们可能会问一个问题,“a的幂集中有多少个元素?”我们将看到这个问题的答案是2n,并从数学上证明为什么这是真的。
我们将通过观察a的幂集中的元素数来寻找模式,其中a有n个元素:
在所有这些情况下,对于元素数量较少的集合,很容易看出,如果a中有有限数量的n个元素,那么幂集P(a)有2n个元素。但这种模式还会继续吗?仅仅因为模式对于n=0、1和2为真并不一定意味着模式对于更高的n值为真。
但这种模式仍在继续。为了证明事实确实如此,我们将使用归纳法证明。
归纳证明对于证明关于所有自然数的陈述是有用的。我们分两步实现这一目标。对于第一步,我们锚定我们的证据,显示一个真实的陈述,我们希望考虑的第一个n值。我们证明的第二步是假设该语句适用于n=k,并证明这意味着该语句适用于n=k+1。
为了帮助我们证明,我们需要另一个观察。从上面的例子中,我们可以看到P({a})是P({a,b})的子集。{a}的子集正好构成{a,b}子集的一半。我们可以通过将元素b添加到{a}的每个子集中来获得{a,b}的所有子集。此集合添加通过union的集合操作完成:
这是P({a,b})中的两个新元素,它们不是P({a})的元素。
我们看到P({a,b,c})也出现了类似的情况。我们从四组P({a,b})开始,在每一组P中添加元素c:
所以我们在P({a,b,c})中总共有八个元素。
我们现在准备好证明这句话,“如果集合A包含n个元素,那么幂集合P(A)有2n个元素。”
我们首先注意到,对于n=0、1、2和3的情况,归纳法证明已经被锚定。通过归纳,我们假设这个陈述对k成立。现在让集合A包含n+1个元素。我们可以写a=b u {x},并考虑如何形成a的子集。
我们取P(B)的所有元素,根据归纳假设,其中有2n个元素。然后我们将元素x添加到B的每个子集中,得到另外2n个B的子集。这耗尽了B的子集列表,因此总数是A的幂集的2n+2n=2(2n)=2n+1个元素。
...xt.List Properties list-styleDefines the display style for a list and list elements.list-style-imageSpecifies the image to be used as a list-item marker.list-style-positionSpecifies the position of the list-item marker.list-style-typeSpecifies the marker style for a list-item.Margin Propertiesmargin...
... of a division9//4output: 2"=Assign a value to a variablea={1:5, 3:4}"+Add elements together["a two"] + ["a one"]output: ['a two', 'a one']1+3output=4"-Find the difference between a set of numbers3-4output=-1"*Find the product of a set of numbers3*4output:12a+=xAdd x to variable a without assigning ...
... not melt at dishwasher temperatures (unless a cable falls near the drying element), but it can leach out some of the plasticizer and make the plastic more brittle. If you are going to use a dishwasher, I would limit it to molded cables like power cables or speaker cables where there are just a few ...
...级用户读者Donna想知道在笔记本电脑运行时拔掉电源插头是否安全,然后再插回去: Am I damaging my Hewlett-Packard laptop by leaving it running, unplugging it from an outlet, then walking a few feet to the next outlet and plugging it back in? My brother-in-law says that ...
...释,可以帮助好奇的读者更多地了解他的系统和计算机是如何工作的。 今天的问答环节是由SuperUser提供的,SuperUser是Stack Exchange的一个分支,是一个由社区驱动的问答网站分组。 照片由Asif A.Ali(Flickr)提供。 问题 超级用户读...
...irectional signal tran**ission or reception. This is achieved by combining elements in a phased array in such a way that signals at particular angles experience c***tructive interference while others experience destructive interference. Beamforming can be used at both the tran**itting and receiving ...
...CMOS battery even though they run on electricity? We are providing lots of power to the PC by switching the CPU plug to our electric board, so why does it still require a CMOS battery? 为什么个人电脑还需要CMOS电池? 答案 超级用户贡献者nhinkle和**okes2345为我们提供了答...
...:为了解决问题,对电子设备进行电源循环,但电源循环是否比简单地拔掉电源插头再插回去好呢?今天的超级用户问答帖子回答了一位好奇的读者的问题。 今天的问答环节是由SuperUser提供的,SuperUser是Stack Exchange的一个分支,...
...,但是如果你的笔记本电脑上的游戏即使选择了高性能的电源计划也会变慢呢?今天的超级用户问答有一个困惑读者的问题的答案。 今天的问答环节是由SuperUser提供的,SuperUser是Stack Exchange的一个分支,是一个由社区驱动的问答...
大多数时候,我们的交流适配器和电源往往是安静的,但它意味着什么,当一个人发出呜呜声?你应该担心吗?今天的超级用户问答帖子回答了一位忧心忡忡的读者的问题。 今天的问答环节是由SuperUser提供的,SuperUser是Stack Exch...