Galileo's Paradox of Infinity Calculator

Explore the counterintuitive relationship between infinite sets and cardinality

Explore the Paradox

Analysis Results

100
Natural Numbers
in range [1, 100]
10
Perfect Squares
10.0% of naturals
90
Non-Squares
90.0% of naturals

Galileo's First Reasoning

"There are clearly more natural numbers than perfect squares, since some naturals are squares while others are not. Therefore, all naturals together must be more numerous than just the squares."

Evidence: In range [1, 100], there are 100 naturals but only 10 squares.

Galileo's Second Reasoning

"However, each natural number has its own corresponding perfect square (1→1, 2→4, 3→9, etc.), so there must be exactly as many naturals as squares."

Evidence: The function f(n) = n² creates a one-to-one correspondence between naturals and squares.

Perfect Squares in Range

1 = 1²4 = 2²9 = 3²16 = 4²25 = 5²36 = 6²49 = 7²64 = 8²81 = 9²100 = 10²

Resolving the Paradox

The Problem

Galileo identified two seemingly contradictory facts about infinite sets:

  • Intuitively, there should be more natural numbers than perfect squares
  • Every natural number can be paired with exactly one perfect square

The Solution: Cardinality

Georg Cantor resolved this paradox by introducing the concept of cardinality for infinite sets:

  • Two sets have the same cardinality if a bijection exists between them
  • Since f(n) = n² is a bijection from ℕ to perfect squares, they have equal cardinality
  • Intuitions about "more" or "fewer" don't apply to infinite sets

Mathematical Notation

Natural Numbers: ℕ = {0, 1, 2, 3, ...}

Perfect Squares: S = {0, 1, 4, 9, 16, ...}

Bijection: f: ℕ → S where f(n) = n²

Conclusion: |ℕ| = |S| = ℵ₀ (aleph-null)

Key Concepts

Bijection

One-to-one correspondence between sets

Cardinality

The "size" of a set, even infinite ones

Countably Infinite

Sets that can be put in bijection with ℕ

ℵ₀ (Aleph-null)

The cardinality of countably infinite sets

Equal Infinite Sets

ℕ ↔ Even Numbers

f(n) = 2n

ℕ ↔ Integers

Interleaving positive and negative

ℕ ↔ Rationals

Cantor's diagonal argument

All have |S| = ℵ₀

Same infinite cardinality

Understanding Galileo's Paradox

Historical Context

In 1638, Galileo Galilei presented this paradox in his final work "Discourses and Mathematical Demonstrations Relating to Two New Sciences." He was one of the first to grapple seriously with the counterintuitive properties of infinite sets.

The Paradox Statement

"So far as I see we can only infer that the totality of all numbers is infinite, that the number of squares is infinite, and that the number of their roots is infinite; neither is the number of squares less than the totality of all numbers, nor the latter greater than the former; and finally the attributes 'equal,' 'greater,' and 'less,' are not applicable to infinite, but only to finite, quantities."

— Galileo Galilei, 1638

Modern Resolution

Georg Cantor (1845-1918) resolved this paradox by developing set theory and the concept of cardinality. He showed that infinite sets can indeed be compared, but not using ordinary intuitions about size.

Cantor's Innovation

Definition

Two sets have the same cardinality if there exists a bijection between them

Application

The function f(n) = n² is a bijection from ℕ to perfect squares

Conclusion

Both sets have cardinality ℵ₀ and are "equally infinite"