In
mathematics, a free module is a
module that has a
basis – that is, a
generating set
In mathematics and physics, the term generator or generating set may refer to any of a number of related concepts. The underlying concept in each case is that of a smaller set of objects, together with a set of operations that can be applied t ...
consisting of
linearly independent
In the theory of vector spaces, a set of vectors is said to be if there is a nontrivial linear combination of the vectors that equals the zero vector. If no such linear combination exists, then the vectors are said to be . These concepts ...
elements. Every
vector space
In mathematics and physics, a vector space (also called a linear space) is a set whose elements, often called '' vectors'', may be added together and multiplied ("scaled") by numbers called '' scalars''. Scalars are often real numbers, but ...
is a free module, but, if the
ring of the coefficients is not a
division ring
In algebra, a division ring, also called a skew field, is a nontrivial ring in which division by nonzero elements is defined. Specifically, it is a nontrivial ring in which every nonzero element has a multiplicative inverse, that is, an element ...
(not a
field in the
commutative
In mathematics, a binary operation is commutative if changing the order of the operands does not change the result. It is a fundamental property of many binary operations, and many mathematical proofs depend on it. Most familiar as the name o ...
case), then there exist non-free modules.
Given any
set and ring , there is a free -module with basis , which is called the ''free module on'' or ''module of formal'' -''linear combinations'' of the elements of .
A
free abelian group
In mathematics, a free abelian group is an abelian group with a basis. Being an abelian group means that it is a set with an addition operation that is associative, commutative, and invertible. A basis, also called an integral basis, is a su ...
is precisely a free module over the ring of
integer
An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign ( −1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the language ...
s.
Definition
For a
ring and an
-
module , the set
is a basis for
if:
*
is a
generating set
In mathematics and physics, the term generator or generating set may refer to any of a number of related concepts. The underlying concept in each case is that of a smaller set of objects, together with a set of operations that can be applied t ...
for
; that is to say, every element of
is a finite sum of elements of
multiplied by coefficients in
; and
*
is
linearly independent
In the theory of vector spaces, a set of vectors is said to be if there is a nontrivial linear combination of the vectors that equals the zero vector. If no such linear combination exists, then the vectors are said to be . These concepts ...
, that is, for every subset
of distinct elements of
,
implies that
(where
is the zero element of
and
is the zero element of
).
A free module is a module with a basis.
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
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
. If this cardinality is finite, the free module is said to be ''free of finite rank'', or ''free of rank'' if the rank is known to be .
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.
[Proof: Suppose is free with a basis . For , must have the unique linear combination in terms of and , which is not true. Thus, since , there is only one basis element which must be a nonzerodivisor. The converse is clear.]
*If ''R'' is commutative, the polynomial ring