Bijection between (0,1) and [0,1) in R?

  • Thread starter Colleen G
  • Start date
  • #1
6
0

Homework Statement


I need to find a bijection between (0,1) and [0,1) in R. It can go in either direction since it is a bijection.

Homework Equations


I can't think of any equations at all!

The Attempt at a Solution


Something like f(x) = 1/[(1/x)+1] for x in A
x for x not in A
where A={1/2, 1/3, 1/4, ...}

Having an issue with zero though.
 

Answers and Replies

  • #2
LCKurtz
Science Advisor
Homework Helper
Insights Author
Gold Member
9,555
766

Homework Statement


I need to find a bijection between (0,1) and [0,1) in R. It can go in either direction since it is a bijection.

Homework Equations


I can't think of any equations at all!

The Attempt at a Solution


Something like f(x) = 1/[(1/x)+1] for x in A
x for x not in A
where A={1/2, 1/3, 1/4, ...}

Having an issue with zero though.
Not sure which direction you are trying to do. For ##[0,1)\rightarrow (0,1)## try starting with ##0\to 1/2##, ##1/2\to 1/3## etc.
 
  • #3
HallsofIvy
Science Advisor
Homework Helper
41,833
956
The crucial point here is that the set of rational numbers, between 0 and 1, is countable. Write the rational numbers as "[itex]a_1, a_2, a_3, ...[/itex]" and map [itex]a_1[/itex] to 0 and [itex]a_{n+1}[/itex] to [itex]a_n[/itex]. Map each irrational number to itself.
 
  • #4
SammyS
Staff Emeritus
Science Advisor
Homework Helper
Gold Member
11,317
1,007
Having an issue with zero though.
Simplify ##\displaystyle\ \frac{1}{\displaystyle\frac{1}{x}+1}\ ## to get x out of the denominator.

Although f(0) is undefined, ##\displaystyle\ \lim_{x\to 0}\,f(x)=0\ ##, so f(x) has a removable discontinuity at x=0 .
 

Related Threads on Bijection between (0,1) and [0,1) in R?

  • Last Post
Replies
4
Views
432
  • Last Post
Replies
3
Views
1K
  • Last Post
Replies
1
Views
946
  • Last Post
3
Replies
55
Views
12K
  • Last Post
Replies
2
Views
9K
  • Last Post
Replies
0
Views
861
  • Last Post
Replies
2
Views
16K
Replies
4
Views
4K
  • Last Post
Replies
6
Views
948
  • Last Post
Replies
12
Views
2K
Top