constant functions and continuity
It is easy to see that every constant function between topologicalspaces is continuous
. A converse
result is as follows.
Theorem.
Suppose is path connected and is a countablediscrete topological space. If is continuous,then is a constant function.
Proof.
By this result (http://planetmath.org/FiniteAndCountableDiscreteSpaces)we can assume that is either , or , and these are equipped with the subspace topology of .Suppose has at least two distinct elements, say so that
for some . Since is path connected there is a continuous path such that and .Then is continuous.Since has the subspace topology of ,this result (http://planetmath.org/ContinuityIsPreservedWhenCodomainIsExtended)implies thatalso is continuous.Since achieves two different values, it achieves uncountably many values,by the intermediate value theorem.This is a contradiction since is countable.∎