Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I'm trying to get my head around this definition for a connected space. It goes like this.

A topological space is connected if any continuous map from X onto a two point space with the discrete topology, i.e. $$f:X \to \{0,1\}$$ is constant.

But I can't envisage a disconnected topological space such that there is a map $f:X \to \{0,1\}$ which isn't constant but it's continuous? Can someone help me out here?

share|improve this question
    
You should include in your post that the topology on $\{0,1\}$ is discrete (which is the same as the topology inherited from the real line). –  Martin Sleziak May 6 '12 at 11:49
    
Ah ok thank you, done. –  user26069 May 6 '12 at 11:52
add comment

3 Answers 3

up vote 2 down vote accepted

Disconnected spaces are not at all mysterious: familiar spaces like $\mathbb{R}$ and $\mathbb{R}^2$ have plenty of disconnected subspaces. For example, let $X$ be $\mathbb{R} \setminus \{ 0 \}$ (with its natural topology as a subspace of $\mathbb{R}$). Define $$f: X \to \{ 0,1 \}\\ f(x)=\begin{cases} 0 && x<0 \\ 1 && x>0\end{cases}$$ Then $f$ is continuous and nonconstant, so $X$ is disconnected.

share|improve this answer
add comment

I suppose that the topology on $D=\{0,1\}$ is discrete (which is the same as the subspace topology inherited from the real line).

The answer is easy - take the identity map $id_D \colon D\to D$.

This map is not constant and it is continuous - every map defined on a discrete space is continuous.


The definition of the connected space, which I am used to, is that it cannot be written as union of two non-empty disjoint open sets.

Notice that if $X=U\cup V$, where $U$ and $V$ are open disjoint set, then the map $f\colon X\to D$ defined by $f[U]=\{0\}$ and $f[V]=\{1\}$, i.e. $$f(x)= \begin{cases} 0 & x\in U, \\ 1 & x\in V, \end{cases} $$ is indeed continuous. Preimage of any open set is open: it suffices to check this for the basic sets $f^{-1}[\{0\}]=U$ and $f^{-1}[\{1\}]=V$-


Maybe the problem might be our intuition for continuous maps as maps such that the graph has no jumps and it can be sketched with one move of pencil. This intuition works fine for functions $\mathbb R\to\mathbb R$ but - as you can see - for disconnected subspaces of $\mathbb R$ it does not work anymore.

share|improve this answer
add comment

There is an important methodological point at issue here. One reason to define the notion of topology is to give a general setting for the notion of continuous functions. Thus in this view, the important feature in the study of topology is the category of topological spaces and continuous maps rather than any particular definition of the notion of "topology". In this setting, it is nice to have definitions couched first in terms of continuous functions rather than a particular notion of a topology. Also, this allows analogies between topological spaces and other mathematical structures, based on the idea that analogies are not necessarily, or even usually, between the things themselves but between the relations between the things. Thus we can make a definition of connected graph (by which we mean one defined by vertices and edges) analogous to the definition given in the question for connected space.

There is also the question of which context gives the nicest proofs of which theorems.

Consider the statement that if the space $X$ is the union of connected subspaces $X_i$ with non-empty intersection, then $X$ is connected. Proof: Let $f: X \to \{0,1\}$ be continuous. Then $f$ is constant on each $X_i$, since that space is connected. Since the intersection is non-empty, it follows that $f$ is constant. QED

In other examples, other definitions of connected might (?) be more convenient.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.