1. Home
  2. Explore
  3. Mathematics
  4. Introduction to Infinity

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

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:

1,2,3,4,…1,2,3,4,\ldots1,2,3,4,…

The process is arranged so that:

  1. Balls are placed into the barrel in increasingly large groups.

  2. Balls are placed into the barrel faster and faster.

  3. At the end of each stage, the ball with the next smallest label is removed.

  4. The lengths of the stages are repeatedly cut in half.

A possible schedule looks like this:

  • During the first 303030 seconds, balls 111 through 101010 enter the barrel, and ball 111 is removed.

  • During the next 151515 seconds, balls 111111 through 202020 enter, and ball 222 is removed.

  • During the next 7.57.57.5 seconds, balls 212121 through 303030 enter, and ball 333 is removed.

  • During the next 3.753.753.75 seconds, balls 313131 through 404040 enter, and ball 444 is removed.

  • The process continues, with each stage taking half as long as the preceding stage.

The total time is

30+15+7.5+3.75+⋯=60.30+15+7.5+3.75+\cdots=60.30+15+7.5+3.75+⋯=60.

This is a geometric series whose sum is 606060 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 303030 seconds, balls 222 through 101010 remain.

  • After 454545 seconds, balls 333 through 202020 remain.

  • After 52.552.552.5 seconds, balls 444 through 303030 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 111 is removed at 303030 seconds.

  • Ball 222 is removed at 454545 seconds.

  • Ball 333 is removed at 52.552.552.5 seconds.

  • Ball 444 is removed at the next stage.

  • In general, ball nnn is removed at a time strictly less than 606060 seconds.

Thus, at the exact time 606060 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:

12,14,18,116,…\frac{1}{2},\frac{1}{4},\frac{1}{8},\frac{1}{16},\ldots21​,41​,81​,161​,…

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:

12+14+18+⋯=1.\frac{1}{2}+\frac{1}{4}+\frac{1}{8}+\cdots=1.21​+41​+81​+⋯=1.

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+εx<a+\varepsilonx<a+ε for Every ε>0\varepsilon>0ε>0, Then x≤ax\leq ax≤a

Suppose that

x<a+εx<a+\varepsilonx<a+ε

for every positive real number ε\varepsilonε. The goal is to prove that

x≤a.x\leq a.x≤a.

Proof by contradiction

Assume, contrary to the desired conclusion, that

x>a.x>a.x>a.

Then the difference

ε=x−a\varepsilon=x-aε=x−a

is positive. This particular value of ε\varepsilonε is allowed by the hypothesis. Substituting it into the inequality gives

x<a+(x−a)=x.x<a+(x-a)=x.x<a+(x−a)=x.

Thus,

x<x,x<x,x<x,

which is impossible.

Therefore, the assumption x>ax>ax>a must be false. Hence,

x≤a.\boxed{x\leq a}.x≤a​.

The central strategy is to choose ε=x−a\varepsilon=x-aε=x−a. When x>ax>ax>a, this creates a positive value of ε\varepsilonε that forces the hypothesis to assert the contradiction x<xx<xx<x.

This result is an important example of the principle that a number cannot be strictly greater than aaa while remaining less than a+εa+\varepsilona+ε for every positive ε\varepsilonε.


Uniqueness of the Supremum

Let SSS be a nonempty subset of the real numbers that is bounded above. The supremum of SSS, written sup⁡S\sup SsupS, is the least upper bound of SSS.

The claim is that SSS has only one supremum.

Proof

Suppose that β1\beta_1β1​ and β2\beta_2β2​ are both suprema of SSS. Assume without loss of generality that

β1<β2.\beta_1<\beta_2.β1​<β2​.

Because β1\beta_1β1​ is the supremum, it is an upper bound for SSS. But β2\beta_2β2​ is also an upper bound, and it is strictly larger than β1\beta_1β1​.

This contradicts the fact that β2\beta_2β2​ is the least upper bound if β1\beta_1β1​ is also an upper bound. Equivalently, because β1<β2\beta_1<\beta_2β1​<β2​, β1\beta_1β1​ cannot be the least upper bound if β2\beta_2β2​ is the relevant upper bound under consideration.

A symmetric argument applies if β2<β1\beta_2<\beta_1β2​<β1​. Therefore, neither supremum can be strictly smaller than the other, so

