Modern Algebra: Ring Theory
Modern Algebra: Ring Theory
Matthew Macauley
Remarks
There need not be multiplicative inverses.
Multiplication need not be commutative (it may happen that xy 6= yx).
R[x] = {an x n + · · · + a1 x + a0 | ai ∈ R}
Allowing addition makes them into a ring H, called the quaternions, or Hamiltonians:
H = {a + bi + cj + dk | a, b, c, d ∈ R} .
Examples
1. Let R = Z. The units are U(R) = {−1, 1}. There are no (nonzero) zero divisors.
2. Let R = Z10 . Then 7 is a unit (and 7−1 = 3) because 7 · 3 = 1. However, 2 is
not a unit.
3. Let R = Zn . A nonzero k ∈ Zn is a unit if gcd(n, k) = 1, and a zero divisor if
gcd(n, k) ≥ 2.
4. The ring R = M2 (R) has zero divisors, such as:
1 −2 6 2 0 0
=
−2 4 3 1 0 0
Remarks
The (real) Hamiltonians H is not the same ring as RQ8 .
If g ∈ G has finite order |g | = k > 1, then RG always has zero divisors:
(1 − g )(1 + g + · · · + g k−1 ) = 1 − g k = 1 − 1 = 0.
An integral domain is a commutative ring with 1 and with no (nonzero) zero divisors.
(Think: “field without inverses”.)
Examples
Rings that are not integral domains: Zn (composite n), 2Z, Mn (R), Z × Z, H.
Integral domains that are not fields (or even division rings): Z, Z[x], R[x], R[[x]]
(formal power series).
Division ring but not a field: H.
1 0 0 1 4 1 0 1 1 2
In M2 (R), note that = = .
0 0 0 0 1 0 0 0 1 0
However, everything works fine as long as there aren’t any (nonzero) zero divisors.
Proposition
Let R be an integral domain and a 6= 0. If ax = ay for some x, y ∈ R, then x = y .
Proof
If ax = ay , then ax − ay = a(x − y ) = 0.
Since a 6= 0 and R has no (nonzero) zero divisors, then x − y = 0.
Lemma (HW)
If R is an integral domain and 0 6= a ∈ R and k ∈ N, then ak 6= 0.
Theorem
Every finite integral domain is a field.
Proof
Suppose R is a finite integral domain and 0 6= a ∈ R. It suffices to show that a has a
multiplicative inverse.
Consider the infinite sequence a, a2 , a3 , a4 , . . . , which must repeat.
Find i > j with ai = aj , which means that
0 = ai − aj = aj (ai−j − 1).
Definition
A subring I ⊆ R is a left ideal if
We use the term ideal and two-sided ideal synonymously, and write I E R.
Examples
nZ E Z.
a 0
If R = M2 (R), then I = : a, c ∈ R is a left, but not a right ideal of R.
c 0
The set Symn (R) of symmetric n × n matrices is a subring of Mn (R), but not an
ideal.
Proof
Suppose 1 ∈ I , and take an arbitrary r ∈ R.
It is not hard to modify the above result to show that if I contains any unit, then
I = R. (HW)
Proposition (HW)
Let R be a ring with unity. The (left, right, two-sided) ideal generated by X ⊆ R is:
Left: {r1 x1 + · · · + rn xn : n ∈ N, ri ∈ R, xi ∈ X },
Right: {x1 r1 + · · · + xn rn : n ∈ N, ri ∈ R, xi ∈ X },
Two-sided: {r1 x1 s1 + · · · + rn xn sn : n ∈ N, ri , si ∈ R, xi ∈ X }.
(x + I ) + (y + I ) := x + y + I .
It turns out that if I is also a two-sided ideal, then we can make R/I into a ring.
Proposition
If I ⊆ R is a (two-sided) ideal, then R/I is a ring (called a quotient ring), where
multiplication is defined by
(x + I )(y + I ) := xy + I .
Proof
We need to show this is well-defined. Suppose x + I = r + I and y + I = s + I . This
means that x − r ∈ I and y − s ∈ I .
It suffices to show that xy + I = rs + I , or equivalently, xy − rs ∈ I :
xy − rs = xy − ry + ry − rs = (x − r )y + r (y − s) ∈ I .
Let R = Z2 [x] be the polynomial ring over the field Z2 . (Note: we can ignore all
negative signs.)
0+I , 1+I , x +I , (x + 1) + I .
As with the quotient group (or ring) Z/nZ, we usually drop the “I ”, and just write
R/I = Z2 [x]/(x 2 + x + 1) ∼
= {0, 1, x, x + 1} .
+ 0 1 x x +1
0 1
0 0 1 x x +1 × 1 x x +1
1 1 0 x +1 x 1 1 x x +1
x x x +1 0 1 x x x +1 1
x x +1
x +1 x +1 x 1 0 x +1 x +1 1 x
Theorem
There exists a finite field Fq of order q, which is unique up to isomorphism, iff q = p n
for some prime p. If n > 1, then this field is isomorphic to the quotient ring
Zp [x]/(f ) ,
Much of the error correcting techniques in coding theory are built using mathematics
over F28 = F256 . This is what allows your CD to play despite scratches.
M. Macauley (Clemson) Section 7: Ring theory Math 4120, Modern algebra 15 / 46
Motivation (spoilers!)
Many of the big ideas from group homomorphisms carry over to ring homomorphisms.
Group theory
The quotient group G /N exists iff N is a normal subgroup.
A homomorphism is a structure-preserving map: f (x ∗ y ) = f (x) ∗ f (y ).
The kernel of a homomorphism is a normal subgroup: Ker φ E G .
For every normal subgroup N E G , there is a natural quotient homomorphism
φ : G → G /N, φ(g ) = gN.
There are four standard isomorphism theorems for groups.
Ring theory
The quotient ring R/I exists iff I is a two-sided ideal.
A homomorphism is a structure-preserving map: f (x + y ) = f (x) + f (y ) and
f (xy ) = f (x)f (y ).
The kernel of a homomorphism is a two-sided ideal: Ker φ E R.
For every two-sided ideal I E R, there is a natural quotient homomorphism
φ : R → R/I , φ(r ) = r + I .
There are four standard isomorphism theorems for rings.
Examples
1. The function φ : Z → Zn that sends k 7→ k (mod n) is a ring homomorphism
with Ker(φ) = nZ.
2. For a fixed real number α ∈ R, the “evaluation function”
R φ
Im φ ≤ S
(I = Ker φ) any homomorphism
q g
quotient remaining isomorphism
process (“relabeling”)
R Ker φ
quotient
ring
Proof (HW)
The statement holds for the underlying additive group R. Thus, it remains to show
that Ker φ is a (two-sided) ideal, and the following map is a ring homomorphism:
g : R/I −→ Im φ , g (x + I ) = φ(x) .
Proof (sketch)
S + I is an additive subgroup, and it’s closed under multiplication because
s1 , s2 ∈ S, i1 , i2 ∈ I =⇒ (s1 + i1 )(s2 + i2 ) = s1 s2 + s1 i2 + i1 s2 + i1 i2 ∈ S + I .
|{z} | {z }
∈S ∈I
Freshman theorem
Suppose R is a ring with ideals J ⊆ I . Then I /J is an ideal of R/J and
(R/J)/(I /J) ∼
= R/I .
(Thanks to Zach Teitler of Boise State for the concept and graphic!)
Correspondence theorem
Let I be an ideal of R. There is a bijective correspondence between subrings (&
ideals) of R/I and subrings (& ideals) of R that contain I . In particular, every ideal
of R/I has the form J/I , for some ideal J satisfying I ⊆ J ⊆ R.
R R/I
I1 S1 I3 I1 /I S1/I I3 /I
I2 S2 S3 I4 I2 /I S2/I S3/I I4 /I
I 0
Definition
An ideal I of R is maximal if I 6= R and if I ⊆ J ⊆ R holds for some ideal J, then
J = I or J = R.
Examples
1. If n 6= 0, then the ideal M = (n) of R = Z is maximal if and only if n is prime.
2. Let R = Q[x] be the set of all polynomials over Q. The ideal M = (x)
consisting of all polynomials with constant term zero is a maximal ideal.
Proof
The equivalence (i)⇔(ii) is immediate from the Correspondence Theorem.
For (ii)⇔(iii), we’ll show that an arbitrary ring R is simple iff R is a field.
Examples
1. The ideal (n) of Z is a prime ideal iff n is a prime number (possibly n = 0).
2. In the polynomial ring Z[x], the ideal I = (2, x) is a prime ideal. It consists of all
polynomials whose constant coefficient is even.
Theorem
An ideal P ⊆ R is prime iff R/P is an integral domain.
The proof is straightforward (HW). Since fields are integral domains, the following is
immediate:
Corollary
In a commutative ring, every maximal ideal is prime.
Blanket assumption
Throughout this lecture, unless explicitly mentioned otherwise, R is assumed to be an
integral domain, and we will define R ∗ := R \ {0}.
The integers have several basic properties that we usually take for granted:
every nonzero number can be factored uniquely into primes;
any two numbers have a unique greatest common divisor and least common
multiple;
there is a Euclidean algorithm, which can find the gcd of two numbers.
Surprisingly, these need not always hold in integrals domains! We would like to
understand this better.
M. Macauley (Clemson) Section 7: Ring theory Math 4120, Modern algebra 25 / 46
Divisibility
Definition
If a, b ∈ R, say that a divides b, or b is a multiple of a if b = ac for some c ∈ R. We
write a | b.
Examples
In Z: n and −n are associates.
In R[x]: f (x) and c · f (x) are associates for any c 6= 0.
The only associate of 0 is itself.
The associates of 1 are the units of R.
Proposition (HW)
Two elements a, b ∈ R are associates if and only if a = bu for some unit u ∈ U(R).
Definition
If b ∈ R is not a unit, and the only divisors of b are units and associates of b, then b
is irreducible.
Proposition
If 0 6= p ∈ R is prime, then p is irreducible.
Proof
Suppose p is prime but not irreducible. Then p = ab with a, b 6∈ U(R).
p = ab = (pc)b = p(cb) .
When irreducibles fail to be prime, we can lose nice properties like unique
factorization.
Things can get really bad: not even the lengths of factorizations into irreducibles
need be the same!
x 6 = x 2 · x 2 · x 2 = x 3 · x 3.
Definition
An ideal I generated by a single element a ∈ R is called a principal ideal. We denote
this by I = (a).
Examples
The following are all PIDs (stated without proof):
The ring of integers, Z.
Any field F .
The polynomial ring F [x] over a field.
As we will see shortly, PIDs are “nice” rings. Here are some properties they enjoy:
pairs of elements have a “greatest common divisor” & “least common multiple”;
irreducible ⇒ prime;
Every element factors uniquely into primes.
M. Macauley (Clemson) Section 7: Ring theory Math 4120, Modern algebra 29 / 46
Greatest common divisors & least common multiples
Proposition
If I ⊆ Z is an ideal, and a ∈ I is its smallest positive element, then I = (a).
Proof
Pick any positive b ∈ I . Write b = aq + r , for q, r ∈ Z and 0 ≤ r < a.
Definition
A common divisor of a, b ∈ R is an element d ∈ R such that d | a and d | b.
Proposition
If R is a PID, then any a, b ∈ R ∗ have a GCD, d = gcd(a, b).
It is unique up to associates, and can be written as d = xa + yb for some x, y ∈ R.
Proof
Existence. The ideal generated by a and b is
I = (a, b) = {ua + vb : u, v ∈ R} .
Proof
Let p ∈ R be irreducible and suppose p | ab for some a, b ∈ R.
Not surprisingly, least common multiples also have a nice characterization in PIDs.
Proposition (HW)
If R is a PID, then any a, b ∈ R ∗ have an LCM, m = lcm(a, b).
It is unique up to associates, and can be characterized as a generator of the ideal
I := (a) ∩ (b).
Examples
1. Z is a UFD: Every integer n ∈ Z can be uniquely factored as a product of
irreducibles (primes):
d
n = p1d1 p2d2 · · · pk k .
This is the fundamental theorem of arithmetic.
2. The ring Z[x] is a UFD, because every polynomial can be factored into
irreducibles. But it is not a PID because the following ideal is not principal:
Proof
We need to show Condition (i) holds: every element is a product of irreducibles. A
ring is Noetherian if every ascending chain of ideals
I1 ⊆ I2 ⊆ I3 ⊆ · · ·
PIDs
F [x] Z
Zp fields C
Q
Z2 [x]/(x 2 +x +1)
A F256
R
√ √
R( −π) Q( m)
√
3
Q( 2, ζ)
Definition
An integral domain R is Euclidean if it has a degree function d : R ∗ → Z satisfying:
(i) non-negativity: d(r ) ≥ 0 ∀r ∈ R ∗ .
(ii) monotonicity: d(a) ≤ d(ab) for all a, b ∈ R ∗ .
(iii) division-with-remainder property: For all a, b ∈ R, b 6= 0, there are q, r ∈ R
such that
a = bq + r with r = 0 or d(r ) < d(b) .
Note that Property (ii) could be restated to say: If a | b, then d(a) ≤ d(b);
Examples
R = Z is Euclidean. Define d(r ) = |r |.
R = F [x] is Euclidean if F is a field. Define d(f (x)) = deg f (x).
√
The Gaussian integers R−1 = Z[ −1] = {a + bi : a, b ∈ Z} is Euclidean with
degree function d(a + bi) = a2 + b 2 .
Proof
⊆”: First, we’ll show that associates have the same degree. Take a ∼ b in R ∗ :
Proof
Let I 6= 0 be an ideal and pick some b ∈ I with d(b) minimal.
Exercises.
√
(i) The ideal I = (3, 2 + −5) is not principal in R−5 .
(ii) If R is an integral domain, then I = (x, y ) is not principal in R[x, y ].
Corollary
The rings R−5 (not a PID or UFD) and R[x, y ] (not a PID) are not Euclidean.
Definition
√
The ring Rm is the set of algebraic integers in Q( m), i.e., the subring consisting of
those numbers that are roots of monic quadratic polynomials x 2 + cx + d ∈ Z[x].
Facts
Rm is an integral domain with 1.
Since m is square-free, m 6≡ 0 (mod 4). For the other three cases:
√ √
Z[ m] = a + b m : a, b ∈ Z m ≡ 2 or 3 (mod 4)
Rm = √ √
1+ m
= a + b 1+2 m ) : a, b ∈ Z
Z 2 m ≡ 1 (mod 4)
R−1 is the Gaussian integers, which is a PID. (easy)
R−19 is a PID. (hard)
Definition
√ √
For x = r + s m ∈ Q( m), define the norm of x to be
√ √
N(x) = (r + s m)(r − s m) = r 2 − ms 2 .
Exercises
Assume m ∈ Z is square-free, with m 6= 0, 1.
u ∈ U(Rm ) iff |N(u)| = 1.
If m ≥ 2, then U(Rm ) is infinite.
√
± 1, ± 1± 2 −3 .
U(R−1 ) = {±1, ±i} and U(R−3 ) =
If m = −2 or m < −3, then U(Rm ) = {±1}.
√
Let α = (1 + 69)/2 and c > 25 be an integer. Then the following degree function
works for R69 , defined on the prime elements:
(
|N(p)| if p 6= 10 + 3α
d(p) =
c if p = 10 + 3α
Theorem
If m < 0 and m 6∈ {−11, −7, −3, −2, −1}, then Rm is not Euclidean.
Open problem
Classify which Rm ’s are PIDs, and which are Euclidean.
M. Macauley (Clemson) Section 7: Ring theory Math 4120, Modern algebra 42 / 46
PIDs that are not Euclidean
Theorem
If m < 0, then Rm is a PID iff
m ∈ {−1, −2, −3, −7, −11, −19, −43, −67, −163} .
| {z }
Euclidean
m ∈ {−11, −7, −3, −2, −1, 2, 3, 5, 6, 7, 11, 13, 17, 19, 21, 29, 33, 37, 41, 57, 73} .
Corollary
If m < 0, then Rm is a PID that is not Euclidean iff m ∈ {−19, −43, −67, −163}.
Figure: Algebraic numbers in the complex plane. Colors indicate the coefficient of the
leading term: red = 1 (algebraic integer), green = 2, blue = 3, yellow = 4. Large dots mean
fewer terms and smaller coefficients. Image from Wikipedia (made by Stephen J. Brooks).
Figure: Algebraic integers in the complex plane. Each red dot is the root of a monic
polynomial of degree ≤ 7 with coefficients from {0, ±1, ±2, ±3, ±4, ±5}. From Wikipedia.