LetX={g,s}, and endow X with the following topology: The subsets{∅,X,{g}} are open. Give[0,1]the usual metric topology. (a) Suppose f:X→ [0,1] is a continuous function such that f(s)=0. Show that f(g)=0.
Ok I am probably misunderstanding something, but the singleton {0} is a closed set in [0,1] right? Then its preimage must also be closed but {g} is open in (X,T). How can that be?
(b) Produce, with proof, a nonconstant continuous function f:[0,1] → X.
Since X only has two elements, I can only map a part of the interval of [0,1] to g and the remaining part to s. Now one part of this has to be an interval to be open and the other part should be closed, so either a closed interval or a singleton. So I was thinking something like [0.1) → g and {1} → s. The preimage of g is open and the preimage of s is closed so this should be a continuous map.