3. Give an example of a function (a) f : Z → N that is both 1-1 and onto. (b) f : N → Z that is both 1-1 and onto Isn't impossible to do both? I mean if you draw a venn diagram, one can see that one set is bigger than the other ( therefore not allowing it to be "onto") and at the same time the inverse wouldn't allow a one - to - one relationship. Any help on what I'm doing wrong?
does your text define 0 as a natural number?
Z and N are both countably infinite, so they have the same number of elements n(0,1, 2, 3, 4, 5, 6,7, 8,...) z(0,1,-1,2,-2,3,-3,4,-4,...) maps n to z
i thought n was from 1--> infinity and z was from -infinity --> infinity excluding decimals
i spose it depends on how you 'define' the function this paranthetical top/bottom is a functional definition
even so, if n starts at 1, we can still develop an onto relationship
can we define it in terms of some equation? im not sure that we can. but a function need not be an equation
yeah but it can't be one to one. If Z is from 0 n 0|dw:1427692385963:dw|
your mistaking elements, with cardinality
mhmm what do you mean? I thought that it represented all numbers within one set. if the set of integers is greater, than it will never be one - to - one as there are too many of one to fill the other, no?
|dw:1427692457313:dw|
f:A to B, is one to one and onto
why?
|dw:1427692625015:dw|
Join our real-time social learning platform and learn together with your friends!