博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
How Many Elements Are in the Power Set?
阅读量:4347 次
发布时间:2019-06-07

本文共 3207 字,大约阅读时间需要 10 分钟。

The  of a set A is the collection of all subsets of A. When working with a finite  with n elements, one question that we might ask is, “How many elements are there in the power set of A ?” We will see that the answer to this question is 2n and prove mathematically why this is true.

Observation of the Pattern

We will look for a pattern by observing the number of elements in the power set of A, where A has n elements:

  • If A = { } (the empty set), then A has no elements but P (A) = { { } }, a set with one element.
  • If A = {a}, then A has one element and P (A) = { { }, {a}}, a set with two elements.
  • If A = {a, b}, then A has two elements and P (A) = { { }, {a}, {b}, {a,b}}, a set with two elements.

In all of these situations, it is straightforward to see for sets with a small number of elements that if there is a finite number of n elements in A, then the power set P (A) has 2n elements. But does this pattern continue? Just because a pattern is true for n = 0, 1, and 2 doesn’t necessarily mean that the pattern is true for higher values of n.

But this pattern does continue. To show that this is indeed the case, we will use proof by induction.

Proof by Induction

Proof by induction is useful for proving statements concerning all of the natural numbers. We achieve this in two steps. For the first step, we anchor our proof by showing a true statement for the first value of n that we wish to consider.

The second step of our proof is to assume that the statement holds for 
n = 
k, and the show that this implies the statement holds for 
n = 
k + 1.

Another Observation

To help in our proof, we will need another observation. From the examples above, we can see that P({a}) is a subset of P({a, b}). The subsets of {a} form exactly half of the subsets of {a, b}.

  • Empty Set U {b} = {b}
  • {a} U {b} = {a, b}

These are the two new elements in P({a, b}) that were not elements of P({a}).

We see a similar occurrence for P({a, b, c}). We start with the four sets of P({a, b}), and to each of these we add the element c:

  • Empty Set U {c} = {c}
  • {a} U {c} = {a, c}
  • {b} U {c} = {b, c}
  • {a, b} U {c} = {a, b, c}

And so we end up with a total of eight elements in P({a, b, c}).

The Proof

We are now ready to prove the statement, “If the set A contains n elements, then the power set P( A) has 2n elements.”

We begin by noting that the proof by induction has already been anchored for the cases n = 0, 1, 2 and 3. We suppose by induction that the statement holds for k. Now let the set A contain n + 1 elements. We can write A = B U {x}, and consider how to form subsets of A.

We take all elements of P(B), and by the inductive hypothesis, there are 2n of these. Then we add the element x to each of these subsets of B, resulting in another 2nsubsets of B. This exhausts the list of subsets of B, and so the total is 2n + 2n = 2(2n) = 2n + 1 elements of the power set of A.

see also:

https://www.thoughtco.com/how-many-elements-in-the-power-set-3126439

posted on
2018-02-10 00:59 阅读(
...) 评论(
...)

转载于:https://www.cnblogs.com/bitxj/p/8437858.html

你可能感兴趣的文章
读了曾国藩家书,,心态逐渐平和起来。搞技术的如果缺乏信念的指引,生活会很乏味无聊!...
查看>>
前端javascript 错误 Uncaught SyntaxError: Unexpected token ILLEGAL
查看>>
Selenium WebDriver问题--无法打开Chrome浏览器
查看>>
2017.4.18 Java的Integer与int互转
查看>>
小程序接受返回数组的坑
查看>>
echart.js的使用
查看>>
linux7.2系统中安装Nmon并使用
查看>>
HTML转换为PDF
查看>>
邮件加密和签名
查看>>
自己动手写一个单链表
查看>>
生产者与消费者(综合案例)
查看>>
集团信息化之路——关于网络电子採购系统的需求报告
查看>>
Android设计模式系列-单例模式
查看>>
hiho一下 第一百零七周 Give My Text Back(微软笔试题)
查看>>
常用正则表达式
查看>>
6.2.7 Math对象的使用
查看>>
Windows server 2008 R2配置多个远程连接的教程
查看>>
PHP 重置数组为连续数字索引的几种方式
查看>>
南阳理工acm 88-汉诺塔(一)
查看>>
160809308周子济第六次作业
查看>>