Worked examples — Eigenvalue computation — power method, inverse iteration
Every symbol here was earned in the parent: is our matrix, an eigenpair satisfies , is ordinary vector length , and the Rayleigh quotient is the current best eigenvalue guess. We reuse only those.
The scenario matrix
Every cell below is a distinct way the iteration behaves. The last column says which example covers it.
| # | Scenario class | What makes it tricky | Example |
|---|---|---|---|
| C1 | Two positive eigenvalues, clear gap | baseline power method | Ex 1 |
| C2 | Dominant eigenvalue negative | flips sign every step | Ex 2 |
| C3 | Equal magnitude, opposite sign () | power method never settles | Ex 3 |
| C4 | Bad seed () | amplification has nothing to grab | Ex 4 |
| C5 | Smallest eigenvalue wanted | inverse iteration, LU not | Ex 5 |
| C6 | Interior / any eigenvalue | shifted inverse iteration | Ex 6 |
| C7 | Degenerate shift ( exactly) | singular | Ex 7 |
| C8 | Complex conjugate pair | real power method oscillates, no limit | Ex 8 |
| C9 | Real-world word problem | translate a story into an eigenproblem | Ex 9 |
| C10 | Exam twist: rate prediction | predict convergence before iterating | Ex 10 |
| C11 | Defective / repeated eigenvalue | fewer eigenvectors than | Ex 11 |
Ex 1 — C1 · Baseline power method (positive gap)
The true eigenvalues solve the Characteristic Polynomial , so . We aim for .
Index convention: is the vector after steps ( is the seed), and is the Rayleigh quotient built from that same .
- . Why this step? One multiply is the whole engine — pulls the vector toward its strongest stretch. , so .
- Rayleigh from the seed: . Why? uses , so it is our crude starting estimate — the least-squares eigenvalue for that vector.
- , normalize by : . Now . Why? uses , which already leans strongly toward , so the estimate jumps almost all the way to .
- Next step: (to three places), and keeps drifting toward . Why the indexing: each pairs with its own , so we report in order.
Verify: True for : , so normalized. Our is drifting toward . ✓ And . ✓
Ex 2 — C2 · Dominant eigenvalue negative
Rounding rule for this page: all decimals are rounded to three places, rounding half up.
- , , . Why? Standard iterate. Notice the first component went negative.
- , , . Why note the sign? Multiplying by flips the sign every step — alternates along .
- Rayleigh reads the signed value: . Why the quotient still works: carries the sign, so a negative dominant eigenvalue is reported correctly even while the vector flips.
Verify: , . and . ✓
Ex 3 — C3 · Equal magnitude, opposite sign
- . Why watch this? The strict-gap assumption is broken, so the "landslide" argument dies.
- . Why it matters: we're back where we started — the vector oscillates forever between and , never settling on an eigenvector.
- every step (off-diagonal , axis vectors). Why ? Neither axis vector is an eigenvector; the two components never separate because their magnitudes tie.
The figure below plots exactly these iterates. Look at it: the coloured arrows land only on the two dashed axes — they hop between (lavender/butter) and (coral/mint) and never rotate toward the true eigenvector lines (the two grey dashed diagonals and ). That visual "trapped on the axes" is why the estimate stalls: the seed sits exactly halfway between the two eigenvectors, so neither can pull it in.

