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.

Let $A$ and $B$ be disjoint. Let $X$ be a topological space.

Is every continuous function $f:X=A \cup B \rightarrow \{-1,1\}$ constant?

share|improve this question
2  
What is the topology of $\{-1,1\}$? –  Neal Dec 14 '12 at 13:59
    
What is the topology of X? :) –  madprob Dec 14 '12 at 14:31

2 Answers 2

You may want to prove the easy, though important

Claim: A topological space $\,X\,$ is connected iff there is not a continuous surjective function $\,f:X\to\{0,1\}\,$ , taking $\,\{0,1\}\,$ with the inherited euclidean (i.e. the usual one) topology on $\,\Bbb R\,$

Of course, we can always take $\,\{-1,1\}\,$ instead of $\,\{0,1\}\,$

share|improve this answer

Let $A=(-2,-1)$ and $B=(1,2)$. Then let $f(x)=\mbox{sign}(x)=x/|x|$. Then $f$ is continuous but not constant.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.