Stacks project reader · More on Algebra · Search · Suggestions (AI)

The Stacks project, tag 0H9T, at revision a04446e (28 July 2026). Official page: stacks.math.columbia.edu/tag/0H9T

Ranks of modules

Here is our definition.

Definition 15.23.1 (0H9U) official page ↗

Let \(R\) be a domain with fraction field \(K\). The rank of an \(R\)-module \(M\) is \(\dim_K(M \otimes_R K)\).

This definition does not conflict with the notion of a locally free module of rank \(r\) in Algebra, Definition 10.78.1 when both definitions apply.

Lemma 15.23.2 (0H9V) official page ↗

Let \(R\) be a domain. If \(M \to M'\) is a map of \(R\)-modules whose kernel and cokernel are torsion, then the rank of \(M\) equals the rank of \(M'\).

Proof. Omitted. Hint: the induced map \(M \otimes_R K \to M' \otimes_R K\) is an isomorphism if \(K\) is the fraction field of \(R\).

Lemma 15.23.3 (0H9W) official page ↗

Let \(R\) be a domain. Let \(0 \to M \to M' \to M'' \to 0\) be a short exact sequence of \(R\)-modules. Then the rank of \(M'\) is the sum of the ranks of \(M\) and \(M''\).

Proof. Omitted.

Lemma 15.23.4 (0H9X) official page ↗

Let \(R\) be a domain. Let \(M\) and \(N\) be \(R\)-modules.

  1. The rank of \(M \otimes_R N\) is the product of the ranks of \(M\) and \(N\).

  2. If \(M\) is a finitely presented \(R\)-module, then the rank of \(\Hom_R(M, N)\) is the product of the ranks of \(M\) and \(N\).

Proof. Part (1) follows from the same fact for vector spaces. Assume \(M\) is finitely presented as an \(R\)-module. Then \(\Hom_R(M, N) \otimes_R K\) is isomorphic to \(\Hom_K(M \otimes_R K, N \otimes_R K)\) as a \(K\)-vector space by Algebra, Lemma 10.10.2. Since also \(M \otimes_R K\) is finite dimensional, we conclude from the corresponding fact for vector spaces.

Lemma 15.23.5 (0H9Y) official page ↗

Let \(R \subset R'\) be an extension of domains. If \(M\) is an \(R\)-module, then the rank of \(M\) over \(R\) is equal to the rank of \(M \otimes_R R'\) over \(R'\).

Proof. This is true because the dimension of a vector space is invariant under extension of ground field.

Lemma 15.23.6 (0H9Z) official page ↗

Let \(R\) be a domain. Let \(M\) be a finite \(R\)-module. Then

  1. \(M\) has finite rank \(r \geq 0\),

  2. there is a map \(M \to R^{\oplus r}\) whose kernel and cokernel are torsion modules,

  3. there is an \(f \in R\), \(f \not = 0\) such that \(M_f\) is free of rank \(r\), and

  4. there is an injective map \(R^{\oplus r} \to M\) whose cokernel is a torsion module.

Proof. Since \(M\) is finite, \(M \otimes_R K\) is a finite dimensional vector space over the fraction field \(K\) of \(R\). Thus the rank \(r\) is finite.

Choose generators \(x_1, \ldots, x_n\) of \(M\). Choose a basis \(e_1, \ldots, e_r\) for \(M \otimes_R K\). We may write \(x_i \otimes 1 = \sum (a_{ij}/b_{ij}) e_j\) for some \(a_{ij} , b_{ij} \in R\) with \(b_{ij} \not = 0\). Setting \(b = \prod b_{ij}\) and replacing \(a_{ij}\) by \(a_{ij}b/b_{ij}\) we may assume that \(x_i \otimes 1 = \sum (a_{ij}/b) e_j\). Note that if we have a relation \(\sum r_i x_i = 0\) in \(M\) then \(\sum r_ia_{ij} = 0\) in \(R\) for all \(j = 1, \ldots, r\).

Proof of (2). The last comment above tells us the map \(M \to \bigoplus Re_j\) sending \(x_i\) to \(\sum a_{ij} e_j\). is well defined. The fact that \(e_1, \ldots, e_r\) forms a basis of \(M \otimes_R K\) tells us that this map becomes an isomorphism upon tensoring by \(K\). Hence this is a map as in (2).

Proof of (3). The cokernel of the map \(M \to R^{\oplus r}\) constructed in (2) is finite and torsion. Hence we can find a \(g \in R\), \(g \not = 0\) which annihilates this cokernel. In other words, such that the map \(M_g \to R_g^{\oplus r}\) is surjective. Then we can choose a splitting \(M_g = N \oplus R_g^{\oplus r}\). Then \(N\) is a finite \(R_g\)-module with \(N \otimes_{R_g} K = 0\). In other words, \(N\) is torsion and finite over \(R_g\). Thus we can find a \(g' \in R\) which annihilates \(N\). Setting \(f= gg'\) we see that (3) holds.

To prove (4) choose a basis \(y_1, \ldots, y_r\) of \(M_f\) where \(f\) is as in (3). Then write \(y_j = m_j/f^{t_j}\) for some \(m_j \in M\) and \(t_j \geq 0\). The map \(R^{\oplus r} \to M\) sending the \(j\)th basis vector to \(m_j\) will be as in (4). Details omitted.