I am working on a problem which involves calculating the spectrum of a family of 2970x2970 Hermitian matrices. I have done similar things with Mathematica in the past, but this time there is an odd, seeming inconsistency in the data reported by Eigensystem. Looking at the eigenvalues of a representative example of these matrices, 2949 of them are nonzero. However, I have found that many of the eigenvectors are equivalent to the null vector - 2957 of them, in fact.
The null vector cannot have a nonzero eigenvalue, so these facts seem inconsistent. Is anyone familiar with some aspect of how Eigensystem reports data which might account for this discrepancy? Note that I have checked the Hermiticity of the matrices of interest explicitly, so this does not seem like an issue with the matrices whose spectra I am computing.
Edit: It has been requested that I make an example matrix available. You can get it as a txt file here through google drive. I encourage you to check that the matrix is Hermitian, and upon diagonalization I consistently find that it has many more nonzero eigenvalues than non-null eigenvectors. If another answer is found, please let me know. Also note that the matrix is sparse.
Eigensystem[]thinks your matrix is defective. However, a Hermitian matrix is never supposed to be defective, so something has gone terribly wrong. To be able to say anything further, we'd need to see the matrix in question. Can you perhaps find a smaller example exhibiting the same problem? – J. M.'s missing motivation Aug 25 '20 at 14:51I am using Mathematica 12.0, student edition.
– miggle Aug 25 '20 at 16:24