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.[1] It has many equivalent formulations, one of which was stated (but not proved) in 1225 by Fibonacci. In its geometric forms, it states:
More abstractly, as a result about Diophantine equations (integer or rational-number solutions to polynomial equations), it is equivalent to the statements that:
y2=x(x-1)(x+1)
x\in\{-1,0,1\}
y=0
x4-y4=z2
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, solved by Fibonacci with the three numbers
\tfrac{31}{12}
\tfrac{41}{12}
\tfrac{49}{12}
If three squares
a2
b2
c2
d2
(d,b)
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 equationwhich can be simplified by introducing a new variable
e=ac
b4-d4=e2
(b4-d4-2b2d2)2
(b4+d4)2
(b4-d4+2b2d2)2
4b2d2(b4-d4)=(2bde)2
b4-d4=e2
4
x4+y4=z4
b4-d4=e2
4
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.[4] Therefore, the existence of a square congruum is equivalent to the statement that the number 1 is not a congruent number.[5] 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.
(x,y)
x
y
n
y
y2=x(x+n)(x-n)
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 Diophantus's Arithmetica, the same copy in which he wrote that he could prove Fermat's Last Theorem. Fermat's son Clement-Samuel published an edition of this book, including Fermat's marginal notes with the proof of the right triangle theorem, in 1670.[7]
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.[8]
In more detail, suppose that
x
y
z
x=2pq
y=p2-q2
z=p2+q2
p
q
pq(p2-q2)
p
q
p+q
p-q
p+q=r2
p-q=s2
r
s
p
q
r-s
r+s
u=(r-s)/2
v=(r+s)/2
u2+v2=(r2+s2)/2=p
u
v
uv/2=q/4
q
uv
q/4