Homepage Solution manuals Ivan Niven An Introduction to the Theory of Numbers Exercise 5.4.16* (The area of a right triangle with integer sides cannot be a square)

Exercise 5.4.16* (The area of a right triangle with integer sides cannot be a square)

Consider a right triangle the length of whose sides are integers. Prove that the area cannot be a perfect square.

Answers

Proof. Assume for the sake of contradiction that there is a right triangle with positive integer sides x , y , z (where z is the length of the hypotenuse) and integer area t . Then

{ x 2 + y 2 = z 2 1 2 xy = t 2 . (1)

Then

( x + y ) 2 = x 2 + y 2 + 2 xy = z 2 + 4 t 2 , ( x y ) 2 = x 2 + y 2 2 xy = z 2 4 t 2 .

If w = 2 t , then z 2 + w 2 and z 2 w 2 are both perfect squares, which is impossible by Problem 15. □

(The difficulty is in Problem 15, and Problem 14, not in Problem 16.)

User profile picture
2025-04-25 09:17
Comments