Verify: True eigenvectors are and . Our seed has equal weight on and , so they never separate. ✓
Ex 4 — C4 · Bad seed ()
- , . Why? With there is no piece to multiply by , so the first component stays exactly forever.
- forever. Why: in exact arithmetic the iteration is trapped on , reporting the subdominant , not .
- The rescue: perturb the seed, with tiny . Now the decomposition has ; each step multiplies that weight by against the other's — a relative factor per step — so it grows and eventually dominates.
Verify: With exact , (wrong). With , after enough steps . ✓
Ex 5 — C5 · Smallest eigenvalue via inverse iteration
- Solve , i.e. . Why solve, not invert? The parent's rule: solve, don't invert — LU-factor (see LU Decomposition) once, then each step is cheap substitution. , so .
- Normalize: , . Why? Keeps the vector from blowing up as the small- direction gets amplified.
- Rayleigh on the original : . Why not ? We want 's eigenvalue, and the eigenvectors are shared. roughly; .
- One more solve pushes .
Verify: for : , normalized. Our is already leaning that way; . ✓ (Compare the Rayleigh Quotient Iteration which updates each step for cubic speed.)
Ex 6 — C6 · Any interior eigenvalue via shift
- Form . Why shift? Its inverse has eigenvalues . The middle direction now has the huge value — it dominates.
- Solve : component-wise . Why one solve suffices: the component was multiplied by , dwarfing the others in a single step.
- Normalize (): — essentially , the middle eigenvector. Why normalize? The huge factor blew up; dividing by rescales it back to unit length so the next step (and the Rayleigh quotient) stay numerically sane.
- Rayleigh on : . Why so close? One step, because the shift sits right next to .
Verify: , . and . ✓
Ex 7 — C7 · Degenerate shift ( exactly)
First, recall the convergence-rate formula and name its indices. In shifted inverse iteration the error shrinks per step by where is the target eigenvalue (the one closest to , whose eigenvector we want) and is the second-closest eigenvalue to (the slowest-decaying leftover). This is just the power-method rate from the parent, applied to the transformed matrix whose eigenvalues are : the biggest is , the next biggest is , and their ratio is the boxed expression.
- . Why singular? The middle diagonal entry is (that is ), so — no inverse, the linear solve has no unique answer.
- The rate says "converge in zero steps". Why compute the rate here? It quantifies the "secretly good news": a rate of means the method wants to hand over the answer instantly — the singularity is the ideal limit, not a failure — but the exact-zero denominator entry makes the system unsolvable as written.
- The practical fix: back off to . Why it works: now is invertible but nearly singular, the middle direction is amplified by , and — remarkably — the near-singularity is harmless: the error vector aligns with , exactly what we want.
Verify: (singular), while . ✓
Ex 8 — C8 · Complex conjugate pair
- , . Why? rotates ; the seed just turns.
- , . Then , . Why it cycles: a rotation has no real eigenvector, so there's no real direction for power method to lock onto — the vector loops with period 4.
- always (rotation sends ). Why : is the dot product of a vector with its turn — always zero.
The figure shows this spin. Look at it: the four coloured arrows sit on the unit circle a quarter-turn apart, and the annotation "+90 deg each step" traces the rotation; after four hops you are back at . There is no arrow drifting toward a fixed line — visual proof that no real eigenvector exists to converge to.

Verify: Eigenvalues of are , both , no real gap. so . ✓
Ex 9 — C9 · Word problem (PageRank-style)
- . Columns sum to , so multiplying redistributes importance. . Why is the right operator: a page's importance = sum of importances flowing in along links, which is exactly a matrix–vector product.
- Normalize with ; already sums to . Iterate: ; .
- Watch the vector settle toward the eigenvector, and read off . Why is guaranteed: column sums means (the all-ones row-vector is a left eigenvector for eigenvalue ), forcing an eigenvalue ; the Perron–Frobenius theorem makes it the dominant one. So power method converges here, and the limiting Rayleigh quotient equals .
- Fixed point: solve directly. From row 1, ; from row 2, ; from row 3, ✓. So up to scale → normalize with (sum ) to .
Conclusion: the steady importances are — pages 1 and 3 tie for most important, page 2 is least. Our forecast (page 3 on top) was almost right: it ties for the lead.
Verify: . ✓ Eigenvalue , importances sum to . ✓
Ex 10 — C10 · Exam twist: predict the rate before iterating
- Power method error factor per step . Why this ratio: the parent showed the surviving decay term is . Need .
- Solve: steps. Why the log: raising to a power to hit a target is inverted by . (See Convergence Rates.)
- Shift-invert rate: eigenvalues of have sizes . Using the Ex 7 formula with target and second-closest : distances and , so rate .
- Need : steps.
Verify: ✓; (just above) so is correct. ✓, (too big) so is correct. 66 vs 4 — a speedup from a good shift. ✓
Ex 11 — C11 · Defective / repeated eigenvalue
- Eigen-check: has a one-dimensional nullspace . Why "defective": algebraic multiplicity but geometric multiplicity — one eigenvector short, so is not diagonalizable and Spectral Decomposition does not apply; you use a Jordan form instead.
- , . , . Why the drift? Each multiply feeds a bit of in through the off-diagonal ; the first component grows.
- , — creeping toward , but slowly. Why slow: with equal eigenvalues there is no ratio to drive fast decay; convergence is only algebraic (like ), not geometric. See Convergence Rates.
- Rayleigh: . It overshoots then settles to as .
Verify: has the single eigenvalue (multiplicity ), one eigenvector ; and . ✓
Recall Scenario checklist (self-test)
Match each symptom to its fix. Vector flips sign every step ::: Dominant eigenvalue is negative — read the signed Rayleigh quotient (Ex 2). Vector cycles, never settles, real matrix ::: Either a tie (shift to break it, Ex 3) or a complex pair (use QR, Ex 8). Estimate stuck on the wrong (smaller) eigenvalue ::: Bad seed with ; perturb (Ex 4). Want the smallest eigenvalue ::: Inverse iteration — LU-solve, don't invert (Ex 5). Want an interior eigenvalue ::: Shift near it, then inverse iterate (Ex 6). Linear solve says "singular" ::: hit an eigenvalue exactly; nudge by (Ex 7). Convergence painfully slow, single eigenvalue ::: Defective/repeated eigenvalue — only algebraic decay; use QR (Ex 11).