Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2001/iii/paper-19/1/ii/solution

Suppose an integer right triangle with square area exists, and choose one with the least positive hypotenuse . It is primitive. Indeed, dividing all sides by their common divisor gives an integer right triangle whose area is the square of the rational number , where was the original area. Its area is an integer, since one of its legs is even. A rational number whose square is an integer is itself an integer, as follows by writing it in lowest terms. Thus division by would give another square-area triangle with smaller hypotenuse.
By the primitive Pythagorean parametrization, after ordering the legs the triangle has sides , with coprime of opposite parity. Its area is
These four positive factors are pairwise coprime: the pair has gcd dividing and is odd, and the other pairs have gcd one by . Since the product is a square, each factor is a square. Write
Both are odd. Odd squares are , so is divisible by eight; hence is divisible by four and is even. Define positive integers
They satisfy
Thus is another positive integer right triangle with square area, but its hypotenuse is strictly smaller than . This contradicts minimality. No integer right triangle has a nonzero square area. This is the Fermat right triangle theorem, with the actual infinite descent construction exhibited.

New to topics? Read the docs here!