Let p be a prime integer, and suppose p = a2 + b2 has NO integer solution.
The exercise asks that if p = a2 + b2 has no solution, then p is a prime in the set of Gaussian integers $\mathbb{Z}$[i], where if α $\in \mathbb{Z}$[i], then α = a + bi, where a, b are integers.
I solved this already, but I am reading a much shorter solution:
If p = αβ, then p2 = |α|2 |β|2. If |α|= 1, then α is a unit, and similarly for β. If we want p to not be a prime, then:
|α|2 = |β|2 = p, which implies p = |α|2 = a2 + b2, which has no solution and thus p is a prime in the set of Gaussian integers.
My questions:
I'm having trouble understanding the second to last point: If α, β are not units, then why exactly does |α|2 = |β|2 = p?
I'm also having trouble understanding why p2 = |α|2 |β|2. I'm not sure if it's a typo in the solutions, but from my understanding I thought that we can only write |p|2 = |α|2 |β|2. What let's us write p2 = |α|2 |β|2?
Well, we said if $|\alpha| = 1$, then $\alpha$ is a unit, right? So that means if $\alpha$ is not a unit, then $|\alpha| \neq 1$.
So, if $p^{2} = |\alpha|^{2}|\beta|^{2}$, and both $\alpha, \beta$ are not units, then $|\alpha| \neq 1$ and $|\beta| \neq 1$, which means $|\alpha|^{2} \neq 1$ and $|\beta|^{2} \neq 1$.
But we know $$p^{2} = |\alpha|^{2} |\beta|^{2}$$
which implies $$ \underbrace{p p}_{\text{prime factorization of $p^{2}$}} = |\alpha|^{2} |\beta|^{2}$$
If both factors on the right hand side are not $1$, and $p$ is prime, then it should be clear (if it's not clear, please comment so I can clarify) that $|\alpha|^{2} = |\beta|^{2} = p$. (Remember that $p$ is a prime integer, and $|\alpha|, |\beta|$ are both positive integers.)