4.II.14F

Metric and Topological Spaces
Part IB, 2006

(a) Show that every compact subset of a Hausdorff topological space is closed.

(b) Let XX be a compact metric space. For FF a closed subset of XX and pp any point of XX, show that there is a point qq in FF with

d(p,q)=infqFd(p,q)d(p, q)=\inf _{q^{\prime} \in F} d\left(p, q^{\prime}\right)

Suppose that for every xx and yy in XX there is a point mm in XX with d(x,m)=(1/2)d(x,y)d(x, m)=(1 / 2) d(x, y) and d(y,m)=(1/2)d(x,y)d(y, m)=(1 / 2) d(x, y). Show that XX is connected.