Suppose \(X\) is a topological space . It is connected if and only if the only open and closed subsets are \(X\) and \(\emptyset \).
Proof
This follows by definition.
Suppose \(X\) is a topological space . It is connected if and only if the only open and closed subsets are \(X\) and \(\emptyset \).