%All of my files are now written in Latex2e ....! \documentclass[11pt]{article} \usepackage{a4wide} \usepackage{amsfonts} \usepackage{amsmath} \usepackage{amssymb} \usepackage{latexsym} \def\Tr{\mathrm{Trace}} \def\Trace{\mathrm{Trace}} \def\frak{\mathfrak} \def\ord{\mathrm{ord}} \def\ra{\rightarrow} \def\B{\mathcal B} \def\N{\mathrm N} \def\lra{\longrightarrow} \def\Ker{\mathrm{Ker}} \def\Disc{\mathrm{Disc}} \def\O{\mathcal O} \def\Q{\mathbb Q} \def\QQ{\mathbb QQ} \def\C{\mathbb C} \def\CC{\mathbb C} \def\Z{\mathbb Z} \def\ZZ{\mathbb Z} \def\R{\mathbb R} \def\W{\mathcal W_N} \def\k{\kappa} \def\Remark{\bf Remark\rm. } \setlength{\parindent}{0mm} \def\gotha{\mathfrak{a}} \def\gotho{\mathfrak{o}} \def\gothp{\mathfrak{p}} \def\gothq{\mathfrak{q}} \begin{document} %%%%%%% Introduction \newtheorem{theorem}{Theorem}[section] \newtheorem{df}{Definition} \newtheorem{lemma}{Lemma}[section] \newtheorem{cor}{Corollary} \newtheorem{conj}{Conjecture} \begin{center} \bf Math 254A, UC Berkeley, Fall 2001 (Kedlaya) \\ Solutions for Problem Sets 1 and 2 \end{center} \section{Gaussian Integers} 1. Pair each of $1, \dots, p-1$ with its inverse mod $p$. Then only 1 and $p-1$ are paired with themselves. Thus $1 \cdots (p-1)$ can be rewritten as $1 \cdot (p-1)$ times the product of pairs $xx^{-1}$, and so is congruent to $-1$ modulo $p$. \ 2. In fact, every euclidean ring is a principal ideal ring, since any nonzero element of an ideal of minimal norm generates the ideal. In fact, we will show that every principal ideal ring $R$ is factorial. To prove existence of prime factorization, pick $\alpha$ a nonzero element of $R$. If $\alpha$ generates a prime ideal, then $\alpha$ is irreducible and we are done. Otherwise, the ideal $(\alpha)$ is contained in a maximal ideal $(\beta_1)$; write $\alpha = \beta_1 \alpha_1$. If $\alpha_1$ is irreducible, we are done again. Otherwise, $(\alpha_1)$ is contained in a maximal ideal $(\beta_2)$, and we may put $\alpha_1 = \beta_2 \alpha_2$. If this process stops at some point, we obtain a factorization of $\alpha$ into irreducibles. Otherwise, we obtain an increasing sequence $(\alpha) \subset (\alpha_1) \subseteq \cdots$ of ideals which does not terminate, contradicting the fact that every principal ideal ring is noetherian. Thus the process must stop somewhere, and prime factorizations exist. As for uniqueness, if $\alpha_1 \cdots \alpha_m = \beta_1 \cdots \beta_m$ is an equality of two products of irreducibles, then $\beta_1 \cdots \beta_m$ belongs to the prime ideal $(\alpha_1)$, so one of the $\beta_i$ must be a multiple of $\alpha_1$, say $\beta_1$. In fact, $\beta_1$ and $\alpha_1$ must generate the same ideal, since both generate maximal ideals. Thus we can factor off $\alpha_1$ from both sides and keep going. \ 3. One method is to start with $x$ such that $x^2+1$ is divisible by $p$ (which can be found by exhaustive search, or by taking $x \equiv ((p-1)/2)! \pmod{p}$), then compute a generator of $(p, x+i)$ by imitating the proof from lecture that the Gaussian integers form a euclidean ring. That is, given generators $(\alpha, \beta)$, replace them by $(\beta, \gamma)$, where $\gamma-\alpha$ is a multiple of $\beta$ and $|\gamma| < |\beta|$. If $\gamma=0$ at some point, then $\beta$ generates the ideal $(p, x+i)$, and if $\beta = a+bi$, then $a^2+b^2=p$. \ 4. I know, I know, you can do this without the Gaussian integers. So sue me. Anyway, $x$ and $y$ can't both be odd by mod 4 considerations, so assume $x$ is odd and $y$ is even. Factor $z^2 = (x+yi)(x-yi)$. Then the GCD of $x+yi$ and $x-yi$ divides both $2x$ and $2yi$. If $x$ and $y$ have a common divisor, so does $z$, contrary to assumption. Thus the GCD of $x+yi$ and $x-yi$ also divides $2$, but since $x$ is odd and $y$ is even, $x+yi$ is coprime to 2. Thus $x+yi$ and $x-yi$ are relatively prime. That means, up to units, each one is a perfect square. That is, there exist $u,v$ such that $x+yi = (u+vi)^2 c$ for some unit $c$. Since $(u+vi)^2 = u^2-v^2 + 2uv$, $x$ is odd and $y$ is even, $c$ must be 1 or $-1$. If $c = -1$, we can rewrite $-(u+vi)^2$ as $(-v+ui)^2$. So without loss of generality, assume $c=1$; then $x = u^2-v^2$, $y = 2uv$, and $z = u^2+v^2$, as desired. \ 5. We use the norm $f(a + b\sqrt{2}) = |a^2-2b^2|$. (Note that the absolute value is needed in this case!) Clearly this norm is multiplicative. Now given $\alpha = a+b\sqrt{2}$ and $\beta = c+d\sqrt{2}$ \ 6. Let $s(n)$ be the number of ways to write $n$ as a sum of two squares (by which I'll mean the number of solutions of $x^2+y^2=n$ over the rational integers); then $s(n)$ is equal to the number of Gaussian integers of norm $n$. In particular, if $m$ and $n$ are relatively prime, $\alpha$ runs over the Gaussian integers of norm $m$, and $\beta$ runs over the Gaussian integers of norm $n$, then $\alpha \beta$ runs over the divisors of $mn$, but each divisor of $mn$ shows up four times. (If a divisor shows up once as $\alpha \beta$, it shows up as $(\alpha i^m)(\beta i^{-m})$ for $m=0,1,2,3$.) Thus $4s(mn) = s(m)s(n)$. Suppose $n = p^e$ for $p$ a prime congruent to 3 modulo 4. Then $p$ is a prime in the Gaussian integers, so if $n = \alpha \overline{\alpha}$, both of $\alpha$ and $\overline{\alpha}$ are divisible by $p^{e/2}$. This is impossible if $e$ is odd, so in that case $s(p^e) = 0$; if $e$ is even, then the only possible $\alpha$ are $p^{e/2} i^m$ for $m=0,1,2,3$. Thus in this case $s(p^e) = 4$. Next, suppose $n = p^e$ for $p$ a prime congruent to 1 modulo 4. Then $p$ factors as $\alpha \overline{\alpha}$ for some prime $\alpha$. If $n = \beta \overline{\beta}$, then $\beta$ must be of the form $\alpha^l \overline{\alpha}^{e-l} i^m$ for $l \in \{0, \dots, e\}$ and $m \in \{0,1,2,3\}$. In this case, $s(p^e) = 4(e+1)$. Putting it all together, we get for $n = \prod_i p_i^{e_i}$, \[ s(n) = 4 \prod_{i} \frac{s(p_i^{e_i})}{4} = 4 \prod_i \begin{cases} e_i+1 & p_i \equiv 1 \pmod{4} \\ 0 & p_i \equiv 3 \pmod{4}, e_i \equiv 1 \pmod{2} \\ 1 & p_i \equiv 3 \pmod{4}, e_i \equiv 0 \pmod{2}. \end{cases} \] \section{Number Fields} 1. We start with the basis $1$ and $\sqrt{D}$, which may or may not be integral. Note that $\Trace(1) = 1 + 1 = 2$ and $\Trace(\sqrt{D}) = \sqrt{D} + (-\sqrt{D} = 0$. Thus \[ \Disc(1, \sqrt{D}) = \det \begin{pmatrix} \Trace(1 \cdot 1) & \Trace(1 \cdot \sqrt{D}) \\ \Trace(\sqrt{D} \cdot 1) & \Trace{\sqrt{D} \cdot \sqrt{D}} \end{pmatrix} = \det \begin{pmatrix} 2 & 0 \\ 0 & 2D \end{pmatrix} = 4D. \] Recall that if $m$ is the index, in the ring of integers, of the $\ZZ$-submodule generated by this basis, then $m^2$ divides the discriminant of the basis. Since we assumed $D$ is squarefree, either the basis $1, \sqrt{D}$ is integral, or it generates a $\ZZ$-submodule of the ring of integers of index 2. First suppose $D \equiv 1 \pmod{4}$. In that case, $(1 + \sqrt{D})/2$ has minimal polynomial $x^2 + x + (1-D)/4$, and so is an integer. The basis $1, (1+\sqrt{D})/2$ generates a $\ZZ$-submodule between the ring of integers and $\ZZ + \ZZ\sqrt{D}$, but the index between these is 2 and $\ZZ+\ZZ\sqrt{D}$ has index 2 in $\ZZ+\ZZ(1+\sqrt{D})/2$. Thus $1, (1+\sqrt{D})/2$ is an integral basis. Next, suppose $D \not\equiv 1 \pmod{4}$. In this case, we claim $1, \sqrt{D}$ is already an integral basis; since the index of its $\ZZ$-span in the ring of integers is at most 2, it suffices to check that if $a,b$ are not both even, then $(a + b\sqrt{D})/2$ is not an algebraic integer. In fact, it suffices to check this for $(a,b) = (1,0), (0,1), (1,1)$. In these cases, the minimal polynomials of these are $x-1/2$, $x^2-D/4$, and $x^2+x+(1-D)/4$, none of which have integer coefficients. Thus $1, \sqrt{D}$ is an integral basis. In summary: an integral basis is given by \[ \begin{cases} 1, \frac{1+\sqrt{D}}{2} & D \equiv 1 \pmod{4} \\ 1, \sqrt{D} & D \not\equiv 1 \pmod{4}. \end{cases} \] \ 2. First we compute $\Trace(1) = 3$, $\Trace(\sqrt[3]{2}) = 0$, $\Trace(\sqrt[3]{4}) = 0$. (Either add up the conjugates in $\CC$ or write out the matrices by which these act on $\QQ(\sqrt{3})$ as a $\QQ$-vector space.) Thus \[ \Disc(1, \sqrt[3]{2}, \sqrt[3]{2^2}) = \det \begin{pmatrix} \Trace(1\cdot 1) & \Trace(1 \cdot \sqrt[3]{2}) & \Trace(1 \cdot \sqrt[3]{2^2} \\ \Trace(\sqrt[3]{2} \cdot 1) & \Trace(\sqrt[3]{2} \cdot \sqrt[3]{2}) & \Trace(\sqrt[3]{2} \cdot \sqrt[3]{2^2} \\ \Trace(\sqrt[3]{2^2} \cdot 1) & \Trace(\sqrt[3]{2^2} \cdot \sqrt[3]{2}) & \Trace(\sqrt[3]{2^2} \cdot \sqrt[3]{2^2}) \end{pmatrix} = \det \begin{pmatrix} 3 & 0 & 0 \\ 0 & 0 & 6 \\ 0 & 6 & 0 \end{pmatrix} = -2^2 \cdot 3^3. \] Thus the index of $\ZZ + \ZZ \sqrt[3]{2} + \ZZ \sqrt[3]{2^2}$ in the full ring of integers is either 1, 2, 3 or 6. We next check that the index is not divisible by 2. That is, we check that if $a,b,c$ are rational integers, not all even, then $\alpha = (a + b \sqrt[3]{2} + c \sqrt[3]{2^2})/2$ is not an algebraic integer. One could do this by computing the minimal polynomials for all possible choices of $a,b,c \in \{0,1\}$, but in this case there is a shortcut. If $\alpha$ is an algebraic integer, so is $\alpha \sqrt[3]{2^2} = b + c \sqrt[3]{2} + (a/2) \sqrt[3]{2^2}$, as then is $(a/2) \sqrt[3]{2^2}$. But the latter has minimal polynomial $x^3 - a^3/2$, which has integer coefficients only if $a$ is even. Thus $(b \sqrt[3]{2} + c \sqrt[3]{2^2})/2$ must also be an integer; multiplying by $\sqrt[3]{2}$, we find that $b$ must be even, then $c$. Finally, we check that the index is not divisible by 3. Again, we must check that if $a,b,c$ are rational integers, not all divisible by 3, then $\alpha = (a + b \sqrt[3]{2} + c \sqrt[3]{2^2})/3$ is not an algebraic integer. It suffices to check this for $a,b,c \in \{0,1,2\}$. Again, one can list all of the minimal polynomials of these elements, but one can also do a bit better. Note that if we put $\beta = 1 + \sqrt[3]{2}$ and $\gamma = 1 - \sqrt[3]{2} + \sqrt[3]{2^2}$, then $\beta \gamma = 3$. Now $\alpha \gamma = (a+2b-2c)/3 + (-a+b+2c)\sqrt[3]{2}/3 + (a-b+c)\sqrt[3]{2^2}/3$ is equal to an element of $\ZZ + \ZZ\sqrt[3]{2} + \ZZ\sqrt[3]{2^2}$ plus $(a-b+c)(1 + \sqrt[3]{2} + \sqrt[3]{2^2})/3$. This can only be integral if $a-b+c$ is divisible by 3, since $1+\sqrt[3]{2} + \sqrt[3]{2^2}$ has minimal polynomial $x^3- 3x^2-3x+1$ whose constant coefficient is not divisible by any cube. We now know that if $\alpha$ is integral, then $a-b+c$ is divisible by 3. Next, suppose $c=0$. Then Then $\alpha(1 + \sqrt[3]{2} + \sqrt[3]{2^2}) = (a+2b)/3 + (b+a)\sqrt[3]{2}/3 + (b+a) \sqrt[3]{2^2}/3$ is integral, so $a+2b$ is divisible by 3, which now implies $a=b=0$. A similar argument applies if $a=0$, or if $b=0$. The only remaining cases are $a=c=1, b=2$ or $a=c=2, b=1$. These are equivalent: in the former, the minimal polynomial of $\alpha$ is $x^3-x^2-x-1/3$, which is not integral. We conclude $1, \sqrt[3]{2}, \sqrt[3]{2^2}$ is an integral basis. \ 3. From what we have shown in class, it suffices to check that the discriminant of the polynomial $P(x)$ equals the discriminant of the basis $1, x, \dots, x^{n-1}$. Let $r_1, \dots, r_n$ be the roots of $P(x)$ in $\CC$, which are precisely the conjugates of $x$ in $\CC$. The discriminant of the basis $1, x, \dots, x^{n-1}$ is \[ (\det (r_i^{j-1})_{i,j=1}^n)^2 = \prod_{i 2$, $(x + \sqrt{d})/p$ is not an algebraic integer (see previous assignment). \ 2(ii). In the other direction, suppose that $p \O$ is not prime in $\O$, and that $p$ does not divide $2d$. Then we may write $(p) = \frak{a} \frak{b}$ with $\frak{a}$ and $\frak{b}$ neither $(p)$ nor the unit ideal. Write $p = ab$ with $a \in \frak{a}$ and $b \in \frak{b}$. Since $\N(p):=\mathrm{Norm}(p) = p^2$, we must have $N(a)N(b) = p^2$. If $N(a) = 1$, then $a$ is a unit and $\frak{a}$ is the unit ideal. Thus $p | N(a)$, and similarly $p | N(b)$. Thus $N(a) = \pm p$. Write $a = x + y \sqrt{d}$, with $2x, 2y \in \Z$. Then $$N(a) = x^2 - d y^2 = \pm p$$ Suppose that $p|y$. Then $p|x^2$, and thus $p | x$. This would imply, however, that $p^2 | N(a) = \pm p$, which is clearly impossible. Thus $p$ does not divide $y$. In particular, since $p \ne 2$, $y$ is invertible modulo $p$, and $(x y^{-1})^2 \equiv d \mod p$, which was to be shown. \ 3. Suppose $\gotha$ is an integral ideal which is not principal. Let $\alpha$ be a nonzero element of $\gotha$ of minimum norm. By assumption, there exists $\beta \in \gotha \setminus (\alpha)$. Choose $\gamma \in \ZZ[\sqrt{-5}]$ to minimize $|\delta|$, where $\delta = \beta/\alpha - \gamma$; then in particular, $\Re(\delta) \in [-1/2, 1/2]$ and $\Im(\delta) \in [-\sqrt{5}/2, \sqrt{5}/2]$. On the other hand, by assumption, $\delta \alpha = \beta - \gamma \alpha$ is a nonzero element of $\gotha$, so $|\delta \alpha| \geq |\alpha|$, which is to say $|\delta| \geq 1$. Since $|\Re(\delta)| \leq 1/2$, it follows that $|\Im(\delta)| \geq \sqrt{3}/2$. Without loss of generality, assume $\Im(\delta)>0$; then $\sqrt{3}-\sqrt{5} < \Im(2\delta - \sqrt{-5}) < 0$. If $c$ is the closest integer to $\Re(2\delta)$, then put $\epsilon = 2\delta - \sqrt{-5} - c$; we have \[ |\epsilon|^2 \leq \Re(\epsilon)^2 + \Im(\epsilon)^2 \leq \frac{1}{4} + (\sqrt{3}-\sqrt{5})^2 < 1. \] If $\epsilon \neq 0$, then $\epsilon \alpha$ is an element of $\gotha$ of norm less than $|\alpha|$, contradiction. Thus $\epsilon = 0$ and so $2\beta \in (\alpha)$. Since this holds for all $\beta$, we conclude $[\gotha:(\alpha)] = 2$ and that $2\gotha \subseteq (\alpha)$. Now let $\gothp = (2, 1+\sqrt{-5})$ and note that $\gothp^2 = (2)$. That means that $(\alpha) | 2\gotha = \gothp^2 \gotha$ and $\gotha | (\alpha)$. That means that $\gotha$ is either equal to $(\alpha), \gothp^{-1} (\alpha)$ or $\gothp^{-2} (\alpha)= (\alpha/2)$. The first and third choices are principal ideals, so we must have $\gotha = \gothp^{-1} (\alpha)$. Thus $\gotha$ is in the ideal class of $\gothp$, as desired. \ 4. Let $I$ be an ideal in a Dedekind domain $R$. Let $a \in I$ be a non zero element. Then $(a)$ is a non-trivial ideal in $R$, and by the hint in the exercise, $R/a$ is a PID. On the other hand, since $(a) \subseteq I$, there is a commutative diagram: $$R \lra R/a \lra R/I.$$ Let $J$ be the kernel of $R/a \ra R/I$. Since $R/a$ is principal, we may write $J = b + aR$ in $R/a$, with $b \in R$. Thus $(a,b) = \Ker(R \ra R/I) = I$. (This last claim could be expanded upon briefly, but it is completely trivial). \ 5. Since the group of ideals is generated by prime ideals, it suffices to prove the following statement for Dedekind domains: for any (non-zero) prime ideal $\frak{p}$, there exists another ideal $\frak{q}$ such that $\frak{q}$ represents the same element of the class group of $\frak{p}$, and $\frak{q}$ is prime to any particular choice of finitely many ideals: $\frak{p}_1$, $\frak{p}_2, \ldots,\frak{p}_n$. Since $R$ is a Dedekind domain, $\frak{p}_i + \frak{p}_j = R$ for all $i,j$. By the Chinese remainder theorem: $$R/\frak{p}^2 \frak{p}_1 \frak{p}_2 \ldots \frak{p}_n \simeq R/\frak{p}^2 \oplus R/\frak{p}_1 \oplus \ldots \oplus R/\frak{p}_n.$$ In particular, since $\frak{p} \ne \frak{p}^2$, there exists an element $r \in R$ such that $r \in \frak{p}\setminus \frak{p}^2$, and $r \ne \frak{p}_i$ for any $i$. Let us consider the factorization of the ideal $(r)$. By construction, the ideal $\frak{p}$ occurs exactly once, and the ideals $\frak{p}_i$ do not occur. Write $(r) = \frak{p} \frak{q}$. Then $\frak{q}$ is prime to $\frak{p}$ and $\frak{p}_i$ for all $i$. On the other hand, $\frak{q}$ is the \emph{inverse} element to $\frak{p}$ in the class group, since their product is principal. One finishes the proof by either taking some appropriate power of $\frak{q}$ (since the class group is finite), or more appropriately, taking $N(\frak{q})/\frak{q}$, which is manifestly an integral ideal. (Or for a third argument, repeat the argument above with $\frak{p}$ replaced by $\frak{q}$, and $\frak{p}_i$ replaced by $\frak{p}_i \cup \frak{p}$ to produce an ideal inverse to $\frak{q}$ in the classgroup, and coprime to $\frak{p}$ and $\frak{p}_i$.) \ 6. We imitate the proof of Theorem I.3.1 in Neukirch; the key point is that $K[x]$ is a principal ideal domain. (Every nonzero ideal in $K[x]$ is generated by an element of minimum degree.) Let $R$ be the integral closure of $K[x]$ in $L$. By Proposition 2.10, every ideal of $R$ is a finitely generated $K[x]$-module, and hence is a finitely generated ideal. Thus $R$ is noetherian. Moreover, since $R$ is the integral closure of $K[x]$ in $L$, it is automatically integrally closed. (This was essentially a problem on the first homework; see also section 2 of Chapter 1 of Neukirch.) Now let $\gothp$ be a nonzero prime ideal of $R$; it remains to show that $\gothp$ must be maximal. For any $y \in \gothp$ nonzero, there exists a polynomial $y^n + a_1 y^{n-1} + \cdots + a_n = 0$. Thus $a_n \in \gothp$, so the intersection $\gothq = \gothp \cap K[x]$ is a nonzero ideal; it is also prime because $K[x]/\gothq$ injects into $R/\gothp$ and the latter is an integral domain. Thus $\gothq$ is maximal, so $K[x]/\gothq$ is a field and $R/\gothp$ is an integral extension of $K[x]/\gothq$. That forces $R/\gothp$ to be a field: if $z \in R/\gothp$ has minimal polynomial $z^m + b_1 z^{m-1} + \cdots + b_m$ over $K[x]/gothq$, then $b_m \neq 0$, so $z$ is invertible. We conclude every nonzero prime ideal of $R$ is maximal, so $R$ is a Dedekind domain. \end{document}