Introduction to Infinity
Infinity, Real Analysis, and Cardinality
Infinity Through the Ping-Pong Ball Conundrum
The ping-pong ball conundrum illustrates how an infinite number of operations can occur within a finite amount of time and how apparently contradictory descriptions of an infinite process can both seem plausible.
Imagine a barrel and infinitely many ping-pong balls, one labeled by each natural number:
The process is arranged so that:
Balls are placed into the barrel in increasingly large groups.
Balls are placed into the barrel faster and faster.
At the end of each stage, the ball with the next smallest label is removed.
The lengths of the stages are repeatedly cut in half.
A possible schedule looks like this:
During the first 30 seconds, balls 1 through 10 enter the barrel, and ball 1 is removed.
During the next 15 seconds, balls 11 through 20 enter, and ball 2 is removed.
During the next 7.5 seconds, balls 21 through 30 enter, and ball 3 is removed.
During the next 3.75 seconds, balls 31 through 40 enter, and ball 4 is removed.
The process continues, with each stage taking half as long as the preceding stage.
The total time is
This is a geometric series whose sum is 60 seconds. Therefore, infinitely many stages are completed by the one-minute mark.
Two apparently reasonable answers
At first, one might reason that the barrel contains infinitely many balls at the end because more and more balls continually enter it. For example:
After 30 seconds, balls 2 through 10 remain.
After 45 seconds, balls 3 through 20 remain.
After 52.5 seconds, balls 4 through 30 remain.
At each later stage, the collection of balls in the barrel becomes larger.
This suggests that the barrel should contain infinitely many balls at the end.
However, a second argument gives the opposite conclusion. Every individual ball is eventually removed:
Ball 1 is removed at 30 seconds.
Ball 2 is removed at 45 seconds.
Ball 3 is removed at 52.5 seconds.
Ball 4 is removed at the next stage.
In general, ball n is removed at a time strictly less than 60 seconds.
Thus, at the exact time 60 seconds, there is no particular ball that remains in the barrel. Every ball that entered the barrel was eventually removed.
The conundrum results from applying finite intuition to an infinite process. At every stage before one minute, some balls are present, but every individual ball has been removed by the limiting time.
Why this is not an ordinary physical experiment
The process requires operations to occur faster and faster without bound. Eventually, the process would require impossible physical speeds, possibly exceeding the speed of light. Therefore, the conundrum is a thought experiment, not a physically realizable procedure.
Its mathematical purpose is to demonstrate that:
Infinitely many events can occur during a finite interval.
The behavior of a process at every stage does not always determine its behavior at the limiting time.
Infinite processes may produce results that conflict with ordinary finite reasoning.
The phrase “there are infinitely many balls entering” does not by itself imply that any ball remains at the end.
Zeno’s Paradoxes
Zeno was an ancient Greek philosopher who used paradoxes to argue that motion is impossible.
One version of the paradox asks how an object can travel from one location to another. Before reaching the destination, it must first travel half the distance. Before reaching the halfway point, it must travel half of that distance, and so on:
This creates infinitely many smaller distances that must be traversed. Zeno argued that if infinitely many tasks must be completed, motion should never finish.
Mathematical resolution
The distances form a convergent geometric series:
Although there are infinitely many terms, their total is finite. Consequently, infinitely many subdivisions do not necessarily require an infinite amount of distance or time.
The key mathematical idea is that an infinite sequence of steps can have a finite limit. Calculus and real analysis formalize this idea through:
Limits
Infinite series
Convergence
Completeness of the real numbers
The philosophical question of whether time and space are fundamentally continuous or discrete belongs partly to physics and philosophy. Mathematics resolves the apparent contradiction by showing that an infinite collection of parts can have a finite total.
Selected Real Analysis Proofs
If x<a+ε for Every ε>0, Then x≤a
Suppose that
for every positive real number ε. The goal is to prove that
Proof by contradiction
Assume, contrary to the desired conclusion, that
Then the difference
is positive. This particular value of ε is allowed by the hypothesis. Substituting it into the inequality gives
Thus,
which is impossible.
Therefore, the assumption x>a must be false. Hence,
The central strategy is to choose ε=x−a. When x>a, this creates a positive value of ε that forces the hypothesis to assert the contradiction x<x.
This result is an important example of the principle that a number cannot be strictly greater than a while remaining less than a+ε for every positive ε.
Uniqueness of the Supremum
Let S be a nonempty subset of the real numbers that is bounded above. The supremum of S, written supS, is the least upper bound of S.
The claim is that S has only one supremum.
Proof
Suppose that β1 and β2 are both suprema of S. Assume without loss of generality that
Because β1 is the supremum, it is an upper bound for S. But β2 is also an upper bound, and it is strictly larger than β1.
This contradicts the fact that β2 is the least upper bound if β1 is also an upper bound. Equivalently, because β1<β2, β1 cannot be the least upper bound if β2 is the relevant upper bound under consideration.
A symmetric argument applies if β2<β1. Therefore, neither supremum can be strictly smaller than the other, so
Hence, the supremum is unique.
A set may have many upper bounds, but it can have only one least upper bound.
Approximation of a Supremum
Let S⊆R be nonempty and bounded above, and let
The goal is to prove that for every ε>0, there exists an element x∈S such that
Proof
Let ε>0 be arbitrary.
Since β is the least upper bound of S, the number
cannot be an upper bound of S.Ifitwereanupperbound,thenitwouldbeanupperboundsmallerthan\beta,contradictingthefactthat\beta$ is the least upper bound.
By the definition of “not an upper bound,” there must exist some x∈S such that
Therefore,
Important caution
The set S is an arbitrary subset of the real numbers. It is not necessarily an interval. Therefore, one cannot simply assume that every number between β−ε and β belongs to S.
The proof works instead by using the definition of the supremum:
β is an upper bound of S.
Any number smaller than β fails to be an upper bound.
Therefore, some element of S must exceed β−ε.
The set S could be:
A finite set
A sequence of isolated points
An interval
A complicated arbitrary subset of R
The conclusion remains valid in every case.
The Archimedean Property
The Archimedean property describes the fact that the natural numbers are not bounded above in the real numbers.
One common formulation is:
For every real number x, there exists a natural number n such that n>x.
An equivalent formulation compares positive quantities:
Given positive real numbers a and b, there exists a natural number n such that
na>b.
In words, repeatedly adding a positive quantity eventually produces a number larger than any prescribed positive bound.
Another equivalent formulation is:
For every ε>0, there exists a natural number n such that
n1<ε.
Thus, reciprocals of natural numbers can be made arbitrarily small.
Importance of completeness
The Archimedean property cannot be derived merely from the ordered-field axioms. It requires the completeness property of the real numbers.
The rational numbers form an ordered field and also satisfy the Archimedean property, but the property is not a consequence of being an ordered field alone. In a development of the real numbers based on ordered fields, completeness is needed to establish it.
The Archimedean property is used throughout analysis to:
Compare arbitrary real numbers with natural numbers.
Approximate real numbers using rational numbers.
Establish the existence of sufficiently fine subdivisions.
Prove results about limits and sequences.
Show that quantities such as n1 approach zero.
Cardinality and Bijections
Same Cardinality
Two sets A and B have the same cardinality if there exists a bijection from A to B.
A bijection is a function that is both:
One-to-one, or injective: distinct elements of A map to distinct elements of B.
Onto, or surjective: every element of B is the image of some element of A.
Symbolically,
means that there exists a bijection
A bijection establishes a perfect pairing: every element of A is matched with exactly one element of B, and every element of B is matched with exactly one element of A.
One-to-one
A function f:A→B is one-to-one if
No two distinct elements of A are assigned to the same element of B.
Onto
A function f:A→B is onto if for every b∈B, there exists some a∈A such that
Every element of the codomain is reached.
Cardinality beyond numerical sets
Cardinality applies to any sets, not only sets of numbers. Examples include:
Sets of colors
Sets of people
Sets of card suits
Sets of letters
Sets of geometric objects
The elements do not need to have a natural ordering.
Finite Sets
A set A is finite if it has the same cardinality as
for some positive integer n.
Equivalently, A is finite if its elements can be paired one-to-one and onto with the first n natural numbers.
For example, a set containing five objects is finite if its objects can be matched with
The objects themselves need not be numbers, and the labeling does not impose an order on the original set.
Infinite Sets
A set is infinite if it is not finite. In other words, it cannot be put into bijection with {1,2,…,n} for any positive integer n.
An infinite set may still have the same cardinality as another infinite set. This is one of the main differences between finite and infinite sets.
For finite sets, a proper subset always has fewer elements. For infinite sets, a proper subset can have the same cardinality as the entire set.
Countably Infinite Sets
A set A is countably infinite if there exists a bijection between A and the natural numbers:
The natural numbers themselves are countably infinite because the identity function pairs each natural number with itself.
A set is often called countable if it is either:
Finite, or
Countably infinite
A set is uncountable if it is infinite but cannot be put into bijection with N.
Examples of Countably Infinite Sets
The Positive Even Natural Numbers
Consider the set of positive even natural numbers:
Although E appears to contain only half as many numbers as N, the two sets have the same cardinality.
Define
by
The inverse function is
Why the function is one-to-one
Suppose that
Then
so
Thus, distinct even numbers map to distinct natural numbers.
Why the function is onto
For every natural number m, the even number 2m belongs to E, and
Therefore, every natural number is reached.
Hence, f is a bijection and
The even natural numbers have the same cardinality as all natural numbers, even though the even numbers form a proper subset of the natural numbers.
The same reasoning shows that the positive multiples of any fixed positive integer are countably infinite.
The Integers
The set of integers is
At first, the integers may appear larger than the natural numbers because they include zero and all negative numbers. Nevertheless, Z is countably infinite.
A pairing can be constructed in the pattern
This alternates between nonnegative and negative integers.
Why the pairing is one-to-one
The pattern never assigns two different natural numbers to the same integer. Each integer appears exactly once:
0 appears first.
Positive integers appear in increasing order.
Negative integers appear in order of increasing absolute value.
Why the pairing is onto
Every integer is eventually reached:
A positive integer k appears at a later even position.
A negative integer −k appears at a later odd position.
Zero appears at the beginning.
Thus, there is a bijection between N and Z, so
This demonstrates again that adding infinitely many elements to an infinite set does not necessarily produce a larger cardinality.
The Rational Numbers
The rational numbers are
The rational numbers are dense in the real numbers: between any two distinct real numbers, there is a rational number. In fact, every nonempty interval contains infinitely many rational numbers.
Despite this density, the rationals are countably infinite.
Enumerating rational numbers
A diagram can be formed by arranging rational numbers according to numerator and denominator. For example, positive rational numbers can be placed in a grid:
Numerators appear along one direction.
Denominators appear along another.
Each grid location represents a fraction.
The same rational number may appear more than once:
A diagonal or spiral traversal of the grid can list every possible fraction. Whenever a fraction equivalent to one already listed appears, it is skipped.
For example, a listing may proceed through values such as
The exact ordering is not important. What matters is that:
Every rational number appears eventually.
Repeated representations of the same rational number are ignored.
Each rational number is assigned a unique natural-number position.
Therefore, there is a bijection between Q and N:
The rational numbers can be dense everywhere on the number line while still being countable. Density and cardinality describe different properties.
The Real Numbers Are Uncountable
The real numbers have strictly greater cardinality than the natural numbers:
There is an injection from N into R because each natural number is itself a real number. However, there is no bijection from N onto R.
It is enough to show that even the interval (0,1) is uncountable. If a small interval already has greater cardinality than N, then the entire real line cannot be countable.
Cantor’s Diagonalization Argument
Assume for contradiction that the real numbers in (0,1) are countably infinite. Then they could be listed as
Write their decimal expansions in a table:
The digit aij denotes the jth decimal digit of the number xi.
Now construct a new real number
by choosing each bi to differ from the diagonal digit aii. For example, one may use the rule:
Thus:
b1=a11, so y=x1.
b2=a22, so y=x2.
b3=a33, so y=x3.
In general, y=xi because the ith digit of y differs from the ith digit of xi.
Therefore, y is a real number in (0,1) that is missing from the supposed complete list.
This contradicts the assumption that all numbers in (0,1) were listed. Hence, (0,1) is uncountable, and therefore R is uncountable.
Decimal representation issue
Some real numbers have two decimal representations, such as
The diagonal argument avoids ambiguity by choosing decimal digits carefully, typically avoiding an infinite string of 9’s. This ensures that the constructed number is unambiguously different from every listed number.
Cardinal Numbers and Different Sizes of Infinity
The cardinality of the natural numbers is commonly denoted by
where ℵ is the Hebrew letter aleph. Thus,
The cardinality of the real numbers is often denoted by
called the cardinality of the continuum. Therefore,
Cantor’s theorem establishes that
This means that infinity is not a single size. There are at least two different infinite cardinalities:
Countable infinity: ℵ0, represented by N, Z, and Q.
Continuum cardinality: c, represented by R.
The real numbers contain strictly more elements than the natural numbers, even though both sets are infinite.
The Continuum Hypothesis
The continuum hypothesis asks whether there exists a cardinality strictly between the cardinality of the natural numbers and the cardinality of the real numbers.
Symbolically, it asks whether there is a set A such that
Cantor conjectured that no such cardinality exists. In other words, he proposed that the next infinite cardinal after ℵ0 might be c.
The eventual result was unexpected:
The continuum hypothesis can be proved neither true nor false using the standard axioms of set theory.
This means that the hypothesis is independent of those axioms. Its truth cannot be determined from the usual foundational assumptions alone.
To decide whether it should be accepted in a particular mathematical system, one would need to add it as an additional axiom or add its negation as an additional axiom. Both choices produce consistent mathematical frameworks, assuming the standard axioms themselves are consistent.
Russell’s Paradox and the Set of Everything
A final difficulty arises when considering the idea of a set containing absolutely everything:
All numbers
All people
All colors
All letters
All atoms
All sets
Every other possible object
Suppose there were a “set of everything.” The question would be:
Does the set of everything contain itself?
Two possibilities appear:
It does not contain itself.
This seems impossible because it is supposed to contain everything.It does contain itself.
This creates complications because the set itself is then one of the objects included in the collection.
This resembles Russell’s paradox, which considers the set of all sets that do not contain themselves. Let
The question is whether
If R∈R, then by the definition of R, it must be true that R∈/R.
If R∈/R, then it satisfies the defining condition for membership in R, so R∈R.
Either possibility produces a contradiction.
The paradox shows that unrestricted collection-building is not safe. Modern axiomatic set theory restricts which collections may be sets and distinguishes carefully between legitimate sets and overly broad collections.
Not every describable collection can be treated as a set. Restrictions are necessary to avoid self-reference contradictions.
Infinity therefore leads not only to different sizes of sets, but also to fundamental questions about definitions, logical consistency, and the foundations of mathematics.

Ask anything
We've read this whole study set, so questions about it get the best answers.