Fermat's Last Theorem: From Margin Notes to Andrew Wiles
We trace the 358-year history of Fermat's Last Theorem — from Fermat's tantalizing margin note to Andrew Wiles's monumental proof via elliptic curves and modular forms — and explain the mathematical ideas that made the proof possible.
The Theorem
Fermat's Last Theorem (Wiles, 1995)
There are no positive integer solutions to the equation:
For , there are infinitely many solutions — the Pythagorean triples such as and . But raise the exponent to or higher, and solutions vanish entirely.
The Margin Note
Around 1637, Pierre de Fermat wrote in the margin of his copy of Diophantus's Arithmetica:
"Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et generaliter nullam in infinitum ultra quadratum potestatem in duos eiusdem nominis fas est dividere cuius rei demonstrationem mirabilem sane detexi. Hanc marginis exiguitas non caperet."
In English: "It is impossible to separate a cube into two cubes, or a fourth power into two fourth powers, or in general, any power higher than the second, into two like powers. I have discovered a truly marvelous proof of this, which this margin is too narrow to contain."
No proof was ever found among Fermat's papers. The consensus among mathematicians is that Fermat did not have a valid proof for the general case.
Early Progress
Small Exponents
- : Fermat himself proved this case using the method of infinite descent — the only proof of FLT he left behind. The key is that has no solutions, which is actually stronger.
- : Euler (1770) gave a proof, though with a gap later filled by others.
- : Dirichlet and Legendre (1825) proved this independently.
- : Lamé (1839) proved this case.
- : Dirichlet (1832).
Each case required new ideas. There was no unified method.
Sophie Germain's Theorem
Sophie Germain (c. 1820) proved a general result: if is an odd prime such that is also prime (a "Sophie Germain prime"), then has no solutions with . This handled infinitely many exponents at once — the first general result.
Kummer and Ideal Numbers
Ernst Kummer (1847) proved FLT for all regular primes — primes that do not divide the class number of . He introduced the theory of ideal numbers (later formalized as ideals by Dedekind) to handle the failure of unique factorization in cyclotomic fields.
By the mid-20th century, FLT was verified for all exponents up to via computation, but a proof for all remained elusive.
The Modern Approach
The eventual proof came not from number-theoretic methods for specific exponents, but from a deep connection between two seemingly unrelated areas of mathematics.
Elliptic Curves
An elliptic curve over is a curve of the form:
For each prime , we can reduce modulo and count solutions. Define , and assemble these into an -function:
Modular Forms
A modular form of weight and level is a holomorphic function on the upper half-plane satisfying:
along with growth conditions. Each modular form has a Fourier expansion (where ) and an associated -function.
The Taniyama-Shimura-Weil Conjecture
Modularity Conjecture (Taniyama-Shimura-Weil)
Every elliptic curve over is modular: its -function equals the -function of some modular form of weight .
This conjecture, first formulated by Yutaka Taniyama (1956) and refined by Goro Shimura and André Weil, seemed far removed from Fermat's Last Theorem. The connection was made by two breakthroughs.
The Frey-Serre-Ribet Bridge
Frey's Idea (1984)
Gerhard Frey proposed: if is a counterexample to FLT, consider the Frey curve:
This elliptic curve has remarkable properties — its discriminant is an unusually high power, making the curve "too strange" to be modular.
Ribet's Theorem (1986)
Kenneth Ribet proved that the Frey curve, if it existed, could not be modular. More precisely, he showed that the modularity of would imply the existence of a modular form of weight and level , but the space is trivial — it contains no nonzero cusp forms.
The logical chain:
Contrapositive:
Thus, the Modularity Conjecture (for semistable elliptic curves) implies Fermat's Last Theorem.
Wiles's Proof
Andrew Wiles worked in secret for seven years (1986–1993) to prove the Modularity Conjecture for semistable elliptic curves. He announced his proof in a famous lecture series at Cambridge in June 1993.
The Strategy
Wiles proved modularity by showing that certain Galois representations attached to elliptic curves are modular. The key steps:
-
Base case. Show modularity for the residual representation using results of Langlands and Tunnell.
-
Lifting. Prove that if is modular, then the full -adic representation is also modular. This is the hardest part, requiring a study of deformation rings and Hecke algebras.
-
Conclusion. A modular -adic representation implies the elliptic curve is modular.
The Gap and the Fix
A gap was discovered in September 1993 in the argument comparing deformation rings and Hecke algebras. After over a year of intense work, Wiles — with crucial help from Richard Taylor — found a new approach using the Iwasawa theory of elliptic curves. The corrected proof was published in 1995.
The Published Papers
- Wiles, A., "Modular elliptic curves and Fermat's Last Theorem," Annals of Mathematics, 141(3), 443–551, 1995.
- Taylor, R. and Wiles, A., "Ring-theoretic properties of certain Hecke algebras," Annals of Mathematics, 141(3), 553–572, 1995.
Together, these 130 pages proved the most famous conjecture in mathematics.
After Wiles
The full Modularity Conjecture (for all elliptic curves, not just semistable ones) was proved by Breuil, Conrad, Diamond, and Taylor in 2001, building on Wiles's methods.
The techniques pioneered by Wiles have led to an explosion of results in the Langlands program — a vast web of conjectures connecting number theory, representation theory, and algebraic geometry.
Why Every Condition Matters
Why ? For , Pythagorean triples , , etc. provide infinitely many solutions.
Why positive integers? Over , the equation is equivalent to (divide by ), and the question becomes: does the Fermat curve have rational points other than the obvious ones?
Why not ? has infinitely many solutions.
Summary
References
- Wiles, A., "Modular elliptic curves and Fermat's Last Theorem," Annals of Mathematics, 141(3), 443–551, 1995.
- Singh, S., Fermat's Enigma, Anchor Books, 1997.
- Cornell, G., Silverman, J. H., and Stevens, G. (eds.), Modular Forms and Fermat's Last Theorem, Springer, 1997.
- Wikipedia — Fermat's Last Theorem
- Wikipedia — Modularity theorem
- Numberphile — Fermat's Last Theorem (YouTube)