Definition 3.3University Mathematics — Year 3 · Chapter 3 — Modules over a Principal Ideal Domain
M is finitely generated if M=Ax1+⋯+Axn for some xi. M is free of rank n if M≅An, i.e. if it has a basis (a generating family that is A-linearly independent). Every finitely generated M is a quotient of a free module: (a1,…,an)↦∑aixi maps An onto M.
Examples
Example 3.10(A Smith reduction, in full)
Reduce M=147258369 over Z. The corner 1 divides everything: clear its row and column (L2←L2−4L1, L3←L3−7L1, then C2←C2−2C1, C3←C3−3C1):
M∼1000−3−60−6−12.
In the inner block, the corner −3 divides all entries: L3←L3−2L2 and C3←C3−2C2 clear it to diag(−3,0). Adjusting signs (multiply a row by −1, a legal operation):
M∼diag(1,3,0),Z3/MZ3≅Z/3Z×Z.
Cross-check by determinantal divisors: D1=gcd(entries)=1; every 2×2 minor of M is a multiple of 3 (e.g. det(1425)=−3) and one equals −3: D2=3; D3=detM=0. Hence d1=1, d2=3, d3=0: same answer. Two lessons: a zero invariant factor records the rank drop (the cokernel picks up a freeZ summand), and the divisibility chain 1∣3∣0 is the Smith certificate — a diagonal reduction that violates the chain (say diag(2,3), which the careless can produce from (2003) by stopping too early: correct Smith form diag(1,6), as D1=1 here!) is not finished.