Smith normal form theorem

A matrix over a PID can be diagonalized with divisibility conditions on the diagonal.
Smith normal form theorem

Smith normal form theorem: Let RR be a and let AA be an m×nm\times n matrix with entries in RR. Then there exist invertible matrices UGLm(R)U\in \mathrm{GL}_m(R) and VGLn(R)V\in \mathrm{GL}_n(R) such that

UAV=diag(d1,,dr,0,,0), UAV=\mathrm{diag}(d_1,\dots,d_r,0,\dots,0),

where di0d_i\neq 0 for 1ir1\le i\le r and d1d2drd_1\mid d_2\mid \cdots \mid d_r. The did_i are determined uniquely up to multiplication by units; they are the Smith invariants (see ).

Interpreting AA as the matrix of a homomorphism between free modules (compare ), Smith normal form yields the invariant factor decomposition in the by identifying the cokernel as a direct sum of cyclic modules R/(di)R/(d_i).

Proof sketch: Use elementary row/column operations corresponding to multiplication by invertible matrices to perform a Euclidean-algorithm-style reduction on entries, producing a diagonal form with each diagonal entry dividing the next. The PID property ensures principal generators for ideals arising during the reduction.