Maths WorkshopMaths problems with full solutions
Exercise 1565Logic, sets and proofs › Countability and cardinalityL1Added 3 Nov 2026

Countable union of countable sets

#countable union#diagonalization#countable

Statement

Show that a countable union of countable sets is countable.

Hint

Enumerate the sets An={an,1,an,2,…}A_n=\{a_{n,1},a_{n,2},\ldots\}; enumerate pairs (n,k)(n,k) diagonally.

Show solutionHide solution

Solution

Enumeration. For each nn, enumerate An=(an,k)k≥1A_n=(a_{n,k})_{k\ge1}. The diagonal enumeration of N2\mathbb{N}^2 gives a surjection N→⋃nAn\mathbb{N}\to\bigcup_n A_n.

Countable. Image of a countable set under a function is countable.

Conclusion. ⋃nAn\bigcup_n A_n is countable.