Finitely Generated Abelian Groups
Introduction
The structure theorem for finitely generated modules over a principal ideal domain, applied to the ring $\mathbb{Z}$, classifies the finitely generated abelian groups: each is a direct sum of a free abelian group and a finite abelian group, and the finite part is a direct sum of cyclic groups of prime-power or of divisibility-ordered type. This article carries out the classification, sets out the two normal forms — invariant factors and elementary divisors — proves that they agree, and computes the answer for explicit presentations by the Smith normal form of the relations matrix.
Throughout, groups are written additively and abelian; the companion articles of this category on modules over a principal ideal domain and on direct sums, free modules and rank supply the structure theorem and the rank invariants used here. The theorem is a classification, so the emphasis is on the two uniqueness statements and on the algorithm that computes the answer from a presentation, not on the existence statement alone.
The Structure Theorem over $\mathbb{Z}$
Statement
Theorem (structure theorem for finitely generated abelian groups). Let $G$ be a finitely generated abelian group. Then
$$ G \;\cong\; \mathbb{Z}^r \oplus \mathbb{Z}/d_1\mathbb{Z} \oplus \cdots \oplus \mathbb{Z}/d_k\mathbb{Z} $$
for integers $r \ge 0$ and $d_1,\dots,d_k \ge 2$ with the divisibility chain
$$ d_1 \mid d_2 \mid \cdots \mid d_k . $$
The integer $r$ and the sequence $d_1,\dots,d_k$ are uniquely determined by $G$; $r$ is the rank of $G$ and $d_1,\dots,d_k$ are its invariant factors. The group is finite if and only if $r=0$.
Proof. A finitely generated abelian group is a finitely generated module over the principal ideal domain $\mathbb{Z}$, so the structure theorem for finitely generated modules over a principal ideal domain applies; that theorem gives the decomposition into a free part and a torsion part and the divisibility chain, with uniqueness. Both the existence and the uniqueness are proved in the companion article on modules over a principal ideal domain.
The Torsion and Free Parts
Definition. The torsion subgroup of $G$ is $G_{\mathrm{tor}}=\{x \in G: nx=0 \text{ for some } n \ge 1\}$, and the free part of $G$ is the quotient $G/G_{\mathrm{tor}}$.
Proposition. For a finitely generated abelian group $G$: (i) $G_{\mathrm{tor}}$ is a finite subgroup; (ii) $G/G_{\mathrm{tor}}$ is a free abelian group of rank $r$; (iii) there is a (non-canonical) splitting $G \cong G_{\mathrm{tor}} \oplus \mathbb{Z}^r$.
Proof. (i) In the decomposition of the theorem, the torsion subgroup is the sum of the cyclic summands $\mathbb{Z}/d_i$, which is finite. (ii) The quotient by the torsion is generated by the images of the free summands and is torsion-free, hence free; its rank is $r$, and the rank is invariant by the invariant basis number property. (iii) The decomposition displays $G$ as the direct sum of its torsion subgroup and a free complement.
The splitting is not natural, since the free complement is not unique; only the torsion subgroup is canonical.
The Relations Matrix and Smith Normal Form
Presentations
Definition. A presentation of a finitely generated abelian group is an isomorphism
$$ G \;\cong\; \mathbb{Z}^m / \operatorname{col}(\mathcal{A}) , $$
where $\mathcal{A}$ is an $m \times n$ integer matrix and $\operatorname{col}(\mathcal{A}) \subseteq \mathbb{Z}^m$ is the subgroup generated by its columns, the relations. The presentation is finite if $\mathcal{A}$ has finitely many entries, which is the case here.
Theorem (Smith normal form). For every integer matrix $\mathcal{A}$ there are invertible integer matrices $P \in \operatorname{GL}_m(\mathbb{Z})$ and $Q \in \operatorname{GL}_n(\mathbb{Z})$ (unimodular, $\det=\pm1$) with
$$ P\mathcal{A}Q=\operatorname{diag}(d_1,\dots,d_s,0,\dots,0), $$
where $s=\operatorname{rank}\mathcal{A}$, the $d_i$ are positive integers with $d_1 \mid d_2 \mid \cdots \mid d_s$, and the $d_i$ are uniquely determined by $\mathcal{A}$. They are the invariant factors of the torsion part, and
$$ \mathbb{Z}^m/\operatorname{col}(\mathcal{A}) \;\cong\; \mathbb{Z}^{m-s} \oplus \mathbb{Z}/d_1\mathbb{Z} \oplus \cdots \oplus \mathbb{Z}/d_s\mathbb{Z} . $$
Proof. The normal form is obtained by elementary row and column operations over $\mathbb{Z}$ (the Euclidean algorithm clears entries successively); the operations are multiplications by unimodular matrices, so they do not change the quotient up to isomorphism, and the displayed quotient is $\mathbb{Z}^{m-s} \oplus \bigoplus_i\mathbb{Z}/d_i$ with the divisibility chain. Uniqueness is the statement that the $d_i$ are the invariant factors of the module.
Worked Computations
Example. Let $G=\mathbb{Z}^2/\operatorname{col}\begin{pmatrix}2&1\\1&3\end{pmatrix}$. The determinant is $2\cdot3-1\cdot1=5$, so the quotient is finite of order $5$ and the invariant factors multiply to $5$; since $5$ is prime and the only possibility is a single factor, the Smith normal form is $\operatorname{diag}(1,5)$ and
$$ G \cong \mathbb{Z}/5\mathbb{Z} . $$
This can be checked by hand: in the quotient, $2a+b=0$ and $a+3b=0$, and eliminating gives $5a=0=5b$ with $a,b$ of the same order, so the group is cyclic of order $5$.
Example. Let $G=\mathbb{Z}^3/\operatorname{col}\begin{pmatrix}2\\4\\6\end{pmatrix}$. The column is twice $(1,2,3)$, whose entries have greatest common divisor $1$, so the Smith normal form of the $3 \times 1$ matrix is $\operatorname{diag}(2,0,0)$ with $s=1$, and
$$ G \cong \mathbb{Z}^2 \oplus \mathbb{Z}/2\mathbb{Z} . $$
The rank is $m-s=2$ and the single torsion factor is $\mathbb{Z}/2$, in agreement with the presentation $\mathbb{Z} \xrightarrow{\ (2,4,6)^{\mathsf{T}}\ } \mathbb{Z}^3 \to G \to 0$ given by the single relation.
Example. For $G=\mathbb{Z}^2/\operatorname{col}\begin{pmatrix}2&0\\0&6\end{pmatrix}$ the matrix is already diagonal with entries $2,6$, whose Smith normal form is $\operatorname{diag}(2,6)$ with $2 \mid 6$, so
$$ G \cong \mathbb{Z}/2\mathbb{Z} \oplus \mathbb{Z}/6\mathbb{Z} , $$
of order $12$; this is the invariant-factor form of $\mathbb{Z}/2 \oplus \mathbb{Z}/6$, and its elementary-divisor form is $\mathbb{Z}/2 \oplus \mathbb{Z}/2 \oplus \mathbb{Z}/3$.
Invariant Factors from the Minors
The Smith normal form is reached by reduction, but the invariant factors can also be read off directly from the minors of the relations matrix, which is the form in which they are computed in practice.
Proposition. Let $\mathcal{A}$ be an $m \times n$ integer matrix of rank $s$ with Smith normal form $\operatorname{diag}(d_1,\dots,d_s,0,\dots,0)$, and for $1 \le k \le s$ let $\Delta_k$ be the greatest common divisor of all $k \times k$ minors of $\mathcal{A}$, with $\Delta_0=1$. Then
$$ d_1d_2\cdots d_k=\Delta_k, \qquad \text{hence} \qquad d_k=\frac{\Delta_k}{\Delta_{k-1}} . $$
In particular $\Delta_1$ is the greatest common divisor of the entries of $\mathcal{A}$ and $\Delta_s$ is the greatest common divisor of the maximal minors; when $m=n$ and $\mathcal{A}$ is invertible this gives $\Delta_n=|\det\mathcal{A}|$, the order of the quotient.
Proof. A unimodular row or column operation replaces $\mathcal{A}$ by $P\mathcal{A}$ or $\mathcal{A}Q$ with $\det P, \det Q=\pm1$; by Cauchy–Binet each $k \times k$ minor of $P\mathcal{A}Q$ is an integer combination of the $k \times k$ minors of $\mathcal{A}$, and the operation is invertible, so $\Delta_k$ is unchanged. For the diagonal matrix $\operatorname{diag}(d_1,\dots,d_s,0,\dots,0)$ with $d_1 \mid \cdots \mid d_s$ the $k \times k$ minors are the products of $k$ distinct diagonal entries; every such product is divisible by $d_1d_2\cdots d_k$, and the product $d_1\cdots d_k$ of the first $k$ entries is itself a minor, so the greatest common divisor is $d_1d_2\cdots d_k$.
Example. For $\mathcal{A}=\begin{pmatrix}2&4\\6&8\end{pmatrix}$ one has $\Delta_1=\gcd(2,4,6,8)=2$ and $\det\mathcal{A}=16-24=-8$, so $\Delta_2=8$, $d_1=2$ and $d_2=\Delta_2/\Delta_1=4$. The normal form is $\operatorname{diag}(2,4)$ and $$ \mathbb{Z}^2/\operatorname{col}\mathcal{A} \;\cong\; \mathbb{Z}/2\mathbb{Z} \oplus \mathbb{Z}/4\mathbb{Z}, $$ of order $8=|\det\mathcal{A}|$. For the first example above, $\Delta_1=\gcd(2,1,1,3)=1$ and $\Delta_2=|\det|=5$, so $d_1=1$ and $d_2=5$, confirming the normal form $\operatorname{diag}(1,5)$.
Invariant Factors and Elementary Divisors
Prime-Power Decomposition
Theorem (elementary divisors). Every finite abelian group is a direct sum of cyclic groups of prime-power order:
$$ G \;\cong\; \bigoplus_{i}\mathbb{Z}/p_i^{e_i}\mathbb{Z}, $$
and the multiset of prime powers $p_i^{e_i}$ is uniquely determined by $G$.
Proof. Apply the structure theorem and then the Chinese remainder theorem $\mathbb{Z}/d \cong \prod_{p^e \| d}\mathbb{Z}/p^e\mathbb{Z}$ to each invariant factor; conversely group the prime powers belonging to each prime. Uniqueness of the invariant factors gives uniqueness of the prime-power multiset and conversely.
Proposition (conversion). The invariant factors are recovered from the elementary divisors by arranging, for each prime $p$, the $p$-powers $p^{e_{p,1}} \le \cdots \le p^{e_{p,t}}$ in nondecreasing order, padding the shorter lists on the left with $1$ so that every list has the same length, and taking the invariant factors to be the products of the $j$-th entries; padding on the left is what makes the resulting sequence satisfy $d_j \mid d_{j+1}$. Conversely the elementary divisors are the prime-power factors of the invariant factors.
Proof. For each prime, the invariant factors $d_1 \mid \cdots \mid d_k$ have $p$-adic valuations $v_p(d_1) \le \cdots \le v_p(d_k)$, and the elementary divisors of $p$-power type are the $p^{v_p(d_j)}$ with $v_p(d_j)>0$. The padding makes the $j$-th entries align, and the product formula follows.
Example. The group $\mathbb{Z}/2 \oplus \mathbb{Z}/4 \oplus \mathbb{Z}/3 \oplus \mathbb{Z}/9$ has elementary divisors $2,4,3,9$. Arranging by prime gives $2$-powers $(2,4)$ and $3$-powers $(3,9)$; multiplying aligned entries gives invariant factors $6,36$, so
$$ \mathbb{Z}/2 \oplus \mathbb{Z}/4 \oplus \mathbb{Z}/3 \oplus \mathbb{Z}/9 \cong \mathbb{Z}/6\mathbb{Z} \oplus \mathbb{Z}/36\mathbb{Z} , $$
which agrees with the Chinese remainder theorem: $\mathbb{Z}/4 \oplus \mathbb{Z}/9 \cong \mathbb{Z}/36$ and $\mathbb{Z}/2 \oplus \mathbb{Z}/3 \cong \mathbb{Z}/6$.
Counting Groups of a Given Order
Corollary. Let $n=\prod_{i=1}^{t}p_i^{a_i}$ be the prime factorisation of $n$. The number of abelian groups of order $n$ up to isomorphism equals $\prod_{i=1}^{t}p(a_i)$, where $p(a)$ is the number of partitions of $a$; the abelian groups of order $p^a$ correspond bijectively to the partitions of $a$.
Proof. By the elementary-divisor form an abelian group of order $p^a$ is a direct sum of cyclic $p$-groups whose orders multiply to $p^a$, that is, a partition $a=e_1+\cdots+e_r$ with $e_j \ge 1$; distinct partitions give distinct groups by uniqueness, and the prime-to-$p$ parts multiply independently.
Example. For $n=12=2^2\cdot3$, the count is $p(2)p(1)=2\cdot1=2$: the abelian groups of order $12$ are $\mathbb{Z}/12$ and $\mathbb{Z}/2 \oplus \mathbb{Z}/6$. For $n=8=2^3$, the count is $p(3)=3$: $\mathbb{Z}/8$, $\mathbb{Z}/4 \oplus \mathbb{Z}/2$ and $\mathbb{Z}/2 \oplus \mathbb{Z}/2 \oplus \mathbb{Z}/2$. For $n=72=2^3\cdot3^2$, the count is $p(3)p(2)=3\cdot2=6$.
Summary
A finitely generated abelian group is isomorphic to $\mathbb{Z}^r \oplus \mathbb{Z}/d_1 \oplus \cdots \oplus \mathbb{Z}/d_k$ with $d_1 \mid \cdots \mid d_k$, and the rank $r$ and the invariant factors $d_i$ are uniquely determined; the torsion subgroup is finite and canonical, the quotient by it is free of rank $r$, and the splitting into torsion and free parts exists but is not canonical. Equivalently, by the Chinese remainder theorem, the finite part is a direct sum of cyclic groups of prime-power order, the elementary divisors, uniquely determined as a multiset.
The classification is computed from a presentation $G \cong \mathbb{Z}^m/\operatorname{col}(\mathcal{A})$ by the Smith normal form of the integer matrix $\mathcal{A}$, which is the diagonal form $\operatorname{diag}(d_1,\dots,d_s,0,\dots,0)$ with $d_1 \mid \cdots \mid d_s$ reached by unimodular row and column operations; then $G \cong \mathbb{Z}^{m-s} \oplus \bigoplus_i\mathbb{Z}/d_i$. The worked computations give $\mathbb{Z}^2/\operatorname{col}\begin{pmatrix}2&1\\1&3\end{pmatrix} \cong \mathbb{Z}/5$, $\mathbb{Z}^3/\operatorname{col}(2,4,6)^{\mathsf{T}} \cong \mathbb{Z}^2 \oplus \mathbb{Z}/2$, and $\mathbb{Z}^2/\operatorname{col}\operatorname{diag}(2,6) \cong \mathbb{Z}/2 \oplus \mathbb{Z}/6$.
The invariant factors and the elementary divisors determine each other: the $p$-power elementary divisors are the prime-power parts of the invariant factors, and the invariant factors are recovered by aligning the $p$-power lists and multiplying. The number of abelian groups of order $n=\prod p_i^{a_i}$ is $\prod_i p(a_i)$, where $p(a)$ is the partition number, so there are two abelian groups of order $12$, three of order $8$ and six of order $72$.
Summary of Notation
| Symbol | Meaning |
|---|---|
| $G$ | a finitely generated abelian group |
| $\mathbb{Z}^r$ | free part of rank $r$ |
| $G_{\mathrm{tor}}$ | torsion subgroup |
| $r$ | rank of $G$ |
| $d_1 \mid \cdots \mid d_k$ | invariant factors |
| $p_i^{e_i}$ | elementary divisors |
| $\mathcal{A}$, $\operatorname{col}(\mathcal{A})$ | relations matrix and its column space |
| $P,Q$, $\operatorname{GL}_m(\mathbb{Z})$ | unimodular matrices, $\det=\pm1$ |
| $\operatorname{diag}(d_1,\dots,d_s,0,\dots,0)$ | Smith normal form |
| $p(a)$ | number of partitions of $a$ |
| $v_p(d)$ | $p$-adic valuation |
Further Reading
- Michael F. Atiyah and Ian G. Macdonald, Introduction to Commutative Algebra (Addison-Wesley, 1969), for the structure theorem as a special case of the theory over a principal ideal domain.
- David S. Dummit and Richard M. Foote, Abstract Algebra (Wiley, 3rd ed. 2004), for the classification and its elementary proofs.
- Nathan Jacobson, Basic Algebra I (Freeman, 2nd ed. 1985), for the theorem over a principal ideal domain.
- Irving Kaplansky, Infinite Abelian Groups (University of Michigan Press, 1954), for the finiteness conditions and their refinements.
- Serge Lang, Algebra (Springer, 3rd ed. 2002), for modules over principal ideal domains and applications.
- Joseph J. Rotman, An Introduction to Homological Algebra (Springer, 2nd ed. 2009), for the Smith normal form in the module-theoretic setting.