advanced29 min studyLesson 39 in Mathematics

Numerical eigenvalue problems and residual certificates

Find spectral information with power iteration and structured algorithms while respecting sensitivity and invariant subspaces.

On this page

What you’ll understand

  • Derive the spectral-gap condition behind power iteration.
  • Use a Rayleigh quotient and eigen-residual without confusing their meanings.
  • Explain why nonnormal matrices and clustered eigenvalues require care.

Eigenvalues describe modal rates and frequencies, but computing them reliably is more subtle than solving a characteristic polynomial with rounded coefficients. The matrix itself often provides the most stable representation of the problem. A method may need one dominant mode, a few interior modes, or a complete invariant subspace; those are different tasks. This lesson follows power iteration on a diagonal example and uses a residual to connect an approximate eigenpair with genuine spectral information. It then identifies the extra care required when modes cluster or the matrix lacks orthogonal eigenvectors.

Repeated multiplication filters modes

Assume a diagonalizable matrix has one eigenvalue strictly largest in magnitude and that the starting vector has a nonzero component along its eigenvector. Repeated multiplication makes that component dominate relative to the others. Normalize at each step to avoid uncontrolled growth or underflow. The largest competing eigenvalue magnitude actually present in the initial vector controls the asymptotic directional error. A missing subdominant component can give faster convergence than the full spectral ratio suggests. A negative dominant eigenvalue can reverse the vector's sign each step without preventing convergence of its one-dimensional span.

If dominant magnitudes tie, the basic iteration need not approach one direction. If the starting vector has exactly zero component in the desired eigendirection, exact arithmetic never creates that component. A small spectral gap can make convergence frustratingly slow. Shift-and-invert iteration changes which eigenvalues dominate by solving systems with A minus a shift times the identity, rather than explicitly forming an inverse. That can target an interior eigenvalue, but it transfers work and conditioning concerns into the shifted linear solves.

vk+1=Avk∥Avk∥2,directional error=O ⁣(∣λ2λ1∣k)v_{k+1}=\frac{Av_k}{\|Av_k\|_2},\qquad \text{directional error}=O\!\left(\left|\frac{\lambda_2}{\lambda_1}\right|^k\right)
The error bound concerns the direction, allowing an overall sign or complex phase. It requires a diagonalizable matrix, eigenvalues ordered by magnitude with |λ₁|>|λ₂|, and a nonzero starting component in the leading eigendirection. Avₖ must be nonzero. A missing λ₂ component can make convergence faster than this upper bound.↔ Scroll wide equations horizontally.

A residual says how well an eigenpair fits

Given a unit candidate vector, its Rayleigh quotient is a natural scalar estimate. For a real symmetric matrix it lies between the smallest and largest eigenvalues. Subtracting the quotient times the vector from its matrix image gives the eigen-residual. A zero residual means an exact eigenpair; a small residual means an exact eigenpair of a nearby matrix under a suitable perturbation. Neither statement alone identifies which eigenvalue was found or whether the eigenvector direction is accurate.

For symmetric matrices, orthonormal eigenvectors make a strong distance bound possible: the residual norm bounds distance from the candidate scalar to the spectrum. Accurate identification of a particular eigenvector also depends on separation from other eigenvalues. In a tight cluster, a whole invariant subspace may be well determined while individual basis vectors rotate substantially under tiny perturbations. Reporting a subspace can therefore be mathematically more meaningful than attaching excessive digits to a particular mode shape.

ρ(v)=vTAvvTv,r=Av−ρ(v)v,min⁡i∣ρ(v)−λi∣≤∥r∥2\rho(v)=\frac{v^{\mathsf T}Av}{v^{\mathsf T}v},\qquad r=Av-\rho(v)v,\qquad \min_i|\rho(v)-\lambda_i|\le\|r\|_2
The residual bound assumes real symmetric A and ||v||₂=1. Nonnormal matrices do not inherit this simple eigenvalue-distance certificate.↔ Scroll wide equations horizontally.

Structure determines the right large algorithm

