2
$\begingroup$

Does there exist a continuous onto/surjective function from $[0, 1) \to \Bbb R$?

Finding difficult to site an example...

$\endgroup$
0

2 Answers 2

8
$\begingroup$

What about $f\colon[0,1)\to\mathbb{R}$ defined by $$f(x) = \frac{1}{1-x}\sin\frac{1}{1-x}?$$

$\endgroup$
5
  • $\begingroup$ how did you construct the example?? $\endgroup$
    – User8976
    Commented Jul 8, 2016 at 16:37
  • $\begingroup$ I was trying to think of something oscillating! (+1) Cool! $\endgroup$
    – snulty
    Commented Jul 8, 2016 at 16:37
  • 2
    $\begingroup$ @user8795 Examples of this sort are quite common: $\sin\frac{1}{x}$ and similar expressions are nice, as they will change sign increasingly faster near a point while still being bounded... it only remains to modulate with another expression to have their amplitude go up as well. $\endgroup$
    – Clement C.
    Commented Jul 8, 2016 at 16:39
  • 1
    $\begingroup$ @user8795 I think it's kind of visual. You need a function nicely defined at zero, but somehow it needs to go to both $\pm \infty$ as it approaches $1$, hence you need something going to $\infty$ at $1$, like $\frac{1}{1-x}$, and something to make it oscillate, to cover all positives and negatives! Hence a $\sin$ $\endgroup$
    – snulty
    Commented Jul 8, 2016 at 16:40
  • $\begingroup$ @ArticChar Not certain I agree with the edit for the punctuation, however... I liked the interrogation mark where it was. :) $\endgroup$
    – Clement C.
    Commented Jul 8, 2016 at 16:40
0
$\begingroup$

We can modify $f(x)=x\sin(x)$ to get our desired function. See that $f$ maps $[0,\infty)$ to $\mathbb{R}$ and $g(x)=\tan\left(\frac{\pi}{2}x\right)$ maps $[0,1)$ to $[0,\infty)$. Then we can choose $h=f\circ g$ to be the required continuous surjection.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .