Need some help with finding a couple bijective, injective functions
I attached the question
@Hero
injective means no two domain elements go to the same range element right?
so there are probably meany ways to do it, think fractions
I'm thinking we have to map something like 1, 1/2, 1/4, 1/8, ... to something
like map it onto 1/2, 1/4, 1/8, 1/16 ...
but i'm not sure how to do that
i would just go with \(n\to \frac{1}{n}\)
course that doesn't really work, because you have a problem at 0
so just send \(0\to 0\)
How so?
you can't just say \(\mathbb{Z}\to [-1.1]\) via \(z\mapsto\frac{1}{z}\) because that would be undefined for \(0\)
so in addition so \(z\mapsto\frac{1}{z}\) add \(0\mapsto 0\)
it is clearly injective right? no two elements of \(\mathbb{Z}\) get mapped to the same number in \([-1,1]\)
Sorry, i'm just a little lost @satellite73
ok lets go slow
injective means no two domain elements go to the same range element yes?
yes
your domain is \(\mathbb{Z}=...-3,-2,-1,0,1,2,3...\)
if you fiip each of them you get some number in \([-1,1]\) like \[-\frac{1}{3},-\frac{1}{2},-1,1,\frac{1}{2},\frac{1}{3},...\]
clear?
Oh okay
the only problem with this is, you can't flip \(0\) because \(\frac{1}{0}\) is undefined
alright
so you have to make a special case for 0, say \(0\mapsto 0\)
nothing else gets sent to 0, so this is still an injection
Okay that makes sense
good !
Is there a way to find a function without using special cases?
if there is ii will leave that up to you, i can't see one
0 has to go somewheres
Okay
you shouldn't be scared of that, it is your function, you can define it anyway you like
you could even say \(0\mapsto \frac{2}{3}\)nothing else goes there
Oh i see, so we need to make a special case for 0, but it still stays an injective function
oui
:) so how about a bijective funciton for f : [0, 1] → [0, 1)?
what do i look like, a genius?
little bit :p
clearly you want to say \(x\mapsto x\) right?
except you have a problem at 1
yup
What is the problem at 1?
if \(x\mapsto x\) then \([01]\to [0,1]\) not to \([0,1)\)
Oh
so how to take care of that? if you don't like special cases for the first one, you are really not going to like this one
why don't we consider mapping the sequence 1, 1/2, 1/4, 1/8 ... onto 1/2, 1/4, 1/8, 1/16...?
i think that should work
or just \(\frac{1}{n}\) to \(\frac{1}{n+1}\) if \(x=\frac{1}{n}\) for some integer \(n\)
and of course for the rest, \(x\mapsto x\)
How am I supposed to write out my answers for these types of questions? I feel like just writing something like x -> x wouldn't really make sense without writing that what part it's for
just say it in words
say "if \(x=\frac{1}{n}\) for integer \(n\) then \(x\mapsto \frac{1}{n}\), otherwise \(x\mapsto x\)
oops i meant \(x\to \frac{1}{n+1}\) but you get the idea
oh okay
and how am I supposed to write out a special case?
i guess you also have to add \(0\to 0\)
just add that at the end?
since \(0=\frac{0}{n}\) for all n
oh maybe not actually
since \(\frac{0}{n+1}=0\) anyways
you can say it in english probably best more words if you like, but in math usually terse is best say the map that sends \(\frac{1}{n}\to \frac{1}{n+1}\) is a map from the sequence \(\{\frac{1}{n}\}\) to \(\{\frac{1}{n+1}\}\) and if \(x\neq \frac{1}{n}\) for integer \(n\) then \(x\mapsto x\)
Alrighty
and for the first part we still have to put in the special case for 0?
yes if you use the one i wrote
you can't just say \(n\mapsto \frac{1}{n}\) without making a special case for 0
Makes sense :) Thanks @satellite73
Join our real-time social learning platform and learn together with your friends!