1. Home
  2. Explore
  3. Mathematics
  4. Mathematical Limits

Study methods

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

Mathematical Limits

🕳️ The Unknowable in Mathematics: Undecidability and Incompleteness

At the heart of mathematics lies a fundamental hole: there will always be true statements that cannot be proven. This inherent limitation means we can never know everything with absolute certainty. While the specific unprovable truths are unknown, they could be concepts like the Twin Prime Conjecture.

The Twin Prime Conjecture proposes that there are infinitely many twin primes (prime numbers separated by one number, e.g., 11 and 13). Despite extensive research, no one has yet proven this conjecture true or false. The profound implication is that we might never know, due to the proven existence of unprovable true statements in any mathematical system capable of basic arithmetic.


🎮 Conway's Game of Life: A Visual of Undecidability

Conway's Game of Life, created in 1970 by mathematician John Conway, is a powerful illustration of undecidability. This "zero-player game" operates on an infinite grid of square cells, each either live or dead.

🎲 Rules of the Game:

  1. Birth: A dead cell with exactly three live neighbors comes to life.

  2. Survival/Death: A living cell with less than two or more than three live neighbors dies.

Once an initial arrangement of cells is set, these two simple rules are applied automatically to generate successive generations.

🌟 Emergent Behavior:

Despite its simple rules, the Game of Life exhibits complex and varied behaviors:

  • Stable patterns: Remain unchanged once formed.

  • Oscillating patterns: Loop back and forth.

  • Traveling patterns: Move across the grid (e.g., gliders).

  • Fizzling patterns: Die out.

  • Growing patterns: Continuously generate new cells.

❓ The Undecidable Question:

A critical question arises: Can we predict the ultimate fate of any given pattern – will it stabilize, grow infinitely, or die out? It turns out this question is impossible to answer. The ultimate fate of a pattern in Conway's Game of Life is undecidable.

Undecidable: There is no possible algorithm guaranteed to answer the question in a finite amount of time. Even running simulations for millions of generations doesn't guarantee a definitive answer about its long-term behavior.

🌐 Widespread Undecidability:

The Game of Life is not unique; many systems exhibit undecidability, including:

  • Wang tiles

  • Quantum physics (e.g., spectral gap problem)

  • Airline ticketing systems

  • Magic: The Gathering

  • PowerPoint slides and Excel spreadsheets


📜 The Foundations of Mathematics: A Historical Revolt

The concept of undecidability is deeply rooted in a mathematical revolt that began in the late 19th century.

♾️ Cantor and Set Theory:

In 1874, German mathematician Georg Cantor introduced set theory, a new branch of mathematics dealing with well-defined collections of things. He explored sets of numbers, specifically natural numbers (positive integers like 1, 2, 3...) and real numbers (fractions, irrational numbers like pi, e, square root of two, represented as infinite decimals).

Cantor posed a groundbreaking question: Are there more natural numbers or more real numbers between zero and one?

  • Both sets are infinite, but Cantor's diagonalization proof demonstrated that these infinities are not the same size.

  • He showed that even if you try to create an infinite one-to-one list matching natural numbers to real numbers between 0 and 1, you can always construct a new real number that is not on your list. This new number is created by taking the nth digit of the nth number on the list and adding one (or changing 9 to 8).

  • This proved that there are more real numbers than natural numbers, classifying infinities as countable (like natural numbers) and uncountable (like real numbers).

💥 The Crisis in Mathematics:

Cantor's work, along with the discovery of non-Euclidean geometries by Lobachevsky and Gauss, shattered the long-held belief in Euclid's Elements as the unshakeable foundation of mathematics.

  • Concepts like the limit in calculus were found to be poorly defined.

  • Infinity itself proved far more complex than imagined.

⚔️ Intuitionists vs. Formalists:

