ArticleslgStudy

mathematics

Fermat's right triangle theorem

Fermat's right triangle 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 right triangle theorem rather than just read about it. In short: Fermat's right triangle theorem is a non-existence proof in number theory, published in 1670 among the works of Pierre de Fermat, soon after his death. It is the only complete proof given by Fermat.

Fermat's right triangle theorem — main illustration
Fermat's right triangle theorem — illustration

Key takeaways

  • Fermat's right triangle 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 right triangle theorem to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Fermat's right triangle theorem from memory before moving on to harder problems.

Reference excerpt

Fermat's right triangle theorem is a non-existence proof in number theory, published in 1670 among the works of Pierre de Fermat, soon after his death. It is the only complete proof given by Fermat. It has many equivalent formulations, one of which was stated (but not proved) in 1225 by Fibonacci. In its geometric forms, it states:

A right triangle in the Euclidean plane for which all three side lengths are rational numbers cannot have an area that is the square of a rational number. The area of a rational-sided right triangle is called a congruent number, so no congruent number can be square. A right triangle and a square with equal areas cannot have all sides commensurate with each other. There do not exist two integer-sided right triangles in which the two legs of one triangle are the leg and hypotenuse of the other triangle. More abstractly, as a result about Diophantine equations (integer or rational-number solutions to polynomial equations), it is equivalent to the statements that:

If three square numbers form an arithmetic progression, then the gap between consecutive numbers in the progression (called a congruum) cannot itself be square. The only rational points on the elliptic curve y2=x(x−1)(x+1) are the three trivial points with x∈{−1,0,1} and y=0. The quartic equation x4−y4=z2 has no nonzero integer solution. An immediate consequence of the last of these formulations is that Fermat's Last Theorem is true in the special case that its exponent is 4.

Formulation

Squares in arithmetic progression In 1225, Emperor Frederick II challenged the mathematician Fibonacci to take part in a mathematical contest against several other mathematicians, with three problems set by his court philosopher John of Palermo. The first of these problems asked for three rational numbers whose squares were equally spaced five units apart; Fibonacci solved it with the three numbers 31/12, 41/12, and 49/12. In The Book of Squares, published later the same year by Fibonacci, he solved the more general problem of finding triples of square numbers that are equally spaced from each other, forming an arithmetic progression. Fibonacci called the gap between these numbers a congruum. One way of describing Fibonacci's solution is that the numbers to be squared are the difference of legs, hypotenuse, and sum of legs of a Pythagorean triangle, and that the congruum is four times the area of the same triangle. Fibonacci observed that it is impossible for a congruum to be a square number itself, but did not present a satisfactory proof of this fact. If three squares a2, b2, and c2 could form an arithmetic progression whose congruum was also a square d2, then these numbers would satisfy the Diophantine equations a2+d2=b2,b2+d2=c2. That is, by the Pythagorean theorem, they would form two integer-sided right triangles in which the pair (d,b) gives one leg and the hypotenuse of the smaller triangle and the same pair also forms the two legs of the larger triangle. But if (as Fibonacci asserted) no square congruum can exist, then there can be no two integer right triangles that share two sides in this way.

Areas of right triangles Because the congrua are exactly the numbers that are four times the area of a Pythagorean triangle, and multiplication by four does not change whether a number is square, the existence of a square congruum is equivalent to the existence of a Pythagorean triangle with a square area. It is this variant of the problem that Fermat's proof concerns: he shows that there is no such triangle. In considering this problem, Fermat was inspired not by Fibonacci but by an edition of Arithmetica by Diophantus, published in a translation into French in 1621 by Claude Gaspar Bachet de Méziriac. This book described various special right triangles whose areas had forms related to squares, but did not consider the case of areas that were themselves square. By rearranging the equations for the two Pythagorean triangles above, and then multiplying them together, one obtains the single Diophantine equation

