Overview
Cardinality extends counting beyond finite collections. Instead of placing two collections side by side geometrically, it asks whether their elements can be paired without omissions or repetitions. Infinite sets make this viewpoint indispensable: a proper subset can have the same cardinality as the whole set.
Prerequisites
Understand injective, surjective, and bijective functions. A bijection pairs every input with exactly one output and reaches the entire codomain. Take to start at zero. This article uses the usual ZFC background when referring to every cardinal as an initial ordinal.
Definition and conventions
Sets and have the same cardinality, written , when a bijection exists. Write when an injection exists. In ZFC, can be represented by the least ordinal bijective with . The comparison language itself can be used before choosing such representatives.
A set is countable here when it is finite or bijective with . Some texts reserve “countable” for the infinite case; “countably infinite” removes this ambiguity. Countability says a listing exists, not that a computable listing has been supplied.
Intuition
Moving elements farther apart changes their spacing but not their number of possible matches. The map pairs with its multiples of three. The infinite case therefore breaks the finite intuition that deleting elements must decrease size.
Examples and non-examples
The set has cardinality : the displayed map is injective, and every member of is for a unique . The same formula regarded as a map is not surjective, since it misses one. The codomain matters.
The power set is not countable. Given any proposed listing , form . At index , the sets and disagree about membership of , so the listing misses .
Important properties
The Cantor–Bernstein theorem turns injections in both directions into a bijection, with no axiom of choice needed for that theorem. A constructive proof partitions the two sets into chains initiated outside one image and uses one injection on some chains and the inverse of the other on the rest.
Cantor’s argument works for every set : no map is surjective. The singleton map provides an injection the other way, so .
Connections and further reading
Cardinal size differs from order type: and have equal size but different usual order structures. The continuum hypothesis concerns a possible cardinal between the natural numbers and their power set. Read Logic and Proof, §22.1–§22.5 and Li, “基数”.