Fact-checked by Grok 2 weeks ago

Clopen set

In , a clopen set (a portmanteau of "closed" and "open") is a of a that is simultaneously both an and a . The and the full space are always clopen in any , as the is open (by definition of a ) and its complement (the full space) is closed, while the full space is open and its complement (the ) is closed. Non-trivial clopen sets exist precisely when the space is disconnected; a topological space is connected if and only if its only clopen subsets are the and the full space. The collection of all clopen subsets of a forms a under the set operations of union, intersection, and complement (relative to the full ), with the as the zero element and the full as the unit element. Clopen sets are central to the structure of disconnected and totally disconnected spaces: for instance, the connected components of a space are closed subsets, and in locally connected spaces, these components are open (hence clopen), partitioning the into maximal connected pieces. Moreover, a is zero-dimensional if it has a basis for its consisting entirely of clopen sets, which equips the with particularly simple separation properties and links it closely to algebraic structures like Boolean algebras via .

Fundamentals

Definition

In topology, a consists of a set X together with a collection \tau of subsets of X, known as the open sets, satisfying the following axioms: \emptyset \in \tau and X \in \tau; \tau is closed under arbitrary unions; and \tau is closed under finite intersections. This structure generalizes notions of and limits beyond metric spaces, relying on basic without requiring distances or orders. A subset U \subseteq X is open if U \in \tau, meaning that for every point in U, there exists an open neighborhood contained entirely within U. Equivalently, a subset C \subseteq X is closed if its complement X \setminus C is open, or if C contains all its limit points (in spaces where limits are defined). A subset C \subseteq X is clopen if it is both open and closed, that is, C \in \tau and X \setminus C \in \tau. This dual property highlights sets that exhibit boundary behaviors typical of both openness and closedness in the topology.

Characterization

In a topological space X, a subset C \subseteq X is clopen if and only if its boundary \partial C = \emptyset. The boundary of C is defined as \partial C = \overline{C} \setminus \operatorname{int}(C), where \overline{C} denotes the of C and \operatorname{int}(C) denotes its interior. If C is clopen, then \operatorname{int}(C) = C = \overline{C}, which immediately implies \partial C = \emptyset. Conversely, if \partial C = \emptyset, then \overline{C} = \operatorname{int}(C), so C equals its interior (hence open) and its closure (hence closed). A subset C \subseteq X is clopen if and only if its complement X \setminus C is also clopen. To see this, note that the complement of any is closed by definition, and the complement of any is open. Thus, if C is open and closed, then X \setminus C is closed (as the complement of an open set) and open (as the complement of a closed set). The converse follows symmetrically. Clopen sets serve as a verification tool for the topological structure of a , particularly in assessing connectedness: a X is connected if and only if the only clopen subsets are \emptyset and X itself. In this context, the existence of a non-trivial clopen set C (neither empty nor X) partitions X into the disjoint clopen subsets C and X \setminus C, both non-empty, thereby confirming disconnection. In Hausdorff spaces, clopen sets satisfy additional constraints due to the separation properties: not every subset is clopen, and singletons are clopen precisely when the space is discrete (where every subset is open).

Examples

In Metric Spaces

