Since
\(N(m+ni)=(m+ni)(m-ni)=m^2+n^2\text{,}\) and since
\(N(\pi)=p\) implies
\(\pi\) is irreducible, (2) and (3) are clearly equivalent. Furthermore, we know
\((3)\) implies (1) by
PropositionΒ 2.13.3.
Letβs prove that (1) implies (3). Assume
\(p\) is not prime/irreducible in
\(\Z[i]\text{.}\) It follows that we have
\(p=\alpha\beta\) for some non-units
\(\alpha,\beta\in \Z[i]\text{.}\) From
\(p^2=N(p)=N(\alpha)N(\beta)\text{,}\) it follows that
\(N(\alpha)=N(\beta)=p\text{:}\) otherwise, one of
\(\alpha\) or
\(\beta\) would have norm equal to 1, making it a unit. Thus
\(N(\alpha)=\alpha\, \overline{\alpha}=p\text{,}\) and since
\(N(\alpha)\) is irreducible in
\(\Z\text{,}\) we conclude that
\(\alpha=\pi\) is irreducible.
It remains to show that (1), (4), (5), and (6) are all equivalent. First note that (4) and (5) are equivalent since a quadratic polynomial in
\(\F_p[x]\) is reducible if and only if it has a root in
\(\F_p\text{.}\) (See
RemarkΒ 2.8.13.) Thus
\(x^2+\overline{1}\) is reducible in
\(\F_p\) if and only if
\(a^2+1=0\) for some
\(a\in \F_p\) if and only if
\(a^2=-1\text{.}\)
We now show that (1) and (4) are equivalent, by proving
\(p\) is prime in
\(\Z[i]\) if and only if
\(x^2+1\) is irreducible in
\(\F_p\text{.}\) We will do so by looking at
\(\Z[i]/(p)\text{.}\) First since
\((p)\) is a nonzero ideal of
\(\Z[i]\text{,}\) and
\(\Z[i]\) is a PID, we have
\((p)\) prime if and only if
\((p)\) maximal, if and only if
\(\Z[i]/(p)\) is a field. We claim that
\(\Z[i]/(p)\cong \F_p[x]/(x^2+1)\text{.}\) Since
\(\F_p[x]\) is also a UFD, from the claim we conclude that
\(p\) is prime if and only if
\(x^2+1\) is irreducible, as desired.
To prove the claim, first note that \(\Z[i]\cong \Z[x]/(x^2+1)\text{.}\) We leave it to the reader to show that in fact
\begin{align*}
\phi\colon \Z[x]/(x^2+1) \amp \rightarrow \Z[i]\\
g(x)+(x^2+1) \amp \mapsto g(i)
\end{align*}
is a well-defined isomorphism. Next, from this isomorphism it follows that
\begin{align*}
\Z[i]/(p)\amp\cong (\Z[x]/(x^2+1))/\pi((p))
\end{align*}
where \(\pi(p)=(p)+(x^2+1)\) is the image of \(((p))\) under the quotient map \(\pi\colon \Z[x]\rightarrow \Z[x]/(x^2+1)\text{.}\) This quotient of quotients situation should remind you of the third isomorphism theorem. Indeed, setting \(R=\Z[x]\) and \(I=(x^2+1)\text{,}\) we see that the ring on the right is of the form \((R/I)/\pi(J)\) for the ideal \(J=(p)\) of \(R=\Z[x]\text{.}\) But to apply the third isomorphism theorem, we need an ideal \(J\) that contains the ideal \(I=(x^2+1)\text{.}\) This is easily amended: we replace \((p)\) with \(J=(p, x^2+1)\text{.}\) Now all the conditions are met, and we have
\begin{align*}
\Z[i]/(p)\amp\cong (\Z[x]/(x^2+1))/\pi((p)) \\
\amp \cong \Z[x]/(x^2+1)/(p,x^2+1)/(x^2_1)\\
\amp \cong \Z[x]/(p,x^2+1)\text{.}
\end{align*}
Lastly, we apply the same third isomorphism theorem maneuver to conclude
\begin{align*}
\Z[i]/(p) \amp \cong \Z[x]/(p,x^2+1)\\
\amp \Z[x]/(p) / (p, x^2+1)/ (p)\\
\amp \F_p[x]/(x^2+1)\text{.}
\end{align*}
Finally, we show that (5) and (6) are equivalent. This result falls into a category of similar results from number theory that relate the existence of certain square roots modulo
\(p\) to congruence relations modulo
\(p\text{.}\) The one under review, that
\(-1\) is a square in
\(\F_p\) if and only if
\(p=2\) or
\(p\equiv 1\pmod 4\text{,}\) can be easily proved with some group theory. First, we dispense with the case
\(p=2\text{:}\) since
\(\F_2=\{0,1\}\) it follows easily that
\(-1=1\) is a square in
\(\F_2\text{.}\) It remains to show that for odd prime
\(p\text{,}\)\(-1\) is a square in
\(\F_p\) if and only if
\(p\equiv 1\pmod 4\text{.}\) First note that if
\(a\in \F_p\) satisfies
\(a^2=-1\text{,}\) then
\(a\in \F_p^*\text{,}\) \(a^4=1\text{,}\) and
\(a^2=-1\ne 1\text{.}\) It follows that
\(-1\) is a square in
\(\F_p\) if and only if
\(\F_p^*\) has an element of order
\(4\text{.}\) Finally by
CorollaryΒ 2.8.20, since
\(\F_p^*\) is a
cyclic group, it has an element of order
\(4\) if and only if
\(4\mid p-1\) if and only if
\(p\equiv 1\pmod 4\text{.}\)