北京邮电大学 计算机学院 离散数学 2.5- Cardinality of sets-2014

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

2015-2-6
College of Computer Science & Technology, BUPT
5
Cardinality: Formal Definition


For any two (possibly infinite) sets A and B, we say that A and B have the same cardinality (written |A|=|B|) iff there exists a bijection (bijective function) from A to B. When A and B are finite, it is easy to see that such a function exists iff A and B have the same number of elements nN.
2015-2-6
College of Computer Science & Technology, BUPT -- © Copyright Yang Juan
Countable versus Uncountable



For any set S, if S is finite or if |S|=|N|, we say S is countable. Else, S is uncountable. Intuition behind “countable:” we can enumerate (sequentially list) elements of S in such a way that any individual element of S will eventually be counted in the enumeration. Examples: N, Z. Uncountable means: No series of elements of S (even an infinite series) can include all of S’s elements. Examples: R, R2, P(N)
College of Computer Science & Technology, BUPT -- © Copyright Yang Juan
Georg Cantor 1845-1918
2015-2-6
Uncountability of Reals, cont’d
A postulated enumeration of the reals: r1 = 0.d1,1 d1,2 d1,3 d1,4 d1,5 d1,6 d1,7 d1,8… r2 = 0.d2,1 d2,2 d2,3 d2,4 d2,5 d2,6 d2,7 d2,8… r3 = 0.d3,1 d3,2 d3,3 d3,4 d3,5 d3,6 d3,7 d3,8… r4 = 0.d4,1 d4,2 d4,3 d4,4 d4,5 d4,6 d4,7 d4,8… . consider a real number generated by taking Now, all . the digits di,i that lie along the diagonal in this figure and replacing them with different digits. .

f(x) = 2x.

Hence, the set of even integers has the same cardinality as the set of natural numbers.
2015-2-6
College of Computer Science & Technology, BUPT
4
Lesson


Cantor’s definition only requires that some 1-1 correspondence between the two sets is onto, not that all 1-1 correspondences are onto. This distinction never arises when the sets are finite.
2015-2-6
College of Computer Science & Technology, BUPT -- © Copyright Yang Juan
Uncountable Sets: Example


Theorem: The open interval of reals [0,1) : {rR| 0 r < 1} is uncountable. Proof by diagonalization: (Cantor, 1891)
College of Computer Science & Technology, BUPT -- © Copyright Yang Juan
2015-2-6
Countable Sets: Examples

Theorem: The set Z is countable.

Proof: Consider f:ZN where f(i)=2i for i0 and f(i) = 2i1 for i<0. Note f is bijective.
The attempted correspondence f(x) = x does not take E onto N .

2015-2-6
College of Computer Science & Technology, BUPT
3
Same cardinality?

But there is a bijection f from N to E , the even nonnegative integers, defined by
2015-2-6
College of Computer Science & Technology, BUPT
1
Same cardinality?

Do N and E have the same cardinality?

N = { 0, 1, 2, 3, 4, 5, 6, 7, …. } E = The even, natural numbers.
College of Computer Science & Technology, BUPT -- © Copyright Yang Juan
2015-2-6
Countable vs. Uncountable

You should:



Know how to define “same cardinality” in the case of infinite sets. Know the definitions of countable and uncountable. Know how to prove (at least in easy cases) that sets are either countable or uncountable.
2015-2-6
Transfinite Numbers



The cardinalities of infinite sets are not natural numbers, but are special objects called transfinite cardinal numbers. The cardinality of the natural numbers, 0:|N|, is the first transfinite cardinal number. (There are none smaller.) The continuum hypothesis claims that |R|=1, the second transfinite cardinal.
14

OK, now let’s add 1 to each of the diagonal digits (mod 10), that is changing 9’s to 0.

0.4103… can’t be on the list anywhere!
College of Computer Science & Technology, BUPT -- © Copyright Yang Juan

Theorem: The set of all ordered pairs of natural numbers (n,m) is countable.

Consider listing the pairs in order by their sum s=n+m, then by n. Every pair appears once in this series; the generating function is bijective.
Cantor’s Definition (1874)
பைடு நூலகம்
Two sets are defined to have the same (size) cardinality (基数)

if and only if

They can be placed into 1-1 onto correspondence.


Assume there is a series {ri} = r1, r2, ... containing all elements r[0,1). Consider listing the elements of {ri} in decimal notation (although any base will do) in order of increasing index: ... (continued on next slide)
2015-2-6
College of Computer Science & Technology, BUPT -- © Copyright Yang Juan
Uncountability of Reals, fin.

E.g., a postulated enumeration of the reals: r1 = 0.301948571… r2 = 0.103918481… r3 = 0.039194193… r4 = 0.918237461…
2015-2-6
College of Computer Science & Technology, BUPT -- © Copyright Yang Juan
Homework

§2.5

2, 10
2015-2-6
College of Computer Science & Technology, BUPT

2015-2-6
College of Computer Science & Technology, BUPT
2
Same cardinality?

E and N do not have the same cardinality! E is a proper subset of N with plenty left over.
相关文档
最新文档