Fermat's right triangle theorem
Fermat's right triangle theorem is a non-existence proof in number theory, the only complete proof left by Pierre de Fermat. It has several equivalent formulations:
- If three square numbers form an arithmetic progression, then the gap between consecutive numbers in the progression cannot itself be square.
- There do not exist two Pythagorean triangles in which the two legs of one triangle are the leg and hypotenuse of the other triangle.
- A right triangle for which all three side lengths are rational numbers cannot have an area that is the square of a rational number. An area defined in this way 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.
- The only rational points on the elliptic curve are the three trivial points,, and.
- The Diophantine equation has no integer solution.
Formulation
Squares in arithmetic progression
In 1225, Fibonacci was challenged to find a construction for triples of square numbers that are equally spaced from each other, forming an arithmetic progression, and for the spacing between these numbers, which he called 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. In his later work on the congruum problem, published in The Book of Squares, 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,, and could form an arithmetic progression whose congruum was also a square, then these numbers would satisfy the Diophantine equations
That is, by the Pythagorean theorem, they would form two integer-sided right triangles in which the pair 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 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 Diophantus published by Claude Gaspard 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
which can be simplified to
Conversely, any solution to this equation
could be factored to give a square congruum. Thus, the solvability of this equation is equivalent to the existence of a square congruum. But, if Fermat's last theorem were false for the exponent, then squaring one of the three numbers in any counterexample would also give three numbers that solve this equation. Therefore, Fermat's proof that no Pythagorean triangle has a square area implies that this equation has no solution, and that this case of Fermat's last theorem is true.
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. Thus, there is no square congruum if and only if the number 1 is not a congruent number. Equivalently, it is impossible for a square 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 Cartesian coordinates satisfy the equationThis equation has the obvious pairs of solutions,, and. 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.
Fermat's proof
During his lifetime, Fermat challenged several other mathematicians to prove the non-existence of a Pythagorean triangle with square area, but did not publish the proof himself. However, he wrote a proof in his copy of Bachet's Diophantus, which his son discovered and published posthumously.Fermat's proof is a proof by infinite descent. It shows that, from any example of a Pythagorean triangle with square area, one can derive a smaller example. Since Pythagorean triangles have positive integer areas, and there does not exist an infinite descending sequence of positive integers, there also cannot exist a Pythagorean triangle with square area.
In more detail, suppose that,, and are the integer sides of a right triangle with square area. By dividing by any common factors, one can assume that this triangle is primitive and from the known form of all primitive Pythagorean triples, one can set,, and, by which the problem is transformed into finding relatively prime integers and such that is square. The four linear factors,,, and are relatively prime and therefore must themselves be squares; let and. Both and must be odd since exactly one of or is even and the other is odd. Therefore, both and are even, one of which is divisible by 4. From these two numbers Fermat derives two more numbers and, one of which is even by the previous sentence. Because is a square, and are the legs of another primitive Pythagorean triangle whose area. Since is itself a square and since is even, is a square. Thus, any Pythagorean triangle with square area leads to a smaller Pythagorean triangle with square area, completing the proof.