南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)有限与无限

计算机问题龙解一论题1-11 有限与无限 2017年12月14日
计算机问题求解 – 论题1-11 - 有限与无限 2017年12月14日

“聪明的经理”、“非常聪明的经理” 和“非常非常聪明的经理” 问题1: 你能给我们讲讲这个故事吗? WELCOME TO HILBERTS HOTEL-INFINITE PLEASURES.INFINITE STAYS 00 满 “希尔伯特旅馆” http://www.science4all.org/article/cantors-infinite/
客 满 “聪明的经理” 、 “非常聪明的经理” 和“非常非常聪明的经理” “希尔伯特旅馆” http://www.science4all.org/article/cantors-infinite/

集合的等势 To make precise what it means for two sets (even two infinite sets)to have the same number of elements,we need a definition. We say that a set A is equivalent to a set B if there exists a bijection f:AB.We write A B for A is equivalent to B.(Other authors use the words equipotent or equinumerous. 问题2: 你原来脑海中的两个集合元素一样多”的概 念是什么样的呢? 对无穷集合遁用吗?
集合的等势

问题3:如何精确定义什么是有限集? We say that a set Sis finite ifeither =or ifs is equivalent to the set(1,23,... for sme positive inteer. 更加数学化的表述:(每一个自然数也是一个集合) 空集记为0; 如果是自然数,则其“后继”为:k心3。 于是 有限集就是与某个自然数等势的集合
问题3:如何精确定义什么是有限集? 更加数学化的表述:(每一个自然数也是一个集合) 空集记为0; 如果k是自然数,则其“后继”为: k {k} 。 于是: 有限集就是与某个自然数等势的集合

问题4: 什么是无限集合? 提示:有限集就是与某个自然数等势的集合 A set is infinite if it is not finite A set is infinite if and only if for every natural number the set has a subset whose cardinality is that natural number
提示:有限集就是与某个自然数等势的集合 A set is infinite if and only if for every natural number the set has a subset whose cardinality is that natural number. A set is infinite if it is not finite

自然数集与整数集等势 f:ZN explicitly as follows: 0-+2对 ifx≥0 104 otherwise “排队”: n -5-3-1135 0,-1,1,-2,2,-3,3,-4,4,-5,5,…
自然数集与整数集等势 “排队” : 0, -1, 1, -2, 2, -3, 3, -4, 4, -5, 5, …

问题5: 6.a-3,-2,-1,0,12,3,9不 能算排好队了,为什么?

关于双射的证明(1) f:ZN explicitly as follows: 注意: 2x f=1 ifx≥0 不能遗漏了case3! -(1+2x)otherwise Proof that f is one-to-one. Letm,n∈Z and suppose that f(m)≠f(n). Case 1.Suppose that m0 and n z0.Then f(m)=2m and f(n)=2n.Thus 2ni =2n,and therefore m=n. Case 2.Suppose that m<0 and n 0.Then f(m)=-2m-1 and f(n)=-2n-1.Thus,-2m-1 =-2n-1,and therefore m =n. Case 3.S Suppose that one of the two,say m,is nonnegative,and the other is negative.Then f(m)=2m and f(n)=-2n-1. Thus 2m =-2n-1.But this means that an even number, 2m,is equal to an odd number,-2n-1,which is impossible. Therefore,if f(m)=f(n),only case 1 and case 2 can occur.In either of these cases,we have shown that m =n.Thus f is one-to- one. ■
关于双射的证明 (1) 注意: 不能遗漏了case 3!

关于双射的证明(2) f:ZN explicitly as follows: f-{2+2 2x ifx≥0 otherwise Proof that f maps Z onto N. Letk∈N.If k is even,then k=2 m for some m∈Z with m≥O. Thus,m eZ and f(m)=2m k.If k is odd,then k+1 is even. Hence m=(k+1)/(-2)∈Z.Since k≥1,we have m<0.Thus, f(m)=-2m-1 =-2((k +1)/(-2))-1 k.We conclude that for allk∈N,there exists m∈Z such that f(m)=k.Sincef:Z→Nis a well-defined function,f maps Z onto N. ■
关于双射的证明 (2)

无穷不仅仅是“很多很多 Not necessary It is possible to define comparisons 伽利略悖论: amongst infinite sets in a meaningful way! 整体与局部“一样大”】 23 4 5 67 8 Galileo Galilei 1625 36 49 64.. The ideas of less,equal,and greater apply to (what we would now call)finite sets,but not to infinite sets https://en.wikipedia.org/wiki/Galileo%27s paradox
无穷不仅仅是“很多很多” 伽利略悖论: 整体与局部“ 一样大”! https://en.wikipedia.org/wiki/Galileo%27s_paradox Galileo Galilei The ideas of less, equal, and greater apply to (what we would now call) finite sets, but not to infinite sets! Not necessary! It is possible to define comparisons amongst infinite sets in a meaningful way!
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)函数.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)集合及其运算.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)关系及其基本性质.pptx
- 《计算机问题求解》课程教学资源(阅读材料)Computational Thinking:What and Why?.pdf
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)数据与数据结构.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)如何将算法告诉计算机.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)计算思维引导.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)常用的证明方法.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)基本的算法结构.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)什么样的推理是正确的.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)为什么计算机能解题.ppt
- 《计算机问题求解》课程参考书籍:《算法学——计算精髓》PDF电子版(Algorithmics - The Spirit of Computing,THIRD EDITION,David Harel).pdf
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)算法问题的形式化描述.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)近似算法的基本概念.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)串匹配.ppt
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)NP完全理论初步.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)密码算法.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)代数编码.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)数论基础.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)群同态基本定理与正规子群.pptx
- 《计算机问题求解》课程教学资源(参考教材)Computer Algorithms - Introduction to Design and Analysis.pdf
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)Hashing方法.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)分治法与递归.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)基本数据结构.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)堆与堆排序.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)排序与选择.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)概率分析与随机算法.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)离散概率基础.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)算法正确性.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)算法的效率.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)组合与计数.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)递归及其数学基础.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)B树.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)动态规划.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)单源最短路径算法.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)图中的匹配与覆盖.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)图的基本概念.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)图的计算机表示以及遍历.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)图的连通度.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)多源最短路径算法.pptx