Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 5.4.17 (Fermat's alternative form)
Exercise 5.4.17 (Fermat's alternative form)
The preceding problem was asked by Fermat in the following alternative form. If the lengths of the sides of a right triangle are rational numbers, then the area of the triangle cannot be the square of a rational number. Derive this from the former version.
Answers
Proof. Assume for the sake of contradiction that there are positive rational numbers such that
Let be a common denominator of , so that
where are positive integers. Then (1) implies
We may write , where is a reduced fraction, so that and . Then . Since , and , we obtain , therefore or . But has no solution, thus and . This gives
where and are integers. But we have proved in Problem 16 that this is impossible.
If the lengths of the sides of a right triangle are rational numbers, then the area of the triangle cannot be the square of a rational number. □