Maths WorkshopMaths problems with full solutions
Exercise 581Topology › Topology of ℝL1Added 3 Nov 2026

Closed sets

#closed sets#complement#definition

Statement

Define a closed set in R\mathbb{R} and give two examples and one counterexample.

Hint

Closed = complement is open.

Show solutionHide solution

Solution

Definition. F⊆RF\subseteq\mathbb{R} is closed iff R∖F\mathbb{R}\setminus F is open.

Examples. ∅\emptyset, R\mathbb{R}, [0,1][0,1], singletons {a}\{a\}.

Counterexample. ]0,1]]0,1] is neither open nor closed: it is not open (0 is a boundary point) and its complement ]−∞,0]∪]1,+∞[]-\infty,0]\cup]1,+\infty[ is not open.

Conclusion. Some sets are neither open nor closed.