Open and Closed Sets
Open and Closed Sets Through Complements and Neighborhoods
In a metric space, a set is open if every point in it has an open ball contained in the set. A set is closed if its complement is open. These are definitions about the ambient space and its metric, so the same collection can have a different status when the ambient space changes.
Complements translate union and intersection statements through De Morgan's laws. The complement of a union is the intersection of the complements, and the complement of an intersection is the union of the complements. This immediately explains why arbitrary unions of open sets are open and why arbitrary intersections of closed sets are closed.
A set can be both open and closed. In a discrete metric every singleton has a sufficiently small ball containing no other points, so every subset is open and therefore also closed. This is a property of the chosen metric, not a contradiction in the definitions.
If {U_i} is any collection of open subsets of a metric space X, which statement is guaranteed?
Let X={a,b,c} with d(x,y)=1 for distinct points and d(x,x)=0. What is the status of {b} as a subset of X?