Let be an matrix over a field . Using the three elementary row and column operations over elements in the field, the matrix with entries from the principal ideal domain (where is the identity matrix) can be put into the diagonal form
where , , ..., are monic nonzero elements of with degrees at least one and satisfying , where means divides , which in turn divides , and so on (Dummit and Foote 1998, pp. 390-391 and 414). This form is known as Smith normal form, and the elements are called the invariant factors of .