Cardinality and finite sets [01GE]
- November 15, 2026
- Marcelo Fiore, Jon Sterling
Definition Cardinality [01GD]
- November 15, 2026
- Marcelo Fiore, Jon Sterling
The cardinality of a set specifies its size; the cardinalities of sets can be thought of as an extended number system that includes the natural numbers but contains additional “numbers” corresponding to the sizes of infinite sets.
Typical notations for the cardinality of a set S are \mathord {\#}{S} or \lvert S\rvert .
Finite cardinality [01GG]
- November 15, 2026
- Marcelo Fiore, Jon Sterling
When the cardinality of a set is a natural number, then we say that the set is finite. In other words, a finite set has finite cardinality.
What is cardinality, really? [01GF]
- November 15, 2026
- Jon Sterling
At this stage we have not yet learned enough to give a precise definition for cardinality in general, beyond vaguely gesturing at “infinite numbers”. The proper definition will be that a cardinality is an equivalence class of sets under the relation of isomorphism, but we will not treat those concepts for several more lectures. One subtlety is that, just like there is no set of all sets, there is no set of all cardinalities; cardinality is still a sensible concept, but its constituents are too numerous to form a set.
Example Cardinality of the empty set [01GH]
- November 15, 2026
- Marcelo Fiore, Jon Sterling
The cardinality of the empty set is zero, i.e. we have \mathord {\#}{\varnothing } = 0.
Example The standard finite sets [01GJ]
- November 15, 2026
- Marcelo Fiore, Jon Sterling
For any n:\mathbb {N}, we will write {\mathopen {}\left [n\right ]\mathclose {}} \coloneqq {\mathopen {}\left \{x:\mathbb {N}\,\middle \vert \,x<n\right \}\mathclose {}} for the “standard” finite set with cardinality n.
Warning Cardinality loses information! [01GK]
- November 15, 2026
- Jon Sterling
The reason we used the word “standard” in defining the standard finite sets is that many distinct sets can have the same cardinality. For example, {\mathopen {}\left \{x+1\,\middle \vert \,x \in {\mathopen {}\left [n\right ]\mathclose {}}\right \}\mathclose {}} is a subset of \mathbb {N} that has cardinality n, but it is not the same subset as {\mathopen {}\left [n\right ]\mathclose {}}. It is, however, in bijection with \mathbb {N}.