Math 2.0

Numerical analysis Eigenvalue computations Theorem

Jacobi eigenvalue algorithm

Builds on Symmetric matrixOrthogonal matrixSimilar matricesDiagonal matrixFrobenius normEigenvalue

Statement

Let A∈ℝn×nA \in \R^{n \times n}, n≥2n \ge 2, be symmetric, and let off(A)2=∑i≠jaij2\mathrm{off}(A)^2 = \sum_{i \ne j} a_{ij}^2. For indices p<qp < q with apq≠0a_{pq} \ne 0, let J=J(p,q,θ)J = J(p, q, \theta) be the rotation in the (p,q)(p, q) coordinate plane, where θ∈[−π/4,π/4]\theta \in [-\pi/4, \pi/4] solves cot⁡2θ=(aqq−app)/(2apq)\cot 2\theta = (a_{qq} - a_{pp})/(2 a_{pq}). Then A′=JTAJA' = J^T A J is symmetric, has the same eigenvalues as AA, satisfies apq′=0a'_{pq} = 0, and off(A′)2=off(A)2−2apq2.\mathrm{off}(A')^2 = \mathrm{off}(A)^2 - 2 a_{pq}^2. The classical Jacobi method chooses at each step a pair (p,q)(p, q) with ∣apq∣\abs{a_{pq}} maximal among the off-diagonal entries and sets Ak+1=JkTAkJkA_{k+1} = J_k^T A_k J_k, starting from A0=AA_0 = A. Then off(Ak+1)2≤(1−2n(n−1))off(Ak)2,\mathrm{off}(A_{k+1})^2 \le \Bigl( 1 - \frac{2}{n(n-1)} \Bigr) \mathrm{off}(A_k)^2, so AkA_k converges to a diagonal matrix whose diagonal entries are the eigenvalues of AA.

Remarks

The rotation JJ is an orthogonal matrix, so A′A' is similar to AA and the Frobenius norm ∥A′∥F=∥A∥F\norm{A'}_F = \norm{A}_F is unchanged. On the 2×22 \times 2 block in rows and columns p,qp, q, the choice of θ\theta diagonalizes the block. So the sum of squares of that block's diagonal grows by 2apq22 a_{pq}^2. The other entries in rows and columns p,qp, q are only rotated, so their total square sum does not change. If ∣apq∣\abs{a_{pq}} is maximal among the n(n−1)n(n-1) off-diagonal entries, then apq2≥off(A)2/(n(n−1))a_{pq}^2 \ge \mathrm{off}(A)^2 / (n(n-1)), which gives the linear bound. The diagonal entries of AkA_k approach the eigenvalues because each eigenvalue lies within off(Ak)\mathrm{off}(A_k) of some diagonal entry, by Weyl's inequality.

Example: for A=(2112)A = \begin{pmatrix} 2 & 1 \\ 1 & 2 \end{pmatrix}, cot⁡2θ=0\cot 2\theta = 0 gives θ=π/4\theta = \pi/4, and one rotation gives diag(1,3)\mathrm{diag}(1, 3). In practice the local convergence is quadratic once the off-diagonal part is small. The product J0J1⋯JkJ_0 J_1 \cdots J_k of the rotations converges to an orthogonal matrix whose columns are eigenvectors.

Going deeper

For a student

The method dates from Jacobi in 1846 and was revived on early computers. It is slower than the QR algorithm on a serial computer. But it computes small eigenvalues of well-scaled positive definite matrices to high relative accuracy, and it is easy to parallelize. Cyclic variants sweep through all pairs in a fixed order instead of searching for the largest entry, and they also converge. A one-sided version applied to ATAA^T A implicitly computes the singular value decomposition.

Reading path

To understand this page from the ground up, read these 7 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Diagonal matrix concept
  2. Eigenvalue concept
  3. Frobenius norm concept
  4. Orthogonal matrix concept
  5. Similar matrices concept
  6. Symmetric matrix concept
  7. Jacobi eigenvalue algorithm statement

Further reading

  1. Web https://en.wikipedia.org/wiki/Jacobi_eigenvalue_algorithm
About this page
TagK3DP7D4JJC
URIm2://K3DP7D4JJC
Kindstatement, theorem
WritingW0 stub
MSC65F15
StatusThis copy of the site has no build data. Run m2 status K3DP7D4JJC.
AboutEigenvalue algorithm
UsesSymmetric matrix, Orthogonal matrix, Similar matrices, Diagonal matrix, Frobenius norm, Eigenvalue
Same as

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.