GraphMath

Jacobi algorithm

Symmetric eigenvalue computation by repeated plane rotations

Under construction. This chapter is still being developed and may change as additional Jacobi strategies and examples are added.

How can repeated rotations diagonalize a symmetric matrix?

For a real symmetric matrix, the Jacobi algorithm repeatedly applies orthogonal similarity transformations that diagonalize selected 2×2 pivot blocks. The chapter derives the rotation algebraically, shows how it acts inside a larger matrix, explains why previously created zeros can reappear and connects convergence to the decrease of off-diagonal energy.

Key ideas

The Jacobi method attacks the symmetric eigenproblem by repeatedly rotating selected coordinate pairs while preserving similarity and symmetry.

  • A Jacobi step has the form A′ = G A Gᵀ, so A′ is similar to A and has the same eigenvalues
  • For a symmetric 2×2 pivot block, the rotation angle is chosen so the selected off-diagonal pair becomes zero
  • The same 2×2 rotation can be embedded into any pair of coordinates of an n×n matrix
  • A later similarity transformation can fill a previously created zero back in, so Jacobi does not proceed by permanent triangular elimination
  • Each nonzero Jacobi rotation decreases the off-diagonal energy by twice the square of the selected pivot
  • Accumulating the orthogonal transformations recovers the eigenvectors as the matrix approaches diagonal form

The current chapter builds the algebraic and geometric foundation for the larger preprocessing and parallelization questions studied in the companion tridiagonalization chapter.

Why can a zero created by Jacobi reappear later?

A Jacobi rotation changes two rows and the corresponding two columns. A later rotation involving one of those indices mixes entries again, so an earlier zero can be filled back in. Convergence therefore comes from the overall decrease of off-diagonal energy, not from preserving each zero once it is created.

Related chapters

Chapter contents

Was this chapter helpful?

Quick feedback helps us improve the site.