# Free module

A free module is a module over a ring that has a basis, meaning a subset such that every element of the module can be written in exactly one way as a finite linear combination of basis elements with coefficients in the ring. Equivalently, a free module is a direct sum of copies of the underlying ring. Free modules are the module-theoretic generalization of vector spaces, and they reduce to vector spaces when the ring is a field.<sup>[1](https://web.ma.utexas.edu/users/voloch/Homework/ash-ch4.pdf)</sup><sup> • </sup><sup>[2](https://math.hodapp.com/lectures/foundations/modules/modules.html)</sup>

| Key fact | Detail |
|---|---|
| Definition | An R-module M is free if it has a basis, equivalently if it is isomorphic to a direct sum of copies of R indexed by some set<sup>[1](https://web.ma.utexas.edu/users/voloch/Homework/ash-ch4.pdf)</sup><sup> • </sup><sup>[2](https://math.hodapp.com/lectures/foundations/modules/modules.html)</sup> |
| Rank n case | The free module of rank n is R<sup>n</sup> = R ⊕ R ⊕ · · · ⊕ R (n copies); over a field F this is exactly F<sup>n</sup>, the standard n-dimensional vector space<sup>[3](https://ocw.mit.edu/courses/res-18-012-algebra-ii-student-notes-spring-2022/mit18_702s22_lect19.pdf)</sup> |
| Standard examples | R<sup>n</sup> for any positive integer n; the matrix ring M<sub>mn</sub>(R) with basis E<sub>ij</sub>; the polynomial ring R[X] with basis 1, X, X<sup>2</sup>, ...<sup>[1](https://web.ma.utexas.edu/users/voloch/Homework/ash-ch4.pdf)</sup> |
| Zero module | By convention the zero module is free with the empty set as basis<sup>[1](https://web.ma.utexas.edu/users/voloch/Homework/ash-ch4.pdf)</sup> |
| Rank uniqueness | Any two bases of a free module over a commutative ring have the same cardinality; over a division ring every module is free with a specific dimension or rank<sup>[1](https://web.ma.utexas.edu/users/voloch/Homework/ash-ch4.pdf)</sup><sup> • </sup><sup>[4](https://www.mathreference.com/mod%2Cbasis.html)</sup> |
| Failure in general | There are rings for which R<sup>n</sup> ≅ R<sup>n+t</sup> with t ≠ 0, so rank need not be an invariant<sup>[5](https://sites.math.rutgers.edu/~weibel/Kbook/Kbook.pdf)</sup> |
| Quotients | Every module is a quotient of a free module<sup>[1](https://web.ma.utexas.edu/users/voloch/Homework/ash-ch4.pdf)</sup> |

## Basis and the direct-sum characterization

A subset S of an R-module M is linearly independent if a finite linear combination of its elements equals 0 only when all coefficients are 0, and it spans M if every element of M is a finite linear combination of members of S. A basis is a linearly independent spanning set, and a module that has a basis is free. [Linear independence](https://www.edgepedia.org/linear-independence) makes each representation unique: if two different combinations produced the same element, subtracting them would give a nontrivial combination equal to 0.<sup>[1](https://web.ma.utexas.edu/users/voloch/Homework/ash-ch4.pdf)</sup><sup> • </sup><sup>[4](https://www.mathreference.com/mod%2Cbasis.html)</sup>

The direct-sum description follows from the basis description. If M has basis (b<sub>i</sub>, i ∈ I), the submodule spanned by a single basis element b<sub>i</sub> is the set of all r b<sub>i</sub> with r ∈ R, and the map r ↦ r b<sub>i</sub> is an R-module isomorphism from R onto that submodule because {b<sub>i</sub>} is independent. Since the basis elements span M, M is the sum of these submodules, and independence makes the sum direct. Conversely, a direct sum of copies of R is free: the elements e<sub>i</sub> with 1 in the i-th component and zeros elsewhere form a basis.<sup>[1](https://web.ma.utexas.edu/users/voloch/Homework/ash-ch4.pdf)</sup>

Free on a set is a related universal formulation: an R-module M is free on a subset X if for any R-module N and any function from X to N, there exists a unique R-module homomorphism M → N extending it. This holds exactly when X generates M and every finite relation ∑ c<sub>i</sub>x<sub>i</sub> = 0 with x<sub>i</sub> ∈ X forces all c<sub>i</sub> = 0. In category theory, the free object defined by this universal property, when specialized to the category of unitary modules, yields the direct-sum definition.<sup>[6](https://math.ucla.edu/~sharifi/notes/algebra-ch05.html)</sup><sup> • </sup><sup>[4](https://www.mathreference.com/mod%2Cbasis.html)</sup>

## Examples

The characterization as a direct sum of copies of R makes many standard objects recognizable as free modules:<sup>[1](https://web.ma.utexas.edu/users/voloch/Homework/ash-ch4.pdf)</sup>

1. For any positive integer n, R<sup>n</sup> is a free R-module, the canonical example of a based free module, consisting of n-tuples of elements of R.<sup>[1](https://web.ma.utexas.edu/users/voloch/Homework/ash-ch4.pdf)</sup><sup> • </sup><sup>[5](https://sites.math.rutgers.edu/~weibel/Kbook/Kbook.pdf)</sup>
2. The matrix ring M<sub>mn</sub>(R) is a free R-module with basis the matrix units E<sub>ij</sub> for i = 1, ..., m and j = 1, ..., n.<sup>[1](https://web.ma.utexas.edu/users/voloch/Homework/ash-ch4.pdf)</sup>
3. The polynomial ring R[X] is a free R-module with basis 1, X, X<sup>2</sup>, ....<sup>[1](https://web.ma.utexas.edu/users/voloch/Homework/ash-ch4.pdf)</sup>

Not every module is free. The Z-module Z/nZ is finitely generated, by the class of 1, but it is not free, since a free abelian group has no element of finite order other than 0.<sup>[2](https://math.hodapp.com/lectures/foundations/modules/modules.html)</sup> Over an integral domain, the existence of nonzero elements α ∈ R and x ∈ M with αx = 0 is an obstruction to M being free.<sup>[7](https://www.sciencedirect.com/topics/mathematics/free-module)</sup>

## Rank and the invariant basis property

If R is a division ring, every module is free, with a basis and a specific dimension or rank; this is the setting of ordinary linear algebra.<sup>[4](https://www.mathreference.com/mod%2Cbasis.html)</sup> For arbitrary rings the situation is weaker. Any two bases for a free module over a commutative ring have the same cardinality, proved by reducing modulo a maximal ideal: for a maximal ideal I of R, the quotient M/IM is a vector space over the field R/I, and a basis of M maps to a basis of this vector space, whose dimension is independent of the chosen basis.<sup>[1](https://web.ma.utexas.edu/users/voloch/Homework/ash-ch4.pdf)</sup>

**Rings without invariant rank.** There are rings for which R<sup>n</sup> ≅ R<sup>n+t</sup> with t ≠ 0. A ring satisfies the invariant basis property (IBP, also called invariant basis number) if R<sup>m</sup> and R<sup>n</sup> are not isomorphic for m ≠ n, in which case the rank of a free module is an invariant independent of the choice of basis. Most rings encountered in practice satisfy it: commutative rings do, as do group rings Z[G], and any ring admitting a ring map to a field or division ring. For a finite-dimensional algebra R over a field F, the rank of a free module M is the invariant rank(M) = dim<sub>F</sub>(M)/dim<sub>F</sub>(R).<sup>[5](https://sites.math.rutgers.edu/~weibel/Kbook/Kbook.pdf)</sup> For infinite cardinals κ, a free module R<sup>(κ)</sup> on a basis of cardinality κ has every basis of cardinality κ, so it cannot be isomorphic to R<sup>n</sup> for finite n.<sup>[5](https://sites.math.rutgers.edu/~weibel/Kbook/Kbook.pdf)</sup>

## Direct sums and submodules

The direct sum of free modules is free: taking the union of the basis elements over each component builds a basis for the sum. The converse fails. Z<sub>6</sub> is the direct product of Z<sub>2</sub> and Z<sub>3</sub>, yet the two summands are not free Z<sub>6</sub>-modules.<sup>[4](https://www.mathreference.com/mod%2Cbasis.html)</sup> For finite index sets the direct sum and direct product coincide, M<sub>1</sub> ⊕ · · · ⊕ M<sub>n</sub> = M<sub>1</sub> × · · · × M<sub>n</sub>, but this is not true for infinite sums and products.<sup>[3](https://ocw.mit.edu/courses/res-18-012-algebra-ii-student-notes-spring-2022/mit18_702s22_lect19.pdf)</sup> The direct product of infinitely many copies of Z is not a free Z-module.<sup>[8](https://math.virginia.edu/graduate/exams/algebra/alg-prep-3-1.html)</sup>

**Submodules over a PID.** Over a general ring, a submodule of a free module need not be free. Over a principal ideal domain (a ring in which every ideal is generated by one element, such as Z or a polynomial ring F[x] over a field), the situation is better: every submodule E of a free R-module F is itself free, and the rank of E is no greater than the rank of F. Consequently, every finitely generated torsion-free module over a PID is free.<sup>[9](https://people.math.sc.edu/mcnulty/algebra/grad/ringandmodules.pdf)</sup><sup> • </sup><sup>[10](https://math.ucla.edu/~sharifi/notes/algebra-ch08.html)</sup> This underlies the structure theorem for finitely generated modules over a PID, which decomposes any such module as a direct sum of a free module and cyclic torsion modules, generalizing both the classification of finitely generated abelian groups (the case R = Z) and the Jordan canonical form (the case R = F[x]).<sup>[2](https://math.hodapp.com/lectures/foundations/modules/modules.html)</sup>

## Homomorphisms and matrices

A homomorphism of R-modules is a homomorphism of abelian groups compatible with the R-action, φ(rm) = rφ(m); over a field this is exactly a linear map.<sup>[3](https://ocw.mit.edu/courses/res-18-012-algebra-ii-student-notes-spring-2022/mit18_702s22_lect19.pdf)</sup> Homomorphisms from a free module are easy to control: once a homomorphism is defined on a basis, it is defined on all of M, since values on basis elements extend uniquely by linearity. This is the module analog of a linear transformation on [Euclidean space](https://www.edgepedia.org/euclidean-space) being determined by its values on the standard basis vectors.<sup>[1](https://web.ma.utexas.edu/users/voloch/Homework/ash-ch4.pdf)</sup>

For free modules M and N of finite ranks n and m with fixed ordered bases, every homomorphism M → N is represented by an m × n matrix with entries in R, with matrix multiplication implementing composition; homomorphisms between based free modules are naturally identified with matrices over R. The automorphisms of R<sup>n</sup> form the group GL<sub>n</sub>(R) of invertible n × n matrices.<sup>[1](https://web.ma.utexas.edu/users/voloch/Homework/ash-ch4.pdf)</sup><sup> • </sup><sup>[5](https://sites.math.rutgers.edu/~weibel/Kbook/Kbook.pdf)</sup>

**Why free modules matter.** Free modules play a central role in algebra because any module is the homomorphic image of some free module: given generators u<sub>1</sub>, ..., u<sub>n</sub> of M, the map sending a<sub>1</sub>t<sub>1</sub> + · · · + a<sub>n</sub>t<sub>n</sub> to a<sub>1</sub>u<sub>1</sub> + · · · + a<sub>n</sub>u<sub>n</sub> is a surjective homomorphism from the free module on generators t<sub>1</sub>, ..., t<sub>n</sub> onto M. By the first isomorphism theorem, every module is a quotient of a free module, which is the starting point for constructing free resolutions in homological algebra.<sup>[11](https://mathworld.wolfram.com/FreeModule.html)</sup><sup> • </sup><sup>[1](https://web.ma.utexas.edu/users/voloch/Homework/ash-ch4.pdf)</sup>

## References

1. [Chapter 4, Module Fundamentals (Ash), University of Texas at Austin](https://web.ma.utexas.edu/users/voloch/Homework/ash-ch4.pdf)
2. [Modules — vector spaces over a ring, Math foundations lecture notes](https://math.hodapp.com/lectures/foundations/modules/modules.html)
3. [Lecture 19: Modules over a Ring, MIT RES.18-012 Algebra II Student Notes (Spring 2022)](https://ocw.mit.edu/courses/res-18-012-algebra-ii-student-notes-spring-2022/mit18_702s22_lect19.pdf)
4. [Modules, Free Module, Basis, Math Reference](https://www.mathreference.com/mod%2Cbasis.html)
5. [An Introduction to K-Theory (Weibel), Rutgers University](https://sites.math.rutgers.edu/~weibel/Kbook/Kbook.pdf)
6. [Abstract Algebra — Chapter 5: Advanced ring theory (Sharifi), UCLA](https://math.ucla.edu/~sharifi/notes/algebra-ch05.html)
7. [Free Module — an overview, ScienceDirect Topics](https://www.sciencedirect.com/topics/mathematics/free-module)
8. [Algebra General Exam Review, 3.1 Modules, University of Virginia](https://math.virginia.edu/graduate/exams/algebra/alg-prep-3-1.html)
9. [Ring and Modules lecture notes (McNulty), University of South Carolina](https://people.math.sc.edu/mcnulty/algebra/grad/ringandmodules.pdf)
10. [Abstract Algebra — Chapter 8: Topics in ring theory (Sharifi), UCLA](https://math.ucla.edu/~sharifi/notes/algebra-ch08.html)
11. [Free Module, Wolfram MathWorld](https://mathworld.wolfram.com/FreeModule.html)

---
*Topic: Encyclopedia › Physical world and mathematics › Mathematics and statistics › Numbers and algebra › Algebraic structures › Module theory › Classes of modules*

*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

*Copyright 2026 EdgeChat AI, a subsidiary of Biostate AI.*

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license