This upheaval led to a major debate:

  • Intuitionists: Believed mathematics was a human mental creation and rejected Cantor's infinities as "nonsense." Prominent figures like Henri Poincaré and Leopold Kronecker were staunch critics.

  • Formalists: Advocated for placing mathematics on secure logical foundations using Cantor's set theory. Their informal leader was David Hilbert, a highly influential mathematician who championed rigor and formal systems of proof.

🤯 Russell's Paradox:

In 1901, Bertrand Russell exposed a serious flaw in Cantor's set theory, known as Russell's Paradox.

  • If sets can contain anything, they can contain other sets, or even themselves.

  • Consider R: the set of all sets that do not contain themselves.

  • Paradox: If R does not contain itself, then by definition, it must contain itself. But if R does contain itself, then by definition, it must not contain itself. This creates a contradiction.

  • Russell famously illustrated this with the barber paradox: A village barber shaves all and only those men in the village who do not shave themselves. Who shaves the barber?

The formalists, led by mathematicians like Zermelo, addressed Russell's paradox by restricting the concept of a set (e.g., "the set of all sets" is not a valid set), eliminating paradoxes of self-reference for a time.


🎯 Hilbert's Questions and Gödel's Answers

David Hilbert sought to formalize mathematics completely, developing a new system for mathematical proofs based on axioms (basic assumed truths) and rules of inference (methods to derive new true statements).

📚 Formal Systems of Proof:

  • Hilbert envisioned a symbolic logical language with rigid rules for manipulating symbols.

  • Russell and Alfred North Whitehead's Principia Mathematica (1913) was an attempt to create such a system, spanning nearly 2,000 pages of dense notation to prove even basic statements like "1 + 1 = 2."

  • The goal was exactness, leaving no room for ambiguity.

❓ Hilbert's Three Big Questions:

Hilbert wanted definitive answers to these fundamental questions about mathematics:

  1. Completeness: Is there a way to prove every true statement in mathematics? (Does every true statement have a proof?)

  2. Consistency: Is mathematics free of contradictions? (Can you not simultaneously prove A and not-A?)

  3. Decidability: Is there an algorithm that can always determine whether a statement follows from the axioms?

Hilbert was convinced the answer to all three was yes, famously declaring, "We must know, we will know!"

💔 Gödel's Incompleteness Theorems:

In 1930, Kurt Gödel, a 24-year-old logician, shattered Hilbert's dream with his incompleteness theorems.

📝 Gödel's Proof Mechanism:

  • Gödel assigned a unique Gödel number to every basic symbol, number, and statement in a mathematical system.

  • Complex statements (like "0 = 0") could then be represented by a single, unique, very large Gödel number, derived by raising prime numbers to the power of the Gödel numbers of the symbols in the statement.

  • This allowed mathematical statements to "talk about" other mathematical statements, or even about themselves.

  • Proofs themselves could also be assigned Gödel numbers.

🤯 Gödel's First Incompleteness Theorem (1931):

Gödel constructed a self-referential statement within the formal system: "This statement has no proof."

  • This statement also has its own Gödel number, let's call it g. So the statement is "There is no proof for the statement with Gödel number g."

  • If the statement is false: Then there is a proof for it. But if it's proven, then the statement "There is no proof for the statement with Gödel number g" becomes a proven true statement, which is a contradiction. This would mean the mathematical system is inconsistent.

  • If the statement is true: Then there is no proof for it. This means the mathematical system contains a true statement that cannot be proven. This would mean the mathematical system is incomplete.

Gödel's First Incompleteness Theorem: Any consistent formal system of mathematics capable of basic arithmetic will always contain true statements that cannot be proven within that system. Therefore, mathematics is incomplete.

💔 Gödel's Second Incompleteness Theorem:

Gödel further proved that:

Gödel's Second Incompleteness Theorem: Any consistent formal system of mathematics cannot prove its own consistency.

This means that even if a system is consistent, we can never definitively prove it within that system. A contradiction could always emerge in the future.


💻 Turing and the Halting Problem: The Answer to Decidability

