4.I.4G

Further Analysis
Part IB, 2002

(a) Let XX be a topological space and suppose X=CDX=C \cup D, where CC and DD are disjoint nonempty open subsets of XX. Show that, if YY is a connected subset of XX, then YY is entirely contained in either CC or DD.

(b) Let XX be a topological space and let {An}\left\{A_{n}\right\} be a sequence of connected subsets of XX such that AnAn+1A_{n} \cap A_{n+1} \neq \emptyset, for n=1,2,3,n=1,2,3, \ldots. Show that n1An\bigcup_{n \geqslant 1} A_{n} is connected.