β1=β2.\beta_1=\beta_2.β1​=β2​.

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⊆RS\subseteq\mathbb{R}S⊆R be nonempty and bounded above, and let

β=sup⁡S.\beta=\sup S.β=supS.

The goal is to prove that for every ε>0\varepsilon>0ε>0, there exists an element x∈Sx\in Sx∈S such that

x>β−ε.x>\beta-\varepsilon.x>β−ε.

Proof

Let ε>0\varepsilon>0ε>0 be arbitrary.

Since β\betaβ is the least upper bound of SSS, the number

β−ε\beta-\varepsilonβ−ε

cannot be an upper bound of S.Ifitwereanupperbound,thenitwouldbeanupperboundsmallerthanS. If it were an upper bound, then it would be an upper bound smaller thanS.Ifitwereanupperbound,thenitwouldbeanupperboundsmallerthan\beta,contradictingthefactthat, contradicting the fact that,contradictingthefactthat\beta$ is the least upper bound.

By the definition of “not an upper bound,” there must exist some x∈Sx\in Sx∈S such that

x>β−ε.x>\beta-\varepsilon.x>β−ε.

Therefore,

∀ε>0, ∃x∈S such that x>β−ε.\boxed{\forall\varepsilon>0,\ \exists x\in S\text{ such that }x>\beta-\varepsilon}.∀ε>0, ∃x∈S such that x>β−ε​.

Important caution

The set SSS is an arbitrary subset of the real numbers. It is not necessarily an interval. Therefore, one cannot simply assume that every number between β−ε\beta-\varepsilonβ−ε and β\betaβ belongs to SSS.

The proof works instead by using the definition of the supremum:

  • β\betaβ is an upper bound of SSS.

  • Any number smaller than β\betaβ fails to be an upper bound.

  • Therefore, some element of SSS must exceed β−ε\beta-\varepsilonβ−ε.

The set SSS could be:

  • A finite set

  • A sequence of isolated points

  • An interval

  • A complicated arbitrary subset of R\mathbb{R}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 xxx, there exists a natural number nnn such that n>xn>xn>x.

An equivalent formulation compares positive quantities:

Given positive real numbers aaa and bbb, there exists a natural number nnn such that

na>b.na>b.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\varepsilon>0ε>0, there exists a natural number nnn such that

1n<ε.\frac{1}{n}<\varepsilon.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 1n\frac{1}{n}n1​ approach zero.


Cardinality and Bijections

Same Cardinality

Two sets AAA and BBB have the same cardinality if there exists a bijection from AAA to BBB.

A bijection is a function that is both:

  • One-to-one, or injective: distinct elements of AAA map to distinct elements of BBB.

  • Onto, or surjective: every element of BBB is the image of some element of AAA.

Symbolically,

∣A∣=∣B∣|A|=|B|∣A∣=∣B∣

means that there exists a bijection

f:A→B.f:A\to B.f:A→B.

A bijection establishes a perfect pairing: every element of AAA is matched with exactly one element of BBB, and every element of BBB is matched with exactly one element of AAA.

One-to-one

A function f:A→Bf:A\to Bf:A→B is one-to-one if

f(a1)=f(a2)  ⟹  a1=a2.f(a_1)=f(a_2)\implies a_1=a_2.f(a1​)=f(a2​)⟹a1​=a2​.

No two distinct elements of AAA are assigned to the same element of BBB.

Onto

A function f:A→Bf:A\to Bf:A→B is onto if for every b∈Bb\in Bb∈B, there exists some a∈Aa\in Aa∈A such that

f(a)=b.f(a)=b.f(a)=b.

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 AAA is finite if it has the same cardinality as

{1,2,3,…,n}\{1,2,3,\ldots,n\}{1,2,3,…,n}

for some positive integer nnn.

Equivalently, AAA is finite if its elements can be paired one-to-one and onto with the first nnn natural numbers.

For example, a set containing five objects is finite if its objects can be matched with

1,2,3,4,5.1,2,3,4,5.1,2,3,4,5.

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}\{1,2,\ldots,n\}{1,2,…,n} for any positive integer nnn.

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 AAA is countably infinite if there exists a bijection between AAA and the natural numbers:

N={1,2,3,…}.\mathbb{N}=\{1,2,3,\ldots\}.N={1,2,3,…}.

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\mathbb{N}N.


