Linear independence and rank

The fundamental structure theorem for modules over a PID is a direct sum decomposition of each module into a free part and a torsion part. To understand both parts, it helps to look more closely at the ideas of linear (in)dependence and rank.

Definition of linear dependence

Let M be a left R-module. A set of elements {m1,,mk}M is R-linearly dependent if there exist r1,,rkR (not all zero) such that

r1m1++rkmk=0M.
Rank bounds the number of linearly independent elements

Let R be an integral domain and M be a free R-module of finite rank n. Then any set of more than n elements in M is R-linearly dependent.

Let SM be any subset of more than n elements. Let F=Frac(R) be the field of fractions of R. Since we have an R-module isomorphism Mi=1nRRn and an injective R-module morphism RF (since R is an integral domain), we also have an injective R-module morphism Mi=1nFFn. Then (the image of ) S is a set of more than n elements in the n-dimensional F-vector space Fn and hence must be F-linearly dependent. For any nontrivial F-linear dependence relation among the elements in S, clearing denominators yields a nontrivial R-linear dependence relation among the elements in S. Thus, the set S is R-linearly dependent.


Definition of rank of a module

Let R be an integral domain and M be an R-module. The rank of M is the maximum[1] number of R-linearly independent elements in M.

When M is a free R-module, this notion of rank agrees with our previous notion. When R=F is a field, this notion of rank matches the dimension of an F-module M as a vector space.

For a general integral domain, however, an R-module of rank n need not have a "basis." Even if M is torsion free, it still might not be a free R-module. For example, you can show that when a ring R is considered as an R-module, an ideal IR is a free R-module exactly when it is principal. So for example, in the ring Z[x] the ideal I=(2,x) is not principal and hence not a free Z[x]-module. The ring Z[x] is an integral domain, though, so I is torsion free.


The structure of free modules over a PID

Let R be a principal ideal domain and M be a free R-module of finite rank k. For every submodule N of M:

  1. N is free of rank lk; and
  2. there exists a basis {m1,,mk} for M and nonzero elements a1,,alR such that {a1m1,,alml} is a basis for N and[2]
a1a2al.

Let's walk through the proof of this one. If N is the trivial submodule then its rank is 0 and its basis is the empty set, so there's nothing to prove. Now suppose N is nontrivial. We'll break this long proof until manageable subsections.


The general idea

The general idea of the proof is to create a direct sum decomposition M=(m1)(mk) that also induces a direct sum decomposition N=(a1m1)(alml) with the prescribed properties. One of those properties (the divisibility condition on the ai) tells us that a1 should be the "smallest" element among the ai; i.e., correspond to the largest ideal (a1)R among the ideals (ai)R. So that's where we begin: by looking for a projection from MR for which the image of N is the largest possible ideal of R (obtainable from N).

We begin by fixing a temporary basis {m1,,mk} for M. This is equivalent to fixing an R-module isomorphism MF({x1,,xk})RRRk. This also allows us to define the R-module projection morphisms πi:MR. Using these projections, each element mM can be written uniquely as

m=i=1kπi(m)mi.

We will use this later in the proof.

Finding the element a1

Note that for every R-module morphism ϕ:MR the image ϕ(N) of N is a submodule of R, i.e., an ideal of R. Since R is a PID this ideal is principal, say ϕ(N)=(aϕ) for some aϕR. Now consider the collection S of all such principal ideals in R that are also nontrivial:

S={(aϕ)ϕHomR(M,R),aϕ0}.

We first note that this collection is nonempty: since N is not the trivial submodule, for at least one of the projection morphisms πi:MR the image πi(N) must be nontrivial, otherwise we would have for all nN

n=i=1kπi(n)mi=i=1k0Rmi=0.

Since R is Noetherian the collection S has at least one maximal element. In other words there is an R-module morphism ν:MR so that the principal ideal ν(N)=(aν) is not properly contained in any other element of S.[3] Let a1=aν and n1N be any element with ν(n1)=a1. Note that a10 by the definition of S.

Constructing the element m1