Dense eigensolvers use orthogonal or unitary transformations to reduce a matrix to a simpler form before iterative extraction. For general matrices, a Schur decomposition gives an orthonormal basis in which the operator is triangular; it does not demand a potentially ill-conditioned eigenvector basis. Symmetric problems admit stronger structure and specialized methods. Large sparse problems often use Lanczos or Arnoldi subspaces when only a few modes are needed, with reorthogonalization and restart choices affecting accuracy and cost.

Nonnormality means the matrix does not commute with its transpose or adjoint. Such matrices can have sensitive eigenvalues and transient growth that eigenvalues alone do not predict. A small residual can then signal proximity to the pseudospectrum rather than a comparably small distance to the original spectrum. Validate the matrix assembly, symmetry assumptions, normalization, and residuals in original coordinates. Numerical spectral output is evidence about a specified operator; it does not automatically validate the physical discretization or a continuum limit behind that operator.

A=QTQ∗,Q∗Q=IA=QTQ^*,\qquad Q^*Q=I
Over the complex numbers, every square matrix has a unitary Schur decomposition with upper triangular T. For real matrices, real Schur form is quasi-triangular with possible 2×2 blocks.↔ Scroll wide equations horizontally.

One power step and an exact residual

For A=diag(3,1), start from the direction (1,1). Take one normalized power step and compute its Rayleigh quotient.

  1. Multiplication gives (3,1). Normalize to v=(3,1)/√10. The dominant eigenvalue is three and the competing magnitude ratio is 1/3, so the unwanted component shrinks relative to the leading one at every step.

  2. The quotient is vᵀAv=(27+1)/10=2.8. The exact eigenvalues are three and one, so the closest eigenvalue is at distance 0.2.

  3. The residual is (9,1)/√10−2.8(3,1)/√10=(0.6,−1.8)/√10. Its squared norm is (0.36+3.24)/10=0.36, giving norm 0.6.

  4. The symmetric residual theorem certifies an eigenvalue within 0.6 of 2.8, consistent with the actual distance 0.2. A second power step would point along (9,1), showing the directional filtering explicitly. The bound is valid but need not be tight.

The result

The quotient estimates an eigenvalue, while the residual supplies a separate certificate. Normalization controls scale without changing the candidate direction.

Explore the model

Interactive lab

Interactive lab · vectors

A direction needs a normalization convention

Set a fixed vector angle and vary magnitude. Which projections change, and which direction stays the same? Relate this to normalizing a power iterate after multiplication. The lab shows a single vector and its projections; it does not multiply by the worked matrix, calculate a Rayleigh quotient, or compute eigenvalues.

A direction needs a normalization conventionPlayback traces a fixed vector and its projections. Angle and magnitude set the geometry; the moving marker does not change them. Current readings: x component: 1.393; y component: 0.975; Magnitude: 1.7. All parameters are adjustable with the labeled controls below.−7.46−3.7303.737.46−3.5−1.7501.753.5xyvvₓ = 1.39
Vectorx / y projectionsTrace marker
x component
1.393
y component
0.975
Magnitude
1.7
t = 0 s

Playback traces a fixed vector and its projections. Angle and magnitude set the geometry; the moving marker does not change them. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.

Look forSeparate the scale of an iterate from the spectral direction it represents, then check the actual eigen-residual.

Check your understanding

For a real symmetric matrix and a unit candidate vector, what does a residual norm of 0.001 certify for its Rayleigh quotient?

Try it yourself

For A=diag(4,2) and v=(1,1)/√2, compute the Rayleigh quotient and residual norm.

Take a moment to make a prediction or work it out on paper. Open a hint when you need one.

Give me a hint

The quotient is the average of the two diagonal entries for this particular unit vector.

Compare with the solution

The quotient is (4+2)/2=3. The residual is (4,2)/√2−(3,3)/√2=(1,−1)/√2, with norm one. Both eigenvalues are exactly distance one from the quotient, so the symmetric residual distance bound is attained.

Take it with you

  • Power iteration needs a dominant magnitude, a suitable start, and a usable gap.
  • A Rayleigh quotient and an eigen-residual answer different questions.
  • Symmetry, clustering, and nonnormality determine which spectral claims are justified.

Read further

Original sources and deeper explanations to follow at your own pace.

Optional progress, saved in this browser when available. Revisit any lesson at any time.

Lesson not marked complete.