eigenvalueseigenvectors
An eigenvalue-eigenvector pair of a square matrix A is a scalar λ and a nonzero vector v satisfying Av = λv. Equivalently, λ is an eigenvalue of A if there exists a nontrivial solution to (A − λI)v = 0. The eigenvalues are roots of the characteristic polynomial det(A − λI) = 0, and the corresponding eigenvectors lie in the null space of A − λI.
Eigenvectors corresponding to distinct eigenvalues are linearly independent, and the eigenvectors for a given eigenvalue span
A matrix A is diagonalizable over a field if it has a full set of linearly independent
To compute them, solve det(A − λI) = 0 for the eigenvalues, then solve (A − λI)v = 0 for
Example: for A = [[2,1],[1,2]], the eigenvalues are 3 and 1 with eigenvectors proportional to (1,1) and