I'm comparing the eigenvalues computed by np.eig(np.dot(A.T, A))**2 and np.eig(A). I found some values are the same but some are not. Can anybody tell me why would this happen?
Asked
Active
Viewed 113 times
-1
-
1Post a minimal, complete, verifiable example: https://stackoverflow.com/help/mcve – Ahmed Fasih Sep 16 '17 at 10:57
1 Answers
0
There is no mathematical reason to expect that the eigenvalues of A should be equal to the squares of the eigenvalues of (A.T * A). For example, the eigenvalues of A might be complex, whereas the eigenvalues of A.T * A are guaranteed to be real because A.T * A is a symmetric matrix.

littleO
- 942
- 1
- 11
- 26