A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Set-Theoretic Cardinality

College Depth 84 in the knowledge graph ☐ I know this ☆ Set as goal
353topics build on this
428prerequisites beneath it
See this on the map →
Cantor's TheoremInfinite Cardinal Numbers→→Aleph NumbersIntroduction to Descriptive Set Theory+1 more
cardinality countability bijection Hilbert's hotel diagonalization uncountability equinumerosity

Core Idea

Two sets A and B have the same cardinality (|A| = |B|) if and only if there exists a bijection between them — a function that is both injective and surjective. A set is countably infinite if it has the same cardinality as the natural numbers ℕ, and countable if it is either finite or countably infinite. Hilbert's hotel illustrates the surprising properties of countable infinity: the integers, rationals, and even ℕ × ℕ are all countable despite appearing 'larger' than ℕ. Cantor's diagonal argument then shatters the intuition that all infinite sets are the same size by proving that the reals (equivalently, P(ℕ)) are uncountable. Within ZFC, the Cantor-Bernstein-Schroeder theorem provides a powerful tool: if |A| ≤ |B| and |B| ≤ |A| (injections in both directions), then |A| = |B|.

How It's Best Learned

Construct explicit bijections: ℕ → ℤ (dovetail positive and negative), ℕ → ℚ (Cantor's zigzag through a grid), ℕ → ℕ × ℕ (pairing function). Then work through the diagonal argument to prove [0,1] is uncountable. The contrast — building bijections for 'large-looking' countable sets, then failing for the reals — drives home what cardinality really measures. Finally, prove the Cantor-Bernstein theorem to see that cardinality comparison is well-behaved.

Common Misconceptions

Explainer

Cardinality is the rigorous answer to the question "how many elements does a set have?" For finite sets the answer seems obvious — count them. But counting is really just constructing a bijection to {1, 2, ..., n}. Cardinality generalizes this idea: two sets have the same cardinality if and only if there exists a bijection (a one-to-one correspondence) between them. This definition sidesteps the question "how many?" entirely and replaces it with the question "can they be paired up perfectly?"

The power of the definition becomes clear when you apply it to infinite sets. From your work with infinite cardinal numbers, you know that "infinity" is not a single thing. But the bijection criterion lets you compare infinite sets precisely. The integers ℤ seem much larger than the naturals ℕ — after all, ℤ includes all negative numbers too. Yet the function f(n) = (n/2 for even n, -(n+1)/2 for odd n) constructs a perfect pairing: 0↔0, 1↔−1, 2↔1, 3↔−2, ... This is Hilbert's Hotel made formal: a hotel with infinitely many rooms can always accommodate new guests by shifting everyone down. The takeaway is that countably infinite sets can absorb new elements or even finitely many copies of themselves without changing cardinality. The rationals are countable too — Cantor's zigzag argument through the grid ℕ × ℕ lists every positive fraction exactly once, showing |ℚ| = |ℕ|.

Then comes Cantor's diagonal argument, which you already know through Cantor's theorem. Applied to the real numbers, it shows that no matter how you try to list all real numbers in [0,1] — even infinitely — you can always construct a real number not on the list by differing from the nth entry in the nth decimal place. This proves the reals are uncountable: |ℝ| > |ℕ|. The rationals and reals both look like "lots of numbers," but they belong to fundamentally different size classes. There are multiple infinite cardinalities, forming a strict hierarchy.

The Cantor-Bernstein-Schroeder theorem is the tool that makes cardinality comparison practical. Rather than constructing an explicit bijection — which can be fiendishly difficult — you can establish |A| = |B| by finding an injection from A into B and a separate injection from B into A. The theorem guarantees these two one-way matchings can be woven into a two-way bijection, even though the proof is non-constructive. Think of it as the cardinality analogue of the squeeze theorem: bounding |A| ≤ |B| ≤ |A| pins down equality. This technique is indispensable for proving, for example, that |(0,1)| = |ℝ| by embedding each into the other.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Factorial → Permutations → Combinations → Counting Principles: Addition and Multiplication Rules → Introduction to Graph Theory → Propositional Logic Foundations → Logical Equivalences → Boolean Algebra → Introduction to Propositional Logic → Introduction to Predicate Logic (First-Order Logic) → First-Order Logic Syntax → ZFC Axioms Overview → Axiom Schema of Separation → Axiom Schema of Replacement → Von Neumann Ordinals → Hereditarily Finite Sets → Recursive Definitions on Finite Sets → Well-Founded Relations and Transfinite Recursion → The Axiom of Choice and Equivalent Formulations → Axiom of Choice → Well-Ordering Theorem → Infinite Cardinal Numbers → Cantor's Theorem → Set-Theoretic Cardinality

Longest path: 85 steps · 428 total prerequisite topics

Prerequisites (2)

Leads To (3)