# [0,1) onto [0,infinity) , continuous surjection?

1. Oct 5, 2008

### Unassuming

1. The problem statement, all variables and given/known data

Find a continuous surjection from [0,1) onto [0, infinity)

2. Relevant equations

3. The attempt at a solution

I have only been able to come up with one mapping but then I realized it did not work. Any help would be appreciated.

2. Oct 5, 2008

### Skatch

You should be able to get what you need by manipulating the tan(x) function. Just set it up so that f(0) = 0 and f(x) -> Inf as x -> 1.

3. Oct 5, 2008

### Unassuming

I got it!! So what about a cont. surjection from [0,infinity) --> Reals? I was close to saying ln(x) but that doesn't include 0.

4. Oct 5, 2008

### morphism

What about something that oscillates, with a greater and greater 'peak' as we move along the x-axis?

5. Oct 6, 2008

### Unassuming

All I could think of was f(x)=sin(x)ln(x), or f(x)=xsin(x)ln(x).

Is this what (or similar, or close to) you are hinting at?

6. Oct 6, 2008

### morphism

You're sort of close - using sin(x) is a good idea. How about you multiply it by a positive, increasing function?

7. Oct 7, 2008

### LMKIYHAQ

How about sin(x)x since x is a positive increasing function? Would this work?

8. Oct 7, 2008

### Unassuming

xsin(x) takes in negative values though...

9. Oct 7, 2008

### Dick

The square of a negative is positive.

10. Oct 7, 2008

### HallsofIvy

Staff Emeritus
I would be inclined to use f(x)= x/(something that goes to 0 as x goes to 1)

11. Oct 7, 2008

### Dick

The question was switched in post 3. You are out of touch on issues concerning the economy. Big debate tonight. Had to throw in a jab.

12. Oct 7, 2008

### Dick

Hey, wait a minute didn't you say in post 3 that you want the domain to be the reals? What's wrong with negative?? I think your two questions are getting all tangled up.

13. Oct 7, 2008

### sayan2009

f(x)=tan(pi x/2)

14. Oct 7, 2008

### Dick

At this point you should probably say which problem that's a solution to. The one in post 1 or the one in post 3?

15. Oct 7, 2008

### sayan2009

oo that was 4 post 1

wat abt this??
f(x)=tan(x*pi-pi/2)
this is for post 3

16. Oct 7, 2008

### Dick

Thought so. The first suggestion was good for post 1. This was actually the suggestion of post 2. The new one is not so good for post 3. It's undefined at x=1. And a lot of other places. The domain is supposed to be [0,infinity).

Last edited: Oct 7, 2008
17. Oct 7, 2008

### sayan2009

oo sorry...i thought it was from [0,1).....lemme think abt it

18. Oct 8, 2008

### Dick

Sure, can't hurt. There is a correct answer in one of the previous posts.

19. Nov 21, 2008

### Unassuming

It has been awhile and I am just browsing my old threads. I never got this problem though. Could anybody come up with the continuous surjection from

[0,1) onto R?

EDIT: I'm not even making sense, sorry.

Last edited: Nov 21, 2008
20. Nov 21, 2008

### Skatch

The hints were leaning toward letting f(x) = (x^2) * sin(x), I think.

Not sure how to prove it's a surjection though. Any element, b, of the codomain is certainly mapped to, in fact its mapped to an infinite number of times. But the equation b = x^2 * sin(x) can't be solved explicitly for x. Or if it can, I certainly don't know how. But if you graph this function you should see that it works.

Sorry I'm not sure how to prove it.

EDIT: Ah, crap, I see now you wanted [0,1) to R. I was responding to the part of [0,Infinity) to R. The first surjection you needed was already answered with the tan function, sorry.

Last edited: Nov 21, 2008