#Please help with injective, surjective and bijective functions
63 messages · Page 1 of 1 (latest)
- My attempt on solving injective and surjective function.
So what do I do with task 2? 🥲
you can also do map for a=1..4, a->a+1, but 5->1
another word for surjective is onto
that means that your whole codomain is "covered"
if you make a function that just leaves out for example 5
i.e. nothing maps to 5
no
Oh
But doesn’t it do that in the picture? Or do I misunderstand
^
you can't leave anything out from the domain
what's the definition of an injective function?
Also called a one-to-one function?
Like each unique input maps to a unique output but I thought that’s exactly what I did
yes but you left out 5 in the domain / image
in your function, f(5) is not defined
and it should be
and your unique input belongs to A
which includes 5
So how is this any different from bijective then
also no, that's wrong
i just realised
injective is
if a=b, then f(a) = f(b)
it doesn't say that they have to be unique
your definition is for bijectivity
Okay to get this straight, this is correct?
yes
that is bijective
actually
i just realised it says "partial function"
okay i am sorry about the second one
Where does it say that?
this looks correct
Oh I also didn’t realize
this is correct and you can leave out 5 in the domain because it's a partial function
Oh why is that?
So {1, 2, 3, 4, 5} is the range and it doesn’t need to cover each and everyone?
yes because it's a partial function
Ahhh
from wikipedia