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

Possible Duplicate:
Continuous Functions from $\mathbb{R}$ to $\mathbb{Q}$

Let $f : [a,b] \to \mathbb Q$ be a continuous function. Prove that $f$ is a constant function.

share|cite|improve this question

marked as duplicate by Martin Sleziak, Dylan Moreland, Asaf Karagila, mixedmath, Rahul May 13 '12 at 6:56

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.

This is your second question in quick succession. What have you tried? – Brian M. Scott May 13 '12 at 6:23
I had some suggestions for your post, but it would have been a repeat of what Prof Magidin has already suggested. You already have a helpful answer below, but try to keep his advice in mind. Cheers, – Dylan Moreland May 13 '12 at 6:23
Although I answered, I downvoted. I sometimes downvote questions that don't show that the poster has tried anything or shown any effort. But if you edit your question, I would be willing to undo that. – mixedmath May 13 '12 at 6:25
Also see here:… – Asaf Karagila May 13 '12 at 6:26
@dato: Note that the continuous image of a connected space is connected. Only connected components of $\mathbb Q$ are rationals. You can prove this without resorting to additional constraints. I do agree, however, that such question is hard to answer if the OP does not supply a survey of their current knowledge. – Asaf Karagila May 13 '12 at 6:33


Is $[a,b]$ connected? Is $\mathbb{Q}$?

share|cite|improve this answer

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