Countable set · Exercise-COUNTABLE-SET-007

Step-by-step solved exercise: Cardinals

Is \(\displaystyle \mathbb{N}\times\mathbb{N}\) countable?

Step by step with comments, a check and common mistakes.

Step-by-step solution

  1. A product of countable sets can be handled by enumerating its pairs.

    \[\displaystyle \mathbb{N}\times\mathbb{N}=\{(m,n): m,n\in\mathbb{N}\}\]
  2. The pairs with \(\displaystyle m+n=k\) form a finite set, so we can traverse \(\displaystyle \mathbb{N}\times\mathbb{N}\) diagonal by diagonal.

    \[\displaystyle \{(m,n): m+n=k\} \text{ finito para cada } k\]
  3. This gives a bijection from \(\displaystyle \mathbb{N}\times\mathbb{N}\) onto \(\displaystyle \mathbb{N}\), namely Cantor's function.

    \[\displaystyle f(m,n)=\frac{(m+n)(m+n+1)}{2}+n\]
  4. Therefore, \(\displaystyle \mathbb{N}\times\mathbb{N}\) is countable: the product of two countable sets is also countable.

Answer

Yes: the product of two countable sets is also countable.

🎯 Build my path to this exercise