Exercise 8.12

If p 1 ( mod 4 ) , then we have seen that p = a 2 + b 2 with a , b . If we require that a and b are positive, that a be odd, and that b is even, show that a and b are uniquely determined. (Hint: Use the fact that unique factorization holds in [ i ] and that if p = a 2 + b 2 then a + bi is a prime in [ i ] .)

Answers

Proof. Suppose that p is prime, p 1 ( mod 4 ) , and p = a 2 + b 2 = c 2 + d 2 , where a , b , c , d are positive integers, a , c odd, b , d even. We will show that a = c , b = d .

As p = N ( a + bi ) , π = a + bi is irreducible in [ i ] : indeed π = uv implies that p = N ( π ) = N ( u ) N ( v ) , so N ( u ) = 1 or N ( v ) = 1 , and u or v is an unit.

Since [ i ] is a principal ideal domain, π is a prime in [ i ] .

( a + bi ) ( a bi ) = ( c + di ) ( c di ) , so the prime π divides c + di , or it divides c di .

As N ( π ) = N ( c + di ) = N ( c di ) , the quotient is an unit. Therefore π is an associate of c + di or c di . Since the units in [ i ] are 1 , 1 , i , i ,

a + bi = ± ( c + di ) , or a + bi = ± i ( c + di ) , or a + bi = ± ( c di ) , or a + bi = ± i ( c di ) .

In all cases, a = ± c , b = ± d , or a = ± d , b = ± c . Since a , b , c , d are positive, a = c , b = d , or a = d , b = c . As a , c are odds, and b , d even, a = c , b = d : the unicity of the decomposition is proved. □

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