Exercise 2.4.2

Let f : X Y be a function from a connected metric space (X,d) to a metric space (Y,ddisc) with the discrete metric. Show that f is continuous if and only if it is constant.

Answers

Proof.

(⇒)

Suppose that f is continuous, and also suppose that f is not constant. That is, there are at least two values in Y , say x,y Y . From the previous exercise we know that (Y,ddisc ) is disconnected. However, this contradicts Theorem 2.4.6. Thus f must be constant.

(⇐)

Clearly if f is constant it is also continuous.

User profile picture
2021-12-19 18:36
Comments