Introduction to Modern Algebra
Exercise 12.1.

In Z[i]\mathbb{Z}[i]:

  • (a) Write 1010 as a product of irreducible elements, and prove that each factor is irreducible.
  • (b) Also 10=(3+i)(3−i)10 = (3 + i)(3 - i). Factor 3+i3 + i and 3−i3 - i into irreducibles, and check that the result agrees with (a) up to order and associates.
Solution.

(a) 10=2⋅5=(1+i)(1−i)(2+i)(2−i)10 = 2 \cdot 5 = (1 + i)(1 - i)(2 + i)(2 - i), since (1+i)(1−i)=2(1 + i)(1 - i) = 2 and (2+i)(2−i)=5(2 + i)(2 - i) = 5. The norms (Proposition 12.1.3) are N(1±i)=2N(1 \pm i) = 2 and N(2±i)=5N(2 \pm i) = 5, both prime, so all four factors are irreducible by part (iii) of that proposition.

(b) (1+i)(2−i)=2−i+2i−i2=3+i(1 + i)(2 - i) = 2 - i + 2i - i^2 = 3 + i and (1−i)(2+i)=2+i−2i−i2=3−i(1 - i)(2 + i) = 2 + i - 2i - i^2 = 3 - i. So (3+i)(3−i)=(1+i)(2−i)(1−i)(2+i)(3 + i)(3 - i) = (1 + i)(2 - i)(1 - i)(2 + i): the same four irreducible factors as in (a), in a different order. (Since 1−i=−i(1+i)1 - i = -i(1 + i), the factors 1+i1 + i and 1−i1 - i are themselves associates, and 10=−i(1+i)2(2+i)(2−i)10 = -i(1 + i)^2(2 + i)(2 - i).) □

Exercise 12.2.

Let d=−6d = -6, so that Z[−6]={a+b−6:a,b∈Z}\mathbb{Z}[\sqrt{-6}] = \{a + b\sqrt{-6} : a, b \in \mathbb{Z}\} has norm N(a+b−6)=a2+6b2N(a + b\sqrt{-6}) = a^2 + 6b^2. Show that 6=2⋅3=−6⋅(−−6)6 = 2 \cdot 3 = \sqrt{-6} \cdot (-\sqrt{-6}) are two factorizations into irreducible elements that do not agree up to order and associates, so that Z[−6]\mathbb{Z}[\sqrt{-6}] is not a UFD.

Hint.

Compute the norms of 22, 33 and −6\sqrt{-6}, and ask which values a2+6b2a^2 + 6b^2 can take.

Solution.

The plan is the one used for Z[−5]\mathbb{Z}[\sqrt{-5}] (Theorem 12.2.4): show by norms that no factor can be split, and that factors on different sides have different norms.

First, −6⋅(−−6)=−(−6)2=−(−6)=6\sqrt{-6} \cdot (-\sqrt{-6}) = -(\sqrt{-6})^2 = -(-6) = 6.

The units are ±1\pm 1: by Proposition 12.1.3 (ii) a unit has norm ±1\pm 1, and a2+6b2=1a^2 + 6b^2 = 1 forces b=0b = 0 and a=±1a = \pm 1.

The values of a2+6b2a^2 + 6b^2 never include 22 or 33: if b≠0b \neq 0 the value is at least 66, and if b=0b = 0 it is a square.

Now N(2)=4N(2) = 4, N(3)=9N(3) = 9 and N(±−6)=6N(\pm\sqrt{-6}) = 6. A factor that is not a unit would have norm 22 (for 22), 33 (for 33) or 22 or 33 (for ±−6\pm\sqrt{-6}), and none exists. So all of 22, 33, −6\sqrt{-6} and −−6-\sqrt{-6} are irreducible, by Proposition 12.1.3 (iii).

Associates have equal norms, since units have norm 11. The norms 44 and 99 of 22 and 33 differ from the norm 66 of ±−6\pm\sqrt{-6}, so neither 22 nor 33 is an associate of −6\sqrt{-6} or of −−6-\sqrt{-6}. The two factorizations of 66 cannot be matched up to associates, so uniqueness fails and Z[−6]\mathbb{Z}[\sqrt{-6}] is not a UFD. □

Exercise 12.3.

In Z[i]\mathbb{Z}[i], use division with remainder to show that the ideal (11+8i,3+i)(11 + 8i, 3 + i) is all of Z[i]\mathbb{Z}[i], and find u,v∈Z[i]u, v \in \mathbb{Z}[i] with u(11+8i)+v(3+i)=1u(11 + 8i) + v(3 + i) = 1.

Solution.

Divide as in Theorem 12.3.4. In C\mathbb{C},

