Since the output matrix is assumed to be symmetrical, it is orthogonal similar to a diagonal matrix
where the diagonal of contains the eigenvalues of and the associated eigenvectors in columns.
The idea of the Jacobi method is to bring the largest extra-diagonal element in each case to 0 with the help of a Givens rotation , and in this way to approximate more and more of a diagonal matrix . The result is the iteration rule
With
where and are in the -th and -th row and column and represent the largest off-diagonal element of . The components of now result from the following consideration:
The transformation causes the following changes, especially in the intersection elements:
There should be, it follows from
Since the rotation matrices are orthogonal and products of orthogonal matrices are again orthogonal, an orthogonal similarity transformation is described in this way . It can be shown that the sequence of matrices converges to a diagonal matrix. Due to the similarity, this must have the same eigenvalues.
Classic and cyclic Jacobi method
In the classic Jacobi method, the largest element in terms of amount is set to zero in each iteration step. Since the search for this is the main expense of the algorithm, the cyclic Jacobi method applies a Givens rotation to each element of the strict upper triangle in each iteration step.
literature
Kaspar Nipp, Daniel Stoffer: Lineare Algebra: An introduction for engineers with special consideration of numerical aspects . VDF Hochschulverlag AG 2002, ISBN 978-3-7281-2818-8 . Section 10.2 (pp. 222–228) ( restricted online version (Google Books) )
^ Jacobi, On an Easy Method for Numerically Solving the Equations Occurring in the Theory of Secular Disorders, Crelle's Journal, Volume 30, 1846, pp. 51-94