Lably
Skip to content

Cardinal number

Size of a possibly infinite set

  • 15 min read
  • 8 chapters

Related on Lably

Through Mathematics, Number and Cardinality

Cardinality is defined in terms of bijective functions. Two sets have the same cardinality if, and only if, there is a one-to-one correspondence (bijection) between the elements of the two sets. The cardinality of a finite set can be identified with a natural number, which can be found simply by counting its elements. For example, the sets ⁠{1,2,3}⁠ and ⁠{4,5,6}⁠ both have the same cardinality 3, as evidenced by the bijection ⁠{1↦4,2↦5,3↦6}⁠.

The behavior of cardinalities of infinite sets is more complex. For example, there exists a bijection between the set of all natural numbers ⁠N⁠ and the set of all rational numbers ⁠Q⁠, and thus ⁠|N|=|Q|⁠ even though ⁠N⁠ is a proper subset of ⁠Q⁠—something that cannot happen with proper subsets of finite sets. However, a fundamental theorem due to Georg Cantor shows that it is possible for two infinite sets to have different cardinalities, and in particular the cardinality of the set of real numbers ⁠R⁠ is greater than the cardinality of ⁠N⁠.

The cardinality of ⁠N⁠ is usually denoted by ⁠ℵ0⁠ (aleph-null), since it is the smallest aleph number. The properties of other aleph numbers and of infinite cardinal numbers in general depend on statements independent of Zermelo–Fraenkel set theory, such as the axiom of choice and the continuum hypothesis. For example, all infinite cardinal numbers are aleph numbers if and only if the axiom of choice is true.

Cardinality is studied for its own sake as part of set theory. It is also a tool used in branches of mathematics including model theory, combinatorics, abstract algebra and mathematical analysis. In category theory, the cardinal numbers form a skeleton of the category of sets.

Motivation

A natural number can be used for two purposes: to describe the size of a set, or to describe the position of an element in a sequence. These two notions diverge when generalized to infinite sets and sequences, with the position aspect leading to ordinal numbers, and the size aspect leading to cardinal numbers.

When considering the size of a set, the identities of individual members should be abstracted away; changing these individual members should not affect the size of the set, as long as they remain distinct from each other. For example, the set ⁠{1,2,3}⁠ has three elements, so when one replaces its members following the mapping ⁠{1↦4,2↦5,3↦6}⁠, the resulting set ⁠{4,5,6}⁠ still has three elements. It is reasonable to further postulate that two sets ⁠X⁠ and ⁠Y⁠ have the same size if and only if such a mapping—a bijection—exists from ⁠X⁠ to ⁠Y⁠. This is exactly how the formal concept of cardinality is defined.

Sameness of cardinality is an equivalence relation. It is sometimes referred to as equipotence, equipollence, or equinumerosity. It is thus said that two sets with the same cardinality are, respectively, equipotent, equipollent, or equinumerous. Every equivalence class of sets under equinumerosity corresponds to a cardinal number.

For finite sets, cardinal numbers defined this way agree with the intuitive notion of numbers of elements (as a natural number), but infinite sets exhibit more complex behaviors. A classic example is Hilbert's paradox of the Grand Hotel, which uses the following mapping:

1 ↦ 2
2 ↦ 3
3 ↦ 4
...
n ↦ n + 1
...

This is a bijection between the sets ⁠{1,2,3,...}⁠ and ⁠{2,3,4,...}⁠, and thus they have the same cardinality ⁠ℵ0⁠, despite the second being a proper subset of the first. Therefore the intuition that the size of a proper subset of ⁠X⁠ is always strictly less than the size of ⁠X⁠ is usually only valid for finite sets. Conversely, this also shows that ⁠ℵ0+1=ℵ0⁠ (the cardinality of ⁠{2,3,4,...}⁠ plus the cardinality of ⁠{1}⁠ is equal to the cardinality of ⁠{1,2,3,...}⁠), and thus the "plus one" operation does not always construct a new cardinal number as it does for natural numbers.

However, Cantor's diagonal argument shows that the power set operation always results in a strictly greater cardinality, allowing one to construct a larger cardinal number from any infinite cardinal number. For example, it can be shown that the cardinality of the set of real numbers is equal to ⁠2ℵ0⁠, and thus there are strictly more real numbers than natural numbers.

Sign in to keep reading

7 more chapters are free with a Lably account.

More in Foundations