11+8i3+i=(11+8i)(3−i)10=41+13i10,\begin{aligned} \frac{11 + 8i}{3 + i} &= \frac{(11 + 8i)(3 - i)}{10} \\ &= \frac{41 + 13i}{10}, \end{aligned}

which is 4.1+1.3i4.1 + 1.3i. Rounding gives q=4+iq = 4 + i, and

r=(11+8i)−(4+i)(3+i)=(11+8i)−(11+7i)=i.\begin{aligned} r &= (11 + 8i) - (4 + i)(3 + i) \\ &= (11 + 8i) - (11 + 7i) = i. \end{aligned}

So i=(11+8i)−(4+i)(3+i)i = (11 + 8i) - (4 + i)(3 + i) lies in the ideal. It is a unit, so the ideal is all of Z[i]\mathbb{Z}[i] (Theorem 10.6.1). Multiplying by −i-i gives

1=−i(11+8i)+i(4+i)(3+i),1 = -i(11 + 8i) + i(4 + i)(3 + i),

so u=−iu = -i and v=i(4+i)=−1+4iv = i(4 + i) = -1 + 4i. □

Exercise 12.4.

Factor 3x4+123x^4 + 12 into irreducible elements of Z[x]\mathbb{Z}[x], and prove that each factor is irreducible.

Solution.

First split off the content: 3x4+12=3(x4+4)3x^4 + 12 = 3(x^4 + 4), and x4+4x^4 + 4 is primitive. By Example in Proposition 11.4.2,

x4+4=(x2+2x+2)(x2−2x+2).x^4 + 4 = (x^2 + 2x + 2)(x^2 - 2x + 2).

So 3x4+12=3(x2+2x+2)(x2−2x+2)3x^4 + 12 = 3(x^2 + 2x + 2)(x^2 - 2x + 2).

33 is irreducible in Z\mathbb{Z}, so in Z[x]\mathbb{Z}[x] by Theorem 12.6.1 (i). The quadratic x2+2x+2=(x+1)2+1x^2 + 2x + 2 = (x + 1)^2 + 1 is at least 11 for every real xx, so it has no rational root, and since it has degree 22 it is irreducible in Q[x]\mathbb{Q}[x] (Proposition 11.4.2). It is primitive, its leading coefficient being 11, so it is irreducible in Z[x]\mathbb{Z}[x] by Theorem 12.6.1 (ii). The same argument works for x2−2x+2=(x−1)2+1x^2 - 2x + 2 = (x - 1)^2 + 1. □

Exercise 12.5.

Show that Z[i]/(3)\mathbb{Z}[i]/(3) is a field with 99 elements.

Hint.

Decide first whether 33 is irreducible in Z[i]\mathbb{Z}[i], and what that says about the ideal (3)(3) in a PID. For the count, compare a+bia + bi with the element whose coefficients are the remainders of aa and bb mod 33.

Solution.

The plan is to show that (3)(3) is a maximal ideal, and then count cosets.

33 is irreducible in Z[i]\mathbb{Z}[i] (Example 12.1.4). Z[i]\mathbb{Z}[i] is a PID (Theorem 12.3.4), so (3)(3) is a maximal ideal (Theorem 12.4.1), and Z[i]/(3)\mathbb{Z}[i]/(3) is a field (Theorem 10.6.4 (ii)).

The multiples of 33 in Z[i]\mathbb{Z}[i] are the elements 3(m+ni)=3m+3ni3(m + ni) = 3m + 3ni: those whose two coefficients are both divisible by 33. So a+bia + bi and c+dic + di lie in the same coset of (3)(3) exactly when 3∣a−c3 \mid a - c and 3∣b−d3 \mid b - d. Every a+bia + bi is therefore in the coset of a′+b′ia' + b'i, where a′a' and b′b' are the remainders of aa and bb on division by 33; and two elements a′+b′ia' + b'i and c′+d′ic' + d'i with a′,b′,c′,d′∈{0,1,2}a', b', c', d' \in \{0, 1, 2\} lie in the same coset only if a′=c′a' = c' and b′=d′b' = d'. So the cosets are the nine classes of a′+b′ia' + b'i with a′,b′∈{0,1,2}a', b' \in \{0, 1, 2\}. □

Exercise 12.6.

Let RR be a PID, and let a,b∈Ra, b \in R, not both 00. Show that aa and bb have no irreducible factor in common if and only if (a,b)=R(a, b) = R, that is, if and only if 1=ra+sb1 = ra + sb for some r,s∈Rr, s \in R.

Hint.

For the harder direction, write (a,b)=(d)(a, b) = (d): a non-unit dd has an irreducible factor.

Solution.

