Given a
topological space (X, \tau), the following statements are equivalent: • a set A \subseteq X is '''''' in X. • A^c = X \setminus A is an open subset of (X, \tau); that is, A^{c} \in \tau. • A is equal to its
closure in X. • A contains all of its
limit points. • A contains all of its
boundary points. An alternative
characterization of closed sets is available via
sequences and
nets. A subset A of a topological space X is closed in X if and only if every
limit of every net of elements of A also belongs to A. In a
first-countable space (such as a metric space), it is enough to consider only convergent
sequences, instead of all nets. One value of this characterization is that it may be used as a definition in the context of
convergence spaces, which are more general than topological spaces. Notice that this characterization also depends on the surrounding space X, because whether or not a sequence or net converges in X depends on what points are present in X. A point x in X is said to be a subset A \subseteq X if x \in \operatorname{cl}_X A (or equivalently, if x belongs to the closure of A in the
topological subspace A \cup \{ x \}, meaning x \in \operatorname{cl}_{A \cup \{ x \}} A where A \cup \{ x \} is endowed with the
subspace topology induced on it by X). Because the closure of A in X is thus the set of all points in X that are close to A, this terminology allows for a plain English description of closed subsets: :a subset is closed if and only if it contains every point that is close to it. In terms of net convergence, a point x \in X is close to a subset A if and only if there exists some net (valued) in A that converges to x. If X is a
topological subspace of some other topological space Y, in which case Y is called a of X, then there exist some point in Y \setminus X that is close to A (although not an element of X), which is how it is possible for a subset A \subseteq X to be closed in X but to be closed in the "larger" surrounding super-space Y. If A \subseteq X and if Y is topological super-space of X then A is always a (potentially proper) subset of \operatorname{cl}_Y A, which denotes the closure of A in Y; indeed, even if A is a closed subset of X (which happens if and only if A = \operatorname{cl}_X A), it is nevertheless still possible for A to be a proper subset of \operatorname{cl}_Y A. However, A is a closed subset of X if and only if A = X \cap \operatorname{cl}_Y A for some (or equivalently, for every) topological super-space Y of X. Closed sets can also be used to characterize
continuous functions: a map f : X \to Y is
continuous if and only if f\left( \operatorname{cl}_X A \right) \subseteq \operatorname{cl}_Y (f(A)) for every subset A \subseteq X; this can be reworded in
plain English as: f is continuous if and only if for every subset A \subseteq X, f maps points that are close to A to points that are close to f(A). Similarly, f is continuous at a fixed given point x \in X if and only if whenever x is close to a subset A \subseteq X, then f(x) is close to f(A). == More about closed sets ==