Lesson 9 of 15
Eigenvalue Deflation
Eigenvalue Deflation
Power iteration finds only the dominant eigenvalue. Deflation lets you find all eigenvalues one by one.
Idea
After finding , subtract its contribution from :
For symmetric , has the same eigenvectors as but eigenvalue becomes 0. Applying power iteration to now converges to .
Why This Works
If is an eigenvector of with eigenvalue :
(Since eigenvectors of a symmetric matrix are orthogonal: .)
Example
After deflation by , :
Your Task
Implement deflate(A, lam, v) that removes the component from , then use it with power iteration to extract the second eigenvalue.
Python runtime loading...
Loading...
Click "Run" to execute your code.