Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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|cite|improve this question

closed as off-topic by ᴡᴏʀᴅs, Claude Leibovici, PVAL, heropup, Shuchang Aug 14 '14 at 7:04

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – ᴡᴏʀᴅs, Claude Leibovici, PVAL, heropup, Shuchang
If this question can be reworded to fit the rules in the help center, please edit the question.

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

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|cite|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|cite|improve this answer

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