Hilbert's third question – decidability – remained. In 1936, Alan Turing provided the answer by inventing the theoretical model of the modern computer: the Turing machine.

⚙️ The Turing Machine:

  • A Turing machine is a theoretical model of computation.

  • It consists of an infinitely long tape of cells (each containing 0 or 1) and a read/write head.

  • It operates based on a program (a set of internal instructions) that tells it what to do (overwrite, move left, move right, or halt) based on the digit read and its internal state.

  • A Turing machine can execute any computable algorithm if given enough time, making it the most powerful model of computation. Systems capable of doing everything a Turing machine can are called Turing complete.

🛑 The Halting Problem:

A key challenge for Turing was the halting problem:

  • A Turing machine program either halts (finishes running) or never halts (gets stuck in an infinite loop).

  • The Halting Problem: Is it possible to determine beforehand if a given Turing machine program will halt or not on a particular input?

Turing realized that if you could solve the halting problem, you could solve the decidability problem for mathematics (e.g., determine if the Twin Prime Conjecture is provable by constructing a Turing machine that halts if it finds a proof).

🚫 Proof of Undecidability:

Turing proved that the halting problem is undecidable.

  • He imagined a hypothetical machine, H, that could solve the halting problem (always correctly determine if any given program halts or not).

  • He then designed a modified machine, H+, that incorporates H.

    • If H says a program X halts, H+ goes into an infinite loop.

    • If H says X never halts, H+ immediately halts.

  • The Paradox: What happens if H+ is given its own code as both program and input?

    • If H concludes that H+ never halts, then H+ immediately halts (contradiction).

    • If H concludes that H+ halts, then H+ goes into an infinite loop (contradiction).

  • Since H produces a contradiction regardless of its output, a machine like H cannot exist.

Conclusion: There is no general algorithm that can determine whether an arbitrary Turing machine will halt or not. Therefore, mathematics is undecidable.

This means that questions like the Twin Prime Conjecture might be fundamentally unsolvable.

🌌 Undecidability in Physical Systems: The Spectral Gap

Undecidability extends to physical systems, such as in quantum mechanics.

  • The spectral gap is the energy difference between a many-body system's ground state and its first excited state.

  • Determining if a system is "gapped" or "gapless" is crucial for understanding its low-temperature behavior (e.g., phase transitions).

  • In 2015, mathematicians proved that, in general, the spectral gap question is undecidable. Even a perfect description of microscopic interactions isn't always enough to deduce macroscopic properties.

💡 Turing Completeness and Its Catch:

Many systems are Turing complete, meaning they can perform any computation a Turing machine can. However, every Turing complete system comes with its own "halting problem" – an undecidable property:

  • Wang tiles: Their halting problem is whether they will tile the plane.

  • Complex quantum systems: Their halting problem is the spectral gap question.

  • The Game of Life: Its halting problem is literally whether a pattern halts or grows forever.

  • Programming languages: Most are Turing complete, but this implies undecidable properties within them.


🌍 The Legacy of Unknowability

The realization that mathematics is incomplete and undecidable could have been devastating. Instead, grappling with these profound limitations led to incredible discoveries and transformations:

  • Transformation of Infinity: Cantor's work revolutionized our understanding of infinite sets.

  • Birth of Computer Science: Turing's work on computability and the halting problem directly led to the design of the modern computer.

    • During World War II, Turing led the team at Bletchley Park that built machines to crack Nazi codes, significantly shortening the war.

    • He and John von Neumann designed the ENIAC, one of the first true programmable electronic computers.

The paradoxes of self-reference, which initially plagued set theory and then led to Gödel's and Turing's insights, are the very foundation upon which all modern computing devices are built.

While Hilbert's dream of complete, consistent, and decidable mathematics was ultimately proven impossible, the pursuit of that dream unlocked a deeper understanding of truth, proof, and computation, fundamentally changing our world. We don't always know, and sometimes we can't know, but in trying to find out, we discover new things that reshape our reality.

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent