Explainer
Infinity and set theory: Cantor, ZFC and the continuum hypothesis
Set theory is the mathematics of collections, and with the ZFC axioms it serves as the standard foundation for the rest of mathematics.[1][2] In 1874 Georg Cantor showed that the real numbers cannot be matched one-to-one with the whole numbers, so some infinities are bigger than others.[3] His continuum hypothesis, that no infinity lies strictly between those two, was shown by Gödel (1938) and Cohen (1963) to be neither provable nor disprovable from the standard axioms.[4]
This page is part of the mathematics research crash course and follows prime numbers. It assumes you know what a proof and an axiom are; see what a mathematical proof is. Choose a reading level in each section.
Sets, and how to compare infinite ones
A set is a collection of things, called its members or elements.[1] For finite sets, size just means counting. For infinite sets, counting never ends, so Georg Cantor used a different test. Two sets are the same size if their members can be paired off one-to-one, with nothing left over on either side.[5]
That test gives surprising answers. The whole numbers 0, 1, 2, 3 and so on can be paired with all the integers, including the negative ones, and even with all the positive fractions. That works even though fractions fill in the gaps between whole numbers. Any set that can be paired with the whole numbers in this way is called countably infinite.[5][6]
Cantor took the existence of a bijection as the criterion for equal size, which compares infinite sets without defining their size.[5] A set is countably infinite if it is in bijection with ℕ. ℤ and the nonnegative rationals are countably infinite.[5][6]
Some infinities are bigger
Cantor’s big discovery, published in 1874, was that the real numbers, which include every point on the number line, cannot be paired with the whole numbers. Whatever pairing you try, some real numbers are left out. So there is more than one size of infinity.[3]
He went further. For any set, the collection of all its subsets is strictly bigger than the set itself. Repeating that step builds an endless ladder of ever larger infinities.[7]
Cantor (1845-1918) is regarded as the founder of set theory. In his own time many mathematicians doubted that these infinite sizes mattered.[8]
In 1874 Cantor showed that the algebraic numbers are countable but the reals are not, which established the higher infinite.[3] Cantor’s theorem gives |A| < |P(A)| for every set A. Hence P(ℕ) and ℝ are uncountable, and iterating the power set yields an unbounded hierarchy of infinite cardinalities.[7]
Paradoxes and the ZFC axioms
Early set theory assumed that any property defines a set: the set of red things, the set of even numbers, and so on. That assumption leads to Russell’s paradox. Take the set of all sets that are not members of themselves. Is it a member of itself? If it is, it is not, and if it is not, it is. The way out is to accept that some collections, such as the collection of all sets, are too big to be sets. These are called proper classes.[9]
To put set theory on firm ground, Zermelo wrote down axioms for it in 1908, and later work by Skolem and Fraenkel completed them. With the axiom of choice added, this system is known as ZFC.[10] Set theory is now the standard foundation for mathematics: every mathematical object can be viewed as a set, and the ZFC axioms appear sufficient to derive essentially all of mathematics.[2]
Unrestricted comprehension, the assumption that every property determines a set, yields Russell’s paradox, and collections such as V, Ord and Card are therefore treated as proper classes.[9] Zermelo’s 1908 axiomatisation blocked the paradox with Separation. Skolem and Fraenkel made Separation first-order and added Replacement, which gave ZF; ZFC adds Choice.[10] Every mathematical object can be construed as a set, and every theorem can in principle be deduced in first-order logic from the axioms of set theory.[2] Choice has counterintuitive consequences: by the Banach-Tarski theorem, a solid ball can be cut into six pieces and rigidly reassembled into two balls of the original size.[11]
The continuum hypothesis
Once Cantor knew the real numbers (the “continuum”) were a bigger infinity than the whole numbers, he asked whether anything lies in between: is there an infinite set of real numbers bigger than the whole numbers but smaller than all the reals? He guessed not. That guess is the continuum hypothesis, and he could not prove it.[12] David Hilbert thought the question so important that he put it first on his famous list of open problems for the 20th century.[13]
The answer came in two halves. In 1938 Kurt Gödel showed that the continuum hypothesis cannot be disproved from the ZFC axioms. In 1963 Paul Cohen showed that it cannot be proved from them either. The standard axioms simply do not decide it.[4] Cohen received a Fields Medal in 1966 for this work on the foundations of set theory.[14]
CH asserts that there is no set A with |ℕ| < |A| < |P(ℕ)|.[12] Gödel (1938) showed that if ZFC is consistent, so is ZFC + CH (indeed + GCH), using the inner model L. Cohen (1963) showed the same for ZFC + ¬CH, using what are now called forcing extensions. Together, assuming ZFC is consistent, CH is independent of ZFC.[4][15] See Gödel’s incompleteness theorems.
Is the continuum hypothesis true? An open debate
The Stanford Encyclopedia of Philosophy calls CH one of the most central open problems in set theory.[16] Mathematicians and philosophers disagree on what independence means, and the two main camps take different positions.[17]
- Pluralists, Cohen among them, hold that the independence results settle the matter by showing CH has no answer. On one version of this view, set theory describes a “multiverse” of equally legitimate universes, with CH true in some and false in others.[17]
- Non-pluralists, Gödel among them, hold that independence shows only that the current axioms are too weak, and that new, well-justified axioms could settle CH. Gödel proposed large cardinal axioms as candidates.[17]
What is known and what is open
Known: infinite sets come in different sizes, the reals are uncountable, and CH can be neither proved nor disproved from ZFC if ZFC is consistent.[3][4] Open: whether CH has a definite answer, and if so which new axioms should settle it.[16][17] By Gödel’s second incompleteness theorem, ZFC cannot prove its own consistency, assuming it is consistent.[18][4]
Next in the mathematics course: Gödel’s incompleteness theorems.
Read next
Next in the crash course
Gödel's incompleteness theorems: the limits of proof
What Gödel's two incompleteness theorems say, how the proof works, what they meant for Hilbert's program, and the common misreadings to avoid.
Questions readers ask
Are some infinities bigger than others?
Yes. Two sets have the same size if their members can be paired off one-to-one. The whole numbers and the fractions can be paired this way, but the real numbers cannot be paired with the whole numbers, so the reals form a bigger infinity.[5][6][3]
What does countably infinite mean?
A set is countably infinite if its members can be listed in a sequence that pairs them one-to-one with the natural numbers 0, 1, 2, 3 and so on. The integers and the nonnegative rational numbers are countable; the real numbers are not.[5][6][7]
What is the continuum hypothesis?
Cantor's guess that there is no set bigger than the natural numbers but smaller than the real numbers (the continuum). Hilbert put it first on his famous list of open problems for the 20th century.[12][13]
Has the continuum hypothesis been solved?
It has been shown to be independent of the standard ZFC axioms. Gödel showed in 1938 that it cannot be disproved from them, and Cohen showed in 1963 that it cannot be proved from them. Whether it has a true answer is still debated.[4][17]
What is ZFC?
Zermelo-Fraenkel set theory with the axiom of choice, the standard axioms for sets. Zermelo gave the first axiomatisation in 1908, partly to avoid paradoxes such as Russell's, and later work by Skolem and Fraenkel completed it.[10][9][2]
What is Russell's paradox?
Consider the set of all sets that are not members of themselves. It is a member of itself exactly when it is not. The paradox shows that not every property can define a set, so collections like "all sets" are treated as proper classes.[9]
Sources
· 18 claims from 3 publishers
Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.
- [1]
Set theory is the mathematical theory of well-determined collections, called sets, of objects called members or elements. confirmedas of 2026-11-22
- Set Theory · Stanford Encyclopedia of Philosophy · Primary source · Introduction (retrieved 2026-11-22)
- [2]
A handful of axioms, the Zermelo-Fraenkel axioms with the axiom of choice (ZFC), appear sufficient to derive essentially all of mathematics, and set theory has become the standard foundation of mathematics. confirmedas of 2026-11-22
- Mathematics for Computer Science (E. Lehman, F. T. Leighton and A. R. Meyer; MIT 6.042J course text, revised 2018) · Massachusetts Institute of Technology · Secondary source · 1.3 The Axiomatic Method (retrieved 2026-11-22)
- Set Theory · Stanford Encyclopedia of Philosophy · Primary source · Introduction (retrieved 2026-11-22)
- Set Theory · Stanford Encyclopedia of Philosophy · Primary source · Introduction (retrieved 2026-11-22)
- [3]
In a paper published in 1874 Cantor showed that the algebraic numbers can be matched one-to-one with the natural numbers but the real numbers cannot, so there is more than one level of infinity. confirmedas of 2026-11-22
- The Continuum Hypothesis · Stanford Encyclopedia of Philosophy · Primary source · Introduction (retrieved 2026-11-22)
- The Continuum Hypothesis · Stanford Encyclopedia of Philosophy · Primary source · Introduction (retrieved 2026-11-22)
- Georg Cantor (biography) · MacTutor History of Mathematics, University of St Andrews · Secondary source · Biography (retrieved 2026-11-22)
- [4]
Gödel showed in 1938 that, if ZFC is consistent, adding CH keeps it consistent; Cohen showed in 1963 that adding the negation of CH also keeps it consistent, so CH can be neither proved nor disproved from the ZFC axioms. confirmedas of 2026-11-22
- The Continuum Hypothesis · Stanford Encyclopedia of Philosophy · Primary source · Theorem 1.1 (Gödel 1938a, 1938b) (retrieved 2026-11-22)
- The Continuum Hypothesis · Stanford Encyclopedia of Philosophy · Primary source · 1. Independence in Cardinal Arithmetic (retrieved 2026-11-22)
- The Continuum Hypothesis · Stanford Encyclopedia of Philosophy · Primary source · 1. Independence in Cardinal Arithmetic (retrieved 2026-11-22)
- Mathematics for Computer Science (E. Lehman, F. T. Leighton and A. R. Meyer; MIT 6.042J course text, revised 2018) · Massachusetts Institute of Technology · Secondary source · 8.4 Does All This Really Work? (retrieved 2026-11-22)
- [5]
Cantor took the existence of a one-to-one correspondence (a bijection) as the test for two sets having the same size, which lets infinite sets be compared without defining their size; a set is countably infinite if it can be matched one-to-one with the natural numbers. confirmedas of 2026-11-22
- The Continuum Hypothesis · Stanford Encyclopedia of Philosophy · Primary source · Introduction (retrieved 2026-11-22)
- Mathematics for Computer Science (E. Lehman, F. T. Leighton and A. R. Meyer; MIT 6.042J course text, revised 2018) · Massachusetts Institute of Technology · Secondary source · 8.1 Infinite Cardinality (retrieved 2026-11-22)
- Mathematics for Computer Science (E. Lehman, F. T. Leighton and A. R. Meyer; MIT 6.042J course text, revised 2018) · Massachusetts Institute of Technology · Secondary source · 8.1 Infinite Cardinality (retrieved 2026-11-22)
- Set Theory · Stanford Encyclopedia of Philosophy · Primary source · 3. The theory of transfinite ordinals and cardinals (retrieved 2026-11-22)
- [6]
The integers and the nonnegative rational numbers are countably infinite, even though the rationals densely fill the gaps between integers. reportedas of 2026-11-22
- Mathematics for Computer Science (E. Lehman, F. T. Leighton and A. R. Meyer; MIT 6.042J course text, revised 2018) · Massachusetts Institute of Technology · Secondary source · 8.1 Infinite Cardinality (retrieved 2026-11-22)
- Mathematics for Computer Science (E. Lehman, F. T. Leighton and A. R. Meyer; MIT 6.042J course text, revised 2018) · Massachusetts Institute of Technology · Secondary source · 8.1 Infinite Cardinality (retrieved 2026-11-22)
- [7]
Cantor's theorem says the power set of any set (the set of all its subsets) is strictly bigger than the set itself, so the subsets of the natural numbers and the real numbers are uncountable, and repeating the step gives ever bigger infinities. reportedas of 2026-11-22
- Mathematics for Computer Science (E. Lehman, F. T. Leighton and A. R. Meyer; MIT 6.042J course text, revised 2018) · Massachusetts Institute of Technology · Secondary source · 8.1 Infinite Cardinality (retrieved 2026-11-22)
- Mathematics for Computer Science (E. Lehman, F. T. Leighton and A. R. Meyer; MIT 6.042J course text, revised 2018) · Massachusetts Institute of Technology · Secondary source · Corollary 8.1.17 (retrieved 2026-11-22)
- Mathematics for Computer Science (E. Lehman, F. T. Leighton and A. R. Meyer; MIT 6.042J course text, revised 2018) · Massachusetts Institute of Technology · Secondary source · Theorem 8.1.12 (retrieved 2026-11-22)
- Mathematics for Computer Science (E. Lehman, F. T. Leighton and A. R. Meyer; MIT 6.042J course text, revised 2018) · Massachusetts Institute of Technology · Secondary source · 8.1 Infinite Cardinality (retrieved 2026-11-22)
- [8]
Georg Cantor (1845-1918), born in St Petersburg and died in Halle, is considered the founder of set theory; in his own time many mathematicians doubted the relevance of his infinite sizes. reportedas of 2026-11-22
- Georg Cantor (biography) · MacTutor History of Mathematics, University of St Andrews · Secondary source · Quick Info (retrieved 2026-11-22)
- Georg Cantor (biography) · MacTutor History of Mathematics, University of St Andrews · Secondary source · Summary (retrieved 2026-11-22)
- Mathematics for Computer Science (E. Lehman, F. T. Leighton and A. R. Meyer; MIT 6.042J course text, revised 2018) · Massachusetts Institute of Technology · Secondary source · 8.1 Infinite Cardinality (retrieved 2026-11-22)
- [9]
Naive set theory, which assumes every property defines a set, leads to Russell's paradox (the set of all sets that are not members of themselves is a member of itself exactly when it is not), so collections such as the collection of all sets are treated as proper classes rather than sets. confirmedas of 2026-11-22
- Set Theory · Stanford Encyclopedia of Philosophy · Primary source · 1. The origins (retrieved 2026-11-22)
- Set Theory · Stanford Encyclopedia of Philosophy · Primary source · 1. The origins (retrieved 2026-11-22)
- Set Theory · Stanford Encyclopedia of Philosophy · Primary source · 1. The origins (retrieved 2026-11-22)
- [10]
To avoid the paradoxes set theory was axiomatised, first by Zermelo in 1908, with later work by Skolem and Fraenkel producing the axioms now known as ZFC. confirmedas of 2026-11-22
- Set Theory · Stanford Encyclopedia of Philosophy · Primary source · 1. The origins (retrieved 2026-11-22)
- Set Theory · Stanford Encyclopedia of Philosophy · Primary source · 1. The origins (retrieved 2026-11-22)
- Set Theory · Stanford Encyclopedia of Philosophy · Primary source · 1. The origins (retrieved 2026-11-22)
- Set Theory · Stanford Encyclopedia of Philosophy · Primary source · 1. The origins (retrieved 2026-11-22)
- [11]
The axiom of choice has consequences that sound paradoxical; by the Banach-Tarski theorem, a solid ball can be cut into six pieces that can be rigidly rearranged into two balls the same size as the original. reportedas of 2026-11-22
- Mathematics for Computer Science (E. Lehman, F. T. Leighton and A. R. Meyer; MIT 6.042J course text, revised 2018) · Massachusetts Institute of Technology · Secondary source · 8.4 Does All This Really Work? (retrieved 2026-11-22)
- [12]
The continuum hypothesis (CH), which Cantor proposed, says there is no set whose size lies strictly between the natural numbers and the real numbers (the continuum); Cantor could not resolve it. confirmedas of 2026-11-22
- The Continuum Hypothesis · Stanford Encyclopedia of Philosophy · Primary source · Introduction (retrieved 2026-11-22)
- The Continuum Hypothesis · Stanford Encyclopedia of Philosophy · Primary source · Introduction (retrieved 2026-11-22)
- Mathematics for Computer Science (E. Lehman, F. T. Leighton and A. R. Meyer; MIT 6.042J course text, revised 2018) · Massachusetts Institute of Technology · Secondary source · 8.4 Does All This Really Work? (retrieved 2026-11-22)
- [13]
Hilbert considered the continuum hypothesis so important that he placed it first on his famous list of open problems for the 20th century. confirmedas of 2026-11-22
- The Continuum Hypothesis · Stanford Encyclopedia of Philosophy · Primary source · Introduction (retrieved 2026-11-22)
- [14]
Paul Cohen was awarded a Fields Medal at the 1966 International Congress of Mathematicians in Moscow for his work on the foundations of set theory. reportedas of 2026-11-22
- Paul Cohen (biography) · MacTutor History of Mathematics, University of St Andrews · Secondary source · Biography (retrieved 2026-11-22)
- Paul Cohen (biography) · MacTutor History of Mathematics, University of St Andrews · Secondary source · Biography (retrieved 2026-11-22)
- [15]
To prove these results Gödel invented the method of inner models and Cohen the method now called forcing (outer models); the forcing technique went on to show many other statements independent of ZFC. confirmedas of 2026-11-22
- The Continuum Hypothesis · Stanford Encyclopedia of Philosophy · Primary source · 1. Independence in Cardinal Arithmetic (retrieved 2026-11-22)
- The Continuum Hypothesis · Stanford Encyclopedia of Philosophy · Primary source · 1. Independence in Cardinal Arithmetic (retrieved 2026-11-22)
- Set Theory · Stanford Encyclopedia of Philosophy · Primary source · 1. The origins (retrieved 2026-11-22)
- [16]
Set theorists still describe CH as open; the Stanford Encyclopedia of Philosophy calls it one of the most central open problems in set theory. confirmedas of 2026-11-22
- Set Theory · Stanford Encyclopedia of Philosophy · Primary source · 1. The origins (retrieved 2026-11-22)
- The Continuum Hypothesis · Stanford Encyclopedia of Philosophy · Primary source · Introduction (retrieved 2026-11-22)
- [17]
Mathematicians and philosophers are divided over whether CH has an answer; pluralists (Cohen among them) hold that independence shows it has none and that set theory is a multiverse of equally legitimate universes, while non-pluralists (Gödel among them) hold that new, justified axioms are needed, and Gödel proposed large cardinal axioms. confirmedas of 2026-11-22
- The Continuum Hypothesis · Stanford Encyclopedia of Philosophy · Primary source · Introduction (retrieved 2026-11-22)
- The Continuum Hypothesis · Stanford Encyclopedia of Philosophy · Primary source · Introduction (retrieved 2026-11-22)
- The Continuum Hypothesis · Stanford Encyclopedia of Philosophy · Primary source · Introduction (retrieved 2026-11-22)
- The Continuum Hypothesis · Stanford Encyclopedia of Philosophy · Primary source · 4. The Multiverse (retrieved 2026-11-22)
- The Continuum Hypothesis · Stanford Encyclopedia of Philosophy · Primary source · Introduction (retrieved 2026-11-22)
- The Continuum Hypothesis · Stanford Encyclopedia of Philosophy · Primary source · Introduction (retrieved 2026-11-22)
- [18]
Gödel's second incompleteness theorem says such a formal system cannot prove its own consistency, assuming it is in fact consistent. confirmedas of 2026-11-22
- Gödel's Incompleteness Theorems · Stanford Encyclopedia of Philosophy · Primary source · Introduction (retrieved 2026-11-22)
Revision history (1)
- Page created.
Created Nov 22, 2026. Last reviewed by an editor on Nov 22, 2026. Next scheduled review: Nov 22, 2027.
Cite this page
"Infinity and set theory: Cantor, ZFC and the continuum hypothesis." ContentLora, updated Nov 22, 2026. https://contentlora.com/explain/infinity-and-set-theory-explained
Spotted an error? Suggest a correction or emailcorrections@contentlora.com.