Suppose (a,b)=R(a, b) = R, so 1=ra+sb1 = ra + sb. An irreducible pp dividing aa and bb would divide ra+sb=1ra + sb = 1, and so be a unit, which an irreducible element is not. So aa and bb have no irreducible factor in common.

Conversely, suppose (a,b)≠R(a, b) \neq R. As RR is a PID, (a,b)=(d)(a, b) = (d) for some d∈Rd \in R. Then dd is not a unit, since an ideal containing a unit is RR (Theorem 10.6.1), and d≠0d \neq 0, since aa and bb are not both 00. As RR is a UFD (Theorem 12.4.3), dd is a product of irreducibles; let pp be one of them. Then p∣dp \mid d, and dd divides aa and bb, since aa and bb lie in (d)(d). So pp is a common irreducible factor. □

Exercise 12.7.

Let f∈Z[x]f \in \mathbb{Z}[x] be monic, and suppose f=ghf = gh with g,h∈Q[x]g, h \in \mathbb{Q}[x] monic. Show that gg and hh lie in Z[x]\mathbb{Z}[x].

Hint.

A monic polynomial is primitive. Compare leading coefficients in the factorization that Gauss’s lemma provides.

Solution.

The leading coefficient of ff is 11, which no irreducible element of Z\mathbb{Z} divides, so ff is primitive. By Theorem 12.5.3 (iii), with R=ZR = \mathbb{Z} and K=QK = \mathbb{Q}, there is a non-zero λ∈Q\lambda \in \mathbb{Q} with λg\lambda g and λ−1h\lambda^{-1}h in Z[x]\mathbb{Z}[x]. The leading coefficients of these two polynomials are λ\lambda and λ−1\lambda^{-1}, since gg and hh are monic. Both are integers and their product is 11, so λ=±1\lambda = \pm 1. Then g=±(λg)g = \pm(\lambda g) and h=±(λ−1h)h = \pm(\lambda^{-1}h) lie in Z[x]\mathbb{Z}[x]. □

Exercise 12.8.Not yet reviewed

Let RR be the set of polynomials f∈Q[x]f \in \mathbb{Q}[x] whose constant term f(0)f(0) is an integer.

  • (a) Show that RR is a subring of Q[x]\mathbb{Q}[x], and so an integral domain.
  • (b) Show that (x)⊊(x/2)⊊(x/4)⊊⋯(x) \subsetneq (x/2) \subsetneq (x/4) \subsetneq \cdots in RR, where (x/2k)(x/2^k) is the principal ideal of RR generated by x/2kx/2^k.
  • (c) Deduce that RR is not a PID.
Hint.

For (b), write x/2kx/2^k as a multiple of x/2k+1x/2^{k+1}.

Solution.

(a) The constant term of a sum, negative or product is the sum, negative or product of the constant terms, and 1∈R1 \in R. So RR contains 11 and is closed under sums, negatives and products: it is a subring of Q[x]\mathbb{Q}[x]. A subring of an integral domain is an integral domain, and Q[x]\mathbb{Q}[x] is one (Theorem 11.1.2).

(b) Each x/2kx/2^k lies in RR, its constant term being 00. Since x/2k=2⋅(x/2k+1)x/2^k = 2 \cdot (x/2^{k+1}) and 2∈R2 \in R, every multiple of x/2kx/2^k is a multiple of x/2k+1x/2^{k+1}, so (x/2k)⊆(x/2k+1)(x/2^k) \subseteq (x/2^{k+1}). The inclusion is strict: if x/2k+1=r⋅(x/2k)x/2^{k+1} = r \cdot (x/2^k) with r∈Rr \in R, then canceling x/2kx/2^k in the integral domain Q[x]\mathbb{Q}[x] gives r=12r = \tfrac{1}{2}, whose constant term is not an integer.

(c) The chain in (b) never stops. In a PID every ascending chain of ideals stops (Lemma 12.4.2), so RR is not a PID. □

Exercise 12.9.

Let N(a+b2)=a2−2b2N(a + b\sqrt{2}) = a^2 - 2b^2 on Z[2]\mathbb{Z}[\sqrt{2}]. Show that Z[2]\mathbb{Z}[\sqrt{2}] is a Euclidean domain with size function δ(z)=∣N(z)∣\delta(z) = \lvert N(z)\rvert, and deduce that it is a UFD.

Hint.

Copy the proof for Z[i]\mathbb{Z}[i]: divide in the real numbers, write the quotient as s+t2s + t\sqrt{2} with s,ts, t rational, and round ss and tt. You need NN for such numbers too.

Solution.

The approach is the one that worked for Z[i]\mathbb{Z}[i] (Theorem 12.3.4): divide exactly, round to the nearest element of the ring, and show by the norm that the remainder is smaller.

