Skip to main content

Section 1.8 Cardinality

Remark on this section.

This section has been added mid-semester in response to a request on the Week 4 Questionnaire. If you have any feedback on it, or have spotted a typo, please let me know.
While cardinality is not a central topic for us, there are several places (e.g. Definition 2.5 and Chapter 6) where the distinction between finite, countable, and uncountable sets is important. This short section attempts to summarise everything you might need or want to know about cardinality for this unit.

Definition 1.64. Cardinality.

Let A,B be sets.
  1. We say that A and B have the same cardinality if there is a bijection between them.
  2. We say that A has cardinality less than or equal to the cardinality of B if there exists an injective mapping AB.
Some authors write these statements as |A|=|B| and |A||B|, respectively.

Definition 1.65. Finite sets.

A set S is called finite if it has the same cardinality as {1,,N} for some NN. In this case some authors write |S|=N. Sets which are not finite are called infinite.

Definition 1.66. Countable and uncountable.

A set S is called countable if it has cardinality less than or equal to that of the natural numbers N. Countable infinite sets are called countably infinite, while sets which are not countable are called uncountable.
Thus every set is either finite, countably infinite, or uncountable.

Example 1.67.

  • N, Z and Q are all countably infinite.
  • Any non-empty interval of real numbers is uncountable.
  • R and C are uncountable.

Example 1.71.

Since Z is countable, so is Z2=Z×Z and, by induction, Zn for any nN. One way to prove that Q is countable is to identify it with a subset of Z×Z.

Example 1.73.

For any nN, the set Sn of all subsets of N with cardinality n is countable. Thus the set S=nNSn of all finite subsets of N is also countable.