Mathwords logoMathwords

Module — Definition & Example

A module is like a vector space, except the scalars come from a ring (such as the integers) instead of a field. You can add elements and scale them, but you cannot always divide by a nonzero scalar.

Let RR be a ring with identity 11. A left RR-module is an abelian group (M,+)(M, +) with a scalar multiplication R×M→MR \times M \to M, (r,m)↦rm(r, m) \mapsto rm, such that for all r,s∈Rr, s \in R and m,n∈Mm, n \in M: r(m+n)=rm+rnr(m + n) = rm + rn, (r+s)m=rm+sm(r + s)m = rm + sm, (rs)m=r(sm)(rs)m = r(sm), and 1m=m1m = m. When RR is a field, an RR-module is exactly a vector space over RR. When R=ZR = \mathbb{Z}, the Z\mathbb{Z}-modules are exactly the abelian groups, with nmnm meaning mm added to itself nn times for n>0n > 0, 0m=00m = 0, and nm=−((−n)m)nm = -((-n)m) for n<0n < 0.

Worked Example

Problem: Treat M=Z9={0,1,…,8}M = \mathbb{Z}_9 = \{0, 1, \dots, 8\} as a Z\mathbb{Z}-module, where an integer rr acts on mm by r⋅m=rm mod 9r \cdot m = rm \bmod 9. Compute 4⋅74 \cdot 7, check one distributive axiom using r=2r = 2, s=3s = 3, m=5m = 5, and show that a nonzero scalar can send a nonzero element to 00.
Step 1: Multiply as integers, then reduce modulo 9.
4⋅7=28≡1(mod9)4 \cdot 7 = 28 \equiv 1 \pmod{9}
Step 2: Check (r+s)m=rm+sm(r + s)m = rm + sm. Compute both sides as integers, then reduce modulo 9. Both sides give the same element.
(2+3)⋅5=25≡7,2⋅5+3⋅5=10+15=25≡7(mod9)(2+3) \cdot 5 = 25 \equiv 7, \qquad 2 \cdot 5 + 3 \cdot 5 = 10 + 15 = 25 \equiv 7 \pmod{9}
Step 3: Look for a nonzero scalar that sends a nonzero element to zero. The scalar 33 does this to the element 33. The scalar 99 sends every element to zero, for example the element 44.
3⋅3=9≡0(mod9),9⋅4=36≡0(mod9)3 \cdot 3 = 9 \equiv 0 \pmod{9}, \qquad 9 \cdot 4 = 36 \equiv 0 \pmod{9}
Answer: In the module, 4⋅74 \cdot 7 is the element 11, since 28≡1(mod9)28 \equiv 1 \pmod{9}, and the distributive axiom holds because both sides give 77. Since 3⋅3=9≡0(mod9)3 \cdot 3 = 9 \equiv 0 \pmod{9}, a nonzero scalar sends a nonzero element to 00. In a vector space this never happens, so Z9\mathbb{Z}_9 behaves differently. In fact, it has no basis over Z\mathbb{Z}.

Why It Matters

In an upper-level undergraduate or graduate algebra course, the structure theorem for finitely generated modules over a principal ideal domain gives two major results from one proof. It classifies all finitely generated abelian groups, and over the complex numbers it yields the Jordan canonical form of a matrix. In algebraic topology, homology groups are Z\mathbb{Z}-modules, so module theory is the working language there.

Common Mistakes

Mistake: Assuming every module has a basis and a well-defined dimension, just like a vector space.
Correction: Linear algebra's basis theorems rely on dividing by nonzero scalars. Over a ring you often cannot do that. The Z\mathbb{Z}-module Z9\mathbb{Z}_9 has no basis, because 9m≡09m \equiv 0 for every mm, so no element is linearly independent. Modules that do have a basis are called free modules.

Related Terms

  • Abelian Group — The additive structure underlying every module
  • Group Homomorphism — Module maps are group homomorphisms that respect scalars
  • Zero Element — Additive identity every module must contain
  • Isomorphic — Modules are classified up to isomorphism
  • Cyclic Group — Cyclic groups are exactly the cyclic Z-modules
  • Finite Field — Modules over a finite field are vector spaces
  • Vector Space — Module generalizes this to scalars from a ring
  • Scalar — Elements of the ring that scale module elements