In the real line \mathbb{R} equipped with the standard metric topology (induced by the absolute value metric d(x,y) = |x - y|), the only clopen sets are the empty set \emptyset and \mathbb{R} itself. This follows from the connectedness of \mathbb{R}, where any non-trivial clopen set would partition the space into two nonempty disjoint open sets, contradicting connectedness. For instance, the closed interval [0,1] is closed in \mathbb{R} because its complement (-\infty,0) \cup (1,\infty) is open, but it is not open: the point $0 \in [0,1]has no open ballB(0, \epsilon) = (-\epsilon, \epsilon)entirely contained in[0,1], as any such ball includes negative numbers outside the interval.[12] Similarly, open intervals like (0,1) are open but not closed, since their boundary points &#36;0 and $1$ are limit points not included in the set. In the rational numbers \mathbb{Q} viewed as a subspace of \mathbb{R} with the induced metric topology, there exist numerous non-trivial clopen sets, reflecting the total disconnectedness of \mathbb{Q}. A representative example is the set W = \{ q \in \mathbb{Q} \mid q < \sqrt{2} \}, which is both open and closed in \mathbb{Q}. It is open because W = (-\infty, \sqrt{2}) \cap \mathbb{Q} and (-\infty, \sqrt{2}) is open in \mathbb{R}; likewise, its complement in \mathbb{Q} is (\sqrt{2}, \infty) \cap \mathbb{Q}, making W closed in the subspace. The irrationality of \sqrt{2} ensures no rational lies exactly on the boundary, allowing this partition. Note that \mathbb{Q} itself is neither open nor closed in \mathbb{R}, as both \mathbb{Q} and its complement (the irrationals) are dense in \mathbb{R}. In a metric space (X, d), defined by d(x,y) = 1 if x \neq y and d(x,x) = 0, every of X is clopen. Singletons \{x\} are open, as the open ball B(x, 1/2) = \{x\} is contained in \{x\}; thus, every S \subseteq X is a of such open singletons, hence open. Each is also closed, since its complement is open by the same reasoning. This makes the particularly simple, with all clopen regardless of the of X. In compact metric spaces such as the closed interval [0,1] with the standard metric, clopen sets are typically trivial—namely, \emptyset and [0,1] itself—due to the connectedness of the space. Any non-trivial clopen set would disconnect [0,1] into two nonempty relatively open subsets, which is impossible in a . While disconnected compact metric spaces (e.g., two disjoint closed intervals) admit non-trivial clopen sets like individual components, connected examples like [0,1] or the unit circle S^1 exhibit only the trivial ones, underscoring the rarity of clopen sets in connected metric spaces.

In Non-Metric Topologies

In certain non-metric topologies, such as those that are not induced by any metric, clopen sets can exhibit interesting behavior in totally disconnected or pathological spaces. The cofinite topology on an infinite set X, where the open sets are the empty set and all subsets with finite complements, illustrates a contrasting pathology with limited clopen sets. The closed sets consist precisely of the finite subsets of X and X itself. Consequently, the complements of finite sets (cofinite sets) are open but generally not closed, as their finite complements are not open unless empty. The only clopen sets are thus the empty set and X, underscoring the space's hyperconnected nature despite its non-Hausdorff structure. Other examples of clopen sets appear in metrizable spaces under non-metric headings for illustrative purposes, but true non-metrizable cases like the cofinite highlight distinctions. For instance, the , a of \mathbb{R} with the induced metric , is totally disconnected and compact, with a basis of clopen sets formed by finite unions of basic intervals from its ternary construction. Similarly, in the p-adic numbers \mathbb{Q}_p with the p-adic (an ), open balls are clopen due to the strong .

Properties

Algebraic Operations

The empty set and the entire space are always clopen in any , serving as the base cases for the algebra of clopen sets. The collection of all clopen subsets of a forms a under the operations of finite , finite , and complementation. Specifically, the finite of clopen sets is clopen because the of open sets is open and the finite of closed sets is closed. Similarly, the finite of clopen sets is clopen, as the of open sets is open and the finite of closed sets is closed. The complement of a clopen set is also clopen, since the complement of an is closed and the complement of a is open. This closure under complementation, along with the finite and operations, ensures the structure is a lattice. However, arbitrary unions or intersections of clopen sets are not necessarily clopen. For example, consider the X = \{0\} \cup \{1/n \mid n \in \mathbb{Z}^+\} of \mathbb{R} with the standard topology; each \{1/n\} is clopen in X, but their countable \bigcup_{n=1}^\infty \{1/n\} is open but not closed in X, hence not clopen.

Topological Invariants

