Search the corpus

    Countability of function spaces and subsets of $\mathbb{Z}_+$

    E-MUN-7-5

    Area
    Topology
    Topics
    Countable and Uncountable Sets
    Status
    draft

    Determine, for each of the following sets, whether or not it is countable. Justify your answers.

    1. The set \(A\) of all functions \(f:\{0,1\} \to \mathbb{Z}_{+}\) .

    2. The set \(B_{n}\) of all functions \(f:\{1,\ldots ,n\} \to \mathbb{Z}_{+}\) .

    3. The set \(C = \bigcup_{n\in \mathbf{Z}_{+}}B_{n}\) .

    4. The set \(D\) of all functions \(f: \mathbb{Z}_{+} \to \mathbb{Z}_{+}\) .

    5. The set E of all functions \(f : Z_{+} \to \{0, 1\}\) .

    6. The set \(F\) of all functions \(f: \mathbb{Z}_{+} \to \{0,1\}\) that are “eventually zero.” [We say that \(f\) is eventually zero if there is a positive integer \(N\) such that \(f(n) = 0\) for all \(n \geq N\) .]

    7. The set \(G\) of all functions \(f: \mathbb{Z}_{+} \to \mathbb{Z}_{+}\) that are eventually 1.

    8. The set \(H\) of all functions \(f: \mathbb{Z}_{+} \to \mathbb{Z}_{+}\) that are eventually constant.

    9. The set \(I\) of all two-element subsets of \(\mathbb{Z}_{+}\) .

    10. The set \(J\) of all finite subsets of \(\mathbb{Z}_{+}\) .

    Solution
    1. \(A\) is countable: a function \(\{0,1\}\to\mathbb Z_+\) is determined by the pair \((f(0),f(1))\in\mathbb Z_+^2\), and \(\mathbb Z_+^2\) is countable.

    2. Each \(B_n\) is countable because \[ B_n\cong(\mathbb Z_+)^n, \] a finite product of countable sets.

    3. \(C=\bigcup_{n\ge1}B_n\) is countable as a countable union of countable sets.

    4. \(D=(\mathbb Z_+)^\omega\) is uncountable. Indeed, the map \[ E=\{0,1\}^\omega\hookrightarrow D, \qquad (x_n)\mapsto(x_n+1) \] is injective, and \(E\) is uncountable by the diagonal theorem.

    5. \(E=\{0,1\}^\omega\) is uncountable by Theorem 7.7.

    6. \(F\) is countable. Let \(F_N\) consist of functions that vanish for all \(n\ge N\). Such a function is determined by its first \(N-1\) binary values, so \(F_N\) is finite. Since \[ F=\bigcup_{N\ge1}F_N, \] \(F\) is countable.

    7. \(G\) is countable. Let \(G_N\) consist of functions with \(f(n)=1\) for all \(n\ge N\). The first \(N-1\) values are arbitrary positive integers, so \[ G_N\cong(\mathbb Z_+)^{N-1} \] is countable. Hence \(G=\bigcup_NG_N\) is countable.

    8. \(H\) is countable. For \(N,c\in\mathbb Z_+\), let \(H_{N,c}\) consist of functions with \(f(n)=c\) for all \(n\ge N\). Each \(H_{N,c}\cong(\mathbb Z_+)^{N-1}\) is countable, and \[ H=\bigcup_{N,c\in\mathbb Z_+}H_{N,c} \] is a countable union of countable sets.

    9. \(I\) is countable. The map \[ \{(m,n)\in\mathbb Z_+^2:m<n\}\to I, \qquad (m,n)\mapsto\{m,n\} \] is bijective, and the domain is a subset of the countable set \(\mathbb Z_+^2\).

    10. \(J\) is countable. Let \(J_n\) denote the family of subsets having at most \(n\) elements. The map \[ (\mathbb Z_+)^n\to J_n, \qquad (a_1,\ldots,a_n)\mapsto\{a_1,\ldots,a_n\} \] is surjective after allowing repetitions (with the empty set handled separately), so \(J_n\) is countable. Since \[ J=\{\varnothing\}\cup\bigcup_{n\ge1}J_n, \] \(J\) is countable.