版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
每七天一交作业,作业成绩占总成绩10%;平时不定时进行小测验,占总成绩
20%;期中考试成绩占总成绩20%;期终考试成绩占总成绩50%1/28A∪B=A∪C⇏
B=Ccancellationlaw
。Example:A={1,2,3},B={3,4,5},C={4,5},
B
C,ButA∪B=A∪C={1,2,3,4,5}Example:A={1,2,3},B={3,4,5},C={3},B
C,ButA∩B=A∩C={3}A-B=A-C⇏B=Ccancellationlaw:symmetricdifference
2/28ThesymmetricdifferenceofAandB,writeA
B,isthesetofallelementsthatareinAorB,butarenotinbothAandB,i.e.A
B=(A∪B)-(A∩B)。(A∪B)-(A∩B)=(A-B)∪(B-A)
3/284/28Theorem1.4:ifA
B=A
C,thenB=C
Distributivelaws
andDeMorgan’slaws:
B∩(A1∪A2∪…∪An)=(B∩A1)∪(B∩A2)∪…∪(B∩An)B∪(A1∩A2∩…∩An)=(B∪A1)∩(B∪A2)∩…∩(B∪An)5/28Chapter2Relations
Definition2.1:Anorderpair(a,b)isalistingoftheobjectsaandbinaprescribedorder,withaappearingfirstandbappearingsecond.Twoorderpairs(a,b)and(c,d)areequalifonlyifa=candb=d.{a,b}={b,a},orderpairs:(a,b)
(b,a)unlessa=b.(a,a)
6/28Definition2.2:Theorderedn-tuple(a1,a2,…,an)istheorderedcollectionthathasa1asitsfirstelement,a2asitssecondelement,…,andanasitsnthelement.Twoorderedn-tuplesareequalisonlyifeachcorrespondingpairoftheirelementsiaequal,i.e.(a1,a2,…,an)=(b1,b2,…,bn)ifonlyifai=bi,fori=1,2,…,n.7/28Definition2.3:LetAandBbetwosets.TheCartesianproductofAandB,denotedbyA×B,isthesetofallorderedpairs(a,b)wherea
Aandb
B.HenceA×B={(a,b)|a
Aandb
B}
Example:LetA={1,2},B={x,y},C={a,b,c}.A×B={(1,x),(1,y),(2,x),(2,y)};B×A={(x,1),(x,2),(y,1),(y,2)};B×A
A×Bcommutativelaws×
8/28A×C={(1,a),(1,b),(1,c),(2,a),(2,b),(2,c)};A×A={(1,1),(1,2),(2,1),(2,2)}。A×
=
×A=
Definition2.4:LetA1,A2,…Anbesets.TheCartesianproductofA1,A2,…An,denotedbyA1×A2×…×An,isthesetofallorderedn-tuples(a1,a2,…,an)whereai
Aifori=1,2,…n.HenceA1×A2×…×An={(a1,a2,…,an)|ai
Ai,i=1,2,…,n}.
9/28Example:A×B×C={(1,x,a),(1,x,b),(1,x,c),(1,y,a),(1,y,b),(1,y,c),(2,x,a),(2,x,b),(2,x,c),(2,y,a),(2,y,b),(2,y,c)}。IfAi=Afori=1,2,…,n,thenA1×A2×…×AnbyAn.Example:LetArepresentthesetofallstudentsatanuniversity,andletBrepresentthesetofallcourseattheuniversity.WhatistheCartesianproductofA×B?TheCartesianproductofA×Bconsistsofalltheorderedpairsoftheform(a,b),whereaisastudentattheuniversityandbisacourseofferedattheuniversity.ThesetA×Bcanbeusedtorepresentallpossibleenrollmentsofstudentsincoursesattheuniversity10/28studentsa,b,c,
courses:x,y,z,w(a,y),(a,w),(b,x),(b,y),(b,w),(c,w)R={(a,y),(a,w),(b,x),(b,y),(b,w)}R
A×B,i.e.
RisasubsetofA×Brelation
11/282.2BinaryrelationsDefinition2.5:LetAandBbesets.AbinaryrelationfromAtoBisasubsetofA×B.ArelationonAisarelationfromAtoA.If(a,b)
R,wesaythataisrelatedtobbyR,wealsowriteaRb.If(a,b)
R,wesaythataisnotrelatedtobbyR,wealsowritea
℟
b.wesaythatemptysetisanemptyrelation.
12/28Definition2.6:LetRbearelationfromAtoB.ThedomainofR,denotedbyDom(R),isthesetofelementsinAthatarerelatedtosomeelementinB.TherangeofR,denotedbyRan(R),isthesetofelementsinBthatarerelatedtosomeelementinA.DomR
A,RanR
B。13/28Example:A={1,3,5,7},B={0,2,4,6},R={(a,b)|a<b,wherea
Aandb
B}HenceR={(1,2),(1,4),(1,6),(3,4),(3,6),(5,6)}DomR={1,3,5},RanR={2,4,6}(3,4)
R,Because4≮3,so(4,3)
RTableR={(1,2),(1,4),(1,6),(3,4),(3,6),(5,6)}
14/2815/28A={1,2,3,4},R={(a,b)|3|(a-b),whereaandb
A}R={(1,1),(2,2),(3,3),(4,4),(1,4),(4,1)}DomR=RanR=A。congruencemod3congruencemodr{(a,b)|r|(a-b)whereaandb
Z,andr
Z+}
16/28Definition2.7:LetA1,A2,…Anbesets.Ann-aryrelationonthesesetsisasubsetofA1×A2×…×An.
17/282.3PropertiesofrelationsDefinition2.8:ArelationRonasetAisreflexiveif(a,a)
Rforalla
A.ArelationRonasetAisirreflexiveif(a,a)
Rforeverya
A.
A={1,2,3,4}R1={(1,1),(2,2),(3,3)}?R2={(1,1),(1,2),(2,2),(3,3),(4,4)}?LetAbeanonemptyset.Theemptyrelation
A×Aisnotreflexivesince(a,a)
foralla
A.However
isirreflexive
18/28Definition2.9:ArelationRonasetAissymmetricifwheneveraRb,thenbRa.ArelationRonasetAisasymmetricifwheneveraRb,thenb℟a.ArelationRonasetAisantisymmetricifwheneveraRb,thenb℟aunlessa=b.IfRisantisymmetric,thena℟borb℟awhena
b.
A={1,2,3,4}S1={(1,2),(2,1),(1,3),(3,1)}?S2={(1,2),(2,1),(1,3)}?S3={(1,2),(2,1),(3,3)}?19/28Arelationisnotsymmetric,andisalsonotantisymmetricS4={(1,2),(1,3),(2,3)}antisymmetric,
asymmetricS5={(1,1),(1,2),(1,3),(2,3)}antisymmetric,isnotasymmetricS6={(1,1),(2,2)}antisymmetric,symmetric,isnotasymmetricArelationissymmetric,andisalsoantisymmetric
20/28Definition2.10:ArelationRonsetAistransitiveifwheneveraRbandbRc,thenaRc.ArelationRonsetAisnottransitiveifthereexista,b,andcinAsothataRbandbRc,buta℟c.Ifsucha,b,andcdonotexist,thenRistransitiveT1={(1,2),(1,3)}transitiveT2={(1,1)}transitiveT3={(1,2),(2,3),(1,3)}transitiveT4={(1,2),(2,3),(1,3),(2,1),(1,1)}?
21/28Example:LetRbeanonemptyrelationonasetA.SupposethatRissymmetricandirreflexive.ShowthatRisnottransitive.Proof:SupposeRistransitive.Matrixorpictorialrepresented22/28Definition2.11:LetRbearelationfromA={a1,a2,…,am}toB={b1,b2,…,bn}.TherelationcanberepresentedbythematrixMR=(mi,j)m×n,wheremi,j=1?aiisrelatedbjmi,j=0?aiisnotrelatedbj23/28Example:A={1,2,3,4},R={(1,1),(2,2),(3,3),(4,4),(1,4),(4,1)},Matrix:
Example:A={2,3,4},B={1,3,5,7},<R={(2,3),(2,5),(2,7),(3,5),(3,7),(4,5),(4,7)},Matrix:LetRbearelationonsetA.RisreflexiveifalltheelementsonthemaindiagonalofMRareequalto1
RisirreflexiveifalltheelementsonthemaindiagonalofMRareequalto0
RissymmetricifMRisasymmetricmatrix.
Risantisymmetricifmij=1w
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 企业员工培训与考核制度
- 2026湖南娄底市妇幼保健院公开招聘专业技术人员参考题库附答案
- 2026湖南长沙市天心区教育局白沙润府第一幼儿园教职工招聘参考题库附答案
- 2026福建厦门市松柏中学校园招聘9人参考题库附答案
- 2026福建漳州市中医院招聘临时人员1人备考题库附答案
- 2026福建省面向西北农林科技大学选调生选拔工作备考题库附答案
- 2026秋季威海银行校园招聘考试备考题库附答案
- 公共交通线路优化调整制度
- 2026辽宁营口市老边区校园招聘教师24人(辽宁师范大学专场)考试备考题库附答案
- 2026黑龙江科技大学上半年公开招聘博士教师66人参考题库附答案
- 建筑垃圾清理及运输方案
- 烟叶复烤能源管理
- D701-1~3封闭式母线及桥架安装(2004年合订本)文档
- 2023年八年级生物地理会考试卷(含生物答案)
- 移动护理信息系统建设方案
- JT-T-270-2019强制间歇式沥青混合料搅拌设备
- 雷雨-剧本原文-高中语文雷雨剧本原文
- 媒介思维与媒介批评智慧树知到期末考试答案2024年
- 公司门禁和车辆管理制度
- 中医按摩宝典
- 任应秋医学丛书:濒湖脉学白话解
评论
0/150
提交评论