Numerically stable evaluation of closed-form expressions for eigenvalues of $3 \times 3$ matrices
Michal Habera, Andreas Zilian

TL;DR
This paper introduces a numerically stable, closed-form method for computing eigenvalues of real 3x3 matrices, improving accuracy and speed over traditional formulas and existing libraries.
Contribution
It develops a stable evaluation approach based on matrix invariants, with proven error bounds and a fast algorithm outperforming LAPACK in speed for challenging cases.
Findings
The new method maintains errors within stability bounds for well-conditioned matrices.
The proposed algorithm is approximately ten times faster than LAPACK.
It achieves comparable accuracy while significantly improving computational efficiency.
Abstract
Trigonometric formulas for eigenvalues of matrices that build on Cardano's and Vi\`ete's work on algebraic solutions of the cubic are numerically unstable for matrices with repeated eigenvalues. This work presents numerically stable, closed-form evaluation of eigenvalues of real, diagonalizable matrices via four invariants: the trace , the deviatoric invariants and , and the discriminant . We analyze the conditioning of these invariants and derive tight forward error bounds. For we propose an algorithm and prove its accuracy. We benchmark all invariants and the resulting eigenvalue formulas, relating observed forward errors to the derived bounds. In particular, we show that, for the special case of matrices with a well-conditioned eigenbasis, the newly proposed algorithms have errors within the forward stability bounds. Performance…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
