Eigenvalues of a tridiagonal matrix

  • Context: Graduate 
  • Thread starter Thread starter Hassan2
  • Start date Start date
  • Tags Tags
    Eigenvalues Matrix
Click For Summary
SUMMARY

The discussion focuses on the efficiency of algorithms for finding eigenvalues of tridiagonal matrices compared to general matrices. It is established that algorithms specifically designed for tridiagonal matrices can significantly reduce computational time and storage requirements due to their sparse nature, which retains only 3n-2 entries. The QR eigenvalue algorithm, while initially thought to disrupt tridiagonality, actually preserves it, making it applicable for tridiagonal matrices. This highlights the importance of using specialized algorithms to leverage the structural advantages of tridiagonal matrices.

PREREQUISITES
  • Understanding of eigenvalue problems in linear algebra
  • Familiarity with tridiagonal matrix structures
  • Knowledge of numerical algorithms, specifically the QR algorithm
  • Basic programming skills for implementing matrix algorithms
NEXT STEPS
  • Research specialized algorithms for tridiagonal matrices, such as the Thomas algorithm
  • Explore the implementation of the QR eigenvalue algorithm for tridiagonal matrices
  • Study the numerical stability of algorithms applied to sparse matrices
  • Learn about other matrix factorization techniques that maintain sparsity
USEFUL FOR

Mathematicians, data scientists, and software engineers working with numerical linear algebra, particularly those focused on optimizing eigenvalue computations for sparse matrices.

Hassan2
Messages
422
Reaction score
5
Some algorithms of finding the eigenvalues of symmetric matrices first transform the matrix to a tridiagonal matrix which is similar to the original matrix and then find the eigenvalues of the tridiagonal matrix. . Are there special algorithms for a tridiagonal matrix, or do the same algorithms for general matrixes converge faster for a tridiagonal one?

Your help would be appreciated.
 
Physics news on Phys.org
A general n by n matrix has [itex]n^2[/itex] entries. An n by n "tri-diagonal" matrix has only 3n- 2 entries (not counting the ones that you know are 0 and don't have to keep track of). There are numerical algorithms for working with tri-diagonal matrices that do NOT "fill in the zeros" so, yes, there is an enormous saving in both time and storage working with tri-diagonal matrices.
 
Thanks HalsofIvy,

Do you know any of such algorithms?
The general algorithms that I know, like QR eigenvalue algorithm ,ruin the sparsity of the matrix in the very first iteration. Or maybe I misunderstood it.

Added: There was a mistake in my code. The QR transformation does preserve the tridiagonality.

Thanks again.
 
Last edited:

Similar threads

  • · Replies 33 ·
2
Replies
33
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
13
Views
6K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 8 ·
Replies
8
Views
7K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K