cardinality2

Set cardinality

  • Cardinality

  • Infinite and finite set

  • Set equality

  • Set equivalence

  • Enumerable and inenumerable set

Set equivalence

Two sets are equal, X=YX=Y, iff they have identical elements, or formally, if they are subsets of each other. However, two sets are equivalent iff they have the same cardinality. Set equivalence is denoted as XYX\simeq Y or XYX\sim Y. Set inequivalence is denoted as X≄YX\not\simeq{Y} or X≁YX\not\sim Y.

To see if two sets, XX and YY, have the same cardinality, you don't need to count their elements - you can just couple their elements: pairing each element xx of the set XX with an element yy of a set YY so that every element belongs to exactly one pair, (x,y)(x,y).

If no unpaired element remains, such pairing of elements from two sets is called one-to-one (1-1) or correspondence.

Bijection

Sets XX and YY are equivalent iff they have the same cardinality, that is, if there exists a bijection function, f:XYf:X\to Y, from the elements of XX to those of YY.

Bijection is a function (and all functions are relations) that associates each element of XX to exactly one element of YY, such that all elements of YY are associated.

Countable set

Georg Cantor introduced the term countable set, contrasting sets that are countable with those that are uncountable. Today, countable sets form the foundation of a branch of mathematics called discrete mathematics.

A countable set is a set with the same cardinality as some subset of the set of natural numbers.

A countable set is either countably finite or countably infinite set. Whether finite or infinite, the elements of a countable set can always be counted one at a time and, although the counting may never finish, every element of the set is associated with a unique natural number.

A set SS is countable if there exists an injective function ff from SS to the set of natural numbers, N\mathbb N.

If such injective function is also surjective (and thus bijective), then the set SS is called countably infinite.

A set is countably infinite if it has one-to-one correspondence with the set of natural numbers.

Cardinality of infinity

In order to figure out the cardinality of some (possibly infinite) set, we try to find a one-to-one correspondance between that set and the set of natural numbers - such a set is enumerable if the correspondance exists.

To count a set SS is to establish a bijection function between the set SS and an initial segment Nn\mathbb{N_n} of the set of natural numbers, N\mathbb{N}; the initial segment of the set of natural numbers (excluding zero) is denoted by NnN_n.

If SNnS\simeq \mathbb{N_n}, then a set SS is countable finite and it has nn elements. If SNS\simeq \mathbb{N}, then a set SS is countably infinite.

Between 1874 and 1897, Cantor was the first to work on the task of finding a one-to-one correspondence between number infinite sets (integers, rationals, reals, etc.) and the set of natural numbers. Infinite sets that have this bijection function are countable infinite sets, those that don't (like the set of real numbers) are called uncountable infinite sets.

For example, the set of squares of natural numbers can be placed in a 1-1 correspondance with the set of natural numbers themselves:

123n149n21 \quad 2\quad 3\quad \dots\quad n \\ 1 \quad 4\quad 9\quad \dots\quad n^2

Infinite set is enumerable (denumerable, countable) if it can be placed in a one-to-one correspondance with the set of natural numbers.

To show that a set is enumerable we present a bijection function that indicates how its members, without repetitions, can be placed in an "infinite" list. That way the first element of an infinite set will be at position 1, the second at position 2, etc; each element will have its index.

The set of integers can be enumerated by listing them in the following order:

0, 1,1, 2,2, 0,\ 1, -1,\ 2, -2,\ \dots.

Also enumerable is the set of rational numbers. The way to enumerate rationals is fairly complex (criss-cross path in a matrix), so here is the starting sequance of the positive rationals only:

1,2,12,13,3,4,32,23,14,15,5,6,52,43,34,25,16,17,35,53,7,8,72,54,45,27,18,19,37,73,9,1, 2 ,\frac{1}{2}, \frac{1}{3}, 3, 4, \frac{3}{2}, \frac{2}{3}, \frac{1}{4}, \frac{1}{5}, 5, 6, \frac{5}{2}, \frac{4}{3}, \frac{3}{4}, \frac{2}{5}, \frac{1}{6}, \frac{1}{7}, \frac{3}{5}, \frac{5}{3}, 7, 8, \frac{7}{2}, \frac{5}{4}, \frac{4}{5}, \frac{2}{7}, \frac{1}{8}, \frac{1}{9}, \frac{3}{7}, \frac{7}{3}, 9, \dots

1/1   1/2 → 1/3   1/4 → 1/5 ...
 ↓  ↗     ↙     ↗     ↙
2/1   2/2   2/3   2/4 ...
    ↙     ↗     ↙
3/1   3/2   3/3 ...
 ↓  ↗     ↙
4/1   4/2 ...
...

Comparing sets

While the cardinality of a finite set is just the count of its elements, extending this notion to infinite sets starts by defining the notion of comparison between arbitrary, possibly infinite, sets.

A=B|A| = |B| Two sets AA and BB have the same cardinality if there's a bijection from AA to BB. Such sets are equivalent (equinumerous, equipotent, equipollent), denoted by ABA \simeq B (or ABA \sim B or ABA \approx B).

AB|A| \le |B| Cardinality of AA has cardinality less than or equal to BB if there's an injective function from AA into BB.

A<B|A| \lt |B| Cardinality of AA is strictly less than BB if there's an injective (but no bijective) function, from AA to BB.

Schröder–Bernstein theorem If AB|A| \le |B| and BA|B| \le |A| then A=B|A| = |B|

The axiom of choice is equivalent to the statement that AB|A| \le |B| and BA|B| \le |A| for every A,BA, B.

Equivalence

The study of cardinality is often called equinumerosity (equalness-of-number); the terms equipollence (equalness-of-strength) and equipotence (equalness-of-power) are also used.

The statement that two sets are equinumerous is denoted: ABA\approx B or ABA\sim B or A=B|A|=|B|.

Equinumerosity has the characteristic properties of an equivalence relation i.e. reflexivity, symmetry and transitivity.

Reflexivity Given a set A, the identity function on A is a bijection from A to itself, showing that every set A is equinumerous to itself: A ~ A.

Symmetry For every bijection between two sets A and B there exists an inverse function which is a bijection between B and A, implying that if a set A is equinumerous to a set B then B is also equinumerous to A: A ~ B implies B ~ A.

Transitivity Given three sets A, B and C with two bijections f : A → B and g : B → C, the composition g ∘ f of these bijections is a bijection from A to C, so if A and B are equinumerous and B and C are equinumerous then A and C are equinumerous: A ~ B and B ~ C together imply A ~ C.

Cardinal numbers

Cardinal numbers

Apart from the functional definition (given above), another way to define cardinality is to define it as a specific object.

The relation of having the same cardinality is called equinumerosity, and this is an equivalence relation on the class of all sets.

The equivalence class of a set A under this relation then consists of all those sets which have the same cardinality as A.

There are two ways to define the cardinality of a set:

  • The cardinality of a set A is defined as its equivalence class under equinumerosity.

  • A representative set is designated for each equivalence class. The most common choice is the initial ordinal in that class. This is usually taken as the definition of cardinal number in axiomatic set theory.

Assuming axiom of choice (AC), the cardinalities of the infinite sets are denoted 0<1<2<\aleph_{0} \lt \aleph_{1} \lt \aleph_{2} \lt \ldots

For each ordinal α,α+1\alpha, \aleph_{\alpha+1} is the least cardinal number greater than α\aleph_{\alpha}.

Last updated