已阅读5页,还剩6页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
CIS 607: Mathematical Basis for Computing SOLUTIONS OF HOMEWORK 2 Homework 2 Sets, Functions and Relations Due Date: March 9, 2017 In this homework, you will answer the following questions. Prepare a pdf file for your solutions and upload that pdf file into the blackboard system. Q1) a) Find the power set of each of these sets, where a and b are distinct elements. a, b, c PS(a,b,c) = , a,b,c,a,ba,c,b,c,a,b,c , PS(, ) = , , b) Find A3 if A = a. A3 = (a, a, a) A = 0, a. A3 = (0, 0, 0), (0, 0, a), (0, a, 0), (0, a, a), (a, 0, 0), (a, 0, a), (a, a, 0), (a, a, a) c) Cardinalities of Cartesian products. How many different elements does A B have if A has m elements and B has n elements? mn How many different elements does A B C have if A has m elements, B has n elements, and C has p elements? mnp How many different elements does An have when A has m elements and n is a positive integer? mn Q2) a) Let A, B, and C be sets. Show that _ _ _ _ A B C = A B C Suppose that x in the left side. x A B C x A or x B or x C x in the right side. Suppose that x in the right side. x is not in A, or x is not in B or x is not in C. So, x is not in A B C So, x is the left side. (A B) C A C Suppose that x (A B) C. Then x is in AB but not in C. Since x AB, we know that x A. Since we have established that x A but x C, we have proved that x A C. (A C) (C B) = To show that the set given on the left-hand side is empty, it suffices to assume that x is some element in that set and derive a contradiction, thereby showing that no such x exists. So suppose that x (AC) (C B). Then x ay+b=az+b y=z f is one-to-one o f is also onto since y=(x-b)/a for all y in R. f1(x) = (x-b)/a Q5) a) Find the solution to each of these recurrence relations with the given initial conditions. Use an iterative approach. an = an1, a0 = 5 an = an1 n, a0 = 4 a0 an = 2an1 3, a0 = 1 an = 2nan1, a0 = 3 b) A person deposits $1000 in an account that yields 9% interest compounded annually. Set up a recurrence relation for the amount in the account at the end of n years. Find an explicit formula for the amount in the account at the end of n years. How much money will the account contain after 100 years? c) An employee joined a company in 2009 with a starting salary of $50,000. Every year this employee receives a raise of $1000 plus 5% of the salary of the previous year. Set up a recurrence relation for the salary of this employee n years after 2009. What will the salary of this employee be in 2017? Find an explicit formula for the salary of this employee n years after 2009. Q6) a) Determine whether each of these sets is countable or uncountable. For those that are countably infinite, exhibit a one-to-one correspondence between the set of positive integers and that set. integers not divisible by 3 the real numbers with decimal representations consisting of all 1s the real numbers with decimal representations of all 1s or 9s This set is countable but a little tricky. We can arrange the numbers in a 2-dimensional table as follows: Thus we have shown that our set is the countable union of countable sets (each of the countable sets is one row of this table). Therefore, the entire set is countable. For an explicit correspondence with the positive integers, we can zigzag along the positive-sloping diagonals 1 .1, 2 1.1, 3 .1, 4 .11, 5 1, and so on. This set is not countable. We can prove it by the same diagonalization argument as was used to prove that the set of all reals is uncountable. All we need to do is choose di = 1 when dii = 9 and choose di = 9 when dii = 1 or dii is blank (if the decimal expansion is finite). b) Give an example of two uncountable sets A and B such that A B is finite. countably infinite. uncountable. Q7) a) Determine whether the relation R on the set of all real numbers is reflexive, symmetric, antisymmetric, and/or transitive, where (x, y) R if and only if x + y = 0. x = y. x = 2y. xy 0. b) For each of these relations on the set 1, 2, 3, 4, decide whether it is reflexive, whether it is symmetric, whether it is antisymmetric, and whether it is transitive. (2, 2), (2, 3), (2, 4), (3, 2), (3, 3), (3, 4) not reflexive ; not symmetric ; not antisymmetric ; transitive (1, 1), (1, 2), (2, 1), (2, 2), (3, 3), (4, 4) reflexive ; symmetric ; not antisymmetric ; transitive (2, 4), (4, 2) not reflexive ; symmetric ; not antisymmetric ; not transitive (1, 2), (2, 3), (3, 4) not reflexive ; not symmetric ; antisymmetric ; not transitive c) Write all binary relations on the set A=a,b. Determine which ones are reflexive, symmetric, antisymmetric, transitive and/or functions from A to A. not reflexive ; symmetric ; antisymmetric ; transitive ; not function (a,a) not reflexive ; symmetric ; antisymmetric ; transitive ; not function (a,b) not reflexive ; not symmetric ; antisymmetric ; transitive ; not function (b,a) not reflexive ; not symmetric ; antisymmetric ; transitive ; not function (b,b) not reflexive ; symmetric ; antisymmetric ; transitive ; not function (a,a),(a,b) not reflexive ; not symmetric ; antisymmetric ; transitive ; not function (a,a),(b,a) not reflexive ; not symmetric ; antisymmetric ; transitive ; function (a,a),(b,b) reflexive ; symmetric ; antisymmetric ; transitive ; function (a,b),(b,a) not reflexive ; symmetric ; antisymmetric ; not transitive ; function (a,b),(b,b) not reflexive ; not symmetric ; antisymmetric ; transitive ; function (b,a),(b,b) not reflexive ; not symmetric ; antisymmetric ; transitive ; not function (a,a),(a,b),(b,a) not reflexive ; symmetric ; not antisymmetric ; not transitive ; not function (a,a),(a,b),(b,b) reflexive ; not symmetric ; antisymmetric ; transitive ; not function (a,a),(b,a),(b,b) reflexive ; not symmetric ; antisymmetric ; transitive ; not function (a,b),(b,a),(b,b) not reflexive ; symmetric ; antisymmetric ; not transitive ; not function (a,a),(a,b),(b,a),(b,b) reflexive ; symmetric ; not antisymmetric ; transitive ; not function Q8) a) Suppose that R and S are reflexive relations on a set A. Prove or disprove each of these statements. R S is reflexive. R S is reflexive. S R is reflexive. b) Show the following properties on relations Show that the relation R on a set A is symmetric if and only if R = R1, where R1 is the inverse relation. Let (x,y) R (y,x) R since R is symmetric (x,y) and (y,x) R1 by definition of inverse relation So, R=R1 Show that the relation R on a set A is antisymmetric if and only if R R1 is a subset of the diagonal relation = (a, a) | a A. Show that the relation R on a set A is reflexive if and only if the inverse relation R1 is reflexive. R is reflexive iff xxU (x,x) R iff xxU (x,x) R-1 by definition of inverse relation R-1 is reflexive Q9) a) Which of these relations on the set of all people are equivalence relations? Determine the properties of an equivalence relation that the others lack. (a, b) | a and b are the same age equivalence relation (a, b) | a and b have the same parents equivalence relation (a, b) | a and b share a common parent This is not an equivalence relation, since it need not be transitive. (We assume that biological parentage is at issue here, so it is possible for A to be the child of W and X, B to be the child of X and Y, and C to be the child of Y and Z . Then A is related to B, and B is related to C, but A is not related to C.) (a, b) | a and b speak a common language This is not an equivalence relation, since it need not be transitive. b) Show that the relation R consisting of all pairs (x, y) s
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年国家空间科学中心空间环境探测重点实验室空间环境探测载荷工程技术人员招聘备考题库及参考答案详解
- 2026年长安镇厦岗小学(公立)招聘备考题库及一套参考答案详解
- 2026年无锡学院集成电路工艺联合创新中心科研助理招聘备考题库及完整答案详解一套
- 黄石市教育局直属高中2026年公费师范毕业生招聘6人备考题库及完整答案详解一套
- 2026年泰州机电高等职业技术学校招聘医务室工作人员备考题库及答案详解(夺冠系列)
- 高中生通过光学设计校园AR导航辅助系统课题报告教学研究课题报告
- 2026年永嘉县保安服务有限公司公开招聘2名劳务派遣的备考题库及完整答案详解
- 2026年武汉科技大学附属老年病医院招聘30人备考题库(含答案详解)
- 2025年区块链数字藏品版权保护应用趋势报告
- 2025年区块链跨境电商供应链溯源流程再造报告
- ktv年关应急预案
- 【新教材】2025-2026学年西师大版(2024)三年级数学上册全册教案(教学设计)
- 3D技术介绍及应用
- 甘肃医学院《药物化学》2024-2025学年期末试卷(A卷)
- 安全通道防护棚施工方案
- (正式版)DB54∕T 0430-2025 《河湖健康评价规范》
- 2025年设备预测性维护技术创新在电力设备中的应用
- 2025年江苏省职业院校技能大赛中职组(安全保卫)考试题库(含答案)
- 2025-2030集中式与分散式青年公寓运营效率对比分析
- 矿山环境监测评价报告
- 广西协美化学品有限公司年产7400吨高纯有机过氧化物项目环评报告
评论
0/150
提交评论