Find a Bijection [tex]\left[ 0,1 \right] \rightarrow \Re [/tex]

  • Thread starter Thread starter rosh300
  • Start date Start date
  • Tags Tags
    Bijection
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 8K views
rosh300
Messages
16
Reaction score
0

Homework Statement



Find a Bijection [tex]\left( 0,1 \right) \rightarrow[/tex] R

Homework Equations


Detention of bijection

The Attempt at a Solution



let r be a number in the interval [tex]\left[ 0,1 \right][/tex]

r = a b1c1b2c2 ... bncn where a, b,c are digits between [0, 9]

f(r) =
{ - b1b2b3 ... bn . c1 c2 ... cn if a<5
{+ b1b2b3 ... bn . c1 c2 ... cn if a>=5

i know its incorrect as it is not injective. any help in trying to get the plus minus part.
 
Physics news on Phys.org
Another problem with your function is that not every number in [0, 1] can be written that way!

You need a one-to-one function that maps 0 into negative infinity and 1 into positive infinity.

You might consider something like 1/(x-1)- 1/x.
 
HallsofIvy said:
Another problem with your function is that not every number in [0, 1] can be written that way!

You need a one-to-one function that maps 0 into negative infinity and 1 into positive infinity.

You might consider something like 1/(x-1)- 1/x.
thank u for ur reply and understand how it will work.

would : f(x) = 1/(2x-1) work

as if x < 1/2 it will be -ve and if x > 1/2 it will be +ve
as x --> 1/2 form 0 it will go to -ve infinity
as x --> 1/2 form 1 it will go to +ve infinity

or f(x) = arctanh(2x - 1)

which will transform the arctanh(x) from the (-1, 1) interval to (0, 1) interval as required, and is a 1 to 1 and as you said a function that maps 0 into negative infinity and 1 into positive infinity is needed
 
Last edited:
thank you for reply

just for completeness the second part of the question was to: Find a Bijection [a,b] --> R where a, b are real numbers and b > a

this can easily be done by modifying the second example as shown:
let g(x) = x /(b-a) (to transform it into the inteval (0,1) )

and f(x) = arctanh(2x - 1) (the first example)

and have the final function as: f o g(x) ( f(g(x)) )
 
Last edited: