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
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 1K 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
Remember that between any 2 rational points (in R) there is an irrational point.
 
You guys are life savers.

Thank you!

M