4.8.21 · D1Numerical Methods

Foundations — Eigenvalue computation — power method, inverse iteration

1,918 words9 min readBack to topic

Before you can read the parent note, you need to own every symbol it throws at you. We build them one at a time, each on top of the last. Nothing is assumed.


1. A vector — an arrow with a list of numbers

The stacked notation is just a column of numbers. Reading top-to-bottom: first number = horizontal step, second = vertical step.

Figure — Eigenvalue computation — power method, inverse iteration

Why the topic needs it. Every method — power method, inverse iteration — is a story about what happens to an arrow when you feed it to a matrix again and again. No arrow, no story.

Why we care: the parent note normalizes every step (). Dividing an arrow by its own length keeps its direction but resets its length to exactly — otherwise repeated stretching would blow the numbers up to infinity.


2. A matrix — the stretching machine

For a matrix the rule is:

How to read this: the top output number comes from sliding the top row across the arrow and multiplying-then-adding pairs: . Same for the bottom row.

Figure — Eigenvalue computation — power method, inverse iteration

Why the topic needs it. is the object whose eigenvalues we want. Everything reduces to "apply " or "undo ."


3. Eigen-pairs — the arrows a matrix does NOT turn

Most arrows get rotated when you feed them to . But a few special arrows come out pointing the same way, only longer or shorter. Those are the stars of the show.

The Greek letter ("lambda") is just a name for the stretch factor. The equation says: the machine's action on is identical to simply multiplying by the number .

Figure — Eigenvalue computation — power method, inverse iteration

Reading the signs of — all cases:

  • : same direction, longer.
  • : unchanged (fixed arrow).
  • : same direction, shorter.
  • : collapses to the origin (matrix squashes this arrow flat).
  • : flips to the opposite direction, then scaled by .

The bars mean absolute value — the size of the number, ignoring its sign. The parent note ranks eigenvalues by because it cares about how much stretch, not which way it points.

Why the topic needs it. The core promise — "repeated multiplication amplifies the most-stretched direction" — only makes sense once you know which direction stretches most. That is the dominant eigenvector .


4. A basis — writing any arrow as a mix of eigenvectors

So any seed arrow splits into eigen-ingredients: The numbers are the amounts (coefficients) of each eigenvector inside . Think of a smoothie: is the drink, are the fruits, are how much of each you poured in.

Why the topic needs it. The whole power-method derivation lives in this coordinate system. Because acts simply on each (just multiply by ), splitting into eigen-parts makes easy to compute: Each ingredient just gets its own stretch factor raised to the power .


5. The exponent and the ratio

The magic lever is the ratio . Since , this fraction has absolute value less than 1. Any number smaller than 1 in size, raised to a growing power , shrinks toward :

Figure — Eigenvalue computation — power method, inverse iteration
  • ratio fast.
  • ratio shrinks, but slowly (convergence crawls).
  • ratio barely shrinks — the two biggest eigenvalues are nearly tied and the method stalls.

Why the topic needs it. This shrinking is exactly why every non-dominant ingredient dies out, leaving only . The size of this ratio is the convergence speed — see Convergence Rates.


6. The inverse and solving

Here is the identity matrix — 1's down the diagonal, 0's elsewhere — the "do-nothing" machine ().

Key fact the parent uses: if then . Same eigenvector, reciprocal eigenvalue. Undoing a stretch means a shrink — same direction.

The inverse formula (used in the parent's worked example): The number is the determinant — a single number measuring how much the matrix scales area. If the machine flattens area to nothing and cannot be undone ( doesn't exist).


7. The shift

Picture sliding a ruler: if the eigenvalues sit at marks and you shift by , they move to . The one you targeted is now tiny — and after inverting, tiny becomes enormous, so it dominates. That is Rayleigh Quotient Iteration's engine and the parent's "hunt any eigenvalue" trick.


8. The Rayleigh quotient

Two new pieces here: the dot product and the transpose .

So : an arrow dotted with itself gives its length-squared.

Why the topic needs it. It reads the eigenvalue number off whatever arrow you currently hold — the "-meter." See Rayleigh Quotient Iteration.


The prerequisite map

Vector = arrow

Norm = length

Matrix = stretch machine

Eigenpair Av equals lambda v

Basis of eigenvectors

A to the k splits into ingredients

Ratio shrinks to zero

Power Method

Inverse undoes A

Solve not invert via LU

Shift A minus sigma I

Dot product and transpose

Rayleigh quotient reads lambda

Eigenvalue Computation topic

This all feeds the parent: the topic note. Deeper machinery lives in Characteristic Polynomial, Spectral Decomposition, and QR Algorithm.


Equipment checklist

Test yourself — cover the right side.

I can draw as an arrow
Go 3 right, 2 up; arrowhead at point (3,2).
I can compute
.
I can multiply
Row-by-row: top , bottom , giving .
I can state what means in words
scales the arrow by the number without turning it.
I know what ranks by
Absolute size of the stretch, ignoring sign; the dominant one is largest.
I can split a vector into eigen-ingredients
, weights = amount of each eigenvector.
I know why
The ratio has size ; any such number to a growing power shrinks to zero.
I know the eigenvalue of
, same eigenvector.
I know why we solve instead of forming
Inverting is costly and unstable; solving via LU is cheaper and stabler.
I can invert
; inverse .
I know what shift does to eigenvalues
Slides each to , same eigenvectors.
I can compute a dot product
Multiply matching entries and add: .
I can compute the Rayleigh quotient of for that
.
Recall Why is normalizing every step essential?

Without it, the dominant factor makes the arrow's length explode to infinity (or vanish to zero if ). Dividing by keeps the direction — all we care about — while pinning the length at 1.