Can a Continuous Function Map Reals to Rationals?

  • Context: Graduate 
  • Thread starter Thread starter JasonRox
  • Start date Start date
  • Tags Tags
    Continuous
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
35 replies · 8K views
theorem: every continuous function from the reals to the rationals is constant.
proof the image of the map is an interval containing only rationals, hence of form [c,c].
 
Physics news on Phys.org
mathwonk said:
theorem: every continuous function from the reals to the rationals is constant.
proof the image of the map is an interval containing only rationals, hence of form [c,c].

Yes, but doesn't this theorem only hold for the rationals with the relative topology with respect to the real numbers with the usual topology?

If you give the rationals the indiscrete topology, isn't every function continuous?
 
Yes, but of course, when asking if there is a continus map between sets X and Y we always need to think of the given topologies on sets, since the question is ill-defined otherwise.
 
DeadWolfe said:
Yes, but of course, when asking if there is a continus map between sets X and Y we always need to think of the given topologies on sets, since the question is ill-defined otherwise.

Well yeah, but my question a few posts ago asks about a possible metric topology on the rationals such that you can create a continuous function from the reals (usual topology) to the rationals (with new metric topology).

Haven't gave much thought yet. I should write a list of things to think about.
 
Of course there are continuous functions from the Reals to the rationals, as has been repeatedly pointed out (constant maps). Perhaps you mean continuous *surjections*, or even just non-constant continuous maps.

Yes if f:X\to Y is map either from the discrete or to the indiscrete topology it is trivially continuous.

Mind you, what metric d'ya think gives the indsicrete topology?