Clopen sets are preserved under s, meaning that if f: X \to Y is a between topological spaces and C \subseteq X is clopen, then f(C) is clopen in Y. This follows from the definition of a as a bicontinuous : since f is continuous, it maps open sets to open sets, so if C is open, f(C) is open; similarly, since f^{-1} is continuous, f maps closed sets to closed sets, so if C is closed, f(C) is closed. The number of connected components in a provides a topological related to clopen partitions. Specifically, the connected components form a of the space into maximal connected subsets, and under a , the number of such components remains unchanged because homeomorphisms preserve connectedness and disconnectedness. In spaces where the connected components are open (hence clopen, as they are also closed), this consists of clopen sets, and the of this is thus . A is totally disconnected if its only connected subsets are singletons. In such spaces, particularly compact Hausdorff totally disconnected spaces, there exists a basis consisting of clopen sets, allowing for fine separation of points by clopen neighborhoods. For example, the , which is compact, metrizable, perfect, and totally disconnected, admits a basis of clopen cylinder sets derived from its on \{0,1\}^\mathbb{N}. These clopen basis elements enable the construction of dense approximations within the space via finite unions, highlighting the richness of clopen structure in totally disconnected settings. In compact topological spaces, every clopen set is compact, as it is closed and thus inherits compactness from the ambient space. However, the converse does not hold: compact subsets need not be open (and hence not clopen) unless the space is . For instance, in a compact like the unit [0,1], finite subsets are compact but not open. This one-way relation underscores how clopen sets capture a stricter form of topological regularity in compact environments.

Applications

Connected Components

In topological spaces, connected components are the maximal connected subsets, partitioning the space into disjoint, closed pieces that capture its intrinsic disconnection. These components are always closed, as the complement of a connected component is the union of the other components, each of which is closed. However, they are generally not open—and thus not clopen—in the ambient topology. A misconception arises from assuming components are clopen in the they induce; while a component is trivially both open and closed in its own (being the entire subspace), this does not imply it is clopen as a subset of the original . Components become clopen subsets only under additional conditions, such as when the space is a of open connected sets, but this does not hold merely from the space being totally disconnected. Totally disconnected spaces represent the extremal case of disconnection, where every is a set, meaning no nontrivial is connected. In such spaces, the components (singletons) remain closed—assuming the space is T_1—but are clopen only if the singletons themselves are open, which occurs precisely when the space is discrete. The rational numbers \mathbb{Q}, equipped with the inherited from \mathbb{R}, provide a example of a totally disconnected space whose singleton components are closed but not open (hence not clopen), as every nonempty open set in \mathbb{Q} contains infinitely many points to the of . Clopen sets play a pivotal role in analyzing the structure of totally disconnected spaces through the notion of zero-dimensionality, where the admits a basis of clopen sets. Any such space is totally disconnected, because for any two distinct points, there exists a clopen basis element containing one but not the other, preventing any larger connected subsets. While the does not hold in general—a space may be totally disconnected without a clopen basis—the presence of a clopen basis enables a partition of the space into clopen subsets that finely resolve its disconnected nature, often aligning with the component decomposition in practice. Notably, \mathbb{Q} is zero-dimensional, possessing a basis of clopen sets given by intersections of open real intervals with \mathbb{Q}; each such set (a, b) \cap \mathbb{Q} (with a, b \in \mathbb{R}) is both open and closed in the subspace topology, as its complement in \mathbb{Q} is a union of similar clopen pieces. The irrational numbers \mathbb{R} \setminus \mathbb{Q}, also as a subspace of \mathbb{R}, exemplify another totally disconnected space with singleton components that are closed but not clopen, mirroring the situation in \mathbb{Q}. Like the rationals, the irrationals admit a basis of clopen sets—specifically, sets of the form (a, b) \cap (\mathbb{R} \setminus \mathbb{Q})—which are open and closed in the subspace topology, underscoring their zero-dimensional character. This clarifies a related misconception: the connected components need not be clopen even in totally disconnected spaces with rich clopen structure; instead, clopen sets facilitate the decomposition by providing separating tools that reveal the maximal disconnected pieces without the components themselves being clopen.

Quotient Spaces

