AWchap 3
AWchap 3
·:R×M →M
·:M ×R→M
(1.2) Remarks.
(1) If R is a commutative ring then any left R-module also has the struc-
ture of a right R-module by defining mr = rm. The only axiom that
requires a check is axiom (cr ). But
m(ab) = (ab)m = (ba)m = b(am) = b(ma) = (ma)b.
(2) More generally, if the ring R has an antiautomorphism (that is, an
additive homomorphism φ : R → R such that φ(ab) = φ(b)φ(a)) then
any left R-module has the structure of a right R-module by defining
ma = φ(a)m. Again, the only axiom that needs checking is axiom (cr ):
(ma)b = φ(b)(ma)
= φ(b)(φ(a)m)
= (φ(b)φ(a))m
= φ(ab)m
= m(ab).
An example of this situation occurs for the group ring R(G) where R
is a ring with identity and G is a group (see Example 2.1.10 (15)). In
this case the antiautomorphism is given by
³X ´ X
φ ag g = ag g −1 .
g∈G g∈G
The theories of left R-modules and right R-modules are entirely par-
allel, and so, to avoid doing everything twice, we must choose to work on
3.1 Definitions and Examples 109
one side or the other. Thus, we shall work primarily with left R-modules
unless explicitly indicated otherwise and we will define an R-module (or
module over R) to be a left R-module. (Of course, if R is commutative, Re-
mark 1.2 (1) shows there is no difference between left and right R-modules.)
Applications of module theory to the theory of group representations will,
however, necessitate the use of both left and right modules over noncommu-
tative rings. Before presenting a collection of examples some more notation
will be introduced.
(1.4) Definition.
(1) Let F be a field. Then an F -module V is called a vector space over F .
(2) If V and W are vector spaces over the field F then a linear transfor-
mation from V to W is an F -module homomorphism from V to W .
(1.5) Examples.
(1) Let G be any abelian group and let g ∈ G. If n ∈ Z then define the
scalar multiplication ng by
g + ··· + g (n terms) if n > 0,
ng = 0 if n = 0,
(−g) + · · · + (−g) (−n terms) if n < 0.
and
(b1 , . . . , bn )a = (b1 a, . . . , bn a).
(3) Let R be an arbitrary ring. Then the set of matrices Mm,n (R) is both
a left and a right R-module via left and right scalar multiplication of
matrices, i.e.,
entij (aA) = a entij (A)
and
entij (Aa) = (entij (A))a.
(4) As a generalization of the above example, the matrix multiplication
maps
R × R/I −→ R/I
(a, b + I) 7−→ ab + I
and
R/I × R −→ R/I
(a + I, b) 7−→ ab + I.
HomR (R, M ) ∼
=M
f (X) = a0 + a1 X + · · · + an X n
112 Chapter 3. Modules and Vector Spaces
then
φ(f (X)) = a0 1M + a1 T + · · · + an T n .
We will denote φ(f (X)) by the symbol f (T ) and we let Im(φ) = R[T ].
That is, R[T ] is the subring of EndR (M ) consisting of “polynomials”
in T . Then M is an R[T ] module by means of the multiplication
f (T )m = f (T )(m).
f (X)m = f (T )(m).
(2.2) Examples.
(1) If R is any ring then the R-submodules of the R-module R are precisely
the left ideals of the ring R.
(2) If G is any abelian group then G is a Z-module and the Z-submodules
of G are just the subgroups of G.
(3) Let f : M → N be an R-module homomorphism. Then Ker(f ) ⊆ M
and Im(f ) ⊆ N are R-submodules (exercise).
(4) Continuing with Example 1.5 (12), let V be a vector space over a
field F and let T ∈ EndF (V ) be a fixed linear transformation. Let VT
denote V with the F [X]-module structure determined by the linear
transformation T . Then a subset W ⊆ V is an F [X]-submodule of the
module VT if and only if W is a linear subspace of V and T (W ) ⊆ W ,
i.e., W must be a T -invariant subspace of V . To see this, note that
X · w = T (w), and if a ∈ F , then a · w = aw—that is to say, the
action of the constant polynomial a ∈ F [X] on V is just ordinary
scalar multiplication, while the action of the polynomial X on V is
the action of T on V . Thus, an F [X]-submodule of VT must be a T -
invariant subspace of V . Conversely, if W is a linear subspace of V
such that T (W ) ⊆ W then T m (W ) ⊆ W for all m ≥ 1. Hence, if
f (X) ∈ F [X] and w ∈ W then f (X) · w = f (T )(w) ∈ W so that W is
closed under scalar multiplication and thus W is an F [X]-submodule
of V .
(2.3) Lemma. Let M be anTR-module and let {Nα }α∈A be a family of sub-
modules of M . Then N = α∈A Nα is a submodule of M .
Proof. Exercise. u
t
M/ Ker(f ) ∼
= Im(f ).
Proof. Let K = Ker(f ). From Theorem 1.3.10 we know that f : M/K →
Im(f ) defined by f (m+K) = f (m) is a well-defined isomorphism of abelian
groups. It only remains to check that f is an R-module homomorphism. But
f (a(m + K)) = f (am + K) = f (am) = af (m) = af (m + K) for all m ∈ M
and a ∈ R, so we are done. u
t
(N + P ) /P ∼
= N/ (N ∩ P ) .
M/N ∼
= (M/P )/(N/P ).
Ker(f ) = {m + P : m + N = N } = {m + P : m ∈ N } = N/P.
The result then follows from the first isomorphism theorem (Theorem 2.4).
u
t
Proof. Exercise. u
t
(2.11) Remarks.
(1) We have µ({0}) = 0 by Lemma 2.9 (1), and M 6= {0} is cyclic if and
only if µ(M ) = 1.
(2) The concept of cyclic R-module generalizes the concept of cyclic group.
Thus an abelian group G is cyclic (as an abelian group) if and only if
it is a cyclic Z-module.
(3) If R is a PID, then any R-submodule M of R is an ideal, so µ(M ) = 1.
R/I × M → M
defined by (a + I)m = am. To see that this map is well defined, suppose
that a + I = b + I. Then a − b ∈ I ⊆ Ann(M ) so that (a − b)m = 0, i.e.,
am = bm. Therefore, whenever an ideal I ⊆ Ann(M ), M is also an R/I
module. A particular case where this occurs is if N = M/IM where I is any
ideal of R. Then certainly I ⊆ Ann(N ) so that M/IM is an R/I-module.
(2.19) Examples.
(1) If G is an abelian group then the torsion Z-submodule of G is the
set of all elements of G of finite order. Thus, G = Gτ means that
every element of G is of finite order. In particular, any finite abelian
118 Chapter 3. Modules and Vector Spaces
group is torsion. The converse is not true. For a concrete example, take
G = Q/Z. Then |G| = ∞, but every element of Q/Z has finite order
since q(p/q + Z) = p + Z = 0 ∈ Q/Z. Thus (Q/Z)τ = Q/Z.
(2) An abelian group is torsion-free if it has no elements of finite order
other than 0. As an example, take G = Zn for any natural number n.
Another useful example to keep in mind is the additive group Q.
(3) Let V = F 2 and consider the linear transformation T : F 2 → F 2
defined by T (u1 , u2 ) = (u2 , 0). See Example 1.5 (13). Then the F [X]
module VT determined by T is a torsion module. In fact Ann(VT ) =
hX 2 i. To see this, note that T 2 = 0, so X 2 · u = 0 for all u ∈ V . Thus,
hX 2 i ⊆ Ann(VT ). The only ideals of F [X] properly containing hX 2 i
are hXi and the whole ring F [X], but X ∈ / Ann(VT ) since X · (0, 1) =
(1, 0) 6= (0, 0). Therefore, Ann(VT ) = hX 2 i.
The following two observations are frequently useful; the proofs are left
as exercises:
Proof. Exercise. u
t
(2.21) Proposition. Let F be a field and let V be a vector space over F , i.e.,
an F -module. Then V is torsion-free.
Proof. Exercise. u
t
where the 0 element is, of course, (0, . . . , 0). The R-module thus con-
structed is called the direct sum of M1 , . . . , Mn and is denoted
³ n
M ´
M1 ⊕ · · · ⊕ Mn or Mi .
i=1
3.3 Direct Sums, Exact Sequences, and Hom 119
f : M1 ⊕ · · · ⊕ Mn → N
defined by
n
X
f (x1 , . . . , xn ) = fi (xi ).
i=1
Then
M∼
= M1 ⊕ · · · ⊕ Mn .
Proof. Let fi : Mi → M be the inclusion map, that is, fi (x) = x for all
x ∈ Mi and define
f : M1 ⊕ · · · ⊕ Mn → M
by
f (x1 , . . . , xn ) = x1 + · · · + xn .
f is an R-module homomorphism and it follows from condition (1) that f is
surjective. Now suppose that (x1 , . . . , xn ) ∈ Ker(f ). Then x1 +· · ·+xn = 0
so that for 1 ≤ i ≤ n we have
Therefore,
Our primary emphasis will be on the finite direct sums of modules just
constructed, but for the purpose of allowing for potentially infinite rank
free modules, it is convenient to have available the concept of an arbitrary
direct sum of R-modules. This is described as follows. Let {Mj }j∈J be
120 Chapter 3. Modules and Vector Spaces
Then M
M∼
= Mj .
j∈J
Proof. Exercise. u
t
f g
(3.1) 0 −→ M1 −→ M −→ M2 −→ 0
(3.6) Definition.
(1) The sequence (3.1), if exact, is said to be a short exact sequence.
(2) The sequence (3.1) is said to be a split exact sequence (or just split)
if it is exact and if Im(f ) = Ker(g) is a direct summand of M .
122 Chapter 3. Modules and Vector Spaces
Proof. u
t
(3.8) Example. Let p and q be distinct primes. Then we have short exact
sequences
φ ψ
(3.2) 0 −→ Zp −→ Zpq −→ Zq −→ 0
and
f g
(3.3) 0 −→ Zp −→ Zp2 −→ Zp −→ 0
where φ(m) = qm ∈ Zpq , f (m) = pm ∈ Zp2 , and ψ and g are the canonical
projection maps. Exact sequence (3.2) is split exact while exact sequence
(3.3) is not split exact. Both of these observations are easy consequences of
the material on cyclic groups from Chapter 1; details are left as an exercise.
(3.9) Theorem. If
f g
(3.4) 0 −→ M1 −→ M −→ M2 −→ 0
M∼
= Im(f ) ⊕ Ker(α)
∼
= Ker(g) ⊕ Im(β)
∼
= M1 ⊕ M2 .
The homomorphisms α and β are said to split the exact sequence (3.4)
or be a splitting.
Proof. Suppose that (1) is satisfied and let x ∈ M . Then
If M and N are R-modules, then the set HomR (M, N ) of all R-module
homomorphisms f : M → N is an abelian group under function addition.
According to Example 1.5 (8), HomR (M, N ) is also an R-module provided
that R is a commutative ring. Recall that EndR (M ) = HomR (M ) denotes
the endomorphism ring of the R-module M , and the ring multiplication is
composition of homomorphisms. Example 1.5 (8) shows that EndR (M ) is
an R-algebra if the ring R is commutative. Example 1.5 (10) shows that
HomR (R, M ) ∼= M for any R-module M .
Now consider R-modules M , M1 , N , and N1 , and let φ : N → N1 ,
ψ : M → M1 be R-module homomorphisms. Then there are functions
φ∗ : HomR (M, N ) → HomR (M, N1 )
and
ψ ∗ : HomR (M1 , N ) → HomR (M, N )
124 Chapter 3. Modules and Vector Spaces
defined by
φ∗ (f ) = φ ◦ f for all f ∈ HomR (M, N )
and
ψ ∗ (g) = g ◦ ψ for all g ∈ HomR (M1 , N ).
It is straightforward to check that φ∗ (f +g) = φ∗ (f )+φ∗ (g) and ψ ∗ (f +g) =
ψ ∗ (f ) + ψ ∗ (g) for appropriate f and g. That is, φ∗ and ψ ∗ are homomor-
phisms of abelian groups, and if R is commutative, then they are also
R-module homomorphisms.
Given a sequence of R-modules and R-module homomorphisms
φi φi+1
(3.6) · · · −→ Mi−1 −→ Mi −→ Mi+1 −→ · · ·
and
(φi )∗
(3.8) · · · ←− HomR (Mi−1 , N ) ←− HomR (Mi , N )
(φi+1 )∗
←− HomR (Mi+1 , N ) ←− · · · .
ψ∗ (φ∗ (f )) = ψ ◦ φ∗ (f ) = ψ ◦ φ ◦ f = 0
0 = (ψ∗ ◦ φ∗ )(1M1 ) = ψ ◦ φ.
is a short exact sequence, the sequences (3.10) and (3.12) need not be short
exact, i.e., neither ψ∗ or φ∗ need be surjective. Following are some examples
to illustrate this.
126 Chapter 3. Modules and Vector Spaces
so that
HomZ (Zm , Zn ) = Ker(φ∗ ).
Let d = gcd(m, n), and write m = m0 d, n = n0 d. Let f ∈ HomZ (Z, Zn ).
Then, clearly, φ∗ (f ) = 0 if and only if φ∗ (f )(1) = 0. But
0 −→ M1 −→ M −→ M2 −→ 0
is exact, the sequences (3.10) and (3.12) are not, in general, part of short
exact sequences. For simplicity, take m = n. Then sequence (3.12) becomes
φ∗
(3.15) 0 −→ Zn −→ Zn −→ Zn
These examples show that Theorem 3.10 is the best statement that
can be made in complete generality concerning preservation of exactness
under application of HomR . There is, however, the following criterion for
the preservation of short exact sequences under Hom:
3.3 Direct Sums, Exact Sequences, and Hom 127
and
ψ∗ φ∗
(3.19) 0 −→ HomR (M2 , N ) −→ HomR (M, N ) −→ HomR (M1 , N ) −→ 0
ψ∗ ◦ β∗ (f ) = ψ∗ (β ◦ f )
= (ψ ◦ β) ◦ f
= (1M2 ) ◦ f
¡ ¢
= 1HomR (N,M2 ) (f ).
and
(3.14) Remarks.
(1) Notice that isomorphism (3.20) is given explicitly by
Φ(f ) = (π1 ◦ f, π2 ◦ f )
Ψ(f ) = (f ◦ ι1 , f ◦ ι2 )
(3.15) Proposition. Let {Mi }i∈I and {Nj }j∈J be indexed families (not nec-
essarily finite) of R-modules, and let M = ⊕i∈I , N = ⊕j∈J . Then
Y³M ´
HomR (M, N ) ∼= HomR (Mi , Nj ) .
i∈I j∈J
Proof. Exercise. u
t
a1 x1 + · · · + an xn = 0.
When the ring R is implicit from the context, we will sometimes write
linearly dependent (or just dependent) and linearly independent (or just
independent) in place of the more cumbersome R-linearly dependent or
R-linearly independent. In case S contains only finitely many elements
x1 , x2 , . . . , xn , we will sometimes say that x1 , x2 , . . . , xn are R-linearly de-
pendent or R-linearly independent instead of saying that S = {x1 , . . . , xn }
is R-linearly dependent or R-linearly independent.
3.4 Free Modules 129
(4.2) Remarks.
(1) To say that S ⊆ M is R-linearly independent means that whenever
there is an equation
a1 x1 + · · · + an xn = 0
x = a1 x1 + · · · + an xn
a1 x1 + · · · + an xn = 0
It is clear that conditions (1) and (2) in the definition of basis can be
replaced by the single condition:
(10 ) S ⊆ M is a basis of M 6= {0} if and only if every x ∈ M can be written
uniquely as
x = a1 x1 + · · · + an xn
for a1 , . . . , an ∈ R and x1 , . . . , xn ∈ S.
(4.6) Examples.
(1) If R is a field then R-linear independence and R-linear dependence in
a vector space V over R are the same concepts used in linear algebra.
(2) Rn is a free module with basis S = {e1 , . . . , en } where
ei = (0, . . . , 0, 1, 0, . . . , 0)
S = {Eij : 1 ≤ i ≤ m, 1 ≤ j ≤ n}.
(4.10) Corollary. Suppose that M is a free R-module with basis S = {xj }j∈J .
Then Y
HomR (M, N ) ∼ = Nj
j∈J
Let
m X
X n
g= aij fij .
i=1 j=1
Then
g(vk ) = ak1 w1 + · · · + akn wn = f (vk )
for 1 ≤ k ≤ m, so g = f since the two homomorphisms agree on a basis
of M . Thus, {fij : 1 ≤ i ≤ m; 1 ≤ j ≤ n} generates HomR (M, N ), and
we leave it as an exercise to check that this set is linearly independent and,
hence, a basis. u
t
(4.12) Remarks.
(1) A second (essentially equivalent) way to see the same thing is to write
M∼ = ⊕m ∼ n
i=1 R and N = ⊕j=1 R. Then, Corollary 3.13 shows that
m M
M n
HomR (M, N ) ∼
= HomR (R, R).
i=1 j=1
(2) The hypothesis of finite generation of M and N is crucial for the va-
lidity of Theorem 4.11. For example, if R = Z and M = ⊕∞ 1 Z is the
free Z-module on the index set N, then Corollary 4.10 shows that
∞
Y
HomZ (M, Z) ∼
= Z.
1
3.4 Free Modules 133
Q∞
But the Z-module 1 Z is not a free Z-module. (For a proof of this fact
(which uses cardinality arguments), see I. Kaplansky, Infinite Abelian
Groups, University of Michigan Press, (1968) p. 48.)
∼ F/ Ker(ψ).
Since S is a generating set for M , ψ is surjective and hence M =
Note that if |S| < ∞ then F is finitely generated. (Note that every module
has a generating set S since we may take S = M .) Since M is a quotient of
F , we have µ(M ) ≤ µ(F ). But F is free on the index set J (Remark 4.5),
so µ(F ) ≤ |J|, and since J indexes a generating set of M , it follows that
µ(F ) ≤ µ(M ) if S is a minimal generating set of M . Hence we may take F
with µ(F ) = µ(M ). u
t
0 −→ K −→ F −→ M −→ 0
Thus, Proposition 4.14 states that every module has a free presenta-
tion.
HomR (F, M ) such that β|S = h. Since f ◦ β(xj ) = xj = 1F (xj ) for all
j ∈ J, it follows that f ◦ β = 1F , and the result follows from Theorem
3.9. u
t
(4.17) Corollary.
(1) Let M be an R-module and N ⊆ M a submodule with M/N free. Then
M∼ = N ⊕ (M/N ).
(2) If M is an R-module and F is a free R-module, then M ∼
= Ker(f ) ⊕ F
for every surjective homomorphism f : M → F .
Proof. (1) Since M/N is free, the short exact sequence
0 −→ N −→ M −→ M/N −→ 0
(4.19) Remark. It is a theorem that any two bases of a free module over
a commutative ring R have the same cardinality. This result is proved
for finite-dimensional vector spaces by showing that any set of vectors of
cardinality larger than that of a basis must be linearly dependent. The
same procedure works for free modules over any commutative ring R, but
it does require the theory of solvability of homogeneous linear equations
over a commutative ring. However, the result can be proved for R a PID
without the theory of solvability of homogeneous linear equations over R;
we prove this result in Section 3.6. The result for general commutative rings
then follows by an application of Proposition 4.13.
are not free. We will conclude this section with the fact that all modules
over division rings, in particular, vector spaces, are free modules. In Section
3.6 we will study in detail the theory of free modules over a PID.
The proof of Theorem 4.20 actually proved more than the existence of
a basis of V . Specifically, the following more precise result was proved.
Proof. Exercise. u
t
136 Chapter 3. Modules and Vector Spaces
Notice that the above proof used the existence of inverses in the division
ring D in a crucial way. We will return in Section 3.6 to study criteria that
ensure that a module is free if the ring R is assumed to be a PID. Even
when R is a PID, e.g., R = Z, we have seen examples of R modules that
are not free, so we will still be required to put restrictions on the module
M to ensure that it is free.
The property of free modules given in Proposition 4.16 is a very useful one,
and it is worth investigating the class of those modules that satisfy this
condition. Such modules are characterized in the following theorem.
0 −→ M1 −→ M −→ P −→ 0
splits.
(2) There is an R-module P 0 such that P ⊕ P 0 is a free R-module.
(3) For any R-module N and any surjective R-module homomorphism ψ :
M → P , the homomorphism
is surjective.
(4) For any surjective R-module homomorphism φ : M → N , the homo-
morphism
φ∗ : HomR (P, M ) → HomR (P, N )
is surjective.
Since F is free, Proposition 4.16 implies that this sequence is split exact;
Theorem 3.12 then shows that
ψ∗ (π ◦ fe) = ψ ◦ (π ◦ fe)
= π 0 ◦ ψ 0 ◦ fe
= π0 ◦ f 0
= (π 0 ◦ ι) ◦ f
= f.
Therefore, ψ∗ is surjective.
ψ
(3) ⇒ (4). Let 0 −→ K −→ F −→ P −→ 0 be a free presentation of
P . By property (3), there is a β ∈ HomR (P, F ) such that ψ∗ (β) = 1P , i.e.,
ψ◦β = 1P . Let φ : M → N be any surjective R-module homomorphism and
let f ∈ HomR (P, N ). Then there is a commutative diagram of R-module
homomorphisms
ψ
F −→ P −→ 0
f
y
φ
M −→ N −→ 0
with exact rows. Let S = {xj }j∈J be a basis of F . Since φ is surjective,
we may choose yj ∈ M such that φ(yj ) = f ◦ ψ(xj ) for all j ∈ J. By
Proposition 4.9, there is an R-module homomorphism g : F → M such
that g(xj ) = yj for all j ∈ J. Since φ ◦ g(xj ) = φ(yj ) = f ◦ ψ(xj ), it follows
that φ ◦ g = f ◦ ψ. Define fe ∈ HomR (P, M ) by fe = g ◦ β and observe that
φ∗ (fe) = φ ◦ (g ◦ β)
=f ◦ψ◦β
= f ◦ 1P
= f.
0 −→ K −→ F −→ P −→ 0
such that F is free and µ(F ) = µ(P ) < ∞. By Theorem 5.1, P is a direct
summand of F .
Conversely, assume that P is a direct summand of a finitely generated
free R-module F . Then P is projective, and moreover, if P ⊕ P 0 ∼
= F then
F/P 0 ∼
= P so that P is finitely generated. u
t
(5.6) Examples.
(1) Every free module is projective.
(2) Suppose that m and n are relatively prime natural numbers. Then
as abelian groups Zmn ∼ = Zm ⊕ Zn . It is easy to check that this iso-
morphism is also an isomorphism of Zmn -modules. Therefore, Zm is
a direct summand of a free Zmn -module, and hence it is a projective
Zmn -module. However, Zm is not a free Zmn module since it has fewer
than mn elements.
(3) Example 5.6 (2) shows that projective modules need not be free. We
will present another example of this phenomenon in which the ring R is
an integral √
domain so that simple cardinality arguments
√ do not suffice.
Let R = Z[ −5] and let I be the ideal I = h2, 1 + −5i = ha1 , a2 i. It
is easily shown that I is not a principal ideal, and hence by Example
4.6 (6), we see that I cannot be free as an R-module. We claim that I
3.5 Projective Modules 139
√
is a projective R-module. To see this, let b = 1 − −5 ∈ R, let F be a
free R-module with basis {s1 , s2 }, and let φ : F → I be the R-module
homomorphism defined by
φ(r1 s1 + r2 s2 ) = r1 a1 + r2 a2 .
Note that this makes sense because 2 divides ab for every a ∈ I. Now
for a ∈ I,
and hence, each Pj is also a direct summand of the free R-module F . Thus,
Pj is projective.
Conversely, suppose that Pj is projective for every j ∈ J and let Pj0 be
an R-module such that Pj ⊕ Pj0 = Fj is free. Then
³M ´ M¡ ¢
P⊕ Pj0 ∼
= Pj ⊕ Pj0
j∈J j∈J
M
∼
= Fj .
j∈J
Since the direct sum of free modules is free (Example 4.6 (8)), it follows
that P is a direct summand of a free module, and hence P is projective. ut
140 Chapter 3. Modules and Vector Spaces
(5.10) Examples.
(1) If I ⊆ R is the principal ideal I = hai where a 6= 0, then I is an
invertible ideal. Indeed, let b = 1/a ∈ K. Then any x ∈ I is divisible
by a in R so√that bx = (1/a)x ∈ R, while
√ a(1/a) = 1.
(2) Let R = Z[ −5] and let I = h2, 1 + −5i. Then it is easily checked
that I is not principal,
√ but I is an invertible √ideal. To see this, let
a1 = 2, a2 = 1 + −5, b1 = −1, and b2 = (1 − −5)/2. Then
a1 b1 + a2 b2 = −2 + 3 = 1.
Furthermore, a1 b2 and a2 b2 are in R, so it follows that b2 I ⊆ R, and
we conclude that I is an invertible ideal.
φ(x1 , . . . , xn ) = a1 x1 + · · · + an xn ,
and define β : I → Rn by
Note that abi ∈ R for all i by Equation (5.1). Equation (5.2) shows that
n
à n !
X X
φ ◦ β(a) = ai (abi ) = a ai bi = a
i=1 i=1
a1 b1 + · · · + an bn = 1
(5.12) Remark. Integral domains in which every ideal is invertible are known
as Dedekind domains, and they are important in number theory. For ex-
ample, the ring of integers in any algebraic number field is a Dedekind
domain.
In this section we will continue the study of free modules started in Sec-
tion 3.4, with special emphasis upon theorems relating to conditions which
ensure that a module over a PID R is free. As examples of the types of
theorems to be considered, we will prove that all submodules of a free R-
module are free and all finitely generated torsion-free R-modules are free,
provided that the ring R is a PID. Both of these results are false without
the assumption that R is a PID, as one can see very easily by consider-
ing an integral domain R that is not a PID, e.g., R = Z[X], and an ideal
I ⊆ R that is not principal, e.g., h2, Xi ⊆ Z[X]. Then I is a torsion-free
submodule of R that is not free (see Example 4.6 (6)).
Our analysis of free modules over PIDs will also include an analysis of
which elements in a free module M can be included in a basis and a criterion
for when a linearly independent subset can be included in a basis. Again,
these are basic results in the theory of finite-dimensional vector spaces, but
the case of free modules over a PID provides extra subtleties that must be
carefully analyzed.
We will conclude our treatment of free modules over PIDs with a fun-
damental result known as the invariant factor theorem for finite rank sub-
modules of free modules over a PID R. This result is a far-reaching gener-
alization of the freeness of submodules of free modules, and it is the basis
3.6 Free Modules over a PID 143
for the fundamental structure theorem for finitely generated modules over
PIDs which will be developed in Section 3.7.
We start with the following definition:
Since we will not be concerned with the fine points of cardinal arith-
metic, we shall not distinguish among infinite cardinals so that
free-rankR (M ) ∈ Z+ ∪ {∞}.
free-rankR (N ) ≤ free-rankR (M ).
Proof. Since h0i is free with basis ∅, we may assume that N 6= h0i. Let
S = {xj }j∈J be a basis of M . For any subset K ⊆ J let MK = h{xk }k∈K i
and let NK = N ∩ MK . Let T be the set of all triples (K, K 0 , f ) where
K 0 ⊆ K ⊆ J and f : K 0 → NK is a function such that {f (k)}k∈K 0 is a
basis of NK .
Claim. T 6= ∅.
K = {j1 , . . . , jk } ⊆ J
such that NK 6= h0i, but NK 0 = h0i for all sets K 0 ⊆ J with |K 0 | < k.
Choose any nonzero x ∈ NK and write
x = a1 xj1 + · · · + ak xjk .
x0 = b1 xj1 + · · · + bk xjk .
z = c1 xj1 + · · · + ck xjk
and ci 6= 0 since otherwise a linear combination of fewer than k elements of
the basis S will be in N , which contradicts the choice of K. Since
ab1 z − c1 y = 0 · xj1 + · · · + αk xjk ,
it follows that ab1 z − c1 y ∈ NK is a linear combination of fewer than k
elements of the basis S, and hence we must have ab1 z −c1 y = 0. Dividing by
a gives b1 z = c1 x0 so that b1 cj = c1 bj for 1 ≤ j ≤ k. But gcd{b1 , . . . , bk } =
1, so we conclude that b1 divides c1 , and hence z = e c1 x0 . From the definition
of the ideal I, we conclude that a divides e c1 , i.e.,
z = c01 ax0 = c01 y.
Therefore, we have shown that {y} is a basis of NK . Let K 0 = {j1 } and
define f : K 0 → N by f (j1 ) = y. Then (K, K 0 , f ) ∈ T so that T 6= ∅, as
claimed.
Now define a partial order on T by setting (K, K 0 , f ) ≤ (L, L0 , g) if
0 0 0
¡KS⊆ L, K ⊆ SL , and g|K¢0 = f . If {(Kα , Kα , fα )}α∈A ⊆ T is a chain, then
α∈A Kα , α∈A Kα , F where F |Kα = fα is an upper bound in T for
0
the chain. Therefore, Zorn’s lemma applies and there is a maximal element
(K, K 0 , f ) of T .
Claim. K = J.
where bk ∈ R. Thus,
P {f (k)}k∈L0 generates NL .
Now suppose k∈L0 bk f 0 (k) = 0. Then
X
bj z + bk f (k) = 0
k∈K 0
so that X
abj xj + bj w + bk f (k) = 0.
k∈K 0
That is, abj xj ∈ MK ∩ hxj i = h0i, and since S = {x` }`∈J is a basis of M ,
we must have abj = 0. P
But a 6= 0, so bj = 0. This implies that k∈K 0 bk f (k) = 0. But
{f (k)}k∈K 0 is a basis of NK , so we must have bk = 0 for all k ∈ K 0 . Thus
{f 0 (k)}k∈L0 is a basis of NL . We conclude that (K, K 0 , f ) < 0 0
6= (L, L , f ),
which contradicts the maximality of (K, K 0 , f ). Therefore, the claim is
verified, and the proof of the theorem is complete. u
t
0 −→ K −→ F −→ P −→ 0.
(6.4) Corollary. Let M be a finitely generated module over the PID R and
let N ⊆ M be a submodule. Then N is finitely generated and
µ(N ) ≤ µ(M ).
Proof. Let
φ
0 −→ K −→ F −→ M −→ 0
be a free presentation of M such that free-rank(F ) = µ(M ) < ∞, and let
N1 = φ−1 (N ). By Theorem 6.2, N1 is free with
(6.5) Remark. The hypothesis that R be a PID in Theorem 6.2 and Corol-
laries 6.3 and 6.4 is crucial. For example, consider the ring R = Z[X] and
let M = R and N = h2, Xi. Then M is a free R-module and N is a√sub-
module of M √that is not free (Example 4.6 (6)). Moreover, R = Z[ −5],
P = h2, 1 + −5i gives an example of a projective R-module P that is
not free (Example 5.6 (3)). Also note that 2 = µ(N ) > µ(M ) = 1 and
2 = µ(P ) > 1 = µ(R).
X̀
q0 x = ci q0 yi
i=1
X̀
= ci (q0 /ai )ai yi
i=1
X̀
= ci (q0 /ai )bi x1
i=1
à !
X̀
= ci (q0 /ai )bi x1 .
i=1
Therefore. Ã !
X̀
bq0 x1 = aq0 x = a ci (q0 /ai )bi x1 .
i=1
M1 ∼
= Im(φ) = Rc.
Hence, M1 is free of rank 1, and the proof is complete. u
t
0 −→ Mτ −→ M −→ M/Mτ −→ 0.
The main point of Corollary 6.9 is that any finitely generated module
over a PID can be written as a direct sum of its torsion submodule and
a free submodule. Thus an analysis of these modules is reduced to study-
ing the torsion submodule, once we have completed our analysis of free
modules. We will now continue the analysis of free modules over a PID R
by studying when an element in a free module can be included in a basis.
As a corollary of this result we will be able to show that any two bases
of a finitely generated free R-module (R a PID) have the same number of
elements.
αu + βv = (1, 0)
(6.12) Remarks.
(1) If R is a field, then every nonzero x ∈ M is primitive.
(2) The element x ∈ R is a primitive element of the R-module R if and
only if x is a unit.
3.6 Free Modules over a PID 149
(3) The element (2, 0) ∈ Z2 is not primitive since (2, 0) = 2 · (1, 0).
(4) If R = Z and M = Q, then no element of M is primitive.
(6.13) Lemma. Let R P be a PID and let M be a free R-module with basis
S = {xj }j∈J . If x = j∈J aj xj ∈ M , then x is primitive if and only if
gcd ({aj }j∈J ) = 1.
P
Proof. Let d = gcd ({aj }j∈J ). Then x = d( j∈J (aj /d)xj ), so if d is not a
unit then x is not primitive. Conversely, if d = 1 and x = ay then
X
aj xj = x
j∈J
= ay
³X ´
=a bj xj
j∈J
X
= abj xj .
j∈J
Since S = {xj }j∈J is a basis, it follows that aj = abj for all j ∈ J. That
is, a is a common divisor of the set {aj }j∈J so that a | d = 1. Hence a is a
unit and x is primitive. u
t
(6.1) hx0 i ⊂ ⊂ ⊂
6= hx1 i 6= hx2 i 6= · · · .
Either this chain stops at some i, which means that xi is primitive, or (6.1)
is an infinite properly ascending chain of submodules of S M . We claim that
∞
the latter possibility cannot occur. To see this, let N = i=1 hxi i. Then N
is a submodule of the finitely generated module M over the PID R so that
N is also finitely generated by {y1 , . . . , yk } (Corollary 6.5). Since hx0 i ⊆
hx1 i ⊆ · · ·, there is an i such that {y1 , . . . , yk } ⊆ hxi i. Thus N = hxi i and
hence hxi i = hxi+1 i = · · ·, which contradicts having an infinite properly
150 Chapter 3. Modules and Vector Spaces
Since gcd ({bj }j∈J ) = 1 (by Lemma 6.13) we see that a = gcd ({cj }j∈J ).
The element a ∈ R, which is uniquely determined by x up to multiplication
by a unit of R, is called the content of x ∈ M and is denoted c(x). (Compare
with the concept of content of polynomials (Definition 2.6.3).) Thus, any
x ∈ M can be written
(6.2) x = c(x) · x0
where x0 is primitive.
x1 = ux − sx02
and
x2 = vx + rx02 .
Hence, hx, x02 i = M . It remains to show that {x, x02 } is linearly indepen-
dent. Suppose that ax + bx02 = 0. Then
ar − bv = 0
and
3.6 Free Modules over a PID 151
as + bu = 0.
Multiplying the first equation by u, multiplying the second by v, and adding
shows that a = 0, while multiplying the first by −s, multiplying the second
by r, and adding shows that b = 0. Hence, {x, x02 } is linearly independent
and, therefore, a basis of M .
Now suppose that µ(M ) = k > 2 and that the result is true for all free
R-modules of rank < k. By Theorem 6.6 there is a basis {x1 , . . . , xk } of M .
Pk
Let x = i=1 ai xi . If ak = 0 then x ∈ M1 = hx1 , . . . , xk−1 i, so by induc-
tion there is a basis {x, x02 , . . . , x0k−1 } of M1 . Then {x, x02 , . . . , x0k−1 , xk } is
Pk−1
a basis of M containing x. Now suppose that ak 6= 0 and let y = i=1 ai xi .
If y = 0 then x = ak xk , and since x is primitive, it follows that ak is a unit
of R and {x1 , . . . , xk−1 , x} is a basis of M containing x in this case. If
y 6= 0 then there is a primitive y 0 such that y = by 0 for some b ∈ R. In
particular, y 0 ∈ M1 so that M1 has a basis {y 0 , x02 , . . . , x0k−1 } and hence
M has a basis {y 0 , x2 , . . . , x0k−1 , xk }. But x = ak xk + y = ak xk + by 0 and
gcd(ak , b) = 1 since x is primitive. By the previous case (k = 2) we conclude
that the submodule hxk , y 0 i has a basis {x, y 00 }. Therefore, M has a basis
{x, x02 , . . . , x0k−1 , y 00 } and the argument is complete when k P = µ(M ) < ∞.
n
If k = ∞ let {xj }j∈J be a basis of M and let x = i=1 ai xji for
some finite subset I = {j1 , . . . , jn } ⊆ J. If N = hxj1 , . . . , xjn i then x is
a primitive element in the finitely generated module N , so the previous
argument applies to show that there is a basis {x, x02 , . . . , x0n } of N . Then
{x, x02 , . . . , x0n } ∪ {xj }j∈J\I is a basis of M containing x. u
t
(6.18) Corollary. Let R be any commutative ring with identity and let M be
a free R-module. Then every basis of M contains µ(M ) elements.
Proof. Let I be any maximal ideal of R (recall that maximal ideals exist
by Theorem 2.2.16). Since R is commutative, the quotient ring R/I = K
is a field (Theorem 2.2.18), and hence it is a PID. By Proposition 4.13,
the quotient module M/IM is a finitely generated free K-module so that
Corollary 6.17 applies to show that every basis of M/IM has µ(M/IM )
elements. Let S = {xj }j∈J be an arbitrary basis of the free R-module M
and let π : M → M/IM be the projection map. According to Proposition
4.13, the set π(S) = {π(xj )}j∈J is a basis of M/IM over K, and therefore,
(6.19) Remarks.
(1) If M is a free R-module over a commutative ring R, then we have
proved that free-rank(M ) = µ(M ) = the number of elements in any
basis of M . This common number we shall refer to simply as the rank
of M , denoted rankR (M ) or rank(M ) if the ring R is implicit. If R is
a field we shall sometimes write dimR (M ) (the dimension of M over
R) in place of rankR (M )). Thus, a vector space M (over R) is finite
dimensional if and only if dimR (M ) = rankR (M ) < ∞.
(2) Corollary 6.18 is the invariance of rank theorem for finitely generated
free modules over an arbitrary commutative ring R. The invariance of
rank theorem is not valid for an arbitrary (possibly noncommutative)
ring R. As an example, consider the Z-module M = ⊕n∈N Z, which
is the direct sum of countably many copies of Z. It is simple to check
that M ∼ = M ⊕ M . Thus, if we define R = EndZ (M ), then R is a
noncommutative ring, and Corollary 3.13 shows that
R = EndZ (M )
= HomZ (M, M )
∼
= HomZ (M, M ⊕ M )
∼
= HomZ (M, M ) ⊕ HomZ (M, M )
∼
= R ⊕ R.
(6.20) Corollary. If M and N are free modules over a PID R, at least one of
which is finitely generated, then M ∼
= N if and only if rank(M ) = rank(N ).
Proof. If M and N are isomorphic, then µ(M ) = µ(N ) so that rank(M ) =
rank(N ). Conversely, if rank(M ) = rank(N ), then Proposition 4.9 gives a
homomorphism f : M → N , which takes a basis of M to a basis of N . It is
easy to see that f must be an isomorphism. u
t
Claim. N = hs1 x1 i ⊕ N1 .
N∼
= hs1 x1 i ⊕ N1 ,
and the claim is proved.
By Theorem 6.2, N1 is a free R-module since it is a submodule of the
free R-module M . Furthermore, by the claim we see that
rank(N1 ) = rank(N ) − 1 = n − 1.
Let S = S 0 ∪ {x1 }. Then the theorem is proved once we have shown that
s1 | s2 .
To verify that s1 | s2 , consider the element s2 x2 ∈ N1 ⊆ N and
let z = s1 x1 + s2 x2 ∈ N . When we write z = c(z) · z 0 where z 0 ∈ M
is primitive and c(z) ∈ R is the content of z, Remark 6.15 shows that
c(z) = (s1 , s2 ). Thus, hs1 i ⊆ hc(z)i and the maximality of hs1 i in S shows
that hc(z)i = hs1 i, i.e., s1 | s2 , and the proof of the theorem is complete. u
t
z = a1 y1 + a2 y2 + a3 y3
(6.25) Remark. In Section 3.7, we will prove that the elements {s1 , . . . , sn }
are determined just by the rank n submodule N and not by the particular
choice of a basis S of M . These elements are called the invariant factors of
the submodule N in the free module M .
The invariant factor theorem for submodules (Theorem 6.24) gives a com-
plete description of a submodule N of a finitely generated free R-module
M over a PID R. Specifically, it states that a basis of M can be chosen so
that the first n = rank(N ) elements of the basis, multiplied by elements
of R, provide a basis of N . Note that this result is a substantial general-
ization of the result from vector space theory, which states that any basis
of a subspace of a vector space can be extended to a basis of the ambient
space. We will now complete the analysis of finitely generated R-modules
(R a PID) by considering modules that need not be free. If the module M
is not free, then, of course, it is not possible to find a basis, but we will
still be able to express M as a finite direct sum of cyclic submodules; the
cyclic submodules may, however, have nontrivial annihilator. The following
result constitutes the fundamental structure theorem for finitely generated
modules over principal ideal domains.
M∼
= Rw1 ⊕ · · · ⊕ Rwn
such that
M∼
= Rw1 ⊕ · · · ⊕ Rwn .
By the characterization of direct sum modules (Theorem 3.1), it is sufficient
to check that if
(7.5) a1 w1 + · · · + an wn = 0
0 = a1 w1 + · · · + an wn
= a1 φ(y1 ) + · · · + an φ(yn )
= φ(a1 y1 + · · · + an yn )
so that
a1 y1 + · · · + an yn ∈ Ker(φ) = K = hs1 y1 , . . . , sm ym i.
Therefore,
a1 y1 + · · · + an yn = b1 s1 y1 + · · · + bm sm ym
for some b1 , . . . , bm ∈ R. But {y1 , . . . , yn } is a basis of Rn , so we conclude
that ai = bi si for 1 ≤ i ≤ m while ai = 0 for m + 1 ≤ i ≤ n. Thus,
ai wi = bi si φ(yi ) = bi φ(si yi ) = 0
M∼
= Rw1 ⊕ · · · ⊕ Rwn .
Note that Ann(wi ) = hsi i for 1 ≤ i ≤ m, and since si | si+1 , it follows
that
Ann(w1 ) ⊇ Ann(w2 ) ⊇ · · · ⊇ Ann(wm ),
while for i > m, since hyi i ∩ Ker(φ) = h0i, it follows that Ann(wi ) = h0i.
Since si | sn for all i and since Ann(wi ) = hsi i, we conclude that sn M = 0.
Hence, Ann(wn ) = hsn i = Ann(M ) and Equation (7.1) is satisfied. Since
M/(Rwi+1 + · · · + Rwn ) ∼
= Rw1 ⊕ · · · ⊕ Rwi ,
Equation (7.2) follows from Equation (7.1). The proof is now completed
by observing that Ann(wi ) 6= R for any i since, if Ann(wi ) = R, then
158 Chapter 3. Modules and Vector Spaces
Z2 ∼
= Z · (1, 0) ⊕ Z · (0, 1)
∼
= Z · (1, 0) ⊕ Z · (1, 1).
M∼
= Rv1 ⊕ · · · ⊕ Rvn
with Ann(vi ) = 0 for all i. Therefore, there is no hope that the cyclic factors
themselves are uniquely determined. What does turn out to be unique,
however, is the chain of annihilator ideals
Ann(w1 ) ⊇ · · · ⊇ Ann(wn )
Mτ = {x ∈ M : Ann(x) 6= h0i}.
Since Rwi ∼
= R/ Ann(wi ) and since R/I and R/J are isomorphic R-
modules if and only if I = J (Exercise 10), we may rephrase our results as
follows.
R 6= I1 ⊇ I2 ⊇ · · · ⊇ In .
Such a chain of ideals corresponds to the module
M = R/I1 ⊕ · · · ⊕ R/In .
(7.6) Corollary. Two finitely generated torsion modules over a PID are iso-
morphic if and only if they have the same chain of invariant ideals.
Proof. u
t
(7.7) Remark. In some cases the principal ideals Ann(wj ) have a preferred
generator aj . In this case the generators {aj }nj=1 are called the invariant
factors of M .
Proof. (1) Since Ann(M ) = hsn i = hme(M )i by Theorem 7.1 and the
defintion of me(M ), it follows that if aM = 0, i.e., a ∈ Ann(M ), then
me(M ) | a.
(2) Clearly sn divides s1 · · · sn .
(3) Suppose that p | s1 · · · sn = co(M ). Then p divides some si , but
hsi i ⊇ hsn i, so si | sn . Hence, p | sn = me(M ). u
t
(7.10) Remark. There are, unfortunately, no standard names for these in-
variants. The notation we have chosen reflects the common terminology in
the two cases R = Z and R = F [X]. In the case R = Z, me(M ) is the
exponent and co(M ) is the order of the finitely generated torsion Z-module
162 Chapter 3. Modules and Vector Spaces
(7.14) 1 = b1 q1 + · · · + bn qn .
x = x1 + · · · + xn
so that
M = hxi = hx1 i + · · · + hxn i.
Suppose that y ∈ hx1 i ∩ (hx2 i + · · · + hxn i). Then
y = c1 x1 = c2 x2 + · · · + cn xn
r
where qej = q1 /pj j . Therefore, {pr11 , q1 } ⊆ Ann(y), but (pr11 , q1 ) = 1 so that
Ann(y) = R. Therefore, y = 0. A similar calculation shows that
³ ´
hxi i ∩ hx1 i + · · · + hxd i i + · · · + hxn i = h0i,
so by Theorem 3.1, M ∼
= hx1 i ⊕ · · · ⊕ hxn i. u
t
s1 = u1 pe111 · · · pek1k
..
.
sn = un pe1n1 · · · peknk
Then the proof of Theorem 7.12 shows that M is the direct sum of cyclic
e
submodules with annihilators {pj ij : eij > 0}, and the theorem is proved.
u
t
e
(7.14) Definition. The prime powers {pj ij : eij > 0, 1 ≤ j ≤ k} are called
the elementary divisors of M .
s1 = u1 pe111 · · · pek1k
..
(7.15) .
sn = un pe1n1 · · · peknk
We show that the set of invariant factors (Equation (7.15)) can be recon-
structed from the set of prime powers in Equation (7.17). Indeed, if
ej = max eij , 1 ≤ j ≤ k,
1≤i≤n
then the inequalities (7.16) imply that sn is an associate of pe11 · · · pekk . Delete
{pe11 , . . . , pekk }
from the set of prime powers in set (7.17), and repeat the process with
the set of remaining elementary divisors to obtain sn−1 . Continue until all
prime powers have been used. At this point, all invariant factors have been
recovered. Notice that the number n of invariant factors is easily recovered
from the set of elementary divisors of M . Since s1 divides every si , it follows
that every prime dividing s1 must also be a prime divisor of every si .
Therefore, in the set of elementary divisors, n is the maximum number of
occurrences of peij for a single prime p. u
t
M∼
= Z84 × Z8820 .
3.7 Finitely Generated Modules over PIDs 165
0 = ci bx = ci b(x1 + · · · + xn ) = bci xi .
Therefore, bci ∈ Ann(xi ) = hri i, and since ci ≡ 1 (mod hri i), it follows that
ri | b for 1 ≤ i ≤ n. But {r1 , . . . , rn } is pairwise relatively prime and thus
a is the least common multiple of the set {r1 , . . . , rn }. We conclude that
a | b, and hence, Ann(x) = hai. Qn ®
Conversely, suppose that y ∈ M satisfies Ann(y) = hbi = i=1 si
where the set {s1 , . . . , sn } is pairwise relatively prime. As in the above
paragraph, apply the Chinese remainder theorem to get c1 , . . . , cn ∈ R
such that ½
1 (mod hsi i),
ci ≡
0 (mod hsj i), if j 6= i.
Since b is the least common multiple of {s1 , . . . , sn }, it follows that
1 ≡ c1 + · · · + cn (mod hbi),
166 Chapter 3. Modules and Vector Spaces
y1 + · · · + yn = (c1 + · · · + cn )y = y.
Q ®
Since hb, ci i = j6=i sj , Lemma 7.17 shows that Ann(yi ) = Ann(ci y) =
hsi i. u
t
t1 = u1 pe111 · · · pek1k
..
(7.18) .
tn = un pe1n1 · · · peknk
Rwi ∼
= Rzi1 ⊕ · · · Rzik
e
where Ann(zij ) = hpj ij i. For notational convenience we are allowing zij = 0
for those (i, j) with eij = 0. Therefore,
M
(7.19) M∼
= Rzij
i,j
e e
where Ann(zij ) = hpj ij i. Let S = {pj ij } where we allow multiple occur-
rences of a prime power pe , and let
Se = {zij }.
we define
available. Since a prime power for a particular prime p is used only once at
each step, this will produce elements s1 , . . . , sm ∈ R. From the inductive
description of the construction of si , it is clear that every prime dividing si
also divides si+1 to at least as high a power (because of Equation (7.21)).
Thus,
si | si+1 for 1 ≤ i < m.
Therefore, we may write
s1 = u1 pf111 · · · pkf1k
..
(7.22) .
sm = um pf1m1 · · · pfkmk
where
f e
(7.23) {pj ij : fij > 0} = {pβαβ : eαβ > 0}
where repetitions of prime powers are allowed and where
(7.24) 0 ≤ f1j ≤ f2j ≤ · · · ≤ fmj for 1≤j≤k
by Equation (7.20).
f f
For each pj ij (1 ≤ i ≤ m), choose wij ∈ Se with Ann(wij ) = hpj ij i
and let xi = wi1 + · · · + wik . Lemma 7.18 shows that Ann(xi ) = hsi i for
1 ≤ i ≤ m, and thus,
k
M k
M
f
Rxi ∼
= R/hsi i ∼
= R/hpj ij i ∼
= Rwij .
j=1 j=1
S = {dij : 1 ≤ i ≤ k; 1 ≤ j ≤ `i }
Mi ∼
= Rwi1 ⊕ · · · ⊕ Rwiri
where Ann(wij ) = hsij i. The result now follows from Proposition 7.19. u
t
k
Y
(7.26) co(M ) = co(Mi ).
i=1
Tk
Proof. Since Ann(M ) = i=1 Ann(Mi ), Equation (7.25) follows since
hme(Mi )i = Ann(Mi ). Since co(M ) is the product of all invariant factors of
M , which is also the product of all the elementary divisors of M , Equation
(7.26) follows from Corollary 7.20. u
t
the finite abelian group up to isomorpism. Also any finite abelian group is
uniquely isomorphic to a group
Zs 1 × · · · × Zs k
(7.23) Example. We will carry out the above procedure for n = 600 =
23 · 3 · 52 . There are three primes, namely, 2, 3, and 5. The exponent of 2
is 3 and we can write 3 = 1 + 1 + 1, 3 = 1 + 2, and 3 = 3. Thus there are
three partitions of 3. The exponent of 3 is 1, so there is only one partition,
while the exponent of 5 is 2, which has two partitions, namely, 2 = 1 + 1
and 2 = 2. Thus there are 3 · 1 · 2 = 6 distinct, abelian groups of order 600.
They are
Z2 × Z2 × Z2 × Z3 × Z5 × Z5 ∼
= Z2 × Z10 × Z30
Z2 × Z2 × Z2 × Z3 × Z25 ∼
= Z2 × Z2 × Z150
Z2 × Z4 × Z3 × Z5 × Z5 ∼
= Z10 × Z60
170 Chapter 3. Modules and Vector Spaces
Z2 × Z4 × Z3 × Z25 ∼
= Z2 × Z300
Z8 × Z3 × Z5 × Z5 ∼
= Z5 × Z120
Z8 × Z3 × Z25 ∼
= Z600
where the groups on the right are expressed in invariant factor form and
those on the left are decomposed following the elementary divisors.
We will conclude this section with the following result concerning the
structure of finite subgroups of the multiplicative group of a field. This
is an important result, which combines the structure theorem for finite
abelian groups with a bound on the number of roots of a polynomial with
coefficients in a field.
G∼
= hz1 i ⊕ · · · ⊕ hzn i
(7.27) P (X) = X kn − 1.
Since F is a field, the polynomial P (X) has at most kn roots, because degree
P (X) = kn (Corollary 2.4.7). But, as we have observed, every element of
G is a root of P (X), and
|G| = k1 k2 · · · kn .
Gn = {e2πi(k/n) : 0 ≤ k ≤ n − 1} ⊆ C∗ .
3.8 Complemented Submodules 171
(8.3) Remarks.
(1) A submodule S of M that satisfies condition (3) of Proposition 8.2
is called a pure submodule of M . Thus, a submodule of a finitely
generated module over a PID is pure if and only if it is complemented.
(2) If R is a field, then every subspace S ⊆ M satisfies condition (3) so that
every subspace of a finite-dimensional vector space is complemented.
Actually, this is true without the finite dimensionality assumption, but
our argument has only been presented in the more restricted case. The
fact that arbitrary subspaces of vector spaces are complemented follows
from Corollary 4.21.
(3) The implication (3) ⇒ (1) is false without the hypothesis that M be
finitely generated. As an example, consider a free presentation of the
Z-module Q:
0 −→ S −→ M −→ Q −→ 0.
Since M/S ∼ = Q and Q is torsion-free, it follows that S satisfies con-
dition (3) of Proposition 8.1. However, if S is complemented, then a
complement T ∼ = Q; so Q is a submodule of a free Z-module M , and
hence Q would be free, but Q is not a free Z-module.
u
t
(8.9) Corollary. Let R be a PID and let M and N be finite rank free R-
modules with rank(M ) = rank(N ). Let f ∈ HomR (M, N ).
(1) If f is a surjection, then f is an isomorphism.
(2) If f is an injection and Im(f ) is complemented, then f is an isomor-
phism.
(2) f is an injection.
(3) f is a surjection.
(S + T )/T ∼
= S/(S ∩ T ).
u
t
(8.12) Remark. It need not be true that S + T is pure, even if S and T are
both pure. For example, let S = h(1, 1)i ⊆ Z2 and let T = h(1, −1)i ⊆ Z2 .
Then S and T are both pure, but S + T 6= Z2 , so it cannot be pure. In fact,
2 · (1, 0) = (2, 0) = (1, 1) + (1, −1) ∈ S + T , but (1, 0) ∈
/ S + T.
3.9 Exercises
SN = {sn : s ∈ S, n ∈ N }.
10. Let R be a commutative ring with 1 and let I and J be ideals of R. Prove
that R/I ∼
= R/J as R-modules if and only if I = J. Suppose we only ask
that R/I and R/J be isomorphic rings. Is the same conclusion valid? (Hint:
Consider F [X]/(X − a) where a ∈ F and show that F [X]/(X − a) ∼ = F as
rings.)
11. Prove Theorem 2.7.
12. Prove Lemma 2.9.
13. Let M be an R-module and let f ∈ EndR (M ) be an idempotent endomor-
phism of M , i.e., f ◦ f = f . (That is, f is an idempotent element of the ring
EndR (M ).) Show that
M∼
= (Ker(f )) ⊕ (Im(f )).
and
ψ ψ0
0 −→ N1 −→ N −→ N2 −→ 0
such that
(a) M1 ∼= N1 , M ∼
= N , M2 6∼= N2 ;
(b) M1 ∼
= N1 , M 6∼
= N , M2 ∼ = N2 ;
(c) M1 ∼
6 N1 , M ∼
= = N , M2 ∼ = N2 .
18. Show that there is a split exact sequence
0 −→ mZmn −→ Zmn −→ nZmn −→ 0
of Zmn -modules if and only if (m, n) = 1.
19. Let N1 and N2 be submodules of an R-module M . Show that there is an
exact sequence
ψ φ
0 −→ N1 ∩ N2 −→ N1 ⊕ N2 −→ N1 + N2 −→ 0
where ψ(x) = (x, x) and φ(x, y) = x − y.
20. Let R be an integral domain and let a and b be nonzero elements of R. Let
M = R/R(ab) and let N = Ra/R(ab). Then M is an R-module and N is a
submodule. Show that N is a complemented submodule in M if and only if
there are u, v ∈ R such that ua + vb = 1.
21. Let R be a ring, M a finitely generated R-module, and φ : M → Rn a
surjective R-module homomorphism. Show that Ker(φ) is finitely generated.
(Note that this is valid even when M has submodules that are not finitely
generated.) (Hint: Consider the short exact sequence:
φ
0 −→ K −→ M −→ Rn −→ 0. )
(M/N )S ∼
= (MS )/(NS ).
(That is, formation of fractions commutes with quotients.)
24. Let F be a field and let {fi (X)}∞ i=0 be any subset of F [X] such that
deg fi (X) = i for each i. Show that {fi (X)}∞ i=0 is a basis of F [X] as an
F -module.
25. Let R be a commutative ring and consider M = R[X] as an R-module. Then
N = R[X 2 ] is an R-submodule. Show that M/N is isomorphic to R[X] as
an R-module.
26. Let G be a group and H a subgroup. If F is a field, then we may form the
group ring F(G) (Example 2.1.9 (15)). Since F(G) is a ring and F(H) is
a subring, we may consider F(G) as either a left F(H)-module or a right
F(H)-module. As either a left or right F(H)-module, show that F(G) is free
of rank [G : H]. (Use a complete set {gi } of coset representatives of H as a
basis.)
27. Let R and S be integral domains and let φ1 , . . . , φn be n distinct ring
homomorphisms from R to S. Show that φ1 , . . . , φn are S-linearly indepen-
dent in the S-module F (R, S) of all functions from R to S. (Hint: Argue by
induction on n, using the property φi (ax) = φi (a)φi (x), to reduce from a
dependence relation with n entries to one with n − 1 entries.)
28. Let G be a group, let F be a field, and let φi : G → F ∗ for 1 ≤ i ≤ n
be n distinct group homomorphisms from G into the multiplicative group
F ∗ of F . Show that φ1 , . . . , φn are linearly independent over F (viewed as
elements of the F -module of all functions from G to F ). (Hint: Argue by
induction on n, as in Exercise 27.)
29. Let R = Z30 and let A ∈ M2, 3 (R) be the matrix
h i
A= 1
1 −1 .
0 2 3
Show that the two rows of A are linearly independent over R, but that any
two of the three columns are linearly dependent over R.
30. Let V be a finite-dimensional complex vector space. Then V is also a vector
space over R. Show that dimR V = 2 dimC V . (Hint: If
B = {v1 , . . . , vn }
is a basis of V over C, show that
That is, taking L-linear combinations of elements of U does not produce any
new elements of W .
33. Let K ⊆ L be fields and let A ∈ Mn (K), b ∈ Mn,1 (K). Show that the matrix
equation AX = b has a solution X ∈ Mn,1 (K) if and only if it has a solution
X ∈ Mn,1 (L).
34. Prove that the Lagrange interpolation polynomials (Proposition 2.4.10) and
the Newton interpolation polynomials (Remark 2.4.11) each form a basis of
the vector space Pn (F ) of polynomials of degree ≤ n with coefficients from
F.
35. Let F denote the set of all functions from Z+ to Z+ , and let M be the
free Q-module with basis F . Define a multiplication on M by the formula
(f g)(n) = f (n) + g(n) for all f, g ∈ F and extend this multiplication by
linearity to all of M . Let fm be the function fm (n) = δm,n for all m, n ≥ 0.
Show that each fm is irreducible (in fact, prime) as an element of the ring
R. Now consider the function f (n) = 1 for all n ≥ 0. Show that f does not
have a factorization into irreducible elements in M . (Hint: It may help to
think of f as the “infinite monomial”
f (0) f (1) f (m)
X0 X1 · · · Xm · · · .)
(d) Show that in a Dedekind domain R, every nonzero prime ideal is maxi-
mal. (Hint: Let M be a maximal ideal of R containing a prime ideal P ,
and let S = R \ M . Apply parts (b) and (c).)
√
41. Show that Z[ −3] is not a Dedekind domain.
42. Show that Z[X] is not a Dedekind domain. More generally, let R be any
integral domain that is not a field. Show that R[X] is not a Dedekind domain.
43. Suppose R is a PID and M = Rhxi is a cyclic R-module with Ann M = hai 6=
h0i. Show that if N is a submodule of M , then N is cyclic with Ann N = hbi
where b is a divisor of a. Conversely, show that M has a unique submodule
N with annihilator hbi for each divisor b of a.
44. Let R be a PID, M an R-module, x ∈ M with Ann(x) = hai 6= h0i. Factor
nk
a = upn 1 · · · pk
1
with u a unit and p1 , . . . , pk distinct primes. Let y ∈ M
mk
with Ann(y) = hbi 6= h0i, where b = u0 pm 1 · · · pk
1
with 0 ≤ mi < ni for
1 ≤ i ≤ k. Show that Ann(x + y) = hai.
45. Let R be a PID, let M be a free R-module of finite rank, and let N ⊆ M be a
submodule. If M/N is a torsion R-module, prove that rank(M ) = rank(N ).
46. Let R be a PID and let M and N be free R-modules of the same finite rank.
Then an R-module homomorphism f : M → N is an injection if and only if
N/ Im(f ) is a torsion R-module.
47. Let u = (a, b) ∈ Z2 .
(a) Show that there is a basis of Z2 containing u if and only if a and b are
relatively prime.
(b) Suppose that u = (5, 12). Find a v ∈ Z2 such that {u, v} is a basis of
Z2 .
48. Let M be a torsion module over a PID R and assume Ann(M ) = (a) 6= (0).
r
If a = pr11 · · · pkk where p1 , . . . , pk are the distinct prime factors of a, then
show that Mpi = qi M where qi = a/pri i . Recall that if p ∈ R is a prime,
then Mp denotes the p-primary component of M .
49. Let M be a torsion-free R-module over a PID R, and assume that x ∈ M is
a primitive element. If px = qx0 show that q | p.
50. Find a basis and the invariant factors for the submodule of Z3 generated by
x1 = (1, 0, −1), x2 = (4, 3, −1), x3 = (0, 9, 3), and x4 = (3, 12, 3).
51. Find a basis for the submodule of Q[X]3 generated by
X
n+1
(−1)i+1 rank(Mi ) = 0.
i=1
deg(X1i1 · · · Xnin ) = i1 + · · · + in .
Let F be a field. Given any five points {v1 , . . . , v5 } ⊆ F 2 , show that there
is a quadratic polynomial f (X1 , X2 ) ∈ F [X1 , X2 ] such that f (vi ) = 0 for
1 ≤ i ≤ 5.
69. Let M and N be finite rank R-modules over a PID R and let f ∈
HomR (M, N ). If S ⊆ N is a complemented submodule of N , show that
f −1 (S) is a complemented submodule of M .
70. Let R be a PID, and let f : M → N be an R-module homomorphism of
finite rank free R-modules. If S ⊆ N is a submodule, prove that
f g
71. Let M1 −→ M −→ M2 be a sequence of finite rank R-modules and R-module
homomorphisms, where R is a PID.
(a) Show that
rank(Im(g ◦ f )) = rank(Im(f )) − rank(Im(f ) ∩ Ker(g)).
(b) If Im(f ) is a complemented submodule of M , show that
rank(Im(g ◦ f )) = rank(Im(f ) + Ker(g)) − rank(Ker(g)).
If R is a field, then all submodules of R-modules are complemented,
so this formlula is always valid in the case of vector spaces and linear
transformations. Show, by example, that this formula need not be valid
if Im(f ) is not complemented.
72. Let R be a PID, and let M , N , and P be finite rank free R-modules. Let f :
M → N and g : M → P be homomorphisms. Suppose that Ker(f ) ⊆ Ker(g)
and Im(f ) is a complemented submodule of N . Then show that there is a
homomorphism h : N → P such that g = h ◦ f .
73. Let F be a field and let V be a vector space over F . Suppose that f , g ∈
V ∗ = HomF (V, F ) such that Ker(f ) ⊆ Ker(g). Show that there is a ∈ F
such that g = af . Is this same result true if F is replaced by a PID?
74. Let R be a PID and let M be a finite rank free R-module. Let Ck (M ) denote
the set of complemented submodules of M of rank k. Let G be the group of
units of the ring EndR (M ).
(a) Show that (φ, N ) 7→ φ(N ) determines an action of the group G on the
set Ck (M ).
(b) Show that the action defined in part (a) is transitive, i.e., given N1 ,
N2 ∈ Ck (M ) there is φ ∈ G that sends N1 to N2 .