离散数学课件----Function.ppt

上传人:99****p 文档编号:1585956 上传时间:2019-03-07 格式:PPT 页数:53 大小:2.18MB
下载 相关 举报
离散数学课件----Function.ppt_第1页
第1页 / 共53页
离散数学课件----Function.ppt_第2页
第2页 / 共53页
离散数学课件----Function.ppt_第3页
第3页 / 共53页
离散数学课件----Function.ppt_第4页
第4页 / 共53页
离散数学课件----Function.ppt_第5页
第5页 / 共53页
点击查看更多>>
资源描述

1、Functions Definition of Function Definition: Let A and B be nonempty sets. A function f from A to B, which is denoted f:AB, is a relation from A to B such that for all aA, f(a) contains just one element of B. A special kind of binary relation Under f, each element in the domain of f has a unique ima

2、ge. Note: the domain of :AB is A, but the range is not necessarily equal to B.Image and counterimage Let f:AB, AA, then (A)=y|y=f(x), xA is called the image of A under f. An element in Dom(f) corresponds a value A subset of Dom(f) corresponds an image Let BB, then f-1(B)=x|xA, f(x)B is called the co

3、unterimage of B under f. What is f -1(f(A) ? A f -1(f(A) ? f -1(f(A) A? BABAfImage and CounterimageSpecial Types of Functions Surjection :AB is a surjection or “onto” iff. Ran()=B, iff. yB, xA, such that f(x)=y Injection (one-to-one) :AB is one-to-one iff. yRan(f), there is at most one xA, such that

4、 f(x)=y iff. x1,x2A, if x1x2, then (x1) (x2) iff. x1,x2A, if (x1) =(x2), then x1=x2 Bijection(one-to-one correspondence) surjection plus injection If A,B are nonempty sets how many different functions from A to B are there? |B|A| how many Injection from A to B are there? If |A|B| then 0 else |A|!*|A

5、|C|B| how many Bijection from A to B are there? If |A|= |B| = m then M! else 0Special Types of Functions: Examples :Z+R, (x)= ln x, one-to-one :RZ, (x)= x, onto :RR, (x)= 2x-1, bijection :RRRR, () = , bijection Try to prove it What is (|x,yR, y=x+1)? R-1 :NNN, () = | x2-y2| (N0) = n2|nN, -1(0) =|nNC

6、haracteristic Function of Set Let U be the universal set, for any AU, the characteristic function of A, fA:U0,1 is defined as fA(x)=1 iff. xANatural Function R is an equivalence relation on set A, g : AA/R, for all aA, g(a)=R(a), then G is called a natural function on A Natural function is surjection For any R(a)A/R, there exists some xA,such that g(x)=R(x)Images of Union and Intersection Given f: AB, and X,Y are subsets of A, then: f (XY) = f(X)f (Y) f (XY) f(X)f (Y)

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育教学资料库 > 课件讲义

Copyright © 2018-2021 Wenke99.com All rights reserved

工信部备案号浙ICP备20026746号-2  

公安局备案号:浙公网安备33038302330469号

本站为C2C交文档易平台,即用户上传的文档直接卖给下载用户,本站只是网络服务中间平台,所有原创文档下载所得归上传人所有,若您发现上传作品侵犯了您的权利,请立刻联系网站客服并提供证据,平台将在3个工作日内予以改正。