Foundations to Frontier
Tests
A. Mathematical Foundations › A2 Linear Algebra › Advanced linear algebra

Perturbation Theory for Eigenvalues (Weyl, Davis–Kahan)

Real matrices come from noisy data. How far can eigenvalues and eigenvectors move when the matrix is slightly wrong? Symmetric eigenvalues are rock-solid (Weyl), eigenvectors depend on the gap (Davis–Kahan), and non-symmetric matrices can be treacherous.

Level 0: Foundation

★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.

A slightly wrong guitar

Stick a tiny piece of tape on a guitar string, and each note shifts only a tiny bit. Notes behave like the eigenvalues of the string: small changes cause small shifts.

The shapes of the vibrations (the eigenvectors) are different. If two notes are almost the same pitch, even a tiny change can mix their shapes completely. The closer two eigenvalues are, the shakier their eigenvectors.

Perturbing a symmetric matrix: eigenvalues are calm, eigenvectors are not
0.511.522.5blue bands = Weyl intervals λ ± ε
eigenvalues moved 0.019 ≤ ε = 0.10 (Weyl) · top eigenvector turned 10.9°, sin θ = 0.189 ≤ 2ε/δ = 0.400 (Davis–Kahan)
Dashed = original eigen-direction, orange = perturbed. Shrink the gap δ toward 0: the eigenvalues still stay inside their bands, but the eigenvector can swing wildly: 45° for α = 90°, and a full 90° when the noise is big enough to swap the eigenvalues' order (α near 180°). With δ = 0, the direction is not even defined.
Why engineers care

Engineers measure a satellite’s vibration modes before launch and use them to tune its controllers. The measurements are never perfect. Perturbation theory tells them which numbers they can trust (frequencies that are well separated) and which they can’t (mode shapes of nearly equal frequencies).

📝 Quick check (Level 0)
0/3 answered
  1. 1. For symmetric matrices, a tiny error moves the eigenvalues…
  2. 2. Two eigenvalues are nearly equal. Their eigenvectors are…
  3. 3. A symmetric matrix gets an error of size 0.01. How far can an eigenvalue move?

Level 1: Beginner

★★☆☆☆ Basic⏱ 15 minSecondary-school mathematics: arithmetic and elementary algebra.

Two worked examples

Eigenvalues stay put. A=diag⁡(2,5)A = \operatorname{diag}(2,5). Add any symmetric EE with ∥E∥2=0.1\lVert E\rVert_2 = 0.1. The new eigenvalues lie in [1.9,2.1][1.9, 2.1] and [4.9,5.1][4.9, 5.1]. Always.

Eigenvectors can swing. A=IA = I (every direction is an eigenvector, gap 0). Add E=(0εε0)E = \begin{pmatrix}0&\varepsilon\\\varepsilon&0\end{pmatrix}. For any ε>0\varepsilon > 0, however tiny, the eigenvalues become 1±ε1\pm\varepsilon, a tiny change. The eigenvectors snap to (1,1)/2(1,1)/\sqrt2 and (1,−1)/2(1,-1)/\sqrt2, at 45° to the axes.

What moves Controlled by
eigenvalues (symmetric) ∥E∥\lVert E\rVert alone
eigenvectors (symmetric) ∥E∥\lVert E\rVert divided by the eigengap
eigenvalues (non-symmetric) ∥E∥\lVert E\rVert times how non-orthogonal the eigenvectors are, or worse
📝 Quick check (Level 1)
0/3 answered
  1. 1. A = diag(2, 5), ‖E‖₂ = 0.1. The largest possible new top eigenvalue?
  2. 2. The largest eigenvalue of [[1, 0.01], [0.01, 1]]?
  3. 3. The top eigenvector of that matrix points at…

Level 2: Intermediate

★★★☆☆ Intermediate⏱ 45 minUndergraduate students and practising engineers.

Weyl’s inequality

Theorem (Weyl, 1912)

For symmetric A,EA, E with eigenvalues sorted the same way, ∣λi(A+E)−λi(A)∣≤∥E∥2\lvert\lambda_i(A+E) - \lambda_i(A)\rvert\le\lVert E\rVert_2 for every ii.

Symmetric eigenvalues are perfectly conditioned: their condition number is 1, whatever the matrix.

🐍 Exercise 1: Weyl holds, and non-symmetric matrices break it
Check Weyl's bound on 200 random symmetric pairs. Then perturb a Jordan block by ε and watch the eigenvalues move by √ε.

