ArticleslgStudy

mathematics

Fermat's Last Theorem

Fermat's Last Theorem is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Fermat's Last Theorem rather than just read about it. In short: In number theory, Fermat's Last Theorem (sometimes called Fermat's conjecture, especially in older texts) states that there are no positive integers a,b,c,n with n>2 such that an+bn=cn. The cases n=1 and n=2 have been known since antiquity to have infinitely many solutions.

Fermat's Last Theorem — main illustration
Fermat's Last Theorem — illustration

Key takeaways

  • Fermat's Last Theorem belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Fermat's Last Theorem to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Fermat's Last Theorem from memory before moving on to harder problems.

Reference excerpt

In number theory, Fermat's Last Theorem (sometimes called Fermat's conjecture, especially in older texts) states that there are no positive integers a,b,c,n with n>2 such that an+bn=cn. The cases n=1 and n=2 have been known since antiquity to have infinitely many solutions. The proposition was first stated as a theorem by Pierre de Fermat around 1637 in the margin of a copy of Arithmetica. Fermat wrote that "I have discovered a truly marvelous proof of this, which this margin is too narrow to contain." Although other statements claimed by Fermat without proof were subsequently proven by others and credited as theorems of Fermat (for example, Fermat's theorem on sums of two squares), Fermat's Last Theorem resisted proof, leading to doubt that Fermat ever had a correct proof. Consequently, the proposition became known as a conjecture rather than a theorem. After 358 years of effort by mathematicians, the first successful proof was released in 1994 by Andrew Wiles and formally published in 1995. It was described as a "stunning advance" in the citation for Wiles's Abel Prize award in 2016. It also proved much of the Taniyama–Shimura conjecture, subsequently known as the modularity theorem, and opened up entire new approaches to numerous other problems and mathematically powerful modularity lifting techniques. The unsolved problem stimulated the development of algebraic number theory in the 19th and 20th centuries. For its influence within mathematics and in culture more broadly, it is among the most notable theorems in the history of mathematics.

Overview

Pythagorean origins The Pythagorean equation, x2+y2=z2, has an infinite number of positive integer solutions for x, y, and z; these solutions are known as Pythagorean triples (with the simplest example being 3, 4, 5). Around 1637, Fermat wrote in the margin of a book that the more general equation an+bn=cn had no solutions in positive integers if n is an integer greater than 2. Although he claimed to have a general proof of his conjecture, Fermat left no details of his proof, and none has ever been found. His claim was discovered some 30 years later, after his death. This claim, which came to be known as Fermat's Last Theorem, stood unsolved for the next three and a half centuries and was solved with mathematics Fermat would not have known. The claim eventually became one of the most notable unsolved problems of mathematics. Attempts to prove it prompted substantial development in number theory, and over time Fermat's Last Theorem gained prominence as an unsolved problem in mathematics.

Subsequent developments and solution The special case n=4, proved by Fermat himself, is sufficient to establish that if the theorem is false for some exponent n that is not a prime number, it must also be false for some smaller n, so only prime values of n need further investigation. Over the next two centuries (1637–1839), the conjecture was proved for only the primes 3, 5, and 7, although Sophie Germain innovated and proved an approach that was relevant to an entire class of primes. In the mid-19th century, Ernst Kummer extended this and proved the theorem for all regular primes, leaving irregular primes to be analyzed individually. Building on Kummer's work and using sophisticated computer studies, other mathematicians were able to extend the proof to cover all prime exponents up to four million, but a proof for all exponents was considered exceedingly difficult or unachievable with the knowledge of the time. Around 1955, Japanese mathematicians Goro Shimura and Yutaka Taniyama suspected a link might exist between elliptic curves and modular forms, two completely different areas of mathematics. Known at the time as the Taniyama–Shimura conjecture, it had no apparent connection to Fermat's Last Theorem. It was widely seen as significant and important in its own right, but was (like Fermat's theorem) considered completely inaccessible to proof. In 1984, Gerhard Frey noticed an apparent link between these two previously unrelated and unsolved problems, and he gave an outline suggesting this could be proved. The full proof that the two problems were closely linked was accomplished in 1986 by Ken Ribet, building on a partial proof by Jean-Pierre Serre, who proved all but one part known as the "epsilon conjecture" (see: Ribet's Theorem and Frey curve). These papers by Frey, Serre and Ribet showed that if the Taniyama–Shimura conjecture could be proven for at least the semi-stable class of elliptic curves, a proof of Fermat's Last Theorem would also follow automatically. The connection is described below: any solution that could contradict Fermat's Last Theorem could also be used to contradict the Taniyama–Shimura conjecture. So if the Taniyama–Shimura conjecture were found to be true, then no solution contradicting Fermat's Last Theorem could exist, meaning that Fermat's Last Theorem must also be true. Although both problems were daunting and widely considered to be "completely inaccessible" to proof at the time, this was the first suggestion of a route by which Fermat's Last Theorem could be extended and proved for all numbers, not just some numbers. Unlike Fermat's Last Theorem, the Taniyama–Shimura conjecture was a major active research area and viewed as more within reach of contemporary mathematics. However, general opinion was that this simply showed the impracticality of proving the Taniyama–Shimura conjecture. Mathematician John Coates' quoted reaction was a common one:

… excerpt ends here. Continue reading the full article.

Illustrations

Fermat's Last Theorem illustration
Fermat's Last Theorem: Problem II.8 in the 1621 edition of the Arithmetica of Diophantus. On the right is the margin that was too small to contain Fermat's alleged proof of his "last theorem".
Problem II.8 in the 1621 edition of the Arithmetica of Diophantus. On the right is the margin that was too small to contain Fermat's alleged proof of his "last theorem".
Fermat's Last Theorem: Fermat's infinite descent for Fermat's Last Theorem case n=4 in the 1670 edition of the Arithmetica of Diophantus (pp. 338–339).
Fermat's infinite descent for Fermat's Last Theorem case n=4 in the 1670 edition of the Arithmetica of Diophantus (pp. 338–339).
Fermat's Last Theorem: British mathematician Andrew Wiles
British mathematician Andrew Wiles
Fermat's Last Theorem: Czech postage stamp commemorating Wiles' proof
Czech postage stamp commemorating Wiles' proof

Worked examples

Example 1 — a first encounter with Fermat's Last Theorem

Start with the simplest possible case. Write down what Fermat's Last Theorem claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Fermat's Last Theorem before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Fermat's Last Theorem ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Fermat's Last Theorem

In research
Fermat's Last Theorem appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Fermat's Last Theorem in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Fermat's Last Theorem is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1637 beginnings, 1637 in science, 17th-century introductions, so understanding it makes those chapters shorter.
In everyday life
Look for Fermat's Last Theorem outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Fermat's Last Theorem” →

How to study Fermat's Last Theorem in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Fermat's Last Theorem means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Fermat's Last Theorem out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Fermat's Last Theorem in simple terms?

In number theory, Fermat's Last Theorem (sometimes called Fermat's conjecture, especially in older texts) states that there are no positive integers a,b,c,n with n>2 such that an+bn=cn. The cases n=1 and n=2 have been known since antiquity to have infinitely many solutions.

Why does Fermat's Last Theorem matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Fermat's Last Theorem?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Fermat's Last Theorem.

Tags

  • 1637 beginnings
  • 1637 in science
  • 17th-century introductions
  • 1995 in science
  • 20th century in mathematics
  • Abc conjecture
  • Conjectures that have been proved
  • Fermat's Last Theorem
  • Pierre de Fermat
  • Pythagorean theorem
  • Theorems in number theory

Keep exploring