Cardinality

Cardinality

Cardinality is the mathematical concept that measures the size of sets. For finite sets, cardinality is simply the number of elements. For infinite sets, cardinality reveals surprising and counterintuitive distinctions between different sizes of infinity.

The theory of cardinality, developed by Georg Cantor in the late 19th century, revolutionized mathematics and established set theory as a foundation for modern mathematics.

Finite Cardinality

The cardinality of a finite set A is the number of distinct elements in A, denoted |A| or card(A).

For example, if A = {1, 2, 3, 4, 5}, then |A| = 5.

The empty set has cardinality zero: |{}| = 0.

The cardinality of a finite set A A is the number of distinct elements in A A, denoted |A| the absolute value of A or card(A) A.

For example, if A={1,2,3,4,5} A equals the set 1 comma 2 comma 3 comma 4 comma 5, then |A|=5 the absolute value of A equals 5.

The empty set has cardinality zero: |{}|=0 the absolute value of the empty set equals 0.

Comparing Cardinalities: Bijections

Two sets A A and B B have the same cardinality if there exists a bijection (one-to-one correspondence) between them. This means every element of A A is paired with exactly one element of B B, and vice versa.

We write |A|=|B| the absolute value of A equals the absolute value of B or A∼B A tilde B (A open paren A is equinumerous with B) B close paren when such a bijection exists.

This definition extends naturally to infinite sets, where counting elements directly is not possible.

Countably Infinite Sets

A set is countably infinite if it has the same cardinality as the natural numbers ℕ={0,1,2,3,…} the natural numbers equals the set 0 comma 1 comma 2 comma 3 comma dot dot dot. This cardinality is denoted aleph-null (aleph-nought):

|ℕ|=ℵ0 the absolute value of the natural numbers equals normal first transfinite cardinal sub 0

A set is countable if it is either finite or countably infinite.

Examples of Countably Infinite Sets

The integers ℤ the integers are countably infinite. A bijection with ℕ the natural numbers is:
0↦0,1↦1,−1↦2,2↦3,−2↦4,… 0 right arrow from bar 0 comma 1 right arrow from bar 1 comma negative 1 right arrow from bar 2 comma 2 right arrow from bar 3 comma negative 2 right arrow from bar 4 comma dot dot dot

The rational numbers ℚ the rational numbers are countably infinite. Cantor's diagonal argument constructs a bijection by listing rationals in a grid and traversing diagonally.

The set of algebraic numbers (roots of polynomials with integer coefficients) is countably infinite.

Any infinite subset of a countable set is countable.

Uncountable Sets

Cantors revolutionary discovery was that some infinite sets are strictly larger than the natural numbers. Such sets are called uncountable.

Cantors Diagonal Argument

Theorem: The real numbers ℝ the real numbers are uncountable.

Proof: Suppose, for contradiction, that the reals in [0,1] open bracket 0 comma 1 close bracket are countable. List them as decimals:

r1=0.⁢d11d12d13… r sub 1 equals 0 period d sub 11 d sub 12 d sub 13 dot dot dot

r2=0.⁢d21d22d23… r sub 2 equals 0 period d sub 21 d sub 22 d sub 23 dot dot dot

r3=0.⁢d31d32d33… r sub 3 equals 0 period d sub 31 d sub 32 d sub 33 dot dot dot

Construct a new number r r whose n n-th digit differs from dn⁢n d sub n n. Then r r differs from every rn r sub n in the list, contradicting our assumption that we listed all reals in [0,1] open bracket 0 comma 1 close bracket.

The cardinality of the reals is called the cardinality of the continuum:

|ℝ|=c=2ℵ0 the absolute value of the real numbers equals c equals 2 raised to the normal first transfinite cardinal sub 0 power

Cantors Theorem

Cantor's theorem states that for any set A A, the power set 𝒫⁢(A) script P times A (the set of all subsets of A A) has strictly greater cardinality:

|A|<|𝒫⁢(A)|=2|A| the absolute value of A is less than the absolute value of script P times A equals 2 raised to the the absolute value of A power

This means there is no largest cardinality. Given any set, we can construct a strictly larger one by taking its power set. This produces an infinite hierarchy of infinities.

