Smith normal form

from Wikipedia, the free encyclopedia

In mathematics , the Smith normal form is a normal form that is defined for any matrices with entries from a main ideal ring . The Smith normal form of a matrix is ​​a diagonal matrix , which is obtained from the output matrix by multiplying left and right by a regular square matrix each. The entries of this diagonal matrix are called elementary divisors or invariant factors of the output matrix . The Smith normal form is named after the English mathematician Henry John Stephen Smith .

definition

If there is a matrix over a main ideal ring that is not equal to the zero matrix , then a regular matrix and a regular matrix exist such that

applies. For the main diagonal elements is intended to for apply. This representation is called Smith's normal form of the matrix . The entries are clearly defined except for multiplication by a unit and are called elementary divisors or invariant factors of the matrix. The elementary divisors are through (except for multiplication by a unit)

given, where the greatest common divisor of all - is the minor of the matrix .

algorithm

The hard part in finding Smith's Normal Form is finding two matrices and so that the product is a diagonal matrix. For this purpose, the matrix is successively brought to a diagonal shape, with elementary row or column reshaping being carried out in each step . At the same time, the matrices and starting from standard matrices of the appropriate size are successively reshaped. In this case, at a line forming the matrix is the matrix from the right, and in a column forming multiplied from the left with a corresponding elementary matrix. The relationship then applies to the matrices modified in one step

.

Only invertible row and column operations are carried out, so that and remain regular. The Smith normal form is then finally determined on the basis of the diagonal shape of . In order to bring a matrix into Smith-normal form, the following steps are carried out specifically.

Step 1: choosing the pivot

Let be the smallest column index of those columns of that have at least one entry not equal to zero, whereby the search is started for at . Now it is required that for the diagonal element

applies. If this is not the case, there is an element according to the prerequisite . Now the two lines and are swapped by multiplication with a permutation matrix , so that an element not equal to zero appears on the diagonal of the current column. This element is then called the pivot element .

Step 2: improving the pivot

If there is now an entry with , then be

.

The greatest common divisor of two elements of a main ideal ring can be represented by the lemma of Bézout . Elements then exist such that

applies. Using a line conversion, the -fold of the line is now added to the -fold of the line . Satisfy and the above equation, then applies to and (these divisions are possible due to the definition of )

.

The matrix

is thus regular with the inverse

.

By inserting the entries of the matrix into the rows and columns and an identity matrix, the elementary matrix is ​​obtained . The product then has the entry at the point (and, due to the choice of and at the point, the entry zero, which is practical, but not essential for the algorithm). This new entry shares the previous entry . This step is repeated until there is no improvement. Denotes the number of prime factors of an element , then applies after each step

,

therefore the process terminates after a finite number of steps. The result is a matrix with one entry at the point that divides all entries in the column .

Step 3: elimination of entries

By adding the corresponding multiples of the row , all entries in the column outside the diagonal are now set to zero. This can also be achieved by left-hand multiplication with corresponding elementary matrices. However, in order to bring the matrix to a full diagonal shape, the entries not equal to zero in the row must also be eliminated. This can be achieved by repeating step 2 for the columns of the matrix in combination with right multiplications. However, this can mean that zero entries that were generated in a previous application of step 3 become non-zero again.

The ideals that are formed by the elements at the position , however, generate an ascending chain , since the entries from a later step always share the entries from an earlier step. After there is noetherian , the ideals become stationary after a certain step and no longer change. This means that finally the entry at the point after applying step 2 divides all entries not equal to zero in the same column and row. These entries can then be eliminated, with the zero entries already generated being retained. Now only the block has to be diagonalized from the right below . The algorithm is continued with this sub-matrix in step 1.

Step 4: normalization

The repeated application of the steps 1 to 3 will eventually lead to a matrix in which only the entries for with are not zero. The zero columns of this matrix are now shifted to the right so that the entries not equal to zero are exactly at the positions for . These entries are now denoted by.

However, the divisibility requirement of the Smith normal form for the diagonal elements may not yet be met. If this applies to an index , then this can be remedied by means of row and column transformations as follows. First, the column is added to the column so that an entry is created in the column without changing the position of the diagonal entry . Now, as in step 2, with a line transformation, the entry at the point becomes the same

set. Finally, as in step 3, the matrix is ​​diagonalized again. Since the new entry is a linear combination of the original entries and , it must be divisible by . This operation does not change the value (it corresponds to that of the determinant of the upper sub-matrix), but decreases the value of

,

by shifting the prime factors to the right. Therefore, after a finite number of applications, no further operations are possible, which means that the desired result has been achieved. Since all of the row and column transformations in this process are invertible, invertible matrices must exist such that they yield Smith's normal form. In particular, this means that Smith's normal form always exists, which was assumed in the definition without evidence.

example

As an example, the Smith-Normal form of the matrix

calculated. The following matrices are the intermediate steps of the Smith algorithm applied to this matrix:

The last matrix then represents the Smith normal form of . The invariant factors of are thus , and .

use

Smith's normal form is useful for computing the homology of a chain complex when its modules are finitely generated. In the topology , the Smith normal form can be used, for example, to calculate the homology of a simplicial complex or a cell complex over the whole numbers, since the boundary operators of such complexes are represented by integer matrices. It can also be used to prove the structure theorem for finitely generated modules over a main ideal ring .

Smith's Normal Form can also be used to determine whether two matrices over the same body are similar to each other . Two matrices and are in fact similar to one another if and only if their characteristic matrices and have the same Smith normal form. For example, the following applies to the following matrices:

Therefore, and are similar to each other because the Smith-Normal forms of their characteristic matrices are the same, but they are not similar to because the characteristic matrices are different.

See also

literature

Web links