In topological spaces, clopen sets are instrumental in constructing spaces with desirable properties, particularly when defining via into clopen subsets. Suppose a X admits a X = \bigsqcup_{i \in I} C_i, where each C_i is clopen in X. Define an \sim on X by identifying all points within each C_i (i.e., x \sim y if and only if x, y \in C_j for some j). The space X / \sim, equipped with the , is then homeomorphic to the on the I, because the preimage under the quotient map \pi: X \to X / \sim of each \{\pi(C_i)\} is C_i, which is both open and closed in X. Thus, every in the quotient is clopen, rendering the discrete. A concrete illustration arises in disconnected spaces with clopen components. Consider X = [0,1] \sqcup [2,3], the topological disjoint union of two closed intervals as subspaces of \mathbb{R}. Here, [0,1] and [2,3] form a partition into clopen subsets of X, since each is open (as a union of basis elements from \mathbb{R}) and closed (as the complement of the other). The quotient X / \sim identifying each interval to a point yields the two-point discrete space, where the quotient map is both open and closed. This construction highlights how clopen partitions simplify the topology of the resulting space. Furthermore, clopen sets in X that are saturated with respect to \sim (i.e., unions of entire equivalence classes C_i) map to clopen sets in the quotient. Since each C_i is clopen, the quotient map \pi preserves openness and closedness for such sets: the image \pi(U) of a saturated clopen U \subseteq X satisfies \pi^{-1}(\pi(U)) = U, which is clopen, implying \pi(U) is both open and closed in X / \sim. This preservation property ensures that structural features of clopen partitions carry over to the discrete quotient. In , clopen subsets facilitate quotients under group actions where orbits or fixed-point sets are clopen, yielding discrete models that aid in classifying spaces or constructions, though the core topological benefit remains the induction of topologies.

