Lecture 13 - 2025-03-03

This commit is contained in:
2025-03-03 12:14:42 -05:00
parent 0e0d2f1fab
commit 55fa40f9e1
3 changed files with 268 additions and 2 deletions
+267 -2
View File
@@ -654,7 +654,7 @@ Caution: \( (\Z/3\Z, +) \) asking if an element is a multiple of \( 2 \) is mean
For the last case (QNR, QNR), we have \( x = g^{2k+1}, y=g^{2j+1} \), so \( xy = g^{2(k+j)+2} \) is a square.
\begin{theorem}[Quadratic Reciprocity]
\begin{theorem}[Quadratic Reciprocity (Gauss)]
For \( p, q \) odd primes, \[
\left( \frac{p}{q} \right) \left( \frac{q}{p} \right) = (-1)^{\frac{p-1}{2} \frac{q-1}{2}}
\]
@@ -674,4 +674,269 @@ For the last case (QNR, QNR), we have \( x = g^{2k+1}, y=g^{2j+1} \), so \( xy =
A supplement to the theorem states that \[
-1 \in QR(p) \iff p \equiv 1 \pmod{4}
\]
\end{remark}
\end{remark}
Let's focus on \( \left( \frac{-1}{p} \right) \).
\begin{theorem}[(Fermat/Euler)]
An odd prime \( p \) is of the form \( p = x^2 + y^2 \) for some \( x, y \in \Z \) if and only if \( p \equiv 1 \pmod{4} \).
\end{theorem}
\begin{remark}
\( p = x^2 + y^2 \implies -1 \) is a square modulo \( p \).
\begin{proof}
\( x^2 + y^2 \equiv 0 \pmod{p} \) implies \( x^2 \equiv -y^2 \pmod{p} \) which means \( -1 \equiv \left( \frac{x}{y} \right)^2 \pmod{p} \).
\( p \nmid y \) because \( p < | y | < p \).
\end{proof}
\end{remark}
\begin{proof}
WTS \( -1 = x^2 \pmod{p} \iff 4 \mid p - 1 \) for some \( x \in \Z \).
\begin{itemize}
\item \( U(\Z/p\Z) = \F_p^x \) is cyclic of order \( p - 1 \).
\item \( -1 \) is the unique element of order \( 2 \)
\item \{ If \( -1 \equiv x^2 \pmod{p} \) \} \( \iff \) \{ \( x \) would be an element of order \( 4 \) \}
Such an \( x \) exists if and only if \( 4 | p - 1 \).
\end{itemize}
\end{proof}
Now we ask when is \( 2 \) a square modulo \( p \).
Suppose we have \( p \equiv 1 \pmod{4} \), \( x \in \F_p^x \) with \( \zeta_4^2 = -1 \pmod{p} \), and \( b^2 \equiv 2 \pmod{p} \).
Then, \( b^4 \equiv 4 \pmod{p} \), \( b^4 - 4 = (b^2 - 2)(b^2 + 2) \equiv 0 \pmod{p} \).
\begin{lemma}
Suppose that there exists an eighth root of \( 1 \pmod{p} \), which is \( \zeta_8 \).
Then \( \frac{1 + \zeta_8}{\zeta_8} \) is a square root of \( 2 \).
\end{lemma}
\begin{proof}
\begin{align*}
\left( \frac{1}{\zeta_8} + \zeta_8 \right)^2
& = \frac{1}{\zeta_8^2} + \zeta_8^2 + 2
\\
& = -\zeta_8^2 + \zeta_8^2 + 2
\\
& = \zeta_8^4
\\
& = -1 \implies\zeta_8^2 = -\frac{1}{\zeta_8^2}
\end{align*}
We have shown that \[
p \equiv 1 \pmod{8} \implies 2 \text{ is a square modulo } p
\]
\end{proof}
\begin{theorem}
\[
\left( \frac{2}{p} = (-1)^{\frac{p^2-1}{8}} \right) \iff \left\{ 2 \text{ is square modulo } p \iff p \equiv \pm1 \pmod{8} \right\}
\]
\end{theorem}
We now focus on proving \[
p \equiv 1 \pmod{4} \iff p = x^2 + y^2
\]
\begin{proof}(Attempt)
We know that there exists \( u^2 \equiv 1 \pmod{p} \).
This implies \( p | u^2 + 1 \).
If \( p \) continued to be prime, then \( p | u + i \) which does not make sense.
So maybe \( p \) is not prime and reducible and \( p = (x + iy)(x - iy) \) for some \( x, y \in \Z \) and \( x + iy | u + i \), \( x - iy | u - i \).
This can happen if and only if \( p = x^2 + y^2 \).
{~~~}
Strategy: replace \( \Z \) by \( \Z[i] = \{ a + bi | a, b \in \Z \} \), where \( i^2 = -1 \).
We reduce the problem to proving a version of prime iff irreducible and unique factorization.
\end{proof}
\begin{note}[Warning]
\( \Z[i] \) is special.
More general context: When if \( p = x^2 + dy^2 \), \( d > 0 \)? \[
p = x^2 + dy^2 \implies -d \equiv \left( \frac{x}{y} \right)^2 \pmod{p} \implies \left( \frac{-d}{p} \right) = 1
\]
This is in the field of class field theory.
\end{note}
\section{Number Theory for \( \Z[i] \)}
\begin{itemize}
\item \( \Z[i] \) is a ring.
Verified:
\begin{itemize}
\item \( (a + bi) + (c + di) = (a + c + (b + d)i) \)
\item \( (a + bi) \cdot (c + di) = (ac - bd + (ad + bc)i) \)
\item \( 1 \) is the multiplicative identity
\item \( 0 \) is the additive identity
\end{itemize}
\item There is a size function \[
N(a + ib) = a^2 + b^2
\] and \[
N(zw) = N(z)N(w) \qquad \sqrt{N(z + w)} \leq \sqrt{N(z)} + \sqrt{N(w)}
\]
\end{itemize}
\begin{remark}
We say the Euclidean algorithm exists when for \( z, w \in \Z[i] \), \( w \neq 0 \), there exists \( q, r \in \Z[i] \) such that \( z = qw + r \) and \( N(r) < N(w) \).
\end{remark}
\begin{proposition}
The Euclidean algorithm exists in \( \Z[i] \).
\end{proposition}
\begin{proof}
% TODO: figure
We have shown that for any \( z \in \R[i] \), \[
\min_{q \in \Z[i]} \sqrt{N(z - qn)} \leq \sqrt{\frac{N(w)}{2}}
\]
In particular, we can find \( r \) achieving this minimum with \[
N(r) \leq \frac{N(w)}{2} < N(w)
\]
\end{proof}
Exactly as before, we get a gcd(\( z, w \)) for any \( z, w \in \Z[i] \). It makes sense to say that \( z \mid w \).
\begin{remark}
\( r \) is unique potentially up to \( \{ \pm 1, \pm i \} \).
\end{remark}
We get unique factorization, i.e., prime iff irreducible. \[
r = \varepsilon {\pi_1}^{e_1} {\pi_2}^{e_2} \cdots {\pi_k}^{e_k}
\] where
\begin{itemize}
\item \( \pi_i \) are irreducible
\item \( \varepsilon \in \{ \pm 1, \pm i \} \) is a unit
\end{itemize}
\begin{theorem}
\( p \equiv 1 \pmod{4} \) if and only if \( p = x^2 + y^2 \) for some \( x, y \in \Z \).
\end{theorem}
\begin{proof}
We have previously shown that \[
-1 \text{ is a square modulo } p \iff p \equiv 1 \pmod{4}
\]
\begin{itemize}
\item We know that \( p = x^2 + y^2 \implies \left( \frac{x}{y} \right)^2 \equiv -1 \pmod{p} \implies p \equiv 1 \pmod{4} \).
\item Suppose \( p \equiv -1 \pmod{4} \).
That is, exists \( u \in \Z \) such that \( u^2 \equiv -1 \pmod{p} \).
Then, \( p | u^2 + 1 \) in \( \Z \) and so \( p | u^2 + 1 = (u + i)(u - i) \) in \( \Z[i] \).
Say \( \pi = \gcd(p, u + i) \).
\( \pi \) must be in \( Z \) and not in \( i \Z \).
\begin{itemize}
\item If \( \pi = 1 \), \( p | u - i \).
\item Otherwise, \( \pi \in \Z \implies \pi = p \implies p | u + i \iff p(a + ih) = u + i \), so \( i = pib \) meaning \( pb = 1 \)
\end{itemize}
\( \pi \) is in \( Z[i] \), so \( \pi = a + ib \).
We show that there exists \( c, d \in \Z \) such that \[
(a + ib)(c + id) = p
\]
\( c+ id = \frac{p}{a + ib} = \frac{p}{a^2 + b^2} (a - ib) \).
Thus, \( c + id = \lambda (a - ib) \) for some \( \lambda \in \Z[i] \). We have \[
p = (a + ib)(c + id) = \lambda (a^2 + b^2)
\]
\begin{align*}
(a + ib)(c + id) & = P
\\
(a^2 + b^2) (c^2 + d^2) & = p^2
\end{align*}
We have the following cases
\begin{itemize}
\item \( a^2 + b^2 = p \), and \( c^2 + d^2 = p \)
\item \( a^2 + b^2 = 1 \), and \( c^2 + d^2 = p^2 \)
This is impossible. \( a^2 + b^2 = 1 \implies a + ib \in \{ \pm 1, \pm i \} \) so \( \gcd(p, u + i) = 1 \) which is a contradiction.
\end{itemize}
\end{itemize}
\end{proof}
\section{Primes of \( \Z[i] \)}
\begin{theorem}
If \( \pi \in \Z[i] \) is prime, then either
\begin{itemize}
\item \( \pi \in \Z \) and \( p = \pi \) is prime in \( \Z \)
This is the case where \( p = \pi \equiv 3 \pmod{4} \) and \( p \) is prime in \( \Z \).
\item \( \pi \bar{\pi} \in \Z \) and \( p = \pi \bar{\pi} \) is prime in \( \Z \), where \( \bar{\pi} \) is the conjugate of \( \pi \).
This is the case where \( p = \pi \bar{\pi} \equiv 1 \pmod{4} \) and \( p \) is prime in \( \Z \).
\end{itemize}
\end{theorem}
\begin{proof}
WTS the above theorem holds.
\begin{enumerate}
\item Suppose \( \pi \in \Z \) is a prime. WTS \( \pi \) is a prime in \( \Z \).
Suppose \( \pi | ab \), \( a, b \in \Z \).
Since \( \pi \) a prime in \( \Z[i] \), \( \pi | a \) or \( \pi | b \) in \( \Z[i] \).
This means that there exists an \( w \in \Z[i] \) such that \( \pi w = a \) or \( \pi w = b \).
Since \( \pi, a, b \in \R \), we must have \( w \in \R \cap \Z[i] = \Z \).
This means that \( \pi | a \) or \( \pi | b \) in \( \Z \).
\item Suppose \( \pi \notin \Z \). WTS \( \pi \bar{\pi} \) is prime in \( \Z \).
Known that \( \pi \) and \( \bar{\pi} \) are irreducible.
Let \( p = \pi \bar{\pi} \). WTS \( p \) is irreducible in \( \Z \).
If \( p \) were reducible, then \[
1 < | \gcd(p, \pi) | < p \qquad \text{ or } \qquad 1 < | \gcd(p, \bar{\pi}) | < p
\]
Either \( \gcd(p, \pi) \) or \( \gcd(p, \bar{\pi}) \) is a proper factor of \( \pi \) or \( \bar{\pi} \), contradicting the fact that \( \pi \) and \( \bar{\pi} \) are irreducible.
\end{enumerate}
\end{proof}
\begin{proof}
WTS \( p = \pi \bar{\pi} \iff p \equiv 1 \pmod{4} \).
% TODO: image
\end{proof}
\begin{note}[Exercise]
Take \( \omega = \frac{1 + \sqrt{-3}}{2} \), \( \omega^3 = 1 \), show that \( \Z[\omega] \) is a Euclidean domain.
\end{note}