Cardinality of sets is a basic concept of set theory, but Georg Cantor extended the range of the idea when he applied it to infinite sets. Cardinality, simply explained, is just the count of elements in a set. The cardinality is expressed as a natural number, such as two, or five. It can also be zero for the empty set, even though zero is not usually considered a natural number. The integers make a wider set, consisting of all the natural numbers, and all the negative numbers. Natural numbers and integers are all “whole” numbers (numbers having no fractional part).

There is a cute little proof I worked up (thought of it myself, I did) to show that the cardinality of the natural numbers is exactly the same as the cardinality of the integers, and it goes like this:

Make a two-column list. In the left column, list the row number, starting at 1. In the right column, if n is odd, write (n+1)/2. If n is even, write -(n/2). That is, let the right column list the natural numbers and their corresponding negative integers, in alternating succession. In the left column, keep a tally of the entries.

n Value
1 1
2 -1
3 2
4 -2
5 3
6 -3

Clearly the list can be extended ad infinitum, and it establishes that the natural numbers are sufficient to count all the positive and negative whole numbers.

It’s also clear from the list above that we can set the natural numbers into a one-to-one correspondence with the odd numbers. But the odd numbers are a subset of the natural numbers. Therefore the set of naturals contains itself.

There is another interesting result which comes from Cantor himself: The cardinality of the set of natural numbers I, called Aleph-null, is a natural number, and it is the smallest infinite natural number. In other words, the set of integers has a cardinality, which is the number of integers in the set, and that number is Aleph-null. But that set has an infinite number of members. Therefore Aleph-null is a natural number of infinite magnitude.

We had a discussion about this in #philosophical several days ago, and it upset some people inordinately, to claim that some integers have an infinite magnitude. I don’t know why, unless it was some confusion of the set of natural numbers with things that physically exist.