References

  1. [1]
    [PDF] 3. Closed sets, closures, and density
    Subsets of a topological space that are both open and closed are called clopen sets (mathematicians are bad at naming things).
  2. [2]
    [PDF] Metric Space Topology - UConn Math Department
    Definition: A set is clopen if it is both closed and open. ▶ Consider a metric space M, ∅ ⊂ M. ∅ is closed since there.
  3. [3]
    [PDF] A Review of General Topology. Part 6: Connectedness - CSUSM
    Mar 13, 2021 · A space X is connected if and only if the only clopen subsets of X are X and ∅. 3 Connected Subsets. Now we consider the issue of connectedness ...<|control11|><|separator|>
  4. [4]
    [PDF] Notes on Π classes for Math 661 Fall 2002 Notre Dame University
    May 24, 2007 · Let T be any topological space. The Boolean algebra of clopen sets of T is the set of all subsets of T which are both open and closed, partially ...
  5. [5]
    3.2 Connected Components - Math 581: Topology 1
    1. The set of components of X is a partition of X. · 2. Each component is closed. · 3. Each connected subset of X is contained in a component of X.
  6. [6]
    [PDF] The topology of path component spaces
    Oct 26, 2012 · A space X is zero dimensional if its topology is generated by a basis of clopen sets. Lemma 41. Suppose X is paracompact Hausdorff. Then Ψ0 : π0 ...
  7. [7]
    14. Topology and Epistemology - andrew.cmu.ed
    A clopen set is both closed and open. A basis for a topological space is a collection of sets that generates the open sets of the space when closed under ...
  8. [8]
    [PDF] Introduction to Topology - Auburn University
    It is also possible for a subset of X to be both closed and open (clopen) (e.g., ∅ is clopen, as is X). ... Closure, Interior, Boundary. Let (X, T ) be a ...
  9. [9]
    [PDF] Untitled - andrew.cmu.ed
    A clopen set is both closed and open. To simplify notation, when one speaks of subsets of I, one means subsets of T. Of special importance to methodology is ...
  10. [10]
    [PDF] Open and closed sets in topological spaces
    Jan 17, 2023 · All subset of M is clopen if and only if τ contains all subsets of M. Proof: if all subset of M is contained by τ, then all subset of M is open ...Missing: term | Show results with:term
  11. [11]
    [PDF] Topology of the Real Numbers - UC Davis Math
    We define relatively open sets by restricting open sets in R to a subset. ... The empty set ∅ and R are both open and closed; they're the only such sets.
  12. [12]
    [PDF] Chapter 2 Metric Spaces and Topology - Henry D. Pfister
    Such sets are called clopen. For a non-trivial example, consider the standard metric space of rational numbers and choose W = {x ∈ Q|x <. √. 2}. This set is ...
  13. [13]
    [PDF] Metric Spaces Worksheet
    Definition (clopen set). A subset S ⊆ X of a metric space (X,d) is said to be clopen if it is both open and closed. Example (singletons are clopen in ...
  14. [14]
    [PDF] 5 Lecture 5
    One interesting characterization of a connected metric space is that it is one in which the only clopen sets are the empty set and the whole space. Proof.
  15. [15]
    [PDF] § 23, 24 Connectedness
    Example. 1) X¤ > 1, X discrete Ю disconneceted b/c every subset is clopen (open and closed). 2) X trivial topology Ю connected. Theorem 28. If X М R convex ...
  16. [16]
    [PDF] THE CANTOR SET
    Firstly, it is self-similar, since zooming in on the first iteration in any of the constructions, we can see that it looks identical to the original set.Missing: subspace | Show results with:subspace
  17. [17]
    [PDF] A first course on 𝑝-adic numbers - UCSD Math
    In this way every normed field is naturally a metric space. Due to this problem we can transfer all definitions of metric spaces, i.e. open balls, open subsets, ...Missing: ℤ_p ℚ_p
  18. [18]
    [PDF] Math 344-1: Introduction to Topology - Northwestern University
    For a set X, the cofinite topology (also called the finite complement topology) on. X is the one where we take as open sets ∅ and complements of finite sets.
  19. [19]
    clopen subset - PlanetMath.org
    Mar 22, 2013 · X X and ∅ ∅ are clopen, · the complement of a clopen set is clopen, · finite unions and intersections of clopen sets are clopen.
  20. [20]
    [PDF] The complex of cuts in a Stone space - arXiv
    Apr 9, 2025 · Since unions, intersections and complements of clopen sets are clopen, this really is a Boolean algebra. Conversely, from a Boolean algebra B, ...
  21. [21]
    [PDF] Review of point-set topology Andrew Putman - Academic Web
    The collection of closed sets is closed under finite unions and arbitrary intersections. The whole subject could be developed using closed sets instead of open ...
  22. [22]
    Countable union of clopen sets is clopen? - Math Stack Exchange
    Sep 6, 2020 · A countable union of clopen sets need not be closed, and thus not clopen. For example, ⋃n∈Z+{1n} is not closed.Clopen subsets of a topological space don't form a complete latticeTotally separated, but the clopen sets do not form a basisMore results from math.stackexchange.comMissing: counterexample | Show results with:counterexample
  23. [23]
    [PDF] 6. Continuity and homeomorphisms
    As we said earlier, homeomorphisms are functions that preserve all topological properties (that is, all properties that can be described in terms of open sets).Missing: clopen | Show results with:clopen
  24. [24]
    [PDF] 18. Connectedness
    It turns out that such an infinite set with its co-finite topology will necessarily be connected but not path-connected. For example, (N,Tco-finite) is ...Missing: components | Show results with:components
  25. [25]
    [PDF] An introduction to totally disconnected locally compact groups
    Feb 21, 2019 · The Cantor space, denoted by C, is thus the unique Polish space that is compact, perfect, and totally disconnected. Brouwer's theorem along ...
  26. [26]
    [PDF] What are Cantor Spaces? | OSU Math
    If a topological space X is completely metrizable, not locally compact at any point and has a countable basis of clopen sets, then it is homeomorphic to NN. ( ...<|separator|>
  27. [27]
    [PDF] Chapter V Connected Spaces
    In this chapter we introduce the idea of connectedness. Connectedness is a topological property quite different from any property we considered in Chapters 1-4 ...
  28. [28]
    [PDF] Topology Proceedings
    Consider the space Q of rational numbers with the usual topol- ogy, and bases ... Each is a clopen basis for the open sets in Q. These yield ordered sets X1 ...
  29. [29]
    [PDF] cantor spaces, peano spaces, continua - UTK Math
    A space X is totally disconnected if the connected components of X are points. Examples: the Cantor set, the rational numbers, the irrationals. Arbitrary ...<|control11|><|separator|>
  30. [30]
    Mathlib.Topology.DiscreteQuotient - Lean community
    To avoid quantifying over types, we model such quotients as setoids whose equivalence classes are clopen.
  31. [31]
    A closure operator for clopen topologies - Project Euclid
    We characterize the clopen topologies on X as those that are weak topologies determined by a surjective function with values in some discrete topological space.