Our next goal is to construct an element m1M so that ν(m1)=1R. Intuitively, we already have ν(n1)=a1 and so it would be nice to simply take m1=a11n1. We would then have ν(m1)=ν(a11n1)=a11ν(n1)=a11a1=1R. However, there is no guarantee that the element a1R is actually invertible. We only know that it is nonzero and that R is a PID (and not necessarily a field). So we need to be a little bit tricky.

We first show a1 divides ϕ(n1) for every R-module morphism ϕ:MR. To see this, fix some R-module morphism ϕ:MR and let I=(a1,ϕ(n1)) be the ideal generated by a1 and ϕ(n1). Since R is a PID this ideal is principal, so I=(d) for some dR. We can then write d=r1a1+r2ϕ(n1) for some r1,r2R. But now consider the R-module morphism ψ:MR defined by ψ=r1ν+r2ϕ. By construction we have ψ(n1)=r1ν(n1)+r2ϕ(n1)=r1a1+r2ϕ(n1)=d, so that dψ(N) and hence (d)ψ(N). But we also have (a1)(d)ψ(N) so by the maximality of (a1) we must have equality: (a1)=(d)=ψ(N). This prove (a1)=(d) and hence ϕ(n)(a1); i.e., a1 divides ϕ(n1).

We now apply the above property to the projection morphism πi:MR, and so we see that a1 divides πi(n) for each i=1,,k. Write πi(n1)=a1bi for some biR and define

m1=i=1kbimi.

By construction we have

a1m1=i=1ka1bimi=i=1kπi(n1)mi=n1.

We therefore have that a1=ν(n1)=ν(a1m1)=a1ν(m1) and hence (since a1 is nonzero and R is an integral domain)

ν(m1)=1R.

Verifying m1 can be part of a basis for M

We will now verify that m1 can be taken as one element in a basis for M and that a1m1 can be taken as one element in a basis for N. First, let mM be an arbitrary element and write

m=ν(m)m1+(mν(m)m1).

Note that

ν(mν(m)m1)=ν(m)ν(m)ν(m1)=ν(m)ν(m)1R=0R

and so mν(m)m1 is in the kernel of ν:MR. This shows that we at least have M=(m1)+ker(ν). To see that this is a direct sum decomposition, suppose rm1ker(ν) for some rR. Then

0R=ν(rm1)=rν(m1)=r1R=r.

Thus, we do indeed have (m1)ker(ν)=(0) and hence we have a direct sum decomposition M=(m1)ker(ν). This implies that m1 can indeed be taken as one element in a basis for M.

Verifying a1m1 can be part of a basis for N

Observe that for every nN the element ν(n) is divisible by a1 (since a1 generates the ideal ν(N)). So given any nN we can write ν(n)=ba1 for some bR. Then we can write

n=ν(n)m1+(nν(n)m1)=ba1m1+(nba1m1).

By the same computation as above, the second term in the above sum is an element of N that is in the kernel of ν:

ν(nba1m1)=ν(n)ba1ν(m1)=ba1ba11R=ba1ba1=0R.

We therefore have N=(a1m1)+(Nker(ν)), and once again the trivial intersection between those two submodules proves this is a direct sum decomposition, N=(a1m1)(Nker(ν)). This implies a1m1 can indeed be taken as one element in a basis for N.

Proving N is free of rank no more than k

We now prove N is free of rank lk, by induction on l. (Recall that the rank of N is defined as the maximum number of linearly independent elements in N.)

If l=0, then for every nN the set {n} is R-linearly dependent; i.e., rn=0N for some nonzero rR. But N is a submodule of the free R-module M, which is torsion free, so we must have n=0. This implies N=(0) is the trivial submodule, a contradiction to our running assumption that N is nontrivial.

Now assume that the rank of N is l>0 and that all submodules of M of rank less than l are free. In our direct sum decomposition N=(a1m1)(Nker(ν)), the submodule Nker(ν) has rank l1 and hence by our induction hypothesis is free. By the direct sum decomposition, adjoining a1m1 to any basis for Nker(ν) gives a basis for N, so N is also free (of rank l).


Proving property (2) of the proposition

Finally, we prove property (2) of the proposition by induction on the rank k of M. Applying property (1) to the submodule ker(ν) shows that this submodule is free, and because of the direct sum decomposition