Directions a matrix leaves alone
A square matrix moves most vectors both in length and in direction. A few special directions are only stretched: with . Then is an eigenvector and the stretch factor is its eigenvalue. If the vector doubles, if it flips, if it collapses to zero. Everything a matrix does to its eigenvectors is therefore one number.
To find the eigenvalues, note that has a non-zero solution only when is singular, so . For a matrix this is . Then for each root solve for the direction. Two facts give quick checks: the eigenvalues add up to the trace and multiply to the determinant. A matrix is singular exactly when one eigenvalue is zero, and has eigenvalues with the same eigenvectors.
- Eigenpair: with ; an eigenvector's direction is unchanged, its length is scaled by .
- Characteristic equation: ; for , .
- Checks: eigenvalues sum to the trace and multiply to the determinant; has eigenvalues .
The eigenvectors of a covariance matrix are the independent directions of risk in a portfolio of assets, and the eigenvalues are the variances along them. A large eigenvalue is a bet that many assets move together, a tiny one is a combination of assets that is almost riskless on paper. The rest of this skill builds on that picture: how to find the eigenpairs of a big matrix, why they are real for covariance matrices, and what goes wrong when they are estimated from too little data.
Lab · what's graded
7 tasks · 100 pts- What an eigenpair is15 pts
- The larger eigenvalue20 pts
- Determinant from eigenvalues10 pts
- The characteristic equation15 pts
- Squaring a matrix15 pts
- The method in order10 pts
- Why finance cares15 pts