# Free module

__: In mathematics, a module that has a basis__

**Short description**In mathematics, a **free module** is a module that has a *basis*, that is, a generating set consisting of linearly independent elements. Every vector space is a free module,^{[1]} but, if the ring of the coefficients is not a division ring (not a field in the commutative case), then there exist non-free modules.

Given any set *S* and ring *R*, there is a free *R*-module with basis *S*, which is called the *free module on* *S* or *module of formal* *R*-*linear combinations* of the elements of *S*.

A free abelian group is precisely a free module over the ring **Z** of integers.

## Definition

For a ring [math]\displaystyle{ R }[/math] and an [math]\displaystyle{ R }[/math]-module [math]\displaystyle{ M }[/math], the set [math]\displaystyle{ E\subseteq M }[/math] is a basis for [math]\displaystyle{ M }[/math] if:

- [math]\displaystyle{ E }[/math] is a generating set for [math]\displaystyle{ M }[/math]; that is to say, every element of [math]\displaystyle{ M }[/math] is a finite sum of elements of [math]\displaystyle{ E }[/math] multiplied by coefficients in [math]\displaystyle{ R }[/math]; and
- [math]\displaystyle{ E }[/math] is linearly independent if for every [math]\displaystyle{ \{e_1,\dots,e_n\}\subset E }[/math] of distinct elements, [math]\displaystyle{ r_1 e_1 + r_2 e_2 + \cdots + r_n e_n = 0_M }[/math] implies that [math]\displaystyle{ r_1 = r_2 = \cdots = r_n = 0_R }[/math] (where [math]\displaystyle{ 0_M }[/math] is the zero element of [math]\displaystyle{ M }[/math] and [math]\displaystyle{ 0_R }[/math] is the zero element of [math]\displaystyle{ R }[/math]).

A free module is a module with a basis.^{[2]}

An immediate consequence of the second half of the definition is that the coefficients in the first half are unique for each element of *M*.

If [math]\displaystyle{ R }[/math] has invariant basis number, then by definition any two bases have the same cardinality. For example, nonzero commutative rings have invariant basis number. The cardinality of any (and therefore every) basis is called the **rank** of the free module [math]\displaystyle{ M }[/math]. If this cardinality is finite, the free module is said to be *free of finite rank*, or *free of rank* n if the rank is known to be n.

## Examples

Let *R* be a ring.

*R*is a free module of rank one over itself (either as a left or right module); any unit element is a basis.- More generally, If
*R*is commutative, a nonzero ideal*I*of*R*is free if and only if it is a principal ideal generated by a nonzerodivisor, with a generator being a basis.^{[3]} - Over a principal ideal domain (e.g., [math]\displaystyle{ \mathbb{Z} }[/math]), a submodule of a free module is free.
- If
*R*is commutative, the polynomial ring [math]\displaystyle{ R[X] }[/math] in indeterminate*X*is a free module with a possible basis 1,*X*,*X*^{2}, .... - Let [math]\displaystyle{ A[t] }[/math] be a polynomial ring over a commutative ring
*A*,*f*a monic polynomial of degree*d*there, [math]\displaystyle{ B = A[t]/(f) }[/math] and [math]\displaystyle{ \xi }[/math] the image of*t*in*B*. Then*B*contains*A*as a subring and is free as an*A*-module with a basis [math]\displaystyle{ 1, \xi, \dots, \xi^{d-1} }[/math]. - For any non-negative integer
*n*, [math]\displaystyle{ R^n = R \times \cdots \times R }[/math], the cartesian product of*n*copies of*R*as a left*R*-module, is free. If*R*has invariant basis number, then its rank is*n*. - A direct sum of free modules is free, while an infinite cartesian product of free modules is generally
*not*free (cf. the Baer–Specker group). - A finitely generated module over a commutative local ring is free if and only if it is faithfully flat.
^{[4]}Also, Kaplansky's theorem states a projective module over a (possibly non-commutative) local ring is free. - Sometimes, whether a module is free or not is undecidable in the set-theoretic sense. A famous example is the Whitehead problem, which asks whether a Whitehead group is free or not. As it turns out, the problem is independent of ZFC.

## Formal linear combinations

Given a set *E* and ring *R*, there is a free *R*-module that has *E* as a basis: namely, the direct sum of copies of *R* indexed by *E*

- [math]\displaystyle{ R^{(E)} = \bigoplus_{e \in E} R }[/math].

Explicitly, it is the submodule of the Cartesian product [math]\displaystyle{ \prod_E R }[/math] (*R* is viewed as say a left module) that consists of the elements that have only finitely many nonzero components. One can embed *E* into *R*^{(E)} as a subset by identifying an element *e* with that of *R*^{(E)} whose *e*-th component is 1 (the unity of *R*) and all the other components are zero. Then each element of *R*^{(E)} can be written uniquely as

- [math]\displaystyle{ \sum_{e \in E} c_e e , }[/math]

where only finitely many [math]\displaystyle{ c_e }[/math] are nonzero. It is called a *formal linear combination* of elements of *E*.

A similar argument shows that every free left (resp. right) *R*-module is isomorphic to a direct sum of copies of *R* as left (resp. right) module.

### Another construction

The free module *R*^{(E)} may also be constructed in the following equivalent way.

Given a ring *R* and a set *E*, first as a set we let

- [math]\displaystyle{ R^{(E)} = \{ f: E \to R \mid f(x) = 0 \text { for all but finitely many } x \in E \}. }[/math]

We equip it with a structure of a left module such that the addition is defined by: for *x* in *E*,

- [math]\displaystyle{ (f+g)(x) = f(x) + g(x) }[/math]

and the scalar multiplication by: for *r* in *R* and *x* in *E*,

