Exercise 1.23

Suppose that a 2 + b 2 = c 2 with a , b , c ∈ ℤ . For example, 3 2 + 4 2 = 5 2 and 5 2 + 1 2 2 = 1 3 2 . Assume that ( a , b ) = ( b , c ) = ( c , a ) = 1 . Prove that there exist integers u and v such that c − b = 2 u 2 and c + b = 2 v 2 and ( u , v ) = 1 (there is no loss in generality in assuming that b and c are odd and that a is even). Consequently a = 2 uv , b = v 2 − u 2 , and c = v 2 + u 2 . Conversely show that if u and v are given, then the three numbers a , b , and c given by these formulas satisfy a 2 + b 2 = c 2 .

Answers

Proof. Suppose x 2 + y 2 = z 2 , x , y , z ∈ ℤ . Let d = x ∧ y ∧ z . If d = 0 , then x = y = z = 0 . If d ≠ 0 , and a = x ∕ d , b = y ∕ d , c = z ∕ d , then a 2 + b 2 = c 2 , with a ∧ b ∧ c = 1 . If a prime p is such that p ∣ a , p ∣ b , then p ∣ c 2 , so p ∣ c (as p is a prime). Then p ∣ a ∧ b ∧ c = 1 : this is impossible, so a ∧ b = 1 , and similarly a ∧ c = 1 , b ∧ c = 1 .

If a , b are odd, then a 2 ≡ b 2 ≡ 1 ( mod 4 ) , so c 2 ≡ 2 ( mod 4 ) . As the squares modulo 4 are 0 , 1 , this is impossible. As a ∧ b = 1 , a , b are not both even, so a , b are not of the same parity. Without loss of generality, we may exchange a , b so that a is even, b is odd, and then c is odd.

a 2 = c 2 − b 2 = ( c − b ) ( c + b ) , so

( a 2 ) 2 = ( c − b 2 ) ( c + b 2 ) .

where a ∕ 2 , ( c − b ) ∕ 2 , ( c + b ) ∕ 2 are integers.

If d ∣ ( c − b ) ∕ 2 and d ∣ ( c + b ) ∕ 2 , then d ∣ c = ( c + b ) ∕ 2 + ( c − b ) ∕ 2 , and d ∣ b = ( c − b ) ∕ 2 − ( c − b ) ∕ 2 , so d ∣ c ∧ b = 1 . This proves

( c + b 2 ) ∧ ( c − b 2 ) = 1 .

Using Ex. 1.16, we see that ( c + b ) ∕ 2 and ( c − b ) ∕ 2 are squares : there exist u , v such that

c − b = 2 u 2 , c + b = 2 v 2 , u ∧ v = 1 .

( a ∕ 2 ) 2 = u 2 v 2 , and we can choose the signs of u , v such that a = 2 uv . Then b = v 2 − u 2 , c = v 2 + u 2 . There exists λ ∈ ℤ ( λ = d ) such that x = 2 λuv , y = λ ( v 2 − u 2 ) , z = λ ( v 2 + u 2 ) .

Conversely, if λ , u , v are any integers, ( 2 λuv ) 2 + ( λ ( v 2 − u 2 ) 2 = λ 2 ( 4 u 2 v 2 + v 4 + u 4 − 2 u 2 v 2 ) = λ 2 ( v 4 + u 4 + 2 u 2 v 2 ) = ( λ ( u 2 + v 2 ) ) 2 .

Conclusion : if x , y , z ∈ ℤ ,

x 2 + y 2 = z 2 ⟺ ∃ ⁡ λ ∈ ℤ , ∃ ⁡ ( u , v ) ∈ ℤ 2 , u ∧ v = 1 ,

{ x = 2 λuv y = λ ( v 2 − u 2 ) z = λ ( v 2 + u 2 ) or { x = λ ( v 2 − u 2 ) y = 2 λuv z = λ ( v 2 + u 2 )

□

User profile picture
2022-07-19 00:00
Comments