๐Ÿงฎ Brain Teaser

The Space That Is T1T_1 but Not Hausdorff โ€” and Its Compact Subsets

Consider Z>0\mathbb{Z}_{>0} (the positive integers) equipped with the cofinite topology: a set UโІZ>0U \subseteq \mathbb{Z}_{>0} is open if U=โˆ…U = \emptyset or Z>0โˆ–U\mathbb{Z}_{>0} \setminus U is finite.

(a) Show that this space is T1T_1 (points are closed) but not Hausdorff.

(b) Show that every subset of Z>0\mathbb{Z}_{>0} (with the subspace topology) is compact.

(c) Conclude that in a non-Hausdorff space, compact subsets need not be closed.

cofinite topologycompactnessHausdorffseparation axiomsT1counterexample

Answer: Cofinite Topology: Compact but Not Closed

Key Idea / Intuition

In the cofinite topology, open sets are "almost everything" โ€” so any two non-empty open sets must overlap (their complements are finite, so they can't cover the whole space while being disjoint). This destroys the Hausdorff property. But it also forces every open cover to be "wasteful": a single open set already covers all but finitely many points, so any cover reduces to a finite one almost immediately. Compactness follows for free, yet compact sets aren't closed in the usual sense.


Formal Proof / Solution

Let X=Z>0X = \mathbb{Z}_{>0} with the cofinite topology ฯ„\tau.

Part (a): T1T_1 but not Hausdorff

T1T_1: We need every singleton {n}\{n\} to be closed, i.e., Xโˆ–{n}X \setminus \{n\} is open. Indeed, Xโˆ–(Xโˆ–{n})={n}X \setminus (X \setminus \{n\}) = \{n\} is finite, so Xโˆ–{n}X \setminus \{n\} is cofinite, hence open. โœ“

Not Hausdorff: Suppose U,VU, V are non-empty open sets with UโˆฉV=โˆ…U \cap V = \emptyset. Then

X=(Xโˆ–U)โˆช(Xโˆ–V)X = (X \setminus U) \cup (X \setminus V)

so XX is a union of two finite sets (since UU and VV are non-empty open, their complements are finite). But X=Z>0X = \mathbb{Z}_{>0} is infinite โ€” contradiction. So no two non-empty open sets are disjoint, and we cannot separate any two distinct points. โœ—

Part (b): Every subset is compact

Let AโІXA \subseteq X with the subspace topology (which is again cofinite: relatively open sets in AA are โˆ…\emptyset or sets with finite complement in AA). Let {Uฮฑ}\{U_\alpha\} be an open cover of AA.

Pick any single Uฮฑ0U_{\alpha_0} in the cover with Uฮฑ0โ‰ โˆ…U_{\alpha_0} \neq \emptyset. Then

Aโˆ–Uฮฑ0A \setminus U_{\alpha_0}

is finite (it has finite complement in AA, since Uฮฑ0U_{\alpha_0} is relatively open and non-empty). Say Aโˆ–Uฮฑ0={a1,a2,โ€ฆ,ak}A \setminus U_{\alpha_0} = \{a_1, a_2, \ldots, a_k\}. For each aia_i, pick some UฮฑiU_{\alpha_i} in the cover containing aia_i.

Then {Uฮฑ0,Uฮฑ1,โ€ฆ,Uฮฑk}\{U_{\alpha_0}, U_{\alpha_1}, \ldots, U_{\alpha_k}\} is a finite subcover. Since the cover was arbitrary, AA is compact. โœ“

Part (c): Compact โ‡’ฬธ\not\Rightarrow Closed (without Hausdorff)

Take any finite set, say A={1,2,3}A = \{1, 2, 3\}. Its complement is infinite and hence not cofinite (it doesn't have a finite complement), so AA is not open, meaning Xโˆ–AX \setminus A is not closed... wait, let's be precise:

AA is closed iff Xโˆ–AX \setminus A is open iff Xโˆ–(Xโˆ–A)=AX \setminus (X \setminus A) = A is finite. So finite sets are closed.

More strikingly: take A={1,3,5,7,โ€ฆ}A = \{1, 3, 5, 7, \ldots\} (the odd positive integers). Then AA is infinite, so Xโˆ–AX \setminus A (the even positive integers) is also infinite โ€” hence Xโˆ–AX \setminus A is not cofinite, so it's not open, so AA is not closed.

Yet by Part (b), AA is compact.

So in (X,ฯ„)(X, \tau):

A={1,3,5,7,โ€ฆ}ย isย compactย butย NOTย closed.A = \{1, 3, 5, 7, \ldots\} \text{ is compact but NOT closed.}

This contrasts sharply with the Hausdorff case, where every compact subset of a Hausdorff space is closed (the standard proof: for each point outside, use disjoint open sets to separate, then extract a finite subcover to build an open set around the exterior point). The cofinite topology on an infinite set is the "canonical" example showing Hausdorff is essential. โ– \blacksquare

Summary table:

| Property | Cofinite on Z>0\mathbb{Z}_{>0} | |---|---| | T1T_1 | โœ“ | | Hausdorff (T2T_2) | โœ— | | Every subset compact | โœ“ | | Compact โ‡’\Rightarrow Closed | โœ— |

Source: Munkres, Topology, Chapter 4 (separation axioms and compactness folklore)

Type: topologySource: Munkres, Topology, Chapter 4 (separation axioms and compactness folklore)Edit on GitHub โ†—