Modules

Everyone

A module is just a vector space over a ring.

Definition of module


The quote above pretty much says it all. Have you ever wondered what would happen if you had a vector space V, but instead of a field of scalars you had a ring of scalars[1]? If so, you just stumbled upon the definition of a module.

Definition of module

Let R be a ring. A left R-module (or left module over R) is an abelian group M together with a left action of R on M that satisfies the following compatibility conditions:

  • (r+s)m=rm+sm for all r,s∈R and m∈M
  • (rs)m=r(sm) for all r,s∈R and m∈M
  • r(m+n)=rm+rn for all r∈R and m,n∈M
  • 1m=m for all m∈M

Analogously, a right R-module (or right module over R) is an abelian group M together with a right action of R on M that satisfies the following compatibility conditions:

  • m(r+s)=mr+ms for all r,s∈R and m∈M
  • m(rs)=(mr)s for all r,s∈R and m∈M
  • (m+n)r=mr+nr for all r∈R and m,n∈M
  • m1=m for all m∈M

You could reasonably complain about the the use of the word "action" in the above definition, since it hasn't been defined here and you possibly only encountered it previously in the context of a group acting on a set. However, it is being used here very much in the same spirit as in group theory, in that it is a set map R×M→M that satisfies the expected compatibility conditions between the algebraic structures on R and M (detailed explicitly above). With a bit more category theory under our belts, we could reasonably consider defining the general notion of an action of an object of one category on an object of another. Something to keep in the back of our minds...

Modules over commutative rings

Suppose M is a left module over a commutative ring R. For clarity, let's denote the left action of a ring element r on a module element m by r⋅m. Now define a right action of R on M by setting m⋆r=r⋅m. You can quickly check that this does indeed define a right action of R on M, giving (the underlying abelian group of M) the structure of a right R-module. The only property that requires the commutativity of R is the "associativity" of the action. Indeed, on the one hand we have

m⋆(rs)=(rs)⋅m,

while on the other hand we have

(m⋆r)⋆s=(r⋅m)⋆s=s⋅(r⋅m)=(sr)⋅m.

Thus, we need the original left R-action on M to satisfy (rs)⋅m=(sr)⋅m for every r,s∈R and m∈M. Fortunately this is true when R is assumed to be commutative.[2]

Modules over commutative rings

When R is a commutative ring, there is no real distinction between left and right R-modules. So, we simply refer to both as R-modules. More precisely, the categories of left R-modules and right R-modules are equivalent (isomorphic, even).

For a general (possibly noncommutative) ring, the phrase "R-module" is usually meant to mean "left R-module."

The action of zero

It will be occasionally useful to have the following simple result:

Zero acts as zero

If M is an R-module, then 0R⋅m=0M for every m∈M and r⋅0M=0M for every r∈R.

Here's a quick proof, directly analogous to the similar statement for vector spaces (a special case of modules!). For every m∈M we have 0R⋅m=(0R+0R)m=0R⋅m+0R⋅m. By additive cancellation (in the abelian group M) we then have 0M=0R⋅m. Similarly, r⋅0M=r(0M+0M)=r⋅0M+r⋅0M, and additive cancellation once again gives 0M=r⋅0M.

Examples


Given the common quote about modules, our first example of a module really must be:

Vector Spaces

If R=k is a field then k-modules are exactly the same as k-vector spaces. What do we really mean when we say "are exactly the same as"? In this case we mean "literally the same, up to naming conventions". A k-vector space is usually defined to be a set V together with a binary operation V×V→V and a map k×V→V satisfying a list of conditions. The first of those conditions are exactly the conditions for V to be an abelian group; the rest are the same as our conditions for V to be a k-module. So the only differences are that we call V an k-vector space (instead of an k-module) and call k the field of scalars (instead of simply the ring acting on V).

Summary

Modules over fields are vector spaces. More precisely, the categories of k-modules and k-vector spaces are equivalent (isomorphic, even).

Rings as modules

Every ring R can be given the structure of a left module over itself, using the action of left multiplication on itself. In this context, the submodules of R (when considered as a left R-module) are exactly the left ideals of R (when considered as a ring).

Once again, we should ask what we mean when we say "are exactly the left ideals." Here we mean that there is a (natural) bijection between the set of left ideals of the ring R and the set of submodules of R.

In theory, one could consider R-module structures on R defined by other (left) actions of R on itself, but in practice I have never seen that done. Perhaps it is because of the inherent notational issues, as you would need to be very careful to distinguish between when the operation is the internal multiplication of the ring and when it is the ring action; perhaps one could write rs for the former and r∙s for the latter? If I come across a discussion or example of this in action (pun intended), I'll be sure to link it here.

Summary

Rings can be considered as modules over themselves.

(This statement can be made categorically precise, but it requires some setup.)

Abelian groups are Z-modules

It is simple to show[3] that Z-modules are "exactly the same" as abelian groups.

Summary

Abelian groups are the same as Z-modules. More precisely, the categories of abelian groups and (left) Z-modules are equivalent (isomorphic, even).

Same group, different modules

A given abelian group can even have different module structures, even for the same ring R. Being specific about the type of module (i.e., the ring doing the acting) can be important when talking about module morphisms.

For example, the field R can be viewed as an R-module, a Q-module, or a Z-module. (As usual, what we really mean is that the abelian group consisting of the real numbers under addition can be endowed with the structure of a module over various rings.)

Summary

A given abelian group M can have many different module structures, even for the same ring R. In other words, the forgetful functor U:R-Mod→Ab is not injective on objects.

Vector spaces with linear endomorphisms

Suppose k is a field. If V is an k-vector space and T:V→V is a k-linear transformation, then we can define an k[x]-module structure on V by p(x)v=p(T)v for every p(x)∈k[x] and v∈V. It is straightforward to show[4] the converse is also true, and that we have a bijection between the collection of k[x]-modules and pairs (V,T) of consisting of a k-vector space and a k-linear endomorphism of that vector space. One can then also show that under this bijection the k[x]-submodules correspond to T-stable subspaces. We'll explore this more fully later.

Summary

When k is a field, modules over the polynomial ring k[x] are (equivalent to) k-vector spaces together with a fixed linear endomorphism.

Passing to quotient rings

Suppose M is an R-module and I⊆R is a two-sided ideal of R that annihilates M, i.e., im=0 for all i∈I and m∈M. Then we can define an R/I-module structure on M in the obvious way: (r+I)m=rm for r∈R and m∈M. (You should verify that the "annihilation" condition is needed to ensure this action is well defined.)

For example, if M is a finite abelian group of order n, then nm=0 for every m∈M, i.e., the ideal ⟨n⟩⊆Z annihilates M. We can therefore also view M as a (Z/nZ)-module.

The zero module

For every ring R the trivial group {0} is also an R-module (with trivial action of R). This module is often denoted simply 0. It is the zero object in the category of left R-modules, i.e., it is both an initial and a terminal object in the category. For each R-module M, there is a unique module morphism 0→M (sending the element 0 to 0M) as well as a unique module morphism M→0 (sending every element m∈M to 0). A module morphism f:M→N is trivial (i.e., f(m)=0N for all m∈M) exactly when it factors through the 0 module.

Suggested next notes


Module morphisms
Submodules
Quotient modules


  1. We will always assume our rings contain unity. â†Šī¸Ž

  2. It's also theoretically possible this could hold for a noncommutative ring, but I have yet to see a nontrivial example of this. â†Šī¸Ž

  3. See, for instance, page 338 in Dummit & Foote. â†Šī¸Ž

  4. See page 339 in Dummit & Foote. â†Šī¸Ž