I have a Metric Spaces exam on Tuesday and the following question comes up a lot. I have attempted it multiple times but i cant seem to come up with a valid solution. I could really do with a solution as soon as possible. Thanks in advance.
consider the metric space $(X,d)$ where $X$ is the set of functions $f:[0,1]\to[0,1]$, and the distance $d$ is given by
$$d(f,g)=\Vert f−g\Vert_{\infty}=\sup\{|f(t)−g(t)|:t\in[0,1]\}$$ let
$J=\{f\in X|\forall x,y\in [0,1],x\le y:f(x)\le f(y)\}$ be the set of non-decreasing functions in $X$
(a) is $J$ closed in $(X,d)$ (12 marks)
(b)is $J$ open in $(X,d)$ (12 marks)
(c) is $J$ compact (12 marks)