WIPIVERSE All articles

Divide-and-conquer eigenvalue algorithm

Overview
The divide‑and‑conquer eigenvalue algorithm is a numerical method for computing the eigenvalues—and optionally the eigenvectors—of symmetric (real) or Hermitian (complex) matrices. The technique reduces the original problem to a set of smaller subproblems, solves each subproblem independently, and then combines the results. It is especially efficient for dense matrices that have first been reduced to symmetric/Hermitian tridiagonal form.

Historical development

  • Cuppen’s method (1981) – The modern divide‑and‑conquer approach for symmetric tridiagonal matrices was introduced by J. K. Cuppen. His algorithm partitions a tridiagonal matrix into two smaller tridiagonal blocks connected by a rank‑one update, solves the eigenproblems of the blocks, and then merges the solutions using a secular equation.
  • Extension to dense matrices – For a general dense symmetric/Hermitian matrix, the algorithm is applied after a preliminary orthogonal similarity transformation that reduces the matrix to tridiagonal form (e.g., using the QR algorithm or Householder reflections).
  • Integration into libraries – The method was incorporated into the LAPACK library in the 1990s (routines DSTEDC, ZSTEDC, DSTEDC2, etc.), providing a robust, high‑performance implementation for both single‑processor and distributed‑memory environments. Subsequent libraries such as ScaLAPACK, MAGMA, and Intel MKL have adopted or optimized the same algorithmic framework.

Algorithmic description

  1. Reduction to tridiagonal form

    • Apply orthogonal (or unitary) similarity transformations $Q^{T}AQ = T$, where $T$ is symmetric/Hermitian tridiagonal. This step costs $O(n^{3})$ operations for an $n \times n$ dense matrix.
  2. Recursive partitioning

    • Split the tridiagonal matrix $T$ at index $k$ into two blocks:
      $$ T = \begin{bmatrix} T_{1} & \beta e_{k} \ \beta e_{k}^{T} & T_{2} \end{bmatrix}, $$ where $T_{1}$ and $T_{2}$ are smaller tridiagonal matrices and $\beta$ is the off‑diagonal element linking them.
  3. Solve subproblems

    • Recursively compute the eigenpairs $(\Lambda_{1}, Q_{1})$ of $T_{1}$ and $(\Lambda_{2}, Q_{2})$ of $T_{2}$.
  4. Merge via secular equation

    • Form the merged eigenproblem as a rank‑one modification of the block‑diagonal matrix $\operatorname{diag}(\Lambda_{1},\Lambda_{2})$.
    • Solve the secular equation
      $$ 1 + \beta^{2}\sum_{i=1}^{n}\frac{z_{i}^{2}}{\lambda - \lambda_{i}} = 0, $$ where $z = Q^{T}e_{k}$ and $\lambda_{i}$ are the eigenvalues of the subproblems. This yields the eigenvalues of the original matrix.
  5. Eigenvector construction (optional)

    • Once the eigenvalues are known, the corresponding eigenvectors are obtained by back‑transforming using the eigenvectors of the subproblems and the rank‑one update coefficients.

Computational complexity

Quantity Complexity (asymptotic)
Eigenvalues only (full spectrum) $O(n^{2})$
Eigenvalues + all eigenvectors $O(n^{2})$ (dominant)
Reduction to tridiagonal (dense) $O(n^{3})$
Parallel / distributed variant Scales roughly as $O(\frac{n^{2}}{p})$ for $p$ processors, limited by communication overhead in the merge step

When only a subset of eigenvalues is required, alternative methods such as the Lanczos or QR algorithms may be more efficient; the divide‑and‑conquer approach shines when the full spectrum (including eigenvectors) is needed.

Advantages

  • Speed for dense problems – For computing all eigenvectors of a symmetric/Hermitian matrix, the divide‑and‑conquer method often outperforms classical QL/QR or bisection‑inverse iteration techniques.
  • Numerical stability – The algorithm relies on orthogonal transformations and well‑conditioned secular equation solves, providing backward‑stable results comparable to other established methods.
  • Parallelism – The recursive nature enables natural task parallelism; independent subproblems can be solved concurrently, making the method suitable for multicore CPUs and GPU accelerators.

Limitations

  • Memory consumption – Storing intermediate subproblem data and transformation matrices can require $O(n^{2})$ memory, which may be prohibitive for very large matrices.
  • Sensitivity to rounding errors – While generally stable, solving the secular equation for extremely close eigenvalues can encounter loss of orthogonality; refined implementations employ careful scaling and iterative refinement.
  • Applicability – The algorithm is designed for symmetric/Hermitian matrices; nonsymmetric eigenvalue problems require different strategies (e.g., QR algorithm with Hessenberg reduction).

Software implementations

Library / Package Key routine(s) Notes
LAPACK DSTEDC (real), ZSTEDC (complex) Standard reference implementation; supports eigenvectors and optional sorting.
ScaLAPACK PDSTEDC, PZSTEDC Distributed-memory version of LAPACK’s routine.
Intel MKL ?stedc (same as LAPACK) Optimized for Intel architectures, includes multi‑threaded execution.
MAGMA magma_dstedc, magma_zstedc GPU‑accelerated variant that offloads compute‑intensive portions to CUDA cores.
MATLAB (eig) Internally selects divide‑and‑conquer for symmetric matrices when the 'vector' option is used.

Typical applications

  • Quantum chemistry and physics – Diagonalization of Hamiltonians in electronic structure calculations.
  • Structural engineering – Modal analysis where complete eigen‑mode sets are required.
  • Data analysis – Principal component analysis (PCA) of large covariance matrices when the full eigen‑decomposition is needed.
  • Control theory – Solving Lyapunov or Riccati equations that involve eigenvectors of symmetric matrices.

References (selected)

  1. J. K. Cuppen, “A Divide and Conquer Method for the Symmetric Eigenproblem,” Linear Algebra and its Applications, vol. 34, pp. 75‑84, 1981.
  2. E. S. Kelley, Iterative Methods for Linear and Nonlinear Equations, SIAM, 1995 – discussion of secular equation solving.
  3. J. J. Dongarra, et al., “LAPACK Users’ Guide,” 3rd ed., SIAM, 1999 – includes documentation of ?stedc routines.
  4. J. Demmel, “Applied Numerical Linear Algebra,” SIAM, 1997 – overview of divide‑and‑conquer eigenvalue methods.

Summary
The divide‑and‑conquer eigenvalue algorithm is a well‑established, high‑performance technique for computing the full eigenvalue decomposition of symmetric or Hermitian matrices. By recursively partitioning a tridiagonal matrix and solving a low‑rank secular problem, it achieves $O(n^{2})$ computational cost and lends itself to parallel execution, making it a standard component of modern scientific computing libraries.

Browse

More topics to explore

    Browse all articles