Counting Ordered Pairs

The set of ordered pairs of elements of a countable set is countable.

Proof

Every integer is uniquely represented in the form 2pq, where p ≥ 0, q ≥ 1, q an odd number.

For a pair (m, n) ∈ N×N, where N is the set of natural numbers, define

f(m, n) = 2m - 1(2n - 1).

Function f is a bijection from N×N to N. (It is obviously 1-1. It is onto because of the sentence that opens the proof.)

That's it.

References

  1. DAVID M. BRADLEY, Counting Ordered Pairs, Math magazine, 83 (2010) 302

Countability of Rational Numbers

|Contact| |Front page| |Contents| |Up| |Algebra|

Copyright © 1996-2018 Alexander Bogomolny

71534844