Extend the norm to the numbers s+t2s + t\sqrt{2} with s,ts, t rational, by N(s+t2)=s2−2t2N(s + t\sqrt{2}) = s^2 - 2t^2. Since 2\sqrt{2} is irrational, each such number has only one such form, and the computation of Proposition 12.1.3 (i), which used nothing about a,b,c,ea, b, c, e but the rules of arithmetic, shows that N(αβ)=N(α)N(β)N(\alpha\beta) = N(\alpha)N(\beta) for these numbers too. Also δ(z)=∣N(z)∣\delta(z) = \lvert N(z)\rvert is a positive integer for every non-zero z∈Z[2]z \in \mathbb{Z}[\sqrt{2}], by part (i) of that proposition.

Let z,w∈Z[2]z, w \in \mathbb{Z}[\sqrt{2}] with w≠0w \neq 0. With wˉ=c−e2\bar{w} = c - e\sqrt{2} for w=c+e2w = c + e\sqrt{2},

zw=zwˉN(w)=s+t2\frac{z}{w} = \frac{z\bar{w}}{N(w)} = s + t\sqrt{2}

with ss and tt rational. Choose integers m,nm, n with ∣s−m∣≤12\lvert s - m\rvert \le \tfrac{1}{2} and ∣t−n∣≤12\lvert t - n\rvert \le \tfrac{1}{2}, put q=m+n2q = m + n\sqrt{2}, and r=z−qw∈Z[2]r = z - qw \in \mathbb{Z}[\sqrt{2}]. Then r=w((s−m)+(t−n)2)r = w\bigl((s - m) + (t - n)\sqrt{2}\bigr). Put u=(s−m)2u = (s - m)^2 and v=2(t−n)2v = 2(t - n)^2, so that 0≤u≤140 \le u \le \tfrac{1}{4}, 0≤v≤120 \le v \le \tfrac{1}{2}, and N((s−m)+(t−n)2)=u−vN\bigl((s - m) + (t - n)\sqrt{2}\bigr) = u - v. Since ∣u−v∣≤max⁡(u,v)\lvert u - v\rvert \le \max(u, v) for u,v≥0u, v \ge 0,

∣N(r)∣=∣N(w)∣ ∣u−v∣≤∣N(w)∣max⁡(u,v)≤12∣N(w)∣.\begin{aligned} \lvert N(r)\rvert &= \lvert N(w)\rvert \, \lvert u - v \rvert \\ &\le \lvert N(w)\rvert \max(u, v) \\ &\le \tfrac{1}{2}\lvert N(w)\rvert. \end{aligned}

So r=0r = 0 or δ(r)<δ(w)\delta(r) < \delta(w), and δ\delta is a size function.

By Theorem 12.3.3, Z[2]\mathbb{Z}[\sqrt{2}] is a PID, and by Theorem 12.4.3 it is a UFD. □

Exercise 12.10.

Let nn be a positive integer such that every prime q≡3(mod4)q \equiv 3 \pmod 4 divides nn an even number of times (possibly zero). Show that nn is a sum of two squares of integers. Use your method to write 9090 as a sum of two squares.

Hint.

a2+b2a^2 + b^2 is the norm of a+bia + bi, and norms multiply. Which primes, and which prime powers, are norms?

Solution.

The norm of Z[i]\mathbb{Z}[i] turns products into products (Proposition 12.1.3), so it is enough to write each prime power in nn as a norm.

nn is a product of primes 22, primes p≡1(mod4)p \equiv 1 \pmod 4, and squares q2q^2 of primes q≡3(mod4)q \equiv 3 \pmod 4, since each such qq occurs an even number of times. Each of these is a norm: 2=N(1+i)2 = N(1 + i); p=a2+b2=N(a+bi)p = a^2 + b^2 = N(a + bi) for some integers a,ba, b, by Theorem 12.7.1 (i); and q2=N(q)q^2 = N(q). So n=N(z1)⋯N(zk)=N(z1⋯zk)n = N(z_1)\cdots N(z_k) = N(z_1 \cdots z_k), and if z1⋯zk=a+biz_1 \cdots z_k = a + bi, then n=a2+b2n = a^2 + b^2. (For n=1n = 1, 1=12+021 = 1^2 + 0^2.)

For 90=2⋅5⋅3290 = 2 \cdot 5 \cdot 3^2: 2=N(1+i)2 = N(1 + i), 5=N(2+i)5 = N(2 + i) and 9=N(3)9 = N(3). Now (1+i)(2+i)⋅3=(1+3i)⋅3=3+9i(1 + i)(2 + i) \cdot 3 = (1 + 3i) \cdot 3 = 3 + 9i, so 90=32+9290 = 3^2 + 9^2. □