← LibraryModules: Definitions, Properties and ExamplesEngineering · MathematicsLesson 147/385← PrevNext →
ArticlePublished 7 Aug 20263 min readBy Kevin Jogin

Engineering  /  Mathematics  — Modules, Vector Spaces and Matrices

Modules: Definitions, Properties and Examples

Modules over a commutative ring, the generalisation of vector spaces, and what changes when scalars need not be invertible.

Page KV-MATH-0419Reading time 4 minReviewed 2026-08-07Author Kevin Jogin

Executive summary

A module is a vector space over a ring rather than a field. The definition is identical; the theory is substantially different because scalars cannot always be divided by.

Bases need not exist, dimension is not well defined in general, and submodules of free modules need not be free.

Learning objectives

  1. Define modules and give the standard examples.
  2. Identify which vector space facts fail over a ring.
  3. Recognise abelian groups as modules over the integers.

01Definition and examples

Definition

Module

An R-module is an abelian group M with a scalar multiplication R × M → M satisfying, for all r, s ∈ R and x, y ∈ M:

r(x + y) = rx + ry, (r + s)x = rx + sx, (rs)x = r(sx), 1x = x.

Standard module examples
Ring RModuleInterpretation
A field FVector space over FThe familiar case
ZAny abelian groupScalar action is repeated addition
R itselfR as a module over itselfSubmodules are exactly the ideals
F[X]Vector space with a linear operatorX acts as the operator
Z_nAbelian group of exponent dividing nEvery element killed by n

02What fails over a ring

Where the analogy breaks
Vector space factOver a general ring
Every module has a basisFalse — Z_n has no basis over Z
Any two bases have equal sizeTrue over commutative rings; false in general
Submodules of free modules are freeFalse over general rings; true over PIDs
Every submodule is a direct summandFalse — 2Z is not a summand of Z
Linearly independent sets extend to basesFalse

The root cause in each case is the same: scalars cannot be divided by. The vector space proofs all normalise a coefficient to 1 at some point, and that step requires invertibility.

Definition

Free module and torsion

A module is free if it has a basis. An element x is torsion if rx = 0 for some non-zero r ∈ R.

A free module has no non-zero torsion, so any module with torsion fails to be free.

03Why modules appear here

  • Linear algebra over finite fields

    The Berlekamp algorithm and sparse system solving in index calculus both work in vector spaces over F_p, which are modules where the theory is the familiar one.

  • Abelian group structure

    The structure of Z_n* is a statement about finitely generated Z-modules, and the classification theorem is a module theorem.

  • Operators as F[X]-modules

    Viewing a linear map as an F[X]-module action turns questions about minimal polynomials into module-theoretic ones.

The third of these is used directly in this collection. The minimal polynomial of a linear transformation is the generator of the annihilator ideal of the corresponding F[X]-module, and computing it is what the linearly generated sequence machinery does.

04Frequently asked questions

Why restrict to commutative rings?

Because left and right modules coincide, which removes a layer of bookkeeping, and every application in this collection is over a commutative ring. The non-commutative theory is genuinely different and considerably harder.

Is every module a quotient of a free module?

Yes. Taking one generator per element of the module gives a surjection from a free module, so every module is a quotient of a free one. That is the starting point of homological algebra.

Does dimension make sense for modules?

Only for free modules over commutative rings, where the rank is well defined. For modules with torsion there is no single number playing the role of dimension, which is why the structure theorem gives a list of invariants instead.

Sources and method

Structural reference: Victor Shoup, A Computational Introduction to Number Theory and Algebra, Version 1, Cambridge University Press, 2005 — book pages 299-301.

This page carries the durable method layer only: definitions, constructions, algorithms, complexity results and selection criteria, authored originally for KEVOS. No text is transcribed or paraphrased from the source, and no numeric tables or benchmark data are reproduced — these are routed to live authoritative sources instead.

Author: Kevin Jogin. Last reviewed 2026-08-07.

Continue learning

The Quadratic Residuosity AssumptionArticle · MathematicsNEXT LESSON →Submodules and Quotient ModulesArticle · MathematicsComputing Modular Square Roots: Composite ModulusArticle · MathematicsModule Homomorphisms and IsomorphismsArticle · Mathematics