Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

 Open In Colab

We’ve seen that linear systems transform a vector into another vector by scaling and skewing it, and that the magnitude of the scale in a particular direction is given by the eigenvalues in that direction.

Largest (dominant) eigenvalue

The Power Method observes that a random vector is scaled along all eigenvectors, but it is scaled the most along the vector with the largest eigenvalue. Therefore, repeated application of AA followed by normalization of the vector will gradually rotate all vectors towards the eigenvector with the dominant eigenvalue!

The algorithm is:

  1. Choose a random vector

  2. Apply AA

  3. Normalize the transformed vector

  4. Repeat until a subsequent vectors are the same (within a tolerance)

Note this involves copious matrix-matrix multiplications, which can be a) computationally intensive, and b) prone to accumulation of roundoff error.

Nonetheless, this algorithm is used extensively for situations where only the largest EV is needed. E.g.: The Google PageRank algorithm determines the dominant Eigenvector of a matrix associted withe the web’s link structure!

Example of the Power Method for finding the dominant eigenvalue - vector

[[0.07024765]
 [0.31961613]]
Dominant eigenvalue: 2.9999999915880085
Eigenvector: [[-0.70708806]
 [ 0.7071255 ]]
Loading...

Smallest eigenvalue

The smallest eigenvalue of AA is simply the largest eigenvalue of A−1A^{-1}, so all we have to do is calculate A−1A^{-1} and apply the algorithm above!

The smallest eigenvalue is of practical importance in a few places:

  • Stability analysis: The sign of the smallest EV determines the stability of systems (consider Von Neumann analysis!)

  • Condition number: The ratio of the largest and smallest EVs is a measure of the condition numeber of the matrix.

  • Optimization: The smallest EV is related to the convexivity of the function.

Intermediate eigenvalues

We can remove an eigenvector from the operator through deflation. The eigenvectors of symmetric matricies are necessarily orthogonal, so we can deflate the operator by:

A′=A−λ1x1x1TA^\prime = A - \lambda_1 x_1 x_1^T

Therefore intermediate vectors can be found through iteratively removing the dominant one. This method is uncommon since roundoff errors are propagated between successive eigenvectors.

Example of deflation and finding the second largest eigenvalue/vector.

The deflated matrix is,
 [[0.50007943 0.49999999]
 [0.49999999 0.49992058]] 

Dominant eigenvalue: 1.000000004205996
Eigenvector: [[0.70716294]
 [0.70705061]]
Loading...