Cofinite topology Created 2026-09-29 Updated 2026-10-14
The cofinite topology on a set declares the empty set and all cofinite subsets to be open sets: a nonempty open set may exclude only a finite set of points. There is no assumed metric. On an infinite set, this gives a particularly small collection of open sets while still making every singleton a closed set. On a finite set, every subset has finite complement, so the cofinite topology is the discrete topology.[ref]
For an original example, use and choose
Both are open sets, and their intersection is . Thus are in both. Their finite exclusions cannot separate the infinite remainder. The finite intersection of any finite collection of nonempty open sets is again a nonempty open set, since its complement is a finite union of finite sets. An arbitrary nonempty union is open because its complement is contained in the finite complement of any one nonempty member.
Figure 1.
Two open sets with finite exclusions still overlap in an infinite cofinite topology
. Original sets on . Only the first sixteen labels are drawn; the dots continue indefinitely and are all included after the last excluded label. Spacing is for readability and defines no metric. Filled circles belong to the displayed set; crosses are excluded. Details.
The cofinite topology is useful for separating hypotheses that familiar metric spaces package together. An infinite cofinite topological space is a T1 space, because its singletons are closed, but is not a Hausdorff space, because two nonempty open sets cannot be disjoint sets. It is a hyperconnected space and hence a connected space. Moreover, every subset of a cofinite space is compact, and sequence convergence in the cofinite topology can have many limits. These are compatible properties, rather than contradictions: the usual uniqueness and closedness results use the Hausdorff space hypothesis.[ref]
Let be the underlying set of real numbers with the cofinite topology. The diagonal in with its subspace topology is homeomorphic to the usual real line. Indeed, is a continuous bijection: its first coordinate is continuous because usual finite sets are closed, and its second coordinate is the identity. The inverse is the second coordinate projection restricted to . Consequently is not compact, whereas is compact by the fact that every subset of a cofinite space is compact. Thus is not homeomorphic to .
Fix . For a continuous function , every coordinate slice is continuous, because the maps and into the product topology are continuous. Their target is Hausdorff. Part (a)(i) gives
Therefore every such is a constant function. This is the two-factor case of continuous maps from products of cofinite spaces to Hausdorff spaces are constant.
The second coordinate projection is continuous and nonconstant. If a homeomorphism existed, would be a nonconstant continuous function, contradicting the preceding conclusion. Hence
For the half-plane, put as a set, so . Its two ambient topologies give different answers:
In , if were closed, its inverse image under the continuous map would be closed in . That inverse image is , which is neither a finite set nor all of , so it is not closed in the cofinite topology. Thus is not closed.
To establish compactness, note that the subspace topology on any subset of a topological space with the cofinite topology is again cofinite. An open cover of a nonempty such has a nonempty member omitting at most finitely many points; finitely many more members cover those points. Hence every subset of a cofinite space is compact. In particular both and with its cofinite subspace topology are compact. The subspace topology on is their product topology, as one checks by tracing basis rectangles. The product of two compact spaces is compact, so is compact here.
For clarity, the finite-product compactness result needs no Hausdorff condition. Given an open cover of , cover each point by a basis rectangle lying in one covering member. For fixed , use compactness of to select finitely many rectangles whose second factors cover , and intersect their first factors to get an open neighbourhood of . Those finitely many original members cover . Finally finitely many cover , producing a finite subcover of .
In , the second coordinate projection has
Since the ray is closed in the usual real line, is closed. It is not compact: its image under a continuous map under is , which is not compact. For an explicit obstruction, the open intervals , , cover this ray but have no finite subcover.
Finally consider the diagonal in . Define
This is a bijection. The identity function from the usual real line to is continuous: each nonempty cofinite open set is the complement of a finite set, and finite sets are closed in the usual real line. Both coordinates of are therefore continuous, so is continuous for the product topology and the subspace topology of . Its inverse is the restricted second coordinate projection, which is continuous. Therefore
For the second conclusion, is compact whereas is not compact; homeomorphisms preserve compactness. The diagonal in a product with cofinite and Euclidean topologies thus inherits the usual topology, despite one cofinite factor.