- [math]\displaystyle{ (r f)(x) = r (f(x)) }[/math]

Now, as an *R*-valued function on *E*, each *f* in [math]\displaystyle{ R^{(E)} }[/math] can be written uniquely as

- [math]\displaystyle{ f = \sum_{e \in E} c_e \delta_e }[/math]

where [math]\displaystyle{ c_e }[/math] are in *R* and only finitely many of them are nonzero and [math]\displaystyle{ \delta_e }[/math] is given as

- [math]\displaystyle{ \delta_e(x) = \begin{cases} 1_R \quad\mbox{if } x=e \\ 0_R \quad\mbox{if } x\neq e \end{cases} }[/math]

(this is a variant of the Kronecker delta). The above means that the subset [math]\displaystyle{ \{ \delta_e \mid e \in E \} }[/math] of [math]\displaystyle{ R^{(E)} }[/math] is a basis of [math]\displaystyle{ R^{(E)} }[/math]. The mapping [math]\displaystyle{ e \mapsto \delta_e }[/math] is a bijection between *E* and this basis. Through this bijection, [math]\displaystyle{ R^{(E)} }[/math] is a free module with the basis *E*.

## Universal property

The inclusion mapping [math]\displaystyle{ \iota : E\to R^{(E)} }[/math] defined above is universal in the following sense. Given an arbitrary function [math]\displaystyle{ f : E\to N }[/math] from a set *E* to a left *R*-module *N*, there exists a unique module homomorphism [math]\displaystyle{ \overline{f}: R^{(E)}\to N }[/math] such that [math]\displaystyle{ f = \overline{f} \circ\iota }[/math]; namely, [math]\displaystyle{ \overline{f} }[/math] is defined by the formula:

- [math]\displaystyle{ \overline{f}\left (\sum_{e \in E} r_e e \right) = \sum_{e \in E} r_e f(e) }[/math]

and [math]\displaystyle{ \overline{f} }[/math] is said to be obtained by *extending [math]\displaystyle{ f }[/math] by linearity.* The uniqueness means that each *R*-linear map [math]\displaystyle{ R^{(E)} \to N }[/math] is uniquely determined by its restriction to *E*.

As usual for universal properties, this defines *R*^{(E)} up to a canonical isomorphism. Also the formation of [math]\displaystyle{ \iota : E\to R^{(E)} }[/math] for each set *E* determines a functor

- [math]\displaystyle{ R^{(-)}: \textbf{Set} \to R\text{-}\mathsf{Mod}, \, E \mapsto R^{(E)} }[/math],

from the category of sets to the category of left *R*-modules. It is called the free functor and satisfies a natural relation: for each set *E* and a left module *N*,

- [math]\displaystyle{ \operatorname{Hom}_{\textbf{Set}}(E, U(N)) \simeq \operatorname{Hom}_R(R^{(E)}, N), \, f \mapsto \overline{f} }[/math]

where [math]\displaystyle{ U: R\text{-}\mathsf{Mod} \to \textbf{Set} }[/math] is the forgetful functor, meaning [math]\displaystyle{ R^{(-)} }[/math] is a left adjoint of the forgetful functor.

## Generalizations

Many statements true for free modules extend to certain larger classes of modules. Projective modules are direct summands of free modules. Flat modules are defined by the property that tensoring with them preserves exact sequences. Torsion-free modules form an even broader class. For a finitely generated module over a PID (such as **Z**), the properties free, projective, flat, and torsion-free are equivalent.

See local ring, perfect ring and Dedekind ring.

## See also

- Free object
- Projective object
- free presentation
- free resolution
- Quillen–Suslin theorem
- stably free module
- generic freeness

## Notes

- ↑ Keown (1975).
*An Introduction to Group Representation Theory*. p. 24. https://books.google.com/books?id=hC9iTw8DO7gC&pg=PA24&dq=%22Every+vector+space+is+free%22. - ↑ Hazewinkel (1989).
*Encyclopaedia of Mathematics, Volume 4*. p. 110. https://books.google.com/books?id=s9F71NJxwzoC&pg=PA110&dq=%22A+free+module+is+a+module+with+a+basis%22. - ↑ Proof: Suppose [math]\displaystyle{ I }[/math] is free with a basis [math]\displaystyle{ \{ x_j | j\} }[/math]. For [math]\displaystyle{ j \ne k }[/math], [math]\displaystyle{ x_j x_k }[/math] must have the unique linear combination in terms of [math]\displaystyle{ x_j }[/math] and [math]\displaystyle{ x_k }[/math], which is not true. Thus, since [math]\displaystyle{ I \ne 0 }[/math], there is only one basis element which must be a nonzerodivisor. The converse is clear.[math]\displaystyle{ \square }[/math]
- ↑ Matsumura 1986, Theorem 7.10.

## References

- Adamson, Iain T. (1972).
*Elementary Rings and Modules*. University Mathematical Texts. Oliver and Boyd. pp. 65–66. ISBN 0-05-002192-3. - Keown, R. (1975).
*An Introduction to Group Representation Theory*. Mathematics in science and engineering.**116**. Academic Press. ISBN 978-0-12-404250-6. - Hazewinkel, Michiel, ed. (2001), "Free module",
*Encyclopedia of Mathematics*, Springer Science+Business Media B.V. / Kluwer Academic Publishers, ISBN 978-1-55608-010-4, https://www.encyclopediaofmath.org/index.php?title=Free_module&oldid=13029. - Matsumura, Hideyuki (1986).
*Commutative ring theory*. Cambridge Studies in Advanced Mathematics.**8**. Cambridge University Press. ISBN 0-521-36764-6. https://books.google.com/books?id=yJwNrABugDEC&pg=PA123.

Original source: https://en.wikipedia.org/wiki/Free module.
Read more |