Closed subset of a compact space 2026-10-31
Every closed subset of a compact space is compact in its subspace topology. An open cover of by ambient open sets, together with , covers . A finite subcover for still covers after the extra member is discarded. The result does not require to be Hausdorff.
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 setsgive 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]
https://ocw.mit.edu/courses/18-100b-analysis-i-fall-2010/b7780b2a0629359b11c5de998c72a147_MIT18_100BF10_compactness.pdf. MIT Analysis I, Compactness vs. Sequential Compactness, Theorem 1 and its metric-space proof
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.
A compact subset is closed in the two-point discrete space but need not be closed in the Sierpiński space
. Details. 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 setThen , , 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.
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 areBoth 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 thatThis 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.
Every subset of a cofinite space is compact 2026-10-14
Every subset of a cofinite topological space is a compact subset. To see the finite reduction directly, take an open cover of a nonempty by open sets of and choose one member containing a point of . Since has finite complement, the set is finite. Choose a covering member for each of those remaining points. Those members together with are a finite subcover. The empty set is already compact.
Equivalently, the subspace topology on is itself cofinite: for finite , the trace of is . The argument applies again inside . A concrete open cover of needs only the two members and when these labels are distinct: each fills the other's single gap.
On , the subset of even integers is compact but not closed, because it is infinite and proper. A compact subset of a Hausdorff space is guaranteed to be closed, whereas compactness without the Hausdorff space assumption does not suffice. Changing the topology changes compactness: the same infinite set with its discrete topology has the singleton open cover, which has no finite subcover. The finite-exception argument is special to finite complements; in the cocountable topology, compact subsets of a cocountable space must instead be finite.
A topological space is compact exactly when every family of closed sets with the finite intersection property has nonempty intersection. Take complements and apply De Morgan's laws: an empty total intersection corresponds to an open cover, while an empty finite intersection corresponds to a finite subcover. This works without any Hausdorff condition. With the convention that an empty-family intersection is the whole ambient set, the finite intersection property includes nonemptiness of that ambient set, and the criterion correctly treats the empty compact space.
Finite subcover 2026-10-14
A finite subcover is a subcover with finitely many members, including possibly none when is the empty set. Requiring a finite subcover for every open cover is the definition of compactness.
Choose , possible because each interval is uncountable. Every tail is closed and disjoint from . Therefore is an open saturated set for collapsing a subset to a point, so its image in the quotient topology is open. These increasing images cover the quotient, but no finite selection covers it, because the largest selected image still misses an infinite tail of distinct singleton classes. This is an open cover with no finite subcover, proving noncompactness. The argument does not require the countable subset to be closed or nondense. For the empty subset, read the quotient as the original line.
A subset , with its subspace topology, is compact when every open cover of has a finite subcover. The Heine-Borel theorem in the complex plane, identified with , saysClosedness is in the ambient complex plane. For a continuous real-valued function on a nonempty compact set, the supremum and infimum are finite and attained.
The empty set is bounded. Otherwise choose in the compact metric space . The open balls , , form an open cover. A finite subcover exists by compactness; because the balls are nested, the largest one already covers . Hence for some .
For , the triangle inequality gives . ThusThe proof uses only compactness and the metric, not a coordinate system.
Let be any sequence in the compact metric space . There must be an such that every open ball about contains for infinitely many indices . Otherwise, for each choose a ball containing only finitely many terms, counted by indices. These balls are an open cover. A finite subcover would imply that only finitely many indices occur anywhere in , a contradiction.
Now choose successively with ; infinitely many available indices make this possible. Then , so is a convergent subsequence. ThusThe proof counts indices rather than distinct points, so it also handles a value repeated infinitely often.
A metric space is a compact space if every open cover , with all open in , has a finite subcover: finitely many indices cover .
It is a sequentially compact space if every sequence in has a convergent subsequence whose limit of a sequence belongs to . In formulas,A finite subcover is the defining test for compactness; a convergent subsequence is the defining test for sequential compactness.
A topology on contains , is closed under arbitrary unions and under finite intersections. The cofinite family has these properties: a nonempty union contains one cofinite member and therefore has finite complement; the complement of a finite intersection is a finite union of finite sets. The empty union and the sets are included explicitly.
Any two nonempty open sets intersect, because their intersection has finite complement in the infinite set . Thus no two disjoint nonempty open sets can separate , proving connectedness. For compactness, take any open cover and choose a nonempty member . Only finitely many points lie outside . Choose one covering member for each of those points. Together with these give a finite subcover. Thus is compact.
A subset is compact if every cover of it by open sets of the ambient space has a finite subcover; equivalently use open sets of its subspace topology. A cover of separately covers and . Compactness of each supplies two finite collections, whose union is finite and covers . If is closed in a compact space, add the open complement of to any open cover of . Compactness supplies a finite subcover of the whole space, and discarding the complement leaves a finite cover of .
For the enlarged space, every old open set is open in and has the same trace on . The trace on of a new open set is , which is open in because its complement is closed. Thus the induced topology on is exactly the original one.
Given an open cover of , choose a member containing infinity. It has the form with compact. The remaining cover restricted to has a finite subcover. Together with the chosen infinity-neighborhood, these finitely many sets cover . Hence is compact, with no Hausdorff assumption needed.
Finally put . Continuity makes open and containing infinity. Therefore with compact and closed in . For every we haveThis expresses convergence to the value at infinity outside compact closed subsets.
A topological space is compact if every open cover has a finite subcover:There is no Hausdorff requirement in this definition.
No countable subset works. For any countable set , choose : each nonempty interval is uncountable. The sequence tends to infinity, so every tailis closed in and disjoint from . By part (i), is open in . These sets increase and cover , since no point belongs to every tail. But any finite selection is contained in its largest member, which still misses every quotient point in that member's remaining tail. The represent distinct singleton classes.
This is an open cover without a finite subcover, provingThe argument does not assume that is closed, bounded, or discrete. It is the noncompactness after collapsing a countable real subset obstruction.
Let be a closed subset of the compact space . Express an arbitrary open cover of in its subspace topology as , where the are open sets of . Since is open, the familyis an open cover of . Take a finite subcover and discard if it occurs. The remaining finitely many still cover , since the discarded set contains no point of . Their traces on give the required finite subcover. Hence every closed subset of a compact space is compact, with no Hausdorff assumption.
Assume is compact, and let the closed subsets of have the finite intersection property. If their total intersection were empty, their complements would form an open cover of . A finite subcover would givecontradicting the finite intersection property. Therefore the total intersection is nonempty.
Conversely, assume the stated nonempty-intersection property for every family of closed subsets of . Given an open cover of in its subspace topology, set . Their total intersection is empty. By the contrapositive of the assumed property, this family fails the finite intersection property; hence some finite satisfiesThis is a finite subcover, proving compactness. Both directions are instances of De Morgan's laws. Thus compactness is equivalent to the finite intersection characterization of compactness.
For completeness, the intersection of the empty family of subsets of is . If is empty, no family has the finite intersection property when the empty finite subfamily is included, so the implication remains valid.
A subset is compact if every open cover has a finite subcover. Explicitly, if are open sets of and , there are finitely many indices such thatEquivalently, the subspace topology makes a compact space. An open set in this subspace topology is for an ambient open set , which proves equivalence of the two open cover formulations. The empty set is compact: the empty selection is a finite subcover.
For every , the Hausdorff condition gives disjoint open neighbourhoods of and of . The form an open cover of , so choose a finite subcover . PutThen are open sets, and . If a point belonged to , it would belong to some and to , contrary to their choice. ThusThe finiteness matters: a finite intersection of open sets is open. This is separation of a point and a compact set. If , use , .
Every consequently has an open neighbourhood contained in . The complement is open, so a compact subset of a Hausdorff space is closed.
The conclusion can fail without the Hausdorff condition. Take the two-point set with the indiscrete topology . The singleton is compact, since one member of any open cover suffices. It is not closed, because its complement is not open. The two points cannot have disjoint open neighbourhoods, so this example is indeed not Hausdorff.



