Skip to content
Part IA Michaelmas, Lent Term

Surjections and Enumerability

Surjections

Definition

A function f:ABf : A \to B is surjective if:

bB.aA.f(a)=b\forall b \in B. \exists a \in A. f(a) = b

Every element of BB is “hit” by ff.

Notation

Write f:ABf : A \twoheadrightarrow B for a surjection.

Enumerability

Definition

A set AA is enumerable if there exists a surjection NA\mathbb{N} \twoheadrightarrow A.

A set is countable if it is finite or enumerable.

Intuition

An enumerable set can be “listed” in some order (possibly with repetition, possibly never ending).

The surjection e:NAe : \mathbb{N} \twoheadrightarrow A gives an enumeration: e(0),e(1),e(2),e(0), e(1), e(2), \ldots

Examples

  • N\mathbb{N}: enumerated by identity function
  • Z\mathbb{Z}: enumerated by e(0)=0e(0) = 0, e(2n+1)=n+1e(2n+1) = n+1, e(2n)=ne(2n) = -n for n>0n > 0
    • Enumeration: 0,1,1,2,2,3,3,0, -1, 1, -2, 2, -3, 3, \ldots
  • N×N\mathbb{N} \times \mathbb{N}: enumerated by Cantor pairing

Closure Properties

Subsets of Enumerable Sets

If AA is enumerable and BAB \subseteq A, then BB is countable.

Proof sketch: Let e:NAe : \mathbb{N} \twoheadrightarrow A. Define e:NBe' : \mathbb{N} \twoheadrightarrow B by skipping elements not in BB.

If B=B = \emptyset, it is finite (countable). If BB \neq \emptyset, enumerate by visiting each e(n)e(n) in order and including it if in BB.

Sum of Countable Sets

If AA and BB are countable, then A+BA + B is countable.

Proof: Interleave the enumerations.

Product of Countable Sets

If AA and BB are countable, then A×BA \times B is countable.

Proof: Given enumerations eAe_A, eBe_B, enumerate pairs via a zigzag path through N×N\mathbb{N} \times \mathbb{N}.

Cantor zigzag enumeration of N times N

The Axiom of Choice

Statement

Every surjection has a section.

f:AB.s:BA.fs=idB\forall f : A \twoheadrightarrow B. \exists s : B \hookrightarrow A. f \circ s = \text{id}_B

Equivalence

TFAE:

  1. Axiom of Choice (as above)
  2. Every family of non-empty sets has a choice function
  3. Every set can be well-ordered

For Countable Sets

For countable sets, enumerability provides an explicit section: given e:NAe : \mathbb{N} \twoheadrightarrow A and f:ABf : A \twoheadrightarrow B, define s(b)=e(min{n:f(e(n))=b})s(b) = e(\min\{n : f(e(n)) = b\}).

This is the canonical witness, avoiding AC.

Enumerability of Z\mathbb{Z}

Explicit Bijection

Define e:NZe : \mathbb{N} \to \mathbb{Z}:

e(n)={0n=0n+12n oddn2n>0 evene(n) = \begin{cases} 0 & n = 0 \\ \frac{n+1}{2} & n \text{ odd} \\ -\frac{n}{2} & n > 0 \text{ even} \end{cases}

This gives: e(0)=0e(0) = 0, e(1)=1e(1) = 1, e(2)=1e(2) = -1, e(3)=2e(3) = 2, e(4)=2e(4) = -2, \ldots

Check: This is a bijection, hence surjection.

Enumerable Implies Countable

Every enumerable set is countable by definition.

Non-empty countable sets are enumerable (finite = eventually constant enumeration).


Summary

  • Enumerable: surjection NA\mathbb{N} \twoheadrightarrow A exists
  • Countable: finite or enumerable
  • Countable sets closed under subsets, sums, products
  • Axiom of Choice: every surjection has a section
  • Z\mathbb{Z}, N×N\mathbb{N} \times \mathbb{N}, and Q\mathbb{Q} are countable