Countable vs. First Countable vs. Second Countable
A countable set has at most as many elements as $\nats$. A first-countable space has a countable neighborhood basis at each point. A second-countable space has a countable basis for its whole topology. Every second-countable space is first countable:
\[\text{second countable} \subset \text{first countable}.\]Every countable space that is first countable is second countable:
\[\text{countable} \cap \text{first countable} \subset \text{second countable}.\]No other inclusion holds. A space can be countable without being first countable, first countable without being second countable, and second countable without being countable.
Definitions
Consider a set, and try to list its elements one after another, as $a_1, a_2, a_3, \dots$ (possibly stopping after finitely many or continuing forever). The set is countable if this can be done so that every element appears in the list.
Consider a set $S$. The set $S$ is countable if $S$ is finite or countably infinite: equivalently, if there is an injective map from $S$ to $\nats$.
Examples
-
The empty set is countable, because it is finite.
-
$\integers$ is countable because the list $0, 1, -1, 2, -2, \dots$ reaches every integer.
-
✓ $\nats$$\nats$ is countable because the list $0, 1, 2, \dots$ reaches every natural number.
-
$\rationals \cap [0, 1]$ is countable because the fractions $p/q$ in $[0, 1]$ can be listed in order of their denominators $q$.
-
$\setdef{1, 2, 3}$ is countable, because it is finite.
Non-examplesThings that may be mistaken for examples of this term.
-
✗ $[0, 1]$$[0, 1]$ is not countable, because it is uncountable.
-
The set of all subsets of $\nats$ is not countable, because it is uncountable.
-
$\reals$ with the discrete topology is not countable, because the real numbers are uncountable.
-
$\reals$ with the standard topology is not countable, by Cantor’s diagonal argument.
-
The Cantor set is not countable, because it is uncountable.
-
$\reals$ with the cofinite topology is not countable, because its points are the real numbers.
A topological space $X$ is called first countable if, for every point $x \in X$, there is a sequence $N_1, N_2, \dots$ of neighborhoods of $x$ such that for every neighborhood $U$ of $x$,
\[N_k \subseteq U \quad \text{for some } k.\]The sequence $N_1, N_2, \dots$ is called a countable neighborhood basis at $x$.
In the plane, the open balls $N_k$ of radius $1/k$ centered at $x$ form a countable neighborhood basis at $x$. Drag the point $x$ or the open set $U$ (which stays over $x$), and shrink $U$ with the slider: while $x \in U$, some ball $N_k$ lies inside $U$.
Examples
-
$\rationals$, as a subspace of $\reals$, is first countable, because, at each point $q$, the sets of rational numbers in $(q - 1/k, q + 1/k)$ form a countable neighborhood basis.
-
$\reals$ with the discrete topology is first countable, because, at each point $x$, the single set $\setdef{x}$ is a neighborhood basis.
-
$\reals$ with the standard topology is first countable, because, at each point $x$, the intervals $(x - 1/k, x + 1/k)$ form a countable neighborhood basis.
Non-examplesThings that may be mistaken for examples of this term.
-
$\reals$ with the cofinite topology is not first countable. Suppose that $N_1, N_2, \dots$ are neighborhoods of a point $x$. The complement of each $N_k$ is finite, so the union of the complements is countable, and there is a point $y \neq x$ in every $N_k$. Then $\reals \setdiff \setdef{y}$ is a neighborhood of $x$ that contains none of the sets $N_k$.
Properties
- Every metric space is first countable, because, at each point $x$, the open balls of radius $1/k$ centered at $x$ form a countable neighborhood basis.
- Every second-countable space is first countable.
- In a first-countable space $X$, a point $x$ is in the closure of a set $A \subseteq X$ if and only if some sequence in $A$ converges to $x$.
- A function on a first-countable space is continuous if and only if it is sequentially continuous.
Consider a topological space $X$. The space $X$ is second countable if there is a countable basis $\mathcal{B}$ for the topology of $X$. Such a basis $\mathcal{B}$ is a countable collection of open sets in $X$ such that, for every open set $U$ and every point $x \in U$, there is a set $B \in \mathcal{B}$ such that
\[x \in B \subseteq U.\]Examples
-
$\rationals$, as a subspace of $\reals$, is second countable, because the sets of rational numbers in open intervals with rational endpoints form a countable basis.
-
$\reals$ with the standard topology is second countable, because the open intervals with rational endpoints form a countable basis.
Non-examplesThings that may be mistaken for examples of this term.
-
$\reals$ with the discrete topology is not second countable. Each set $\setdef{x}$ is open, and its only nonempty open subset is itself, so every basis contains $\setdef{x}$ for every real number $x$. So every basis has uncountably many sets.
-
$\reals$ with the cofinite topology is not second countable, because it is not first countable.
Properties
- Every second-countable space is first countable, because the sets in a countable basis that contain a point $x$ form a countable neighborhood basis at $x$.
- Every subspace of a second-countable space is second countable.
- Every second-countable space is separable, meaning that it has a countable dense subset.
- A metric space is second countable if and only if it is separable.
Examples
| Example | countable | first countable | second countable | Why |
|---|---|---|---|---|
| The set of rational numbers, $\rationals$ | ✓ | ✓ | ✓ | first countable: $\rationals$, as a subspace of $\reals$, is first countable, because, at each point $q$, the sets of rational numbers in $(q - 1/k, q + 1/k)$ form a countable neighborhood basis.
second countable: $\rationals$, as a subspace of $\reals$, is second countable, because the sets of rational numbers in open intervals with rational endpoints form a countable basis.
|
| $\reals$ with the standard topology | ✗ | ✓ | ✓ | $\reals$ with the standard topology is uncountable, but it is second countable. Second countability limits the number of basic open sets, not the number of points. |
| $\reals$ with the discrete topology | ✗ | ✓ | ✗ | $\reals$ with the discrete topology is first countable but not second countable. Each point needs only one neighborhood, $\setdef{x}$, but a basis for the whole space needs uncountably many open sets. |
Missing example: the_sorgenfrey_line_the_reals_with_half_open | ||||
| $\reals$ with the cofinite topology | ✗ | ✗ | ✗ | The set of real numbers $\reals$, where a set is open if it is empty or its complement is finite. |
Missing example: the_arens_fort_space | ||||
Notes
- If a space is countable and first countable, then the space is second countable, because the union of countably many countable neighborhood bases, one at each point, is countable and forms a basis when the neighborhoods are open.
- The names come from Hausdorff, who called the two conditions the first and second axioms of countability.