映射;Mapping
映射是两个集合中的一种特殊的对应关系,即如果按照某种对应法则,对于集合A中的任何一个元素,在集合B中都有惟一的元素与它对应,那么这样的对应(包括对应法则)叫做集合A到集合B的映射。其中,A中的元素称为原像,B中的元素称为A中元素的像(i m a g e imageimage)。
单射、满射与双射;Injection, surjection and bijection
单射:在英语中称为i n j e c t i o n injectioninjection或o n e oneone t o toto o n e oneone。设A AA和B BB是两个非空集合,F FF是一个映射。如果对B BB中任一元素,若A AA中有其原像,则其在A AA中的原像有且仅有一个,就称F FF为一个从A AA到B BB的单射。
即单射只能一对一,不能多对一。
F : A → B F:A \rightarrow BF:A→B i s isis i n j e c t i o n injectioninjection i f ifif a n d andand o n l y onlyonly i f ifif
∀ a , b ∈ A \forall a,b \in A∀a,b∈A, T h e n ThenThen F ( a ) = F ( b ) ⇒ a = b F(a)=F(b) \Rightarrow a=bF(a)=F(b)⇒a=b
满射:在英语中称为s u r j e c t i o n surjectionsurjection或o n t o ontoonto。如果每个可能的像至少有一个变量映射其上,或者说值域任何元素都有至少有一个变量与之对应,那这个映射就叫做满射。
即像集合B BB中的每个元素在A AA中都有一个或一个以上的原像。
F : A → B F:A \rightarrow BF:A→B i s isis s u r j e c t i o n surjectionsurjection i f ifif a n d andand o n l y onlyonly i f ifif
∀ b ∈ B \forall b \in B∀b∈B, ∃ a ∈ A \exists a \in A∃a∈A s u c h suchsuch t h a t thatthat F ( a ) = b F(a)=bF(a)=b
双射:在英语中称为为b i j e c t i o n bijectionbijection。设A AA和B BB是两个非空集合,F FF是一个映射,如果对B BB中任一元素,依照映射F FF,A AA中都有其唯一的原像,就称F FF为一个从A AA到B BB的双射。
即对B中所有的元素,A AA中都存在其唯一原像。
F : A → B F:A \rightarrow BF:A→B i s isis b i j e c t i o n bijectionbijection i f ifif a n d andand o n l y onlyonly i f ifif
∀ b ∈ B \forall b \in B∀b∈B, t h e r e i s a u n i q u e a ∈ A there\ is\ a\ unique\ a \in Athere is a unique a∈A s u c h suchsuch t h a t thatthat F ( a ) = b F(a)=bF(a)=b