Python, Linear Algebra, Numerical Analysis.
to get the eigenvalues and eigenvectors, from Ax=λx, we can get the following form: Where I is the identity matrix with the same dimensions as A. If matrix A−λI has an inverse, then multiply both sides with (A−λI)^-1 , we get a trivial solution x=0. Therefore, when A−λI is singular (no inverse