appreciate your help with the below:
Question:
Let C[0,1] be the set of continuous functions from [0,1] to $\mathbb{R}$. Consider the metric space M = (C[0,1],d) where d denotes the sup metric. Show the set of functions in C[0,1] whose image is contained in (0,1) is an open set in C[0,1].
.
My attempt:
So we let K denote the set of continuous functions from [0,1] to $\mathbb{R}$ whos image is contained in (0,1). Take an arbitrary function k in K. Then since k is bounded, it attains its bounds. So a and b exists in [0,1] such that 0 < k(a) $\leq$ k(x) $\leq$ k(b) < 1 for x in [0,1]. Pick $\epsilon$ = min{ k(a) , 1-k(b) }, so we have the open ball $B_{\epsilon}(h)$ of radius $\epsilon$ around k.
I am unsure from here onwards. Can you please suggest how should I proceed please?
Many thanks