Let $f$ be a continuous function such that $f : (X,\tau) \rightarrow (\{0,1\},\tau_1\}$. Where $(X,\tau)$ is a generic topological space and $\tau_1$ is the discrete topology. I want to prove that if f is non-constant then $(X,\tau)$ is disconnected.
I started by describing $(\{0,1\},\tau_1\}$. This topological space is compact, totally disconnected and Hausdorff. However,from here I do not know how to continue. Any tips?
Best Answer
Hints: