If $f: \mathbb{R} \to \mathbb{R}$ is a continuous surjection, must it be open

general-topologymetric-spacesreal-analysis

If $f: \mathbb{R} \to \mathbb{R}$ is a continuous surjection, must it be open?

I think not. I proved if $f: \mathbb{R} \to \mathbb{R}$ is an open continuous surjection, then $f$ is a homeomorphism. So, if the question is true, every continuous surjection must be a homeomorphism. But, I didn't find a counterexample. Can someone help me?

Best Answer

Any surjection that attains a local extremum suffices. Consider for instance $$ f(x) = x(x-1)(x-2) = x^3 - 3x^2 + 2x $$ Note that $f$ is not an open map, since the interval $(0,1)$ is mapped to an interval of the form $(0,a]$, which is not open.

Related Question