Eigenvalues
Eigenvalues, eigenvectors & eigenspaces
Eigenvector x corresponding to eigenvalue λ of an n×n matrix A:
Ax=λx
The eigenvalues of a triangular matrix are the entries on its main diagonal
λ is an eigenvalue of an n×n matrix A if and only if the equation (A−λI)x=0 has a nontrivial solution / detA−λI=0 / the matrix is linearly dependent.
The set of all solutions of A−λI is called the eigenspace
Note: eigenvalues & eigenvectors can be complex.
Diagonalization #
Rewrite A as PDP−1
PDP−1 where D is the diagonal matrix
- Compute eigenvalues
- Compute eigenvectors
- Create D by filling in the eigenvalues over the diagonal
- P has the eigenvectors of the corresponding eigenvalues in the same order
- Compute P−1
Diagonal matrices can be used to compute matrix powers faster since:
AK=PDkP−1
Since D is a diagonal matrix, computing its power is easy.