Why does f([a,b]) contain only one rational point?

  • Thread starter Thread starter michonamona
  • Start date Start date
  • Tags Tags
    Analysis
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
3 replies · 2K views
michonamona
Messages
120
Reaction score
0

Homework Statement


Suppose f:[a,b]->R is continuous and that f([a,b]) is a subset of Q (rational numbers). Prove that f is constant on [a,b]


Homework Equations


N/A


The Attempt at a Solution


The solution states that:

f([a,b]) must contain only one point, because if it has more than that, then it would have to be an irrational point. Which is a contradiction.


My questions are, why does f([a,b]) contain only one rational point? Why can't it be a collection of rational points?

Thank you for your help.

M
 
Physics news on Phys.org
Because then f would be discontinuous! (assuming the statement is true, which it is)
 
Remember that between any 2 rational points (in R) there is an irrational point.