b4−d4=(b2−d2)(b2+d2)=a2c2 which can be simplified by introducing a new variable e=ac to b4−d4=e2. Conversely, any three positive integers obeying the equation b4−d4=e2 lead to a square congruum: for these numbers, the squares (b4−d4−2b2d2)2, (b4+d4)2, and (b4−d4+2b2d2)2 form an arithmetic progression with congruum 4b2d2(b4−d4)=(2bde)2, which is a square itself. Thus, the solvability of b4−d4=e2 is equivalent to the existence of a square congruum. But, if Fermat's Last Theorem had a counterexample for the exponent 4, an integer solution to the equation x4+y4=z4, then squaring one of the three numbers in the counterexample would give three numbers that solve the equation b4−d4=e2. Therefore, Fermat's proof that no Pythagorean triangle has a square area implies the truth of the exponent-4 case of Fermat's Last Theorem. Another equivalent formulation of the same problem involves congruent numbers, the numbers that are areas of right triangles whose three sides are all rational numbers. By multiplying the sides by a common denominator, any congruent number may be transformed into the area of a Pythagorean triangle, from which it follows that the congruent numbers are exactly the numbers formed by multiplying a congruum by the square of a rational number. Therefore, the existence of a square congruum is equivalent to the statement that the number 1 is not a congruent number. Another more geometric way of stating this formulation is that it is impossible for a square (the geometric shape) and a right triangle to have both equal areas and all sides commensurate with each other.

Elliptic curve

Yet another equivalent form of Fermat's theorem involves the elliptic curve consisting of the points whose coordinates (x,y) satisfy the equation

y2=x(x+1)(x−1). The points (−1,0), (0,0), and (1,0), provide obvious solutions to this equation. Fermat's theorem is equivalent to the statement that these are the only points on the curve for which both x and y are rational. More generally, the right triangles with rational sides and area n correspond one-for-one with the rational points with positive y-coordinate on the elliptic curve y2=x(x+n)(x−n).

… excerpt ends here. Continue reading the full article.

Illustrations

Fermat's right triangle theorem: Two right triangles with the two legs of the top one equal to the leg and hypotenuse of the bottom one. For these lengths, a2, b2, and c2 form an arithmetic progression separated by a gap of d2. It is not possible for all four lengths a, b, c, and d to be integers.
Two right triangles with the two legs of the top one equal to the leg and hypotenuse of the bottom one. For these lengths, a2, b2, and c2 form an arithmetic progression separated by a gap of d2. It is not possible for all four lengths a, b, c, and d to be integers.
Fermat's right triangle theorem: The elliptic curve .mw-parser-output .texhtml{font-family:"Nimbus Roman No9 L","Times New Roman",Times,serif;font-size:118%;line-height:1;font-variant-numeric:lining-nums tabular-nums;font-kerning:none}.mw-parser-output .texhtml .texhtml{font-size:100%}.mw-parser-output .texhtml-big{font-size:165%}.mw-parser-output .mvar{font-style:italic}@media(min-width:420px){.mw-parser-output .texhtml{white-space:nowrap}}y2 = x(x + 1)(x − 1). The three rational points (−1,0), (0,0), and (1,0) are the crossings of this curve with the x-axis.
The elliptic curve .mw-parser-output .texhtml{font-family:"Nimbus Roman No9 L","Times New Roman",Times,serif;font-size:118%;line-height:1;font-variant-numeric:lining-nums tabular-nums;font-kerning:none}.mw-parser-output .texhtml .texhtml{font-size:100%}.mw-parser-output .texhtml-big{font-size:165%}.mw-parser-output .mvar{font-style:italic}@media(min-width:420px){.mw-parser-output .texhtml{white-space:nowrap}}y2 = x(x + 1)(x − 1). The three rational points (−1,0), (0,0), and (1,0) are the crossings of this curve with the x-axis.

Worked examples

Example 1 — a first encounter with Fermat's right triangle theorem

Start with the simplest possible case. Write down what Fermat's right triangle 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 right triangle 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 right triangle 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 right triangle theorem

In research
Fermat's right triangle 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 right triangle 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 right triangle theorem is common in secondary-school and first-year university syllabi. It links to neighbouring topics Arithmetic problems of plane geometry, Diophantine equations, Fermat's Last Theorem, so understanding it makes those chapters shorter.
In everyday life
Look for Fermat's right triangle 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 right triangle theorem” →

How to study Fermat's right triangle theorem in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Fermat's right triangle 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 right triangle theorem out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Fermat's right triangle theorem in simple terms?

Fermat's right triangle theorem is a non-existence proof in number theory, published in 1670 among the works of Pierre de Fermat, soon after his death. It is the only complete proof given by Fermat.

Why does Fermat's right triangle 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 right triangle 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 right triangle theorem.

Tags

  • Arithmetic problems of plane geometry
  • Diophantine equations
  • Fermat's Last Theorem
  • Squares in number theory
  • Theorems in number theory

Keep exploring