Examples of Countably Infinite Sets

The Positive Even Natural Numbers

Consider the set of positive even natural numbers:

E={2,4,6,8,…}.E=\{2,4,6,8,\ldots\}.E={2,4,6,8,…}.

Although EEE appears to contain only half as many numbers as N\mathbb{N}N, the two sets have the same cardinality.

Define

f:E→Nf:E\to\mathbb{N}f:E→N

by

f(n)=n2.f(n)=\frac{n}{2}.f(n)=2n​.

The inverse function is

g:N→E,g(m)=2m.g:\mathbb{N}\to E,\qquad g(m)=2m.g:N→E,g(m)=2m.

Why the function is one-to-one

Suppose that

f(n1)=f(n2).f(n_1)=f(n_2).f(n1​)=f(n2​).

Then

n12=n22,\frac{n_1}{2}=\frac{n_2}{2},2n1​​=2n2​​,

so

n1=n2.n_1=n_2.n1​=n2​.

Thus, distinct even numbers map to distinct natural numbers.

Why the function is onto

For every natural number mmm, the even number 2m2m2m belongs to EEE, and

f(2m)=m.f(2m)=m.f(2m)=m.

Therefore, every natural number is reached.

Hence, fff is a bijection and

∣E∣=∣N∣.|E|=|\mathbb{N}|.∣E∣=∣N∣.

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

Z={…,−3,−2,−1,0,1,2,3,…}.\mathbb{Z}=\{\ldots,-3,-2,-1,0,1,2,3,\ldots\}.Z={…,−3,−2,−1,0,1,2,3,…}.

At first, the integers may appear larger than the natural numbers because they include zero and all negative numbers. Nevertheless, Z\mathbb{Z}Z is countably infinite.

A pairing can be constructed in the pattern

1↦0,2↦1,3↦−1,4↦2,5↦−2,6↦3,7↦−3,…1\mapsto 0,\quad 2\mapsto 1,\quad 3\mapsto -1,\quad 4\mapsto 2,\quad 5\mapsto -2,\quad 6\mapsto 3,\quad 7\mapsto -3,\ldots1↦0,2↦1,3↦−1,4↦2,5↦−2,6↦3,7↦−3,…

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:

  • 000 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 kkk appears at a later even position.

  • A negative integer −k-k−k appears at a later odd position.

  • Zero appears at the beginning.

Thus, there is a bijection between N\mathbb{N}N and Z\mathbb{Z}Z, so

∣Z∣=∣N∣.|\mathbb{Z}|=|\mathbb{N}|.∣Z∣=∣N∣.

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

Q={pq:p∈Z, q∈N}.\mathbb{Q}=\left\{\frac{p}{q}:p\in\mathbb{Z},\ q\in\mathbb{N}\right\}.Q={qp​:p∈Z, q∈N}.

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:

12=24=36=⋯\frac{1}{2}=\frac{2}{4}=\frac{3}{6}=\cdots21​=42​=63​=⋯

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

0, 1, −1, 12, −12, 13, 23, 32, 2,…0,\ 1,\ -1,\ \frac12,\ -\frac12,\ \frac13,\ \frac23,\ \frac32,\ 2,\ldots0, 1, −1, 21​, −21​, 31​, 32​, 23​, 2,…

The exact ordering is not important. What matters is that:

  1. Every rational number appears eventually.

  2. Repeated representations of the same rational number are ignored.

  3. Each rational number is assigned a unique natural-number position.

Therefore, there is a bijection between Q\mathbb{Q}Q and N\mathbb{N}N:

∣Q∣=∣N∣.|\mathbb{Q}|=|\mathbb{N}|.∣Q∣=∣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:

∣N∣<∣R∣.|\mathbb{N}|<|\mathbb{R}|.∣N∣<∣R∣.

There is an injection from N\mathbb{N}N into R\mathbb{R}R because each natural number is itself a real number. However, there is no bijection from N\mathbb{N}N onto R\mathbb{R}R.

It is enough to show that even the interval (0,1)(0,1)(0,1) is uncountable. If a small interval already has greater cardinality than N\mathbb{N}N, then the entire real line cannot be countable.


Cantor’s Diagonalization Argument

Assume for contradiction that the real numbers in (0,1)(0,1)(0,1) are countably infinite. Then they could be listed as

