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

This question already has an answer here:

I need to show that the only connected subsets of $\mathbb{Q}$ are the one-point sets. $\mathbb{Q}$ is given the relative topology of $\mathbb{R}$

share|cite|improve this question

marked as duplicate by MJD, Brandon Carter, Grumpy Parsnip, 5pm, Erick Wong Feb 26 '13 at 3:51

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

same as… – jim Feb 26 '13 at 2:16
up vote 2 down vote accepted

HINT: Suppose that $x,y\in A\subseteq\Bbb Q$ with $x<y$; there is an irrational number $\alpha$ such that $x<\alpha<y$.

share|cite|improve this answer


1) Show that a topological space $\,X\,$ is disconnected iff there is a continuous surjective function $\,f:X\to \{0,1\}\,\,\,\,,\,\,\{0,1\}\subset\Bbb R\,$ with the inherited euclidean topology (i.e., it is a discrete space).

2) Show that for any $\,A\subset\Bbb Q\,\;\;,\;\;|A|>1\,$ , if say $\,a\in A\,$ , then the function

$$f:A\to\{0,1\}\;\;,\;\;f(x):=\begin{cases}0&,\;x=a\\{}\\1&,\;x\neq a\end{cases}$$

is continuous and surjective.

Of course, Brian's answer is way more expedite...

share|cite|improve this answer

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