15 Cardinality
Let us recall our path so far. First, we studied sets and the set theory. Then, we related elements within the set itself, as well as across multiple sets. Then, we advanced our thoughts on relations to functions. However, we have been missing a concept of crucial importance so far – cardinality. In plain terms, cardinality refers to the number of elements of a given set. That being said, we might as well wonder, for example, should it not be the case the number of elements has to be the same for a bijection, and also for an inverse function, to be defined?
Let us begin with the definition of the equivalence of sets.
Finite Sets
Definition.
The sets and are equivalent, denoted
if there exists a bijection from to .
Naturally, it follows that
Theorem.
The equivalence of sets is an equivalence relation.
Viewing the cardinality as the number of elements in a given set, it is intuitive the equivalence of sets is indeed an equivalence relation. Let us formally define cardinality.
Definition. (Finite and Infinite Sets)
Let for . Then, a set is
* finite, if or there exists such that
* infinite, otherwise.
Definition. (Cardinality)
The cardinality or the cardinal number of a finite set is defined as the number such that
and denoted
In case , then .
A useful theorem that overlaps with the set theory is introduced as follows:
Theorem.
For finite sets and , is finite and
Here we introduce another theorem known as the Pigeonhole Principle. In colloquial terms, suppose there are pigeon holes, while there are pigeons. If the number of holes and pigeons are not the same, then naturally there would be extra, either holes or pigeons. Formally,
Theorem. (The Pigeonhole Principle)
For , where ,
If , then is not bijective.
Proof.
Our proof utilizes the principles of mathematical induction (PMI), with the proof by contradiction. Since , we begin with setting the statement of pigeon hole principle as .
1. (Basis Step)
When , then , for .
Therefore, is not bijective.
2. (Inductive Step)
Suppose the pigeonhole principle is true for .
Then, there is no bijection .
Now, let us suppose the negation of , i.e. there exists a bijection where .
Then,
This is contradiction, since .
Therefore, it must be the case our supposition is false, i.e. there does not exist a bijection where .
3. Therefore, we conclude is true for all by the principles of mathematical induction.
In fact, the pigeonhole principle is simply another way of stating the non-equivalence of sets.
Infinite Sets
Now we delve into infinite sets. Recall the definition of infinite sets in the earlier section that there does not exist a non-empty set such that for . In other words, there does not exist a constant to express the number of elements of such set . Then, we can view infinitely many number of elements as an increasing state. In fact, there are two kinds of infinitely many numbers – one is countably many, or denumerable, and the other is uncountably many. First, we introduce the definition of denumerability.
Definition.
A denumerable set is defined as
with
Let us explore the cardinality with an example.
Example. Prove the set is denumerable.
Proof.
Let and define by .
Suppose .
Then, .
Then, .
Therefore, is injective.
Let .
Choose , so that .
Then, .
Then, .
Then, .
Therefore, is surjective.
Therefore, is bijective.
Then, there exists a bijection .
Therefore, , and thus .
Now, let us introduce a bigger infinite number, continuum , well demonstrated by the famous Cantor’s Diagonal Argument.
Definition.
An uncountable cardinal number , continuum, is defined as
Theorem. (Cantor’s Diagonal Argument)
Let .
Note that
Therefore, .
Suppose .
Then, there exists a bijection .
Let us list the images of in normalized form:
Now, let us define , where
Then, .
However, for all , since differs from in the -th decimal place.
Therefore, .
This is a contradiction, and thus .
Then, , since .
Thinking of the cardinal number , in fact, every open interval is a continuum, summarized as:
Theorem.
for all .
Let us illustrate with an example.
Example. Continuity of Real Numbers
Prove .
Let us define a mapping by .\\
Then, on , this is a fractional linear transformation of one branch of the tangent function (Figure 1), and bijective to .\\
Therefore, .
Thus, the sets by cardinality can be summarized as follows [14]: