Exercise 5.24

If p 1 ( mod 4 ) , show that p is a sum of two squares, i.e. p = a 2 + b 2 with a , b .(Hint : p = αβ , with α and β being non units in [ i ] . Remember that [ i ] has unique factorisation.)

Answers

Proof. [ i ] is a principal ideal domain, thus p is prime in [ i ] iff p is irreducible in [ i ] .

If p 1 ( mod 4 ) , p is not a prime by Ex.5.23, so it is not irreducible. Therefore p = αβ , α , β [ i ] , where α , β are not units, so that N ( α ) > 1 , N ( β ) > 1 (where N ( a + bi ) = a 2 + b 2 is the complex norm).

N ( p ) = p 2 = N ( u ) N ( v ) , 1 < N ( u ) < p 2

Thus N ( u ) = p , that is p = a 2 + b 2 , where u = a + bi .

Conclusion : if p is prime in , p 1 ( mod 4 ) , then p = a 2 + b 2 , a , b , p is a sum of two squares. □

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