First-order perturbation

For a simple eigenvalue λi\lambda_i with unit eigenvector qi\mathbf q_i of symmetric AA:

λi(A+E)≈λi+qi⊤Eqi,qi(A+E)≈qi+∑j≠iqj⊤Eqiλi−λjqj\lambda_i(A + E)\approx\lambda_i + \mathbf q_i^\top E\mathbf q_i, \qquad \mathbf q_i(A + E)\approx\mathbf q_i + \sum_{j\ne i}\frac{\mathbf q_j^\top E\mathbf q_i}{\lambda_i - \lambda_j}\mathbf q_j

The eigenvector formula divides by eigenvalue gaps. That’s the whole story of eigenvector sensitivity. These formulas are also how physicists do perturbation theory in quantum mechanics.

Davis–Kahan: eigenvectors and the gap

Theorem (Davis–Kahan sin θ, in the form of Yu, Wang and Samworth, 2015)

Let δ=λ1(A)−λ2(A)>0\delta = \lambda_1(A) - \lambda_2(A) > 0. The angle θ\theta between the top eigenvectors of AA and A+EA + E satisfies sin⁡θ≤2∥E∥2δ\sin\theta\le\dfrac{2\lVert E\rVert_2}{\delta}.

The same holds for whole eigen-subspaces, with δ\delta the gap separating them from the rest of the spectrum. This is why PCA directions estimated from data are only trustworthy when their eigenvalues are well separated.

Non-symmetric matrices: a warning

Jε=(01ε0)J_\varepsilon = \begin{pmatrix}0&1\\\varepsilon&0\end{pmatrix} has eigenvalues ±ε\pm\sqrt\varepsilon. A perturbation of 10−1010^{-10} moves them by 10−510^{-5}, which is 100,000 times larger. For an n×nn\times n Jordan block the movement is ε1/n\varepsilon^{1/n}. For diagonalizable A=VΛV−1A = V\Lambda V^{-1}, Bauer–Fike bounds the damage by κ(V)∥E∥\kappa(V)\lVert E\rVert.

📝 Quick check (Level 2)
0/3 answered
  1. 1. The Jordan block [[0, 1], [10⁻⁸, 0]] has |λ| = ?
  2. 2. A = diag(3, 1), E = [[0.1, 0.2], [0.2, 0]]. First-order λ₁ ≈ ?
  3. 3. Davis–Kahan bound for ‖E‖ = 0.05 and gap 1?

Level 3: Advanced

★★★★☆ Advanced⏱ 45 minGraduate level, with full derivations and proofs.

Proof of Weyl from Courant–Fischer

Write RA(x)=x⊤Ax/x⊤xR_A(\mathbf x) = \mathbf x^\top A\mathbf x/\mathbf x^\top\mathbf x. For every x\mathbf x,

RA(x)−∥E∥2≤RA+E(x)≤RA(x)+∥E∥2R_A(\mathbf x) - \lVert E\rVert_2\le R_{A+E}(\mathbf x)\le R_A(\mathbf x) + \lVert E\rVert_2

because ∣RE(x)∣≤∥E∥2\lvert R_E(\mathbf x)\rvert\le\lVert E\rVert_2. Courant–Fischer (A2.4-2) writes λk\lambda_k as a max over kk-dimensional subspaces of a min of RR. Shifting RR everywhere by at most ∥E∥2\lVert E\rVert_2 shifts every max–min by at most that much. ∎ The sharper form is λi+j−1(A+E)≤λi(A)+λj(E)\lambda_{i+j-1}(A+E)\le\lambda_i(A) + \lambda_j(E).

Proof of Bauer–Fike

Let μ\mu be an eigenvalue of A+EA + E that isn’t an eigenvalue of AA. Then A+E−μIA + E - \mu I is singular, so I+(Λ−μI)−1V−1EVI + (\Lambda - \mu I)^{-1}V^{-1}EV is singular. Hence 1≤∥(Λ−μI)−1∥ κ(V)∥E∥=κ(V)∥E∥/min⁡i∣λi−μ∣1\le\lVert(\Lambda - \mu I)^{-1}\rVert\,\kappa(V)\lVert E\rVert = \kappa(V)\lVert E\rVert/\min_i\lvert\lambda_i - \mu\rvert. ∎ For normal matrices (symmetric, orthogonal, …), κ(V)=1\kappa(V) = 1 and the bound is Weyl-like.

