Is there a map from real numbers to non integers?

In summary, in order to construct a 1-1 mapping from real numbers onto non-integers, one can use the Cantor-Bernstein-Shroder theorem and select a sequence of distinct non-integers to define a bijection between the sets. Alternatively, a specific function can be used, such as 2n+1/2, as long as it maps all non-integers and real numbers to distinct values.
  • #1
ssamsymn
18
0
Can you help me to construct a 1-1 mapping from real numbers onto non-integers? thanks
 
Physics news on Phys.org
  • #2
I came up with some idea but not sure. I can only map all the real numbers to (0,1) interval. And then try to enlarge it to (n,n+1) where n goes to infinity. Is it valid?
 
  • #3
Let ##(z_n)## be an enumeration of the integers, and let ##(r_n)## be any sequence of distinct non-integers (##n = 0, 1, 2, \ldots##). Define the map ##f : \mathbb{R} \rightarrow \mathbb{R}\setminus \mathbb{Z}## by
$$f(r_n) = r_{2n}$$
$$f(z_n) = r_{2n+1}$$
$$f(x) = x \textrm{ for all other }x$$
It's easy to see that this is a bijection.
 
  • #4
You want a bijection [itex]f:\mathbb{R}\rightarrow \mathbb{R}\setminus \mathbb{Z}[/itex]??

Now, it is not so hard to see that such a bijection has to exist. So if you're only interested in bijection and not existence, then you basically only have to apply the wonderful Cantor-Bernstein-Shroder theorem.

If you want an actual map, then this requires a bit more work. It might be easier to first find a bijection [itex]f:\mathbb{R}\rightarrow \mathbb{R}\setminus \{0\}[/itex] and then apply the same trick on your problem. For the easier problem, the trick is to select a sequence in [itex]\mathbb{R}[/itex] such as [itex]x_n=n[/itex] for [itex]n\geq 0[/itex]. Then we can define

[tex]f(x)=x~\text{if}~x\neq x_n~ \text{and}~f(x_n) = x_{n+1}[/tex]

Do you see that that works?? Can you apply this same idea on your problem?
 
  • #5
jbunniii said:
Let ##(z_n)## be an enumeration of the integers, and let ##(r_n)## be any sequence of distinct non-integers (##n = 0, 1, 2, \ldots##). Define the map ##f : \mathbb{R} \rightarrow \mathbb{R}\setminus \mathbb{Z}## by
$$f(r_n) = r_{2n}$$
$$f(z_n) = r_{2n+1}$$
$$f(x) = x \textrm{ for all other }x$$
It's easy to see that this is a bijection.

thank you very much.
I don't fully understant how I can pick real numbers with n indices.
I am not familiar with the notation, I need a valid function to show this map is one to one and onto.

my real numbers set is non countable, non integers set is also.I thought the function can be 1/(1+e^n) for any n picked from real line. after that I try to generalize it.
 
  • #6
micromass said:
You want a bijection [itex]f:\mathbb{R}\rightarrow \mathbb{R}\setminus \mathbb{Z}[/itex]??

Now, it is not so hard to see that such a bijection has to exist. So if you're only interested in bijection and not existence, then you basically only have to apply the wonderful Cantor-Bernstein-Shroder theorem.

If you want an actual map, then this requires a bit more work. It might be easier to first find a bijection [itex]f:\mathbb{R}\rightarrow \mathbb{R}\setminus \{0\}[/itex] and then apply the same trick on your problem. For the easier problem, the trick is to select a sequence in [itex]\mathbb{R}[/itex] such as [itex]x_n=n[/itex] for [itex]n\geq 0[/itex]. Then we can define

[tex]f(x)=x~\text{if}~x\neq x_n~ \text{and}~f(x_n) = x_{n+1}[/tex]

Do you see that that works?? Can you apply this same idea on your problem?

thank you very much.
I am trying to figure out Cantor's method. I think I should construct disjoint one countable and one uncountable sets and their union should be real numbers.
 
  • #7
ssamsymn said:
thank you very much.
I don't fully understant how I can pick real numbers with n indices.
I am not familiar with the notation, I need a valid function to show this map is one to one and onto.
If you want something specific, just take something like ##r_n = (2n+1)/2##, i.e., the sequence ##1/2, 3/2, 5/2, \ldots##. Any sequence of real numbers will work as long as they are all distinct and none of them are integers. Drawing a picture might help if it's not clear what the map is doing.
 
  • #8
jbunniii said:
If you want something specific, just take something like ##r_n = (2n+1)/2##, i.e., the sequence ##1/2, 3/2, 5/2, \ldots##. Any sequence of real numbers will work as long as they are all distinct and none of them are integers. Drawing a picture might help if it's not clear what the map is doing.

Yes, thank you very much. I thought that my function such as 2n+1/2 should be valid for any real number but I think the remaining non-integers from half integers are included in f(x)=x otherwise case. thank you
 

1. What is a map from real numbers to non-integers?

A map from real numbers to non-integers is a function that assigns a non-integer value to each real number input. It can also be called a transformation or a mapping.

2. Why would someone need a map from real numbers to non-integers?

A map from real numbers to non-integers can be useful in many mathematical and scientific applications, such as representing non-integer quantities like probabilities, measurements, or approximations.

3. How is a map from real numbers to non-integers different from a regular function?

A map from real numbers to non-integers is a specific type of function that only deals with real numbers as inputs and outputs non-integer values. Regular functions can have inputs and outputs from a wider range of numbers, including integers and complex numbers.

4. Can a map from real numbers to non-integers be represented graphically?

Yes, a map from real numbers to non-integers can be represented graphically using a graph or a curve. The x-axis will represent the real numbers, and the y-axis will represent the non-integer values.

5. What is the mathematical notation for a map from real numbers to non-integers?

The mathematical notation for a map from real numbers to non-integers is often written as f: R → N, where R represents the set of real numbers and N represents the set of non-integer numbers.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
5
Views
896
  • Set Theory, Logic, Probability, Statistics
Replies
9
Views
865
Replies
15
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
8
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
12
Views
964
  • Set Theory, Logic, Probability, Statistics
4
Replies
126
Views
6K
  • Set Theory, Logic, Probability, Statistics
Replies
14
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
11
Views
814
Back
Top