21
$\begingroup$

Is there any continuous function defined on $(0, 1]$ whose range is $(0, 1)$?

$\endgroup$
12
  • 2
    $\begingroup$ f cannot be uniformly continuous, or it would extend to a continuous function $F:[0,1] \rightarrow (0,1) $. $\endgroup$
    – Passing By
    Dec 5, 2014 at 3:50
  • 2
    $\begingroup$ Why would the extension have (0,1) as range and not include its limit points possibly $\endgroup$
    – Aman
    Dec 5, 2014 at 4:03
  • $\begingroup$ @Aman: If f was extended continuously into $[0,1]$ the range would have to be compact, so could not be $(0,1)$ $\endgroup$
    – Passing By
    Dec 5, 2014 at 4:06
  • 1
    $\begingroup$ @Passing By: By the same argument, I could say "There is no uniformly continuous and surjective function $f: (0,1] \to (0,1]$, because if there were, it could be extended to a continuous surjective function $F: [0,1] \to (0,1]$, which is impossible". Which is obviously false. $\endgroup$
    – D. Thomine
    Dec 5, 2014 at 12:42
  • 2
    $\begingroup$ @D.Thomine: Good point, but with a small tweak, Passing By has a very good point also. A hypothetical extension would have range $(0,1)$ or $[0,1)$ or $(0,1]$, none of which is compact. $\endgroup$ Dec 5, 2014 at 14:19

4 Answers 4

44
$\begingroup$

**Answer without words! see the figure **enter image description here

$\endgroup$
1
33
$\begingroup$

Something like $$x\mapsto \frac{1+(1-x)\sin(1/x)}{2} $$ will do.

$\endgroup$
8
$\begingroup$

Yes, there is. First send $(0,1]$ onto a spiral that winds inside a circle (e.g centered at $x=1/2$ and radius $1/2$) and then project it onto $(0,1)$.

$\endgroup$
1
7
$\begingroup$

$$f(x)=\frac12+\frac1\pi\arctan\left(\frac1x\cos\left(\frac1x\right)\right)$$

$\endgroup$

You must log in to answer this question.

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