Pseudospectra

When eigenvalues are sensitive, look at the ε-pseudospectrum instead: Λε(A)={z:∥(zI−A)−1∥≥1/ε}\Lambda_\varepsilon(A) = \{z : \lVert(zI - A)^{-1}\rVert\ge1/\varepsilon\}. It is the set of eigenvalues of all matrices within ε\varepsilon of AA. For highly non-normal matrices it reaches far beyond the spectrum. That explains why a “stable” system (all Re⁡λ<0\operatorname{Re}\lambda < 0) can still show huge transient growth before decaying (Trefethen and Embree, 2005).

Exercise 3.1: Why can the 2×2 Jordan block’s eigenvalues move by √ε?

The characteristic polynomial of JεJ_\varepsilon is λ2−ε\lambda^2 - \varepsilon. A perturbation of size ε\varepsilon changes the polynomial’s constant term by ε\varepsilon, and the roots of λ2=ε\lambda^2 = \varepsilon are ±ε\pm\sqrt\varepsilon. Near a double root, root-finding is ill-conditioned.

📝 Quick check (Level 3)
0/3 answered
  1. 1. Bauer–Fike with κ(V) = 100 and ‖E‖ = 10⁻⁶ bounds the shift by…
  2. 2. Weyl's inequality is proved from…
  3. 3. For a normal matrix, κ(V) = ?

Level 4: Expert

★★★★★ Expert⏱ 40 minResearchers: original papers and open problems.

Statistics: how much data does PCA need?

The sample covariance Σ^\hat\Sigma is a perturbation of Σ\Sigma, and matrix concentration inequalities (Tropp, 2015) give ∥Σ^−Σ∥=O(d/n)\lVert\hat\Sigma - \Sigma\rVert = O(\sqrt{d/n}). Davis–Kahan then gives the sample complexity of PCA: a direction error of order d/n/δ\sqrt{d/n}/\delta. A small eigengap costs a lot of data.

🐍 Exercise 2 (research): PCA direction error vs data size and eigengap
Estimate the top principal direction from n samples in 10 dimensions, for gaps δ = 1 and 0.2. Check the 1/√n decay and that the Davis–Kahan bound always holds.

Where perturbation theory decides real outcomes

  • Spectral clustering and the eigengap heuristic. Noise perturbs the graph Laplacian. A large gap after λk\lambda_k means the kk-dimensional spectral embedding, and hence the clustering, is stable (von Luxburg, 2007). The same idea is used to choose kk.
  • Robust control and structural dynamics. Uncertain masses and stiffnesses perturb a robot’s or spacecraft’s modes. Well-separated frequencies are robust, but nearly repeated modes (common in symmetric structures, like solar arrays) can exchange shapes unpredictably. Non-normal closed-loop dynamics can have small stability margins even when the eigenvalues look safe.
  • Fluid dynamics. Shear flows are linearly stable yet become turbulent, because non-normal transient growth amplifies small disturbances (Trefethen et al., 1993).
  • Machine learning. Spectral methods for embeddings, matrix completion and community detection all rely on Davis–Kahan-type bounds (Yu et al., 2015). Learned representations are often compared via subspace angles. The eigen-structure of the Hessian or NTK under training noise is analyzed the same way.

References

  1. H. Weyl (1912). “Das asymptotische Verteilungsgesetz der Eigenwerte linearer partieller Differentialgleichungen.” Mathematische Annalen, 71.
  2. F. Bauer, C. Fike (1960). “Norms and exclusion theorems.” Numerische Mathematik, 2.
  3. C. Davis, W. Kahan (1970). “The rotation of eigenvectors by a perturbation. III.” SIAM Journal on Numerical Analysis, 7(1).
  4. G. W. Stewart, J.-G. Sun (1990). Matrix Perturbation Theory. Academic Press.
  5. L. N. Trefethen, A. Trefethen, S. Reddy, T. Driscoll (1993). “Hydrodynamic stability without eigenvalues.” Science, 261.
  6. L. N. Trefethen, M. Embree (2005). Spectra and Pseudospectra. Princeton University Press.
  7. J. Tropp (2015). “An introduction to matrix concentration inequalities.” Foundations and Trends in Machine Learning, 8(1–2).
  8. Y. Yu, T. Wang, R. Samworth (2015). “A useful variant of the Davis–Kahan theorem for statisticians.” Biometrika, 102(2).