Constructing a Non-One-to-One Function on [-1,1] Using Rational Numbers

  • Thread starter Thread starter K29
  • Start date Start date
  • Tags Tags
    Domain Functions
K29
Messages
103
Reaction score
0
This question is at the end of a section on the Intermediate Value Theorem in my Real Analysis notes:
Find a continuous function f: [-1,1]->R which is one-to-one when restricted to rational numbers in [-1,1] but is not one-to-one on the whole interval [-1,1]

I can't figure it out. I've thought about piecewise functions and uhm circles, but I don't see how this is even possible. Any ideas?

PS if you have any ideas for[0,1] that would also help
 
Last edited:
Physics news on Phys.org
Hi K29! :smile:

Let's see what we can do here. Take two distinct irrational point a and b. We will make a function such that f(a)=f(b).

Of course, we can't make a constant line between the function, so the function has to make some sort of arc between f(a) and f(b). That is, we will have to make f such that it decreases first and then increases, but such that it's still is one-to-one on the rationals.

No, if you make the decreasing part behave like the line y=-x, and the increasing part something like y=\pi x, then this would be something, right?
 
Thanks, that helped me get to the right answer
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top