Cardinal Arithmetic

Operations on sets induce operations on cardinalities:

Cardinal addition: |A|+|B|=|A∪B| the absolute value of A plus the absolute value of B equals the absolute value of A union B when A A and B B are disjoint.

Cardinal multiplication: |A|⋅|B|=|A×B| the absolute value of A times the absolute value of B equals the absolute value of A times B (Cartesian product).

Cardinal exponentiation: |A||B|= the absolute value of A raised to the the absolute value of B power equals|functions from B B to A| A vertical bar.

Properties of Infinite Cardinals

For infinite cardinals, arithmetic behaves differently from finite numbers:

ℵ0+ℵ0=ℵ0 normal first transfinite cardinal sub 0 plus normal first transfinite cardinal sub 0 equals normal first transfinite cardinal sub 0

ℵ0⋅ℵ0=ℵ0 normal first transfinite cardinal sub 0 times normal first transfinite cardinal sub 0 equals normal first transfinite cardinal sub 0

c+c=c c plus c equals c

c⋅c=c c times c equals c

Adding or multiplying an infinite cardinal by itself (or any smaller cardinal) gives the same cardinal. But exponentiation always increases: 2ℵ0>ℵ0 2 raised to the normal first transfinite cardinal sub 0 power is greater than normal first transfinite cardinal sub 0.

The Continuum Hypothesis

The Continuum Hypothesis (CH) states that there is no set whose cardinality is strictly between that of the integers and the reals:

ℵ1=2ℵ0=c normal first transfinite cardinal sub 1 equals 2 raised to the normal first transfinite cardinal sub 0 power equals c

where ℵ1 normal first transfinite cardinal sub 1 is defined as the smallest uncountable cardinal.

Remarkably, Gödel (1940 1940) and Cohen (1963 1963) showed that CH is independent of the standard axioms of set theory (ZFC): it can be neither proved nor disproved from these axioms.

Cardinality Comparisons

We write |A| the absolute value of A at most |B| the absolute value of B if there exists an injection from A A to B B (A A embeds into B B).

We write |A|<|B| the absolute value of A is less than the absolute value of B if |A| the absolute value of A at most |B| the absolute value of B but |A| the absolute value of A is not equal to |B| the absolute value of B.

Schroder-Bernstein Theorem

If |A| the absolute value of A at most |B| the absolute value of B and |B| the absolute value of B at most |A| the absolute value of A, then |A|=|B| the absolute value of A equals the absolute value of B. This theorem allows us to prove two sets have equal cardinality by finding injections in both directions.

Applications

Cardinality arguments appear throughout mathematics. In analysis, the uncountability of the reals implies that almost all real numbers are transcendental (since algebraic numbers are countable).

In computability theory, the uncountability of real numbers compared to the countability of computable numbers shows that most reals are not computable.

Key Results Summary

The integers, rationals, and algebraic numbers are all countable with cardinality ℵ0 normal first transfinite cardinal sub 0.

The reals, irrationals, transcendentals, and any interval of reals all have cardinality continuum.

The set of all functions from ℕ the natural numbers to ℕ the natural numbers has cardinality continuum.

The power set of the reals, 𝒫⁢(ℝ) script P times open paren the real numbers close paren, has cardinality 2continuum 2 raised to the continuum power, strictly larger than the continuum.

Historical Significance

Cantors work on cardinality was initially controversial. His proof that the reals are uncountable showed for the first time that not all infinities are equal. This discovery transformed mathematical thinking about infinity and set theory.

David Hilbert called Cantors work a paradise from which mathematicians would never be driven. Despite early opposition, Cantors ideas became foundational to modern mathematics.

Cardinality remains central to set theory, logic, and the foundations of mathematics, providing a rigorous way to compare the sizes of infinite collections.

Ordinal Numbers

Related to cardinality is the concept of ordinal numbers, which describe the order type of well-ordered sets. While cardinal numbers measure how many elements are in a set, ordinal numbers capture the structure of how elements are arranged.

The study of ordinals and cardinals together forms the foundation of transfinite mathematics and continues to be an active area of research in set theory.