In this blog, we are going to learn why there is not a unique infinity and how it is possible that there are infinitely many infinities. But first, we need to understand what bijective functions, Cantor’s theorem, and countable and uncountable sets are. Let’s explore them one by one.
A function from the domain set to the codomain set assigns each element of the domain set to some element of the codomain set. Say the domain set is
As we can see, when the function
The function
shown in the figure above is neither injective nor surjective. Hence, it is not a bijective function.
Other than the sets
In the following illustration, the function
A bijective function is also called a one-to-one correspondence or simply a correspondence. A correspondence pairs up the elements of domain and codomain.
If a correspondence between two sets (say
If no correspondence exists from
If no surjective function exists from
If no injective function exists from
The set of natural numbers is a fundamental concept in mathematics and is denoted by the symbol
In some contexts, the set of natural numbers may include zero. Natural numbers are used for counting and ordering. The cardinality of the set of natural numbers is denoted by the Hebrew letter aleph (
A set is countable if it is either finite or possesses the same cardinality as the set of natural numbers. Therefore, any set with a finite number of elements is, by definition, countable.
Challenge with Infinite Sets: Assessing the countability of infinite sets depends on their cardinality matching that of the set of natural numbers.
Determining Countability: To determine an infinite set's countability, verify if it has a bijection with the set of natural numbers.
Role of Bijections: Bijections are used to establish whether two sets have equal or unequal cardinalities.
Example Sets: Specific sets are examined to apply these concepts of countability and bijections. Consider the following sets:
Does
These bijections are defined as follows:
To see why these functions are bijections, note that if
Other examples of countable sets include the set of integers, the set of even positive integers, the set of odd positive integers, the set of ordered pairs
A set is uncountable when it is not finite and when no bijection exists from the set of natural numbers to the set. If we want to show that a given infinite set,
As a consequence of this result, we can use the diagonalization method to show that the set of real numbers is uncountable. This result has deep consequences in mathematics and philosophy.
As a first example of an uncountable set, consider the powerset of the set of natural numbers
If we select a function
For every function
, there is a set , which is not an image of any natural number under the function .
Cantor’s argument here shows us that no surjective function from the set of natural numbers to the powerset of the set of natural numbers exists. Therefore, we can conclude that
To see why
If
If
Hence, we conclude that for every function
Once it was established that
The cardinality of the real numbers is
We have defined the first infinity as
Cantor’s theorem isn’t just about the natural numbers — it’s a universal truth for any set A. It states that for every set A, the power set 𝒫(A) — the set of all subsets of A — has a strictly larger cardinality than A itself.
Formally:
|A| < |𝒫(A)|
This means there is no surjective function f : A → 𝒫(A), because we can always construct a subset of A not included in the range of f. This result is deeply foundational — it shows that infinity itself comes in larger and larger sizes.
One of the most illuminating ways to understand why the power set is larger is by thinking of subsets as functions.
Every subset of A corresponds to a characteristic function:
χₛ : A → {0, 1}, where
χₛ(a) = 1 if a ∈ S, and χₛ(a) = 0 otherwise.
This shows that:
|𝒫(A)| = |{0, 1}ᴬ|
This connection helps explain why the cardinality of the power set is exponential in the size of the original set — and why |𝒫(ℕ)| = 𝔠 (the cardinality of the continuum).
The continuum hypothesis (CH) asks whether there exists a set whose size is strictly between |ℕ| (the size of the natural numbers) and |𝒫(ℕ)| (the size of the continuum).
Formally:
CH: There is no set A such that |ℕ| < |A| < |𝒫(ℕ)|
Kurt Gödel (1940) showed that CH cannot be disproved from the standard axioms of set theory (ZFC).
Paul Cohen (1963) showed that CH cannot be proved from ZFC either.
This means CH is independent of ZFC: both CH and ¬CH are logically consistent if ZFC itself is. Including this point gives readers an honest picture of one of mathematics’ most fascinating open questions.
Cantor’s diagonal argument is more than a clever proof — it’s a fundamental technique across mathematics and computer science.
Here are some key places it appears:
Halting problem: Alan Turing used a diagonal argument to prove that no algorithm can decide whether all programs halt.
Uncomputable numbers: Since there are only countably many algorithms but uncountably many real numbers, most real numbers are uncomputable.
Gödel’s incompleteness theorem: Diagonal self-reference underpins Gödel’s proof that any sufficiently powerful formal system contains true but unprovable statements.
This broader view helps readers see Cantor’s argument not as a curiosity, but as a powerful tool with real-world consequences.
When using diagonalization to prove that real numbers are uncountable, one subtle detail often gets overlooked: some real numbers have two binary representations.
For example:
0.1000… = 0.0111…
To avoid this ambiguity, mathematicians either restrict themselves to decimal expansions that don’t end in repeating 9s (or 1s in binary), or they work directly with infinite binary sequences {0,1}^ℕ, which sidestep the issue entirely.
Cantor’s theorem fits into a larger landscape of set theory results. One key theorem to know is the Cantor–Bernstein–Schröder theorem, which says:
If there’s an injection from A to B and from B to A, then there’s a bijection between them.
This result complements Cantor’s theorem by providing a powerful tool for comparing infinities.
It’s also worth mentioning Cantor’s paradox — the observation that there can’t be a “set of all sets,” since its power set would necessarily be larger. This paradox was a major driver behind the development of modern axiomatic set theory.
To deepen understanding, it’s helpful to introduce the concept of beth numbers — an alternative notation for infinite cardinalities defined by successive power sets:
ℶ₀ = |ℕ|
ℶ₁ = |𝒫(ℕ)| = 𝔠
ℶ₂ = |𝒫(𝒫(ℕ))|, and so on.
This notation emphasizes how applying the power-set operation again and again produces an infinite tower of ever-larger infinities — a direct consequence of Cantor’s theorem.
To compare the cardinalities of any two sets, we can avoid counting elements to actually determine the cardinality of the sets. Using functions for this task is especially helpful when the sets are not finite. After comparing the sizes of the infinite sets, we realize that all of them are not of the same size. Cantor’s theorem helps us in this regard, and we establish that there are infinitely many infinities. Cantor’s diagonalization method is used extensively to establish different mathematics and computer science results. Prominent examples of using the diagonalization argument include Gödel’s first incompleteness theorem in logic and the existence of undecidable and even unsolvable problems in computer science.