The circle and the closed interval are both compact and connected, so those two properties alone do not distinguish them. Instead examine connectedness after removing a point. Every punctured circle is connected: after rotating the missing point to , the continuous map from the connected open interval maps onto it. Continuous maps preserve connectedness. [ref]
If a homeomorphism existed, choose . Its restriction would give a homeomorphism between and . But the latter splits into two nonempty disjoint open sets in its subspace topology, and , contradicting connectedness of the punctured circle. Removing an endpoint of leaves a connected space; the proof deliberately chooses the preimage of an interior point. This illustrates how a simple connectedness test can rule out every possible homeomorphism.
Closed set Created 2026-09-24 Updated 2026-10-14
A subset of a topological space is closed when its complement in that same ambient space is open: . For example, the closed interval is closed in the usual real line because its complement is the open set . Always specify the ambient topological space: a subset can be closed in a subspace topology without being closed in the surrounding space. [ref]
Being closed is not the logical negation of being open. In the usual real line, all four combinations occur: is open but not closed; is closed but not open; the half-open interval is neither open nor closed; and both the empty set and the whole real line are open and closed, hence clopen. Nor does being closed imply being a bounded set: is closed because its complement is open, but it is not a bounded set. The symbol is not an extra point that this interval must contain.
Figure 1.
The four combinations of openness and closedness in the real line
. Details.
The coloured strokes mark membership; filled endpoint circles mean included points, and hollow endpoint circles mean excluded points. The empty set has no coloured points, while arrows at both ends of the coloured real line indicate that membership continues indefinitely. These examples use the usual topology of the real line.
In a metric space , a subset is closed exactly when every convergent sequence in whose limit of a sequence lies in has . For example, lies in for and has limit of a sequence , which is missing; thus this half-open interval is not closed in the real line. This criterion is useful for keeping limiting constructions inside a prescribed set. [ref]
In every topological space, the general criterion is , using closure; equivalently, contains all its limit points. A closed set is always a sequentially closed set, but the converse can fail outside metric spaces. Arbitrary intersections and finite unions of closed sets are closed, by taking complements in the topology axioms.
Closed subgroup 2026-10-14
A closed subgroup is a subgroup which is a closed set in the ambient topology. It is a topological group in its subspace topology, but need not be an open subgroup.
The additive subgroup of integers is a closed subgroup: every noninteger lies in an open interval avoiding . It is also a discrete subgroup, since . Nevertheless it is not an open subgroup of : every open interval containing an integer contains nonintegers too. Thus having a discrete topology internally says nothing about being an open set in the ambient topology.
Compact space Created 2026-09-24 Updated 2026-10-14
A topological space is compact when every open cover has a finite subcover: whenever open sets satisfy , some finite selection satisfies . A subset of an ambient topological space is compact when its subspace topology is compact; equivalently, every open cover of by ambient open sets has a finite subcover. The word every matters: finding one finite subcover of one open cover is not enough to establish compactness. [ref]
The closed interval is compact by the Heine-Borel theorem. For a concrete open cover, take the three open intervals , , and . Their union is , so they cover every point of , including both endpoints. The overlaps have lengths and , leaving no gaps. Each member is necessary for this particular open cover: removing them respectively leaves , , or uncovered.
Above, hollow markers denote the excluded endpoints of the covering open intervals, while the solid endpoints belong to the covered closed interval. Below, each displayed open interval is one member of an infinite open cover of ; finitely many rows always leave points near zero uncovered. The rows are vertically separated for readability and all refer to the same real line.
The open interval is a bounded set but is not compact: the open sets
give an open cover of , since every has for sufficiently large . These are also open sets for the subspace topology on . Any nonempty finite selection has a largest index , so its union is just and misses the point , which still belongs to . Thus no finite subcover exists, however many members we select. The same family is not an open cover of , since it misses both endpoints.
In a metric space, compactness is equivalent to sequential compactness: every sequence in the subset has a convergent subsequence whose limit of a sequence belongs to that subset. This equivalence does not extend to all topological spaces. For example, for has limit of a sequence zero in . The same sequence lies in , but every subsequence still has limit of a sequence zero on the real line, so no subsequence converges to a point of . Merely approaching a boundary is harmless when the required point remains available. [ref]
Figure 2.
The same sequence approaches an included endpoint in a closed interval and a missing endpoint in an open interval
. Details.
Both panels show the sequence for approaching zero. In the closed interval, zero is an allowed limit of a sequence; in the open interval, the hollow marker identifies the missing point. This single sequence disproves sequential compactness of ; compactness of still requires control of every open cover or every sequence, supplied by the Heine-Borel theorem.
An infinite set with the discrete topology similarly fails compactness, using the open cover by all its singletons. Every finite set is compact in any topology: select one covering open set for each point. The empty set is compact because the empty selection is a finite subcover. This open cover definition does not require the topological space to be Hausdorff; in algebraic geometry it is often called quasi-compactness.
The beauty of compactness is that information valid around each point can often be controlled using finitely many regions. A finite subcover lets us combine finitely many local bounds, or choose the smallest of finitely many positive tolerances, to obtain control across the whole compact space. This is why compactness repeatedly turns approximation into existence and why it is so useful in optimization through the extreme value theorem.
Every closed set in a compact space is compact, and a continuous image of a compact space is compact. The latter proof pulls an open cover back by inverse images, selects a finite subcover, and maps forward. This makes compactness useful for proving existence: the extreme value theorem guarantees that a continuous function from a nonempty compact space to the real line attains both a minimum and a maximum. For example, on has maximum at and minimum zero at its endpoints. On its infimum is still zero but is never attained. [ref]
Compact subset of a Hausdorff space Created 2026-09-24 Updated 2026-10-14
Let , where the ambient topological space is Hausdorff and is compact in its subspace topology. Then is a closed set in : the complement is an open set in . The ambient space need not be compact. For example, is a compact closed interval in the non-compact Hausdorff real line.[ref]
The ambient Hausdorff hypothesis matters even when itself is Hausdorff. In the Sierpiński space , the open sets are , so the closed sets are . Thus is compact and Hausdorff in its one-point subspace topology, but is not closed in : its complement is not an open set. Every open neighborhood of contains , so separation from fails. In contrast, the discrete topology on the same underlying set is Hausdorff and makes both singletons closed.
The diagram lists every open set and closed set, so the distinction can be checked directly. All subsets in both panels are compact: for any open cover of a finite set, choose one covering open set per point, obtaining a finite subcover. Compactness alone therefore cannot distinguish the two panels.
Here is the finite-selection mechanism in the general proof. For and each , the Hausdorff property gives disjoint open neighborhoods of and of . The give an ambient open cover of . Select a finite subcover and set
Then , , and . The finite intersection makes an open set; an infinite intersection would not guarantee this. Thus every point of has an open neighborhood contained in that complement, proving that is closed. The empty set is already closed.
This theorem combines with the continuous image of a compact space theorem to make every continuous map from a compact space to a Hausdorff space a closed map: a closed subset of its domain is compact, and its image is compact and hence closed in the target. This is the reason the inverse in the compact-to-Hausdorff continuous bijection theorem is continuous. The converse implication, from closed to compact, needs additional hypotheses: the real line is closed in itself but not compact; in a compact space, every closed subset is compact.
Connected component Created 2026-09-24 Updated 2026-10-14
A connected component of a topological space is a nonempty connected subset that is maximal under subset inclusion. If is a connected component and with a connected subset, then . Maximality means that no larger connected subset contains ; it does not mean largest cardinality among all connected subsets.
For example, the connected components of in the usual subspace topology of the real line are and . Each is a real interval, and no connected subset of the real line can meet both without containing the missing point . For the finite set in the same subspace topology, the three connected components are its singleton sets.
Figure 1.
An intact real interval, an interval with an interior point removed, and a finite set have one, two, and three connected components in the usual subspace topology of the real line
. Details.
Every point lies in exactly one connected component, constructed by taking the union
All members contain , so their union is connected by connected union with a connected hub. The union includes every connected subset through , so it is maximal. Equivalently, define
This is an equivalence relation: singleton sets give reflexivity, symmetry is immediate, and two connected subsets sharing the middle point have a connected union, giving transitivity. The equivalence classes are precisely the connected components. They form a partition of a set: they cover and any two are either equal or disjoint.[ref]
Every nonempty connected subset lies within one connected component. Moreover, every connected component is closed in : closure of a connected set makes its closure connected, and maximality forces that closure to equal the original connected component. A connected component need not be open. For example, in with its usual subspace topology from the real line, all connected components are singleton sets, but is not open: every neighbourhood of in contains some .[ref]
Connected space Created 2026-09-24 Updated 2026-10-13
A topological space is connected when it has no separation of a topological space: no partition of a set into two nonempty open subsets satisfying
Here the union covers all of , and the intersection is the empty set, so no point belongs to both pieces. For a subset of a larger topological space, "open" means open in the subspace topology: each piece is the intersection of with an ambient open set. Both pieces must be open; merely dividing a drawing into two colours does not establish a separation of a topological space. [ref]
For example, the closed interval with its usual subspace topology from the real line is connected. The proposed split fails: the second subset is not open in , since every neighbourhood of in contains points less than . More generally, a connected subset of the real line is precisely a real interval. In contrast, for the union
the open intervals and exhibit as nonempty open subsets in the subspace topology of . Their intersection is empty and their union is , so is not connected. Although are closed intervals in the real line, they are also open within .
Why is connectedness useful? A continuous image of a connected space is connected: a proposed separation of a topological space in the image would pull back through the continuous map to a forbidden separation of a topological space in its source. Thus a continuous map from a real interval to the real line cannot skip values between two attained values. This is the intermediate value theorem. For a computed example, the continuous function on has image ; the value occurs at . Connectedness guarantees an input attaining that value even when we have no formula for it.
Path connectedness is a stronger condition: it supplies a continuous path between every pair of points. The topologist's sine curve below shows that a connected space need not be a path-connected space.
Connected subset Created 2026-10-03 Updated 2026-10-14
A subset of a topological space is a connected subset when , with the subspace topology inherited from , is a connected space. Thus connectedness is tested inside : a forbidden separation of a topological space consists of nonempty subsets
where are open sets in . The ambient open sets need not be disjoint outside .
For example, in the real line with its usual topology, is a connected subset, whereas is not: its two singleton sets are open in its subspace topology. A subset of a connected space need not be connected. Conversely, is a connected subset of the disconnected topological space . The ambient topological space need not itself be connected.
A finite set of distinct points in the real line inherits the discrete topology: a sufficiently small open interval around each point isolates that point. Its only nonempty connected subsets are singleton sets. This depends on the topology: a nonempty finite set with the indiscrete topology is a connected space, since its only open sets are itself and the empty set. Here, as in the definition of connected space, the empty set is also connected because it admits no separation of a topological space.[ref]
The distinction matters when finding connected components: we search among connected subsets of the specified topological space, rather than judging whether the surrounding drawing looks like one piece.
Connected subset of the real line Created 2026-09-29 Updated 2026-10-14
In the usual subspace topology from the real line, a subset is connected exactly when it has the defining property of a real interval:
Every real number between two members must be present. Thus open intervals, closed intervals, intervals with only one endpoint included, and unbounded real intervals are connected. Singleton sets are connected too. With the no-separation of a topological space convention used here, the empty set satisfies the same property; some texts reserve the word connected for nonempty topological spaces.[ref]
Removing an interior point changes the answer:
These two real intervals are exactly its connected components and its path components. Removing an endpoint instead leaves a real interval, for example , which stays connected. This is why an interior point of a closed interval is a cut point, whereas an endpoint is not. A nonempty finite set of points in the real line is connected exactly when it is a singleton set.
Proof outline: if but is missing, the subsets
give a separation of a topological space, since the two open intervals make both pieces open in . Conversely, a nonempty real interval contains the continuous path between any two of its points, so it is path-connected and hence connected. Together with continuous image of a connected space, this characterization gives the intermediate value theorem: a continuous function on a real interval cannot jump over a value lying between two attained values.
Continuous image of a compact space Created 2026-09-24 Updated 2026-10-14
Let be topological spaces, let be compact, and let be a continuous map. Then its image is compact with the subspace topology inherited from . More generally, a continuous map sends every compact subset to a compact subset , by applying the same statement to its restriction to . Neither nor needs to be Hausdorff.[ref]
For example, the polynomial function sends the compact closed interval onto . The open intervals and give an open cover of the image. Their inverse images in the domain are
Both are open sets in the subspace topology of , even though neither is an open set in the ambient real line. They cover the domain, so the corresponding two target open sets cover the image.
Matching colors identify the target open sets and their inverse images. Filled endpoints are included and hollow endpoints excluded. This particular open cover illustrates the mechanism; compactness requires a finite subcover for every open cover.
For the general proof, write an arbitrary open cover of as with each an open set in . By continuity, the inverse images form an open cover of . Its compactness provides indices such that
This gives the required finite subcover of . The argument uses inverse images because continuous maps need not send open sets to open sets. For the empty set, the empty selection suffices.
The image of a compact Hausdorff space under a continuous map need not itself be Hausdorff. Take with the discrete topology and with the Sierpiński space topology . The identity map is a continuous bijection, since the inverse image of every target open set is an open set in . Its image is compact, but the two points of have no disjoint open neighborhoods. If the target is Hausdorff, its subspace topology does make Hausdorff, and the compact subset of a Hausdorff space theorem also makes closed in .
The practical payoff is existence: the extreme value theorem uses the compact image of a nonempty compact space under a real-valued continuous function to obtain an attained minimum and maximum. When is also a bijection onto a Hausdorff target, the compact-to-Hausdorff continuous bijection theorem supplies continuity of its inverse without a separate formula.