北京邮电大学计算机学院离散数学22-Setoperationsppt课件.ppt

北京邮电大学计算机学院离散数学22-Setoperationsppt课件.ppt

ID:59473554

大小:266.00 KB

页数:34页

时间:2020-09-14

北京邮电大学计算机学院离散数学22-Setoperationsppt课件.ppt_第1页
北京邮电大学计算机学院离散数学22-Setoperationsppt课件.ppt_第2页
北京邮电大学计算机学院离散数学22-Setoperationsppt课件.ppt_第3页
北京邮电大学计算机学院离散数学22-Setoperationsppt课件.ppt_第4页
北京邮电大学计算机学院离散数学22-Setoperationsppt课件.ppt_第5页
资源描述:

《北京邮电大学计算机学院离散数学22-Setoperationsppt课件.ppt》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、SetOperations(集合的运算)22021/8/31CollegeofComputerScience&Technology,BUPTSetOperationsPropositionalcalculus(命题演算)andsettheory(集合论)arebothinstancesofanalgebraicsystem(代数系统)calledaBooleanAlgebra(布尔代数)Theoperatorsinsettheoryaredefinedintermsofthecorrespondingoperatorinpropositionalcal

2、culusAsalwaystheremustbeauniverseU.AllsetsareassumedtobesubsetsofU32021/8/31CollegeofComputerScience&Technology,BUPTEqual(相等)Definition:TwosetsAandBareequal,denotedA=B,iff"x[xÎA«xÎB].Note:ByapreviouslogicalequivalencewehaveA=Biff"x[(xÎA®xÎB)Ù(xÎB®xÎA)]orA=BiffAÍBandBÍA42021/8/31

3、CollegeofComputerScience&Technology,BUPTDefinitionsTheunion(并集)ofAandB,denotedAÈB,istheset{x

4、xÎAÚxÎB}Theintersection(交集)ofAandB,denotedAÇB,istheset{x

5、xÎAÙxÎB}Note:Iftheintersectionisvoid,AandBaresaidtobedisjoint(不相交).Thecomplement(补集)ofA,denotedA,istheset{x

6、Ø(xÎA)}Note:Alternati

7、venotationisAc,and{x

8、xÏA}.52021/8/31CollegeofComputerScience&Technology,BUPTTheAdditionprinciple(加法原理)TheoremIfAandBarefinitesets,then

9、AB

10、=

11、A

12、+

13、B

14、-

15、AB

16、Italsocalledtheinclusion-exclusionprinciple(容斥原理)62021/8/31CollegeofComputerScience&Technology,BUPTExampleLetA={a,b,c,d,e}andB

17、={c,e,f,h,k,m}.Verifyinclusion-exclusionprinciple.Solution:AB={a,b,c,d,e,f,h,k,m}andAB={c,e}

18、A

19、=5,

20、B

21、=6,

22、AB

23、=9and

24、AB

25、=2

26、A

27、+

28、B

29、-

30、AB

31、=9=

32、AB

33、Q.E.D72021/8/31CollegeofComputerScience&Technology,BUPTTheAdditionprincipleforDisjointSets

34、AB

35、=

36、A

37、+

38、B

39、82021/8/31CollegeofComputerScien

40、ce&Technology,BUPTDefinitionsThedifference(差)ofAandB,orthecomplementofBrelativetoA(,denotedA-B,isthesetAÇBNote:The(absolute)complementofAisU-A.Thesymmetricdifference(对称差)ofAandB,denotedAÅB,istheset(A-B)È(B-A)92021/8/31CollegeofComputerScience&Technology,BUPTVennDiagramsAusefulge

41、ometricvisualizationtool(for3orlesssets)TheUniverseUistherectangularboxEachsetisrepresentedbyacircleanditsinteriorAllpossiblecombinationsofthesetsmustberepresented102021/8/31CollegeofComputerScience&Technology,BUPTVennDiagramsShadetheappropriateregiontorepresentthegivensetoperat

42、ion.112021/8/31CollegeofComputerScience&Technol

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。