Fundamentals / Numerical mathematics / Numerical linear algebra

How a moderately accurate mode can give a precise frequency

Use the Rayleigh quotient to estimate an eigenvalue, understand its stationary error and check a proposed mode with a residual.

A frequency estimate from a trial shape

For \(Kq=\lambda Mq\) with symmetric \(K\) and positive definite mass \(M\), a trial vector \(v\) fixes a direction but leaves an amplitude free. Substituting \(q(t)=a(t)v\) in kinetic and elastic energy gives effective mass \(v^TMv\) and stiffness \(v^TKv\). Their ratio \(R(v)\) estimates the squared frequency. Rescaling \(v\) has no effect. For \(M=I\), differentiating \(v^TKv/(v^Tv)\) gives a gradient proportional to \(Kv-Rv\). Its zeros are precisely the eigenvectors.

Angular error and the residual

Take exact orthonormal modes \(u_1,u_2\) and a trial \(v=u_1\cos\theta+u_2\sin\theta\). Orthogonality removes all cross terms. Then

\[R(v)-\lambda_1=(\lambda_2-\lambda_1)\sin^2\theta,\]
\[\|Kv-R(v)v\|_2=|\lambda_2-\lambda_1|\,|\sin\theta\cos\theta|.\]

The eigenvalue error is second order in a small angular error. The residual is first order. For general dimension write \(v=\sum c_i u_i\) with unit norm. The squared residual is \(\sum |c_i|^2(\lambda_i-R)^2\), so at least one eigenvalue lies within one residual norm of \(R\). Identifying which mode requires more information about the spectrum.

Two measurements

For squared frequencies 4 and 9 in s⁻² and a 10-degree error in the first trial mode, \(R=4+5(0.03015)=4.1508\) s⁻². The estimated angular frequency is 2.0373 rad/s. The relative error in frequency is about half the relative error in its square at small errors.

For eigenvalues 4 and 4.01, a 45-degree mixture gives a residual of just 0.005. This very small number is consistent with a large uncertainty in shape. If the two eigenvalues were identical, every combination in the eigenspace would be an exact mode.

Tilt the trial vector

The plot shows the quotient error and residual across trial angles for a chosen spectral gap. Move the angle marker, halve a small angle and compare the two responses.

Tutorial on frequency estimates

For eigenvalues 2 and 10, a trial produces \(R=2.08\). Assuming the two-mode model, estimate its angular error.

Worked solution

The mixture fraction is

\[(2.08-2)/(10-2)=0.01.\]

Hence \(|\sin\theta|=0.1\), or about 5.74 degrees near the lower mode.

A trial gives \(R=5\) and residual zero. Does it prove that 5 is the lowest eigenvalue?

Worked solution

It proves that the trial vector is an exact eigenvector for 5. To certify the lowest eigenvalue one also needs a lower bound or a description of the remaining spectral subspace.

Read the university treatment

Compare how quickly an eigenvector direction converges with the rate for its Rayleigh-quotient eigenvalue estimate. Driscoll and Braun · Power iteration