x1,x2,x3,…x_1,x_2,x_3,\ldotsx1​,x2​,x3​,…

Write their decimal expansions in a table:

x1=0.a11a12a13⋯x2=0.a21a22a23⋯x3=0.a31a32a33⋯⋮\begin{array}{cccccc} x_1&=&0.&a_{11}&a_{12}&a_{13}&\cdots\\ x_2&=&0.&a_{21}&a_{22}&a_{23}&\cdots\\ x_3&=&0.&a_{31}&a_{32}&a_{33}&\cdots\\ \vdots&&&&&& \end{array}x1​x2​x3​⋮​===​0.0.0.​a11​a21​a31​​a12​a22​a32​​a13​a23​a33​​⋯⋯⋯​

The digit aija_{ij}aij​ denotes the jjjth decimal digit of the number xix_ixi​.

Now construct a new real number

y=0.b1b2b3⋯y=0.b_1b_2b_3\cdotsy=0.b1​b2​b3​⋯

by choosing each bib_ibi​ to differ from the diagonal digit aiia_{ii}aii​. For example, one may use the rule:

bi={1,if aii≠1,2,if aii=1.b_i= \begin{cases} 1,&\text{if }a_{ii}\neq 1,\\ 2,&\text{if }a_{ii}=1. \end{cases}bi​={1,2,​if aii​=1,if aii​=1.​

Thus:

  • b1≠a11b_1\neq a_{11}b1​=a11​, so y≠x1y\neq x_1y=x1​.

  • b2≠a22b_2\neq a_{22}b2​=a22​, so y≠x2y\neq x_2y=x2​.

  • b3≠a33b_3\neq a_{33}b3​=a33​, so y≠x3y\neq x_3y=x3​.

  • In general, y≠xiy\neq x_iy=xi​ because the iiith digit of yyy differs from the iiith digit of xix_ixi​.

Therefore, yyy is a real number in (0,1)(0,1)(0,1) that is missing from the supposed complete list.

This contradicts the assumption that all numbers in (0,1)(0,1)(0,1) were listed. Hence, (0,1)(0,1)(0,1) is uncountable, and therefore R\mathbb{R}R is uncountable.

∣N∣<∣R∣\boxed{|\mathbb{N}|<|\mathbb{R}|}∣N∣<∣R∣​

Decimal representation issue

Some real numbers have two decimal representations, such as

0.5000…=0.4999…0.5000\ldots=0.4999\ldots0.5000…=0.4999…

The diagonal argument avoids ambiguity by choosing decimal digits carefully, typically avoiding an infinite string of 999’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

ℵ0\aleph_0ℵ0​

where ℵ\alephℵ is the Hebrew letter aleph. Thus,

∣N∣=ℵ0.|\mathbb{N}|=\aleph_0.∣N∣=ℵ0​.

The cardinality of the real numbers is often denoted by

c,\mathfrak{c},c,

called the cardinality of the continuum. Therefore,

∣R∣=c.|\mathbb{R}|=\mathfrak{c}.∣R∣=c.

Cantor’s theorem establishes that

ℵ0<c.\aleph_0<\mathfrak{c}.ℵ0​<c.

This means that infinity is not a single size. There are at least two different infinite cardinalities:

  • Countable infinity: ℵ0\aleph_0ℵ0​, represented by N\mathbb{N}N, Z\mathbb{Z}Z, and Q\mathbb{Q}Q.

  • Continuum cardinality: c\mathfrak{c}c, represented by R\mathbb{R}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 AAA such that

ℵ0<∣A∣<c.\aleph_0<|A|<\mathfrak{c}.ℵ0​<∣A∣<c.

Cantor conjectured that no such cardinality exists. In other words, he proposed that the next infinite cardinal after ℵ0\aleph_0ℵ0​ might be c\mathfrak{c}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:

  1. It does not contain itself.
    This seems impossible because it is supposed to contain everything.

  2. 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

R={X:X∉X}.R=\{X:X\notin X\}.R={X:X∈/X}.

The question is whether

R∈R.R\in R.R∈R.
  • If R∈RR\in RR∈R, then by the definition of RRR, it must be true that R∉RR\notin RR∈/R.

  • If R∉RR\notin RR∈/R, then it satisfies the defining condition for membership in RRR, so R∈RR\in RR∈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.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent