Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Oliver Lorscheid
Contents 2
1 Rings 3
1.1 Commutative groups and monoids . . . . . . . . . . . . . . . . . . . . 3
1.2 Rings, integral domains and fields . . . . . . . . . . . . . . . . . . . . 6
1.3 Ideals and quotients . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.4 The isomorphism theorems . . . . . . . . . . . . . . . . . . . . . . . . 15
1.5 The Chinese remainder theorem . . . . . . . . . . . . . . . . . . . . . 16
1.6 Euclidean domains and principal ideal domains . . . . . . . . . . . . . 19
1.7 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2
chapter last edited on
March 23, 2020
Chapter 1
Rings
µ : G × G −→ G,
(a, b) 7−→ ab = a · b
where (ab)c = µ(µ(a, b), c) and a(bc) = µ(a, µ(b, c)). A commutative monoid is a set
G together with a map µ : G × G → G that satisfies (1)–(3).
Lemma 1.1.2. Let G be a set and µ : G × G → G a binary operation that satisfies axioms
(1) and (2). Then there is at most one e ∈ G such that ae = a for all a ∈ G. If such a
neutral element e exists, then there is at most one b for every a such that ab = e.
Proof. Assume that (3) is satisfied for e and e0 . Then e = ee0 = e0 e = e0 , as claimed.
Assume that ab = ab0 = e for a neutral element e ∈ G. Then b = be = bab0 = b0 ab =
b0 e = b0 , as claimed.
3
4 Rings
[a] = a + H = {a + h ∈ G | h ∈ H}
Proof. We begin with proving the equivalence of the affirmations in (1). Assume
(1a). Then a = a + e ∈ [a] = [b], thus (1b). Since a = a + e ∈ [a], (1b) implies (1c).
Assume (1c). Then there is a c ∈ [a] ∩ [b], i.e. c = a + h = b + h0 for some h, h0 ∈ H.
Thus a − b = h0 − h ∈ H, which implies (1d). Assume (1d), i.e. h = a − b ∈ H, and
consider a + h0 ∈ [a] for some h0 ∈ H. Since a = b + h and h + h0 ∈ H, this implies that
a + h0 = b + h + h0 ∈ [b], which shows that [a] ⊂ [b]. By the symmetry of the argument,
we conclude that [a] = [b], which shows (1a). This completes the proof of (1).
We continue with the proof of (2). To establish that [+] is well-defined, consider
cosets [a] = [a0 ] and [b] = [b0 ] of H in G, i.e. a0 = a + h and b0 = b + h0 for some h, h0 ∈ H.
Then a0 + b0 − (a + b) = h + h0 ∈ H, which means by (1) that [a0 + b0 ] = [a + b]. This
shows that the definition of [+] does not depend on the choice of representative, i.e. [+]
is well-defined.
6 Rings
We verify that (G/H, [+]) satisfies the axioms of a commutative group. Associativity
follows from
[a][+][b] [+][c] = [(a + b) + c] = [a + (b + c)] = [a][+] [b][+][c] ,
[a][+][b] = [a + b] = [b + a] = [b][+][a],
[a][+][e] = [a + e] = [a]
[a][+][−a] = [a − a] = [e]
α : A × A −→ A µ : A × A −→ A
and
(a, b) 7−→ a + b (a, b) 7−→ ab = a · b
such that
1.2. Rings, integral domains and fields 7
(2) Polynomials over rings from rings. For example the set R[T ] of polynomials
an T n + · · · + a1 T + a0 with real coefficients a0 , . . . , an ∈ R, together with the usual
addition and multiplication of polynomials, forms a ring.
(3) The set R × R of pairs (a, b) of real numbers a, b ∈ R, together with component-
wise addition and multiplication, forms a ring.
(4) The set of n × n-matrices Matn (A) with coefficients in a ring A does not form a
(commutative) ring for n > 1 since the multiplication of matrices is not commuta-
tive.
(5) The set Cc (R, R) of compactly supported (continuous / differentiable / smooth)
functions f : R → R, together with valuewise addition and multiplication, do not
form a ring (with one) for the lack of a multiplicative neutral element. To wit,
the constant function c1 : R → R that sends every a ∈ R to c1 (a) = 1 would be
neutral for multiplication, but it does not have compact support.
ma : A −→ A
b 7−→ ab
Lemma 1.2.5. Every field is an integral domain, and every integral domain is without
zero divisors. Conversely, a ring without zero divisors is an integral domain if 0 6= 1.
Proof. Let A be a field and a ∈ A − {0}. Consider b, b0 ∈ A such that ma (b) = ma (b0 ).
Since a has a multiplicative inverse a−1 , we have b = a−1 ab = a−1 ma (b) = a−1 ma (b0 ) =
a−1 ab0 = b0 , which shows that ma is injective. Since 0 6= 1, this shows that A is an integral
domain.
Let A be an integral domain and a, b ∈ A with ab = 0, but a 6= 0. Then ma (b) =
ab = 0 = a · 0 = ma (0) and thus b = 0 by the injectivity of ma . Thus A is without zero
divisors.
1.3. Ideals and quotients 9
Example 1.2.6. We summarize which rings from Example 1.2.3 are without zero
divisors, integral domains and fields in Table 1.2. The validity or failure of the defining
properties of these particular types of rings can also be determined for the examples that
are not rings, and we provide such an answer in brackets.
Lemma 1.3.2. Let A, B and C be rings. Then the following hold true.
of A, with the convention that h∅i = {0}. If S = {ai } we also write hai i = hSi.
Remark. In other words, an ideal of A is an additive subgroup I of (A, +) such that
AI = I where AI = {ab|a ∈ A, b ∈ I}. Note that, in particular, a − b = a + (−1) · b ∈ I
for all a, b ∈ I.
Lemma 1.3.4. Let A be a ring and S a subset of A. Then hSi is an ideal, and S = hSi if
and only if S is an ideal.
Proof. We begin with the proof that hSi is an ideal, which is clear in the case h∅i = {0}.
Thus we assume that S 6= ∅ in the following. Clearly, 0 = 0 · s is in hSi. Consider
∑ni=1 ai si , ∑m
i=1 biti ∈ hSi and c ∈ A. If we define ai si = bi−n si−n for i = n + 1, . . . , n + m,
then both
n m n+m n n
∑ ii
a s + ∑ ii =
b t ∑ ai si and c· ∑ ai si = ∑ (cai)si
i=1 i=1 i=1 i=1 i=1
are in hSi, which shows that hSi is an ideal. This also implies that if S = hSi, then S is
an ideal.
Assume that S is an ideal. Clearly S ⊂ hSi. To show equality, we consider ∑ni=1 ai si ∈
hSi with ai ∈ A and si ∈ S. Since S is an ideal, we know that ai si ∈ S for all i = 1, . . . , n.
Since S is an additive subgroup of A, it also contains the sum ∑ni=1 ai si . Thus hSi ⊂ S,
which concludes the proof.
Example 1.3.5. We give some examples of ideals.
(1) Let A be a ring. Then subsets {0} and A are ideals of A, which are called the
trivial ideal and the improper ideal of A, respectively. For every a ∈ A, the ideal
generated by S = {a} equals
hai = {ab | b ∈ A}
of R × R.
1.3. Ideals and quotients 11
Proof. Since f (0) = 0, we have 0 ∈ ker f . Consider a ∈ A and b, c ∈ ker f , i.e. f (b) =
f (c) = 0. Then f (b + c) = f (b) + f (c) = 0 and f (ab) = f (a) f (b) = 0, which shows
that b + c and ab are in ker f . Thus ker f is an ideal of A.
Proposition 1.3.8 (Universal property for quotient rings). Let A be a ring and I an
ideal of A. For a ∈ A, define [a] = {a + b ∈ A|b ∈ I} and A/I = {[a]|a ∈ A}. Then the
following hold true.
are well-defined, and (A/I, [+], [·]) is a ring. The association a 7→ [a] defines a
ring homomorphism π : A → A/I with ker π = I.
(2) Let S be a subset of A. Then π : A → A/hSi satisfies the following universal
property: for every ring homomorphism f : A → B with f (S) ⊂ {0}, there is a
unique ring homomorphism f¯ : A/hSi → B such that f = f¯ ◦ π.
f
A B
π
∃! f¯
A/hSi
Proof. Since an ideal is, in particular, an additive subgroup of (A, +), Proposition 1.1.7
shows that [+] is well-defined. We continue with [·]. Let [a] = [a0 ] and [b] = [b0 ], i.e. a0 =
a+c and b0 = b+d for c, d ∈ I. Then ad, bc, cd ∈ I and thus a0 b0 −ab = ad +bc+cd ∈ I,
which shows that [ab] = [a0 b0 ], by Proposition 1.1.7, and that [·] is well-defined.
We continue with the verification that (A/I, [+], [·]) is a ring. By Proposition 1.1.7,
we know that (A/I, [+]) is a commutative group. That (A/I, [·]) is a commutative monoid
with neutral element [1] follows from
[a][·][b] [·][c] = [(ab)c] = [a(bc)] = [a][·] [b][·][c] ,
The claim that π : A → A/I is a ring homomorphism follows from π(1) = [1] and
for all a, b ∈ A. By Proposition 1.1.7, (1), we have [0] = I and π(a) = [0] if and only if
a ∈ I. Thus π −1 ([0]) = I as claimed, which concludes the proof of (1)
We continue with the proof of (2). Given a ring homomorphism f : A → B with
f (S) ⊂ {0}, we claim that the association [a] 7→ f (a) does not depend on the choice
of representative a ∈ [a] and defines a ring homomorphism A/hSi → B. Once we have
proven this, it is clear that from the definition of f¯ that f = f¯ ◦ π. Note that f = f¯ ◦ π
implies the uniqueness of f¯ since it requires that f¯([a]) = f¯(π(a)) = f (a).
In order to show that f¯ is well-defined, consider a, b ∈ A such that [a] = [b]. By
Proposition 1.1.7, we have a − b ∈ hSi, and thus a − b = ∑ ai si for some ai ∈ A and
si ∈ S. It follows that
which shows that the value f¯([a]) = f¯([b]) does not depend on the choice of repre-
sentative for [a] = [b]. The map f¯ is a ring homomorphism since f¯([1]) = f (1) = 1
and
is a bijection.
Proof. We begin with the injectivity of the map. If g and g0 are polynomials of degree < n
whose classes [g] = [g0 ] in K[T ]/h f i are equal, then g − g0 = f · h for some polynomial
h = ∑ ci T i over K. Assume that h 6= 0, i.e. cm 6= 0 for m = deg h. Then
n m
f · h = ∑ ai T i · ∑ ci T i = an cm T n+m + (lower terms),
i=0 i=0
14 Rings
which is a polynomial of degree smaller than m = deg g in the class [g], a contradiction
to the minimality of deg g. This shows that deg g < n and concludes the proof of
surjectivity.
Definition 1.3.13. An ideal I of a ring A is
• prime if S = A − I is a multiplicative set, i.e. 1 ∈ S and ab ∈ S for all a, b ∈ S;
• proper if I 6= A;
• maximal if it is proper and I ⊂ J implies I = J for all proper ideals J of A.
Lemma 1.3.14. Let A be a ring and I and ideal of A.
(1) The ideal I is prime if and only if A/I is an integral domain.
(2) The ideal I is maximal if and only if A/I is a field.
Proof. We begin with (1). By definition I is prime if and only if 1 ∈ S and for all a, b ∈ S
also ab ∈ S. This is equivalent with the condition that 0̄ 6= 1̄ in A/I and āb̄ 6= 0̄ for all
ā, b̄ ∈ A/I − {0̄}, which are precisely the defining properties of an integral domain. Thus
(1).
We turn to (2). Assume that I is maximal. Since I 6= A, we have A/I 6= {0̄} and thus
0̄ 6= 1̄ by Lemma 1.2.2. Consider ā ∈ A/I − {0̄}. Then a ∈ / I and hI ∪ {a}i = A by the
maximality of I. Thus we have 1 = c + ba for some c ∈ I and b ∈ A, by Lemma 1.3.4
and noting that I is closed under addition and multiplication by elements of A. Thus we
have c̄ = 0̄ and 1̄ = c̄ + b̄ā = b̄ā in A/I, which shows that ā has a multiplicative inverse,
which is b̄. This shows that A/I is a field.
Conversely assume that A/I is a field. Since 0̄ 6= 1̄, we conclude that I is a proper
ideal. Consider an ideal J of A such that I ⊂ J. If there is an element a ∈ J − I, then
ā 6= 0̄ in A/I and thus has a multiplicative inverse b̄, i.e. āb̄ = 1̄ or 1 − ab ∈ I. Since
a ∈ J, also ab ∈ J. Therefore 1 = (1 − ab) + ab ∈ J and J = A. This shows that I is
maximal and concludes the proof of the lemma.
Corollary 1.3.15. Every maximal ideal is a prime ideal.
Proof. Let A be a ring and I a maximal ideal of A. Then A/I is a field by Lemma 1.3.14
and thus an integral domain by Lemma 1.2.5. Again by Lemma 1.3.14, we conclude
that I is a prime ideal.
1.4. The isomorphism theorems 15
(3) The product ∏ Ai together with the canonical projections {π j } j∈I satisfies the fol-
lowing universal property: for every ring B and for every family of ring homomor-
phisms { f j : B → A j } j∈I , there exists a unique ring homomorphism F : B → ∏ Ai
such that f j = π j ◦ F for all j ∈ I.
∃! F
B ∏ Ai
πj
fj
Aj
Proof. The verification of (1) and (2) is straight-forward, and we leave this as an exercise
to the reader.
We turn to (3). Given ring homomorphisms f j : B → A j , we define F : B → ∏ Ai
by F(a) = ( fi (a))i∈I . Assuming that F is a ring homomorphism, we see that f j (a) =
π j ( fi (a))i∈I = π j ◦ F(a), as desired. The requirement f j = π j ◦ F also shows that if
(bi )i∈I = F(a), then b j = π j F(a) = f j (a), which shows that F is unique.
We continue with showing that F : B → ∏ Ai is a ring homomorphism. By (1),
F(1) = ( fi (1))i∈I = (1)i∈I is the one of ∏ Ai . Given a, b ∈ B, we have
F(a + b) = fi (a + b) i∈I = fi (a) i∈I + fi (b) i∈I = F(a) + F(b),
F(ab) = fi (ab) i∈I = fi (a) i∈I · fi (b) i∈I = F(a) · F(b),
Proof. We begin with the proof that f is a well-defined and injective ring homomorphism.
By Proposition 1.5.2, the quotient maps fi : A → A/Ii , mapping a to a + Ii , induce a
ring homomorphism F : A → ∏ A/Ii such that f j = π j ◦ F for all i = 1, . . . , n where
π j : ∏ A/Ii → A/I j is the j-th canonical projection. Thus the kernel of F is
ker F = {a ∈ A | F(a) = 0}
= {a ∈ A | f j (a) = π j ◦ F(a) = 0 for all j = 1, . . . , n}
n
\ n
\
= ker f j = Ii = I.
i=1 i=1
By the universal property of the quotient, cf. Proposition 1.3.12, F factors into the
quotient map π : A → A/I followed by a uniquely determined ring homomorphism
f : A/I → ∏ A/Ii . This is indeed the map of the theorem since we have f (a+I) = F(a) =
(a + I1 , . . . , a + In ). Since ker f = π(I) = {0̄}, the ring homomorphism f : A/I → ∏ A/Ii
is injective.
We turn to the surjectivity of f . Since the ideals I1 , . . . , In are pairwise coprime, we
find for every j 6= i elements ai, j ∈ Ii and a j,i ∈ I j such that ai, j + a j,i = 1. We define
ai = ∏ j6=i a j,i where j varies through {1, . . . , n} − {i}. By definition, ai ∈ ∏ j6=i I j , and
by Exercise 1.13, we know that ∏ j6=i I j ⊂ I j0 for all j0 6= i. Thus ai + I j = 0 + I + j for
j 6= i. On the other hand, we have ∏ j6=i (ai, j + a j,i ) = 1 and thus
ai = 1 − ∏(ai, j + a j,i ) − ∏ a j,i ,
j6=i j6=i
| {z }
∈Ii
which shows that ai ∈ 1 + Ii . Thus the inverse image of an element (bi + Ii ) ∈ ∏ A/Ii
under f is ∑nj=1 a j b j + I ∈ A/I, as can be computed directly:
n n
f ∑ a jb j + I = ∑ a j b j + Ii i=1,...,n
= (bi + Ii )i=1,...,n ,
j=1 j=1
using that a j + Ii = δi, j + Ii where the Kronecker symbol δi, j is 1 for i = j and 0 for i 6= j.
This concludes the proof of surjectivity.
Corollary 1.5.6. Let e1 , . . . , en > 1 be pairwise coprime integers, i.e. hei , ei i = Z for
all i 6= j. Then there is an a ∈ Z such that a ≡ ai (mod ei ), i.e. a − ai ∈ hei i, for all
i = 1, . . . , n.
Proof. By the Chinese remainder theorem, cf. Theorem 1.5.5, the ring homomorphism
f : Z −→ ∏ni=1 Z/ei Z
a 7−→ a + ei Z
is surjective. Thus there exists an a ∈ Z such that a+ei Z = ai +ei Z, i.e. a ≡ ai (mod ei ),
for all i = 1, . . . , n.
1.6. Euclidean domains and principal ideal domains 19
(1) Every field K is a Euclidean domain with respect to any function N : K → N since
for every a, b ∈ K with b 6= 0, we have a = qb + r for q = ab−1 and r = 0.
(2) The ring of integers Z is an Euclidean domain with respect to the usual absolute
value N(a) = |a|. Indeed, given a, b ∈ Z with b 6= 0, we define q as the closest
integer to the rational number a/b and r = a − qb. Then we have |a/b − q| < 1
and therefore the desired inequality
(3) The ring Z[i] of Gaussian integers is a Euclidean domain with respect to the
function
N : Z[i] −→ N,
a + ib 7−→ a2 + b2
as can be seen as follows. First note that if we consider a + ib as an element of
the complex plane C = R × R, then N(a + ib) = a2 + b2 is equal to the square
|a + ib|2 of the distance of a + ib to 0.
Given x = a + ib and y = c + id 6= 0, we canp
consider x/y as a point in the complex
plane. This point is of distance of at most 1/2 from a point q = n + im ∈ Z[i]:
q+i
x/y p
1/2
q−1 q q+1
q−i
Given such a sequence, all the elements r1 , . . . , rn are nonzero and d = rn is a greatest
common divisor of a and b. Moreover d = ca + eb for some c, e ∈ A, which means that
gcd(a, b) = hdi = ha, bi.
Proof. The defining property of an Euclidean domain lets us find the required elements
recursively: for every pair of elements ri−2 and ri−1 6= 0 of A, there are qi and ri in
A such that ri−2 = qi ri−1 + ri and N(ri ) < N(ri−1 ) or ri = 0. If ri = 0, then we stop
the recursion and find n = i − 1, which happens after at most N(r1 ) + 1 steps. This
establishes the first assertion of the theorem.
We show the latter assertions by induction on n. We begin with the claim that
r1 , . . . , rn are nonzero. If n = 1, then this follows from the assumption that r1 = b 6= 0.
If n = 2, then q3 r2 = r1 6= 0 implies that r2 6= 0. For n > 2, let us assume that r2 = 0.
Then r3 = r1 − q3 r2 = r1 , which contradicts the assumption that N(r3 ) < N(r2 ) < N(r1 ).
Thus we conclude that r2 6= 0. Therefore we can apply the inductive hypothesis to the
sequences with ri0 = ri+1 and q0i = qi+1 , for which rn−10 = 0, to conclude that ri+1 = ri0 6= 0
for all i = 1, . . . , n − 1, which finishes the induction.
We continue with showing that d is a common divisor of a and b. If n = 1, then
d = b and a = q2 b, thus d divides both a and b. If n > 1, then can apply the inductive
hypothesis to the sequences with ri0 = ri+1 and q0i = qi+1 to conclude that d divides both
a0 = r00 = r1 = b and b0 = r10 = r2 . Therefore d also divides q2 r1 + r2 = r0 = a, which
finishes the induction.
We continue with showing that every common divisor d 0 of a and b divides d. If
n = 1, then d = b, and we have d 0 |b = d by assumption. If n > 1, then d 0 divides b = r1
and q2 a + b = r2 . Thus we can apply the inductive hypothesis to the sequences with
ri0 = ri+1 and q0i = qi+1 to conclude that d 0 divides d, which finishes the induction.
We continue with showing that d = ca + eb for some c, e ∈ A. If n = 1, then
d = r2 = r0 − q2 r1 = 1 · a + (−q2 )b, as desired. If n > 1, then we can apply the inductive
hypothesis to the sequences with ri0 = ri+1 and q0i = qi+1 to conclude that
Definition 1.6.6. A principal ideal domain (often just PID) is an integral domain A
for which every ideal is a principal ideal.
Remark. Two examples of principal ideal domains that are not Euclidean domains are
It requires in both cases some effort to prove this, which we will not do here. In general,
there seem to be no easy examples of such rings.
1.7 Exercises
Exercise 1.1. Proof Lemma 1.1.5.
f
G G0
π
∃! f¯
G/H
an = a| ·{z
· · a} for n > 0, a0 = e, and an = a| −1 ·{z
· · a−1} for n < 0.
n-times −n-times
We call G a cyclic group if there is an element a ∈ G such that every other element
b ∈ G is of the form b = an for some n ∈ Z.
Exercise 1.5. Let A be a ring and B ⊂ A a subset. Prove that B is a subring if and only if
addition α and multiplication µ of A restrict to maps αB : B × B → B and µB : B × B → B,
respectively, such that (B, αB , µB ) is a ring and such that the inclusion map B → A is a
ring homomorphism.
Exercise 1.7 (Gaussian integers). Let i ∈ C be a square root of −1. Show that the subset
Z[i] = {a + bi ∈ C|a, b ∈ Z} is a subring of C. Is Z[i] an integral domain? Is it a field?
Show that Q[i] = {a + bi|a, b ∈ Q} is a subring of C that is a field.
Remark: Z[i] is called the ring of Gaussian integers.
Exercise 1.9. Show that the set C∞ (R) of all smooth functions f : R → R is a ring with
respect to value-wise addition and multiplication, i.e. ( f + g)(x) := f (x) + g(x) and
( f · g)(x) := f (x) · g(x). Which of the following maps are ring homomorphisms?
Exercise 1.10. Let A be a ring. Show that A[T ] with the addition and multiplication
as defined in Definition 1.3.11 is indeed a ring with zero is 0 and one 1. Show that
the realization of elements a ∈ A as constant polynomials defines an injective ring
homomorphism A → A[T ]. Under which conditions on A is A[T ] an integral domain?
24 Rings
Exercise 1.12. Show that the embedding i : R → R[T ] of real numbers as constant
polynomials is a ring homomorphism. Show that R[T ] together with i : R → R[T ]
satisfies the following universal property. For every ring homomorphism f : R → B and
for every map f˜ : {T } → B, there is a unique ring homomorphism F : R[T ] → B such
that f = F ◦ i and F(T ) = f˜(T ).
Exercise 1.14. (1) Describe all ideals of Z. Which of them are principal ideals, which
of them are prime and which of them are maximal?
(2) Let f ∈ R[T ] be of degree 6 2. When is ( f ) a prime ideal, when is it a maximal
ideal? When is the quotient ring isomorphic to R? When is it isomorphic to C?
(5) Let A be an integral domain. Consider the map Φ : A → {ideals of A} that sends
a to the principal ideal (a) of A. Show that Φ(a) = Φ(b) if and only if a and b are
contained in the same orbit of the action of A× on A, i.e. a ∼ b.
Exercise 1.16. Let e1 , . . . , en be pairwise coprime positive integers. Show that the
underlying additive group of Z/e1 Z × · · · × Z/en Z is a cyclic group.
(1) Show that if d is a greatest common divisor of b and c and e is a greatest common
divisor of ab and ac, then (e) = (ad). Conclude that gcd(ab, ac) = (a) · gcd(b, c).
(2) If A is a principal ideal domain, then d is a greatest common divisor of a and b
if and only if (a, b) = (d). Conclude that every two elements of a principal ideal
domain have a greatest common divisor.
(3) Find an integral domain A with elements a, b, d ∈ A such that d is a greatest
common divisor of a and b, but (a, b) 6= (d).
Exercise 1.18. Let A be a Euclidean ring and a, b ∈ A. Show that in general the se-
quence r0 , . . . , rn , q2 , . . . , qn+1 ∈ A nor its length n are uniquely determined. In particular,
find an example of integers a, b ∈ Z and sequences r0 , . . . , rn , q2 , . . . , qn+1 ∈ Z and
r0 , . . . , rm , q2 , . . . , qm+1 ∈ Z of different lengths n 6= m that each satisfy the assumptions
of the Euclidean algorithm.
∗ Exercise1.19. Show that the ring Z[T ]/hT 2 − T + 5i is a principal ideal domain but
not a Euclidean domain. This can be done along the following steps.
Exercise 1.20 (Universal property of Z). Show that the ring Z satisfies the following
universal property: for every ring A, there is a unique ring homomorphism f : Z → A.
Use this and the universal property of the quotient map Z → Z/nZ to show that for a
ring A whose underlying additive group (A, +) is isomorphic to (Z/nZ, +) (as a group),
there is a unique ring isomorphism Z/nZ → A.
Remark: We say that Z is an initial object in the category of rings.
26 Rings
Exercise 1.21. Let A be a ring and I an ideal of A. Show that I is contained in a maximal
ideal of A.
Hint: This is a consequence of Zorn’s lemma.
√ √
Exercise 1.22. Let √Z[ −5]
√ be the set of complex numbers of the form z = a + b −5
with a, b ∈ Z and −5 = i 5.
√
(1) Show that Z[ −5] is a subring of C.
√ √
(2) Show that the association a + b −5 7→ a2 + 5b2 defines a map N : Z[ −5] → Z
with N(zz0 ) = N(z)N(z0 ) and N(1) = 1.
Remark: N(z) is the square of the usual absolute value of the comlex number z.
√ √
(3) Conclude that z ∈ Z[ −5]× if and only if N(z) ∈ Z× . Determine Z[ −5]× .
√ √
(4) Show that 2, 3, (1 + −5) and (1 − −5) are irreducible, but not prime.
√
(5) Show that 6 and 2 + 2 −5 do not have a greatest common divisor.
Exercise 1.23. (1) Determine all units, prime elements and irreducible elements of
Z/6Z.
(2) Let R[T1 , T2 ] = (R[T1 ])[T2 ] be the polynomial ring over R in T1 and T2 and I
the ideal generated by T12 + T22 . Is the class T 1 = T1 + I a prime element in the
quotient ring R[T1 , T2 ]/I? Is T 1 irreducible?