Lesson 8 of 15
Power Iteration
Power Iteration
Power iteration finds the dominant eigenvalue (largest in magnitude) and its eigenvector by repeated matrix-vector multiplication:
Why It Works
Expand in the eigenbasis: . After multiplications:
The dominant component grows fastest and eventually dominates.
Convergence
The rate is . If the second eigenvalue is small relative to the first, convergence is fast.
Example
Your Task
Implement power_iteration(A, iterations=100) returning (eigenvalue, eigenvector).
Python runtime loading...
Loading...
Click "Run" to execute your code.