# Module

In abstract algebra, a module is a mathematical structure of which abelian groups and vector spaces are particular types. They have become ubiquitous in abstract algebra and other areas of mathematics that involve algebraic structures, such as algebraic topology, algebraic geometry, and algebraic number theory. A strong understanding of module theory is essential for anyone desiring to understand a wide array of graduate level mathematics and current mathematical research.

## Definition

Let R be a ring (not necessarily with identity or commutative). A left R-module is an abelian group whose underlying set is endowed with an action by R respecting both the group structure of M and the ring structure of R. The R action is a map $R \times M \rightarrow M$. The image of $r \times m$ under this map is typically written $r \cdot m$, or just rm. The action is required to satisfy the following properties:

1. $r\cdot(m_1+m_2)=r\cdot m_1 + r\cdot m_2$, for all $r \in R, m_1, m_2 \in M$
2. $(r_1+r_2) \cdot m = r_1 \cdot m + r_2 \cdot m$, and
3. $(r_1 r_2)\cdot m = r_1\cdot(r_2\cdot m)$ for all $r_1, r_2 \in R, m \in M$

If the ring R has an identity, a module satisfying the additional axiom

$1 \cdot m = m$ for all $m \in M$

is called unital or unitary.

A right R-module can be defined similarly.

## Special types of modules

### Vector Spaces

The archetype for modules, and the type one usually first encounters, is the vector space. Although vector spaces as encountered in applications or linear algebra courses usually use real or complex number scalars, the most general type of vector space is a module over a division ring. The fundamental commonality between all modules over a division ring is the existence of a basis for the module. Modules over more general rings do not necessarily have a basis, and those that do are called free modules.

### Abelian Groups

The Abelian groups are precisely the modules over $\mathbb{Z}$, the ring of integers. If G is an Abelian group (written additively), one defines the expression ng with $n \in \mathbb{Z}, g \in G$ to mean

$ng = \begin{cases} g+g+\cdots+g \qquad (n \text{ times}) \text{ if } n<0\\ 0 \qquad \qquad \qquad \qquad \qquad \qquad \text{ if } n=0\\ -g-g-\cdots-g \quad (|n| \text{ times}) \text{ if } n<0 \end{cases}$

The commutative property for Abelian group operations and the rule for taking the inverse of a sum can be used to show that

n(g1 + g2) = ng1 + ng2 for all $n \in \mathbb{Z}, g_1, g_2 \in G$.

The rule for taking the inverse of a sum can also be used to show that

(n1n2)g = n1(n2g) for all $n_1, n_2 \in \mathbb{Z}, g \in G$,

checking cases separately for the different possibilities for the signs of n1,n2. Similarly, one can check several cases and show that

(n1 + n2)g = n1g + n2g for all $n_1, n_2 \in \mathbb{Z}, g \in G$

The above three equations are the three axioms for the action of $\mathbb{Z}$ on a $\mathbb{Z}$-module. $\mathbb{Z}$-modules are therefore the same as Abelian groups.

If R is a ring with identity, then there is a ring homomorphism $\mathbb{Z} \rightarrow R$. Through this map, we can canonically define the expression nm with $n \in \mathbb{Z}$ and $m \in M$. If M is a unital module, the expression nm has the same meaning in this sense as it does thinking of m as an Abelian group.

This example already shows that not every module has a basis. That is, there is not always a subset of a module M such that every element of M can be expressed uniquely as a linear combination of elements of M. For instance, in the Abelian group $\mathbb{Z}/2\mathbb{Z}$, increasing all of the coefficients of a linear combination by 2 will result in the same element of the group.

### Other types of modules

A vast assortment of special types of modules have been studied --- more than can be discussed on this page. There are two approaches to abstractly defining special types of modules. First, one may allow the ring R to be arbitrary and study all modules with a certain structural property definable without using properties specific to R. Examples of this type include:

Second, one may consider arbitrary modules over a special class of rings. Examples of this type include:

Of course, one may mix these two approaches, studying modules with certain structural properties over a special type of ring. Also, practitioners in most fields of higher mathematics study all modules manifest through a natural process within that field, such as homology with coefficients of topological spaces or class groups of number fields as Galois modules. For a more complete list of special types of modules, see the related articles subpage.

## The category of R-modules

The morphisms in the category of R-modules are defined respecting the abelian group structure and the action of R. That is, a morphism $\varphi:M\to M'$ is a homomorphism $\varphi$ of the abelian groups M and M' such that $\varphi(r\cdot m)=r\cdot\varphi(m)$ for all $m\in M$.

The category of modules over a fixed commutative ring R are the prototypical abelian category; this statement is deeper than it may appear, in fact every small abelian category is equivalent to a full subcategory of some category of modules over a ring. This result is due to Freyd and Mitchell.

## Examples

1. The category of $\mathbb{Z}$-modules is equivalent to the category of abelian groups.
 Some content on this page may previously have appeared on Citizendium.