4

Let $f:[0,1] \to \{0,1\}$ be continuous, where the spaces have the usual topology inherited by $\Bbb R$. Must $f$ be constant? I think it should because $[0,1]$ is connected and it can't be divided into two open disjoint sets, which should be the preimages of $0$ and $1,$ but I'd like to know if that is correct or not.

Twnk
  • 2,436

1 Answers1

0

Yep, your argument is sound. To put it more succinctly: the set $[0,1]$ is connected, its image under $f$ must be nonempty and connected, and the only connected nonempty subsets of $\{0,1\}$ are singletons. So the image of $f$ is a singleton, ie $f$ is a constant map.

Neal
  • 32,659