Arithmetic and number theory
Fermat's Last Theorem
No positive integers a, b, c satisfy aⁿ+bⁿ=cⁿ for n>2, proved by Andrew Wiles in 1994.
IntuitionFrom infinitely many Pythagorean triples to a 350-year wall
The equation has infinitely many positive-integer solutions — , , , and so on forever. So it is startling that the moment the exponent rises by just one, from to , every one of those solutions vanishes: nobody has ever found positive integers with , and centuries of searching never turned up a single counterexample for any exponent .
SchoolThe special case n = 2: Pythagorean triples
Definition: Pythagorean triple
A Pythagorean triple is a set of positive integers satisfying ; it is primitive if .
Euclid already knew how to generate every primitive triple: choose coprime integers of opposite parity, and set
Since there are infinitely many valid choices of , there are infinitely many Pythagorean triples — a complete answer for . Fermat's Last Theorem claims that for every larger exponent, no such construction, or any other source of solutions, can exist at all.
UndergraduateTwo theorems: the elementary case and the full theorem
There are no positive integers with ; consequently none with either.
Why is it true?
This is the one case Fermat himself wrote a proof for, found among his papers after his death. The method — infinite descent — builds, from any hypothetical solution, a strictly smaller one, impossible for positive integers; it is the ancestor of well-founded induction used throughout modern mathematics and computer science.
Proof
Suppose a solution in positive integers to exists; choose one with minimal. If , then and is smaller — contradiction. So , is a primitive Pythagorean triple; say is odd. By Euclid's parametrization, coprime of opposite parity give , , .
From , the triple is itself primitive, so coprime give , , . Then , so with pairwise coprime and product a perfect square, forcing each to be a square: , , .
Substituting into gives — a new solution of the same equation, with : strictly smaller, contradicting minimality. No solution exists. For , setting would give a solution of , just ruled out.
For every integer , there are no positive integers satisfying .
Why is it true?
A simple algebraic trick reduces the infinitely many exponents to two families — exponent 4 and odd prime exponents — but even so, three centuries of the sharpest elementary techniques conquered only a handful of primes at a time; the theorem was finally settled only by importing entirely new machinery from elliptic curves.
Proof
Every integer is divisible by an odd prime (write ) or is a power of 2 with , hence divisible by 4 (). A solution of would give, with , a solution of or . So FLT for all follows from the cases (proved above) and every odd prime .
Euler (1770) extended Fermat's descent to prove elementarily. Over the following century, Germain, Legendre and Kummer proved larger and larger classes of primes — Kummer's 1850s work settled every "regular" prime — but no single descent handled every prime, and large primes resisted every attempt for another 140 years.
The case was settled in 1994-95 by Andrew Wiles with Richard Taylor, using ideas outside elementary number theory. Given a hypothetical , Gerhard Frey (1984) associated the elliptic curve ; Kenneth Ribet (1990) proved this curve, if it existed, could not be modular. Wiles then proved every semistable elliptic curve over the rationals is modular, so the Frey curve cannot exist, and no such exist. This full argument — Galois representations, deformation rings, modular forms — is reconstructed step by step in the companion proof "Wiles's modularity proof via the Taylor-Wiles method (1994)" filed under the great problem Fermat's Last Theorem in this library; it needs machinery introduced only later in the curriculum, so it is not repeated here.
UndergraduateReal-World Applications and Worked Examples
The theorem itself has no engineering formula, but its two halves reach into practice from opposite directions. The n=2 case — Euclid's parametrization — is the oldest applied Diophantine equation in existence, used by builders to lay out right angles. The machinery built to prove the general theorem — elliptic curves — is today the backbone of elliptic-curve cryptography (ECC) securing web traffic and cryptocurrency signatures; and the descent method above is the direct ancestor of the well-founded induction used to prove algorithms terminate.
Example: Framing a right angle without a protractor
A construction crew wants an exact right angle for a foundation using only a tape measure. Using with , , generate a triple and confirm it gives a right angle.
Solution
With : , , . Check: , so by the converse of the Pythagorean theorem the triangle with sides has an exact right angle between the sides and .
This is exactly why carpenters and surveyors have used small members of this family — ; ; — for millennia: a knotted rope or tape measure marked at those lengths gives a perfectly square corner without any angle-measuring tool.
Example: A computational sanity check before 1994
Before Wiles's proof, mathematicians searched for counterexamples. Check whether is ever a perfect fifth power for small .
Solution
Compute , , . Then , , ; none equals or the next fifth power , so no counterexample appears here.
Historically this search was pushed to enormous by computer without ever finding a counterexample — evidence for the conjecture, never proof of it, since the search space grows in two directions (larger exponents and bases) and a finite computation can never rule out some untested combination; that is exactly why a genuine proof, covering every at once, was necessary.
For which exponents does have infinitely many positive-integer solutions?
Using with , what is z?
Who completed the proof of Fermat's Last Theorem, and when?
The elliptic curves central to Wiles's proof strategy are, today, most widely used in industry for:
References
- Andrew Wiles (1995). Modular elliptic curves and Fermat's Last Theorem · DOI:10.2307/2118559
- Kenneth A. Ribet (1990). On modular representations of Gal(Q-bar/Q) arising from modular forms · DOI:10.1007/BF01234424
- Gary Cornell, Joseph H. Silverman, Glenn Stevens (eds.) (1997). Modular Forms and Fermat's Last Theorem · DOI:10.1007/978-1-4612-1974-3