What are an eigenvector and an eigenvalue of a square matrix intuitively, why are they useful, and how do you check that is an eigenvector of and find its eigenvalue?
Linear algebra and optimisation, Eigenvalues and eigenvectors
Level L1 Beginner. Length Short. Nature Th+Mat Both.
What's being asked
Whether you have the geometric picture of eigenvectors and eigenvalues before computing them or using them in principal component analysis (PCA) and Hessians.
Key idea
Multiplying most vectors by a square matrix both rotates and stretches them, like twisting a rubber sheet. An eigenvector is a special non-zero vector whose direction stays on the exact same line: , where the scalar is its eigenvalue (the stretch factor, or a flip if ).
Steps
- Give the geometric picture: picture arrows drawn on a stretching sheet. Almost every arrow turns off its line, except the eigenvectors, which only grow, shrink or flip backward along their original line.
- Explain why this helps in machine learning (ML): along an eigenvector, multiplying by reduces to simple scalar multiplication by , so applying ten times just multiplies by . That tells us which directions grow, shrink, or carry the most spread in PCA (principal component analysis, a method for finding the main directions in a dataset).
- Verify for : compute .
- Read off the eigenvalue: since , is an eigenvector of with eigenvalue .
Common mistakes
- Allowing the zero vector as an eigenvector; holds for every , so eigenvectors must be non-zero by definition.
- Thinking an eigenvector is unique: any non-zero multiple (such as ) points along the same line and is also an eigenvector with the same eigenvalue.
- Confusing a flip () with a change of line: flipping a vector backward keeps it on the same line, so negative eigenvalues are valid.
How long your answer should be
1–2 minutes: the stretching-sheet picture, why it helps, and one matrix–vector multiplication.
Read this
Previous in Linear algebra and optimisation: What is constrained optimisation in plain words, and why does a constraint change where the best answer is? Use a farmer who has 20 m of fencing and wants the biggest rectangular field?
Next in Linear algebra and optimisation: What do span, linear independence and rank tell you about the columns of a feature matrix ?