Part A · the equation of motion · spine

07

Many oscillators, and the spectral theorem earning its keep

A coupled system is an uncoupled one in the wrong basis — and the right basis exists because two quadratic forms can be diagonalised at once when one of them is definite.

needs 06, 04~2 h slides + 5 h problemsproblems: ./mr problems 07

07 · overview

One chain, five sections

Twenty masses on twenty-one springs, between two walls; $u_j$ is mass $j$'s displacement, so $u \in \mathbb R^{20}$. Pull one mass aside and let go: what you see is a mess. What is happening is twenty independent oscillators, seen in the wrong coordinates.

⋯ u₁ u₂ u₃ u₂₀ k m along the line only u₀ = 0 u₂₁ = 0 a

The running example; masses 4 to 19 are not drawn.

The claim: in the right basis the equations fall apart into twenty copies of unit 06's $\ddot q = -\omega^2 q$, with $\omega_n = 2\sqrt{k/m}\,\sin\big(n\pi/42\big)$ exactly.

how the claim is reached

1. Newton for all masses at once: $M\ddot u = -Ku$, with $M$ the matrix of the kinetic energy $T = \tfrac12\dot u^{\!\top}\!M\dot u$ and $K$ the second derivatives of the potential energy $V$.

2. Every mass swinging at one frequency, $u = v\cos\omega t$, needs $Kv = \omega^2 Mv$.

3. Rescaling by $M^{1/2}$ makes that a symmetric eigenproblem; the spectral theorem gives twenty real $\omega^2$ and a basis of shapes, orthogonal for $T$'s inner product, not the dot product.

4. For the chain, $v_j = \sin j\theta$ fits every mass's equation with $\omega = 2\sqrt{k/m}\sin(\theta/2)$; the far wall needs $\sin 21\theta = 0$, so $\theta = n\pi/21$.

The plan. 1 $\dot y = Ay$ and Jordan · 2 two forms, one basis: steps 1–3 · 3 the chain: step 4, and dispersion · 4 no walls: a symmetry of $V$ is a null vector of $K$ · 5 Rayleigh: any guessed shape bounds the lowest frequency.

section 1

$n$ coordinates, one linear system

Where the two matrices come from, and why the general machinery for $\dot y = Ay$ is the wrong tool for them.

07 · setup

Two quadratic forms fall out of the physics

$n$ masses $m_a$ on a line, displacements $u \in \mathbb R^n$ from an equilibrium of the potential $V$. Unit 04's Taylor theorem at a critical point gives

$$V(u) = V(0) + \tfrac12\,u^{\!\top}\! K u + o(\lVert u\rVert^2),$$

with $K_{ij} = \partial_i\partial_j V(0)$, because $\nabla V(0) = 0$ at an equilibrium. $K$ is symmetric by Clairaut (unit 03) and positive semidefinite when the equilibrium is a minimum.

The force is $F_i = -\partial_i V$ (unit 04), so to first order in $u$

$$M\ddot u = -K u, \qquad M = \mathrm{diag}(m_1,\dots,m_n).$$
definition

The stiffness matrix $K$ is the Hessian of $V$ at the equilibrium. The mass matrix $M$ is the symmetric matrix of the kinetic energy form, $T = \tfrac12\,\dot u^{\!\top}\! M \dot u$.

Both are symmetric; $M$ is positive definite, since $T > 0$ whenever anything is moving.

The small-oscillation approximation is the whole content of "$o(\lVert u\rVert^2)$ dropped": it is exact only in the limit of vanishing amplitude.

In Cartesian displacements $M$ is diagonal. The next slide shows a system where it is not.

07 · setup

A mass matrix that is not diagonal

$M$ is not always diagonal

In Cartesian displacements it is. Change coordinates linearly, $u = Bq$ with $B$ invertible, and $T = \tfrac12\,\dot q^{\!\top}(B^{\!\top}\!MB)\dot q$: any congruent matrix can occur, and every symmetric positive definite matrix is congruent to $I$ (section 2's $M^{1/2}$ shows it). So the theory must handle general $M$.

A double pendulum, in its two angles. Bob 2's velocity is the sum of two pieces, $L_1\dot\theta_1$ and $L_2\dot\theta_2$, each at right angles to its own rod, so at angle $\theta_2-\theta_1$ to each other. Squaring the sum leaves a cross term:

$$\begin{aligned}T = {}&\tfrac12(m_1{+}m_2)L_1^2\dot\theta_1^2 + \tfrac12 m_2L_2^2\dot\theta_2^2\\ &+ m_2L_1L_2\cos(\theta_1{-}\theta_2)\,\dot\theta_1\dot\theta_2 ,\end{aligned}$$

and at small angles $M = \begin{pmatrix}(m_1+m_2)L_1^2 & m_2L_1L_2\\ m_2L_1L_2 & m_2L_2^2\end{pmatrix}$ — symmetric, positive definite, and not diagonal.

θ₁ θ₂ L₁ L₂ rod 1's swing rod 2's swing θ₂ − θ₁ m₁ m₂

Bob 2's velocity in two pieces: $L_1\dot\theta_1$ from rod 1's swing, $L_2\dot\theta_2$ from rod 2's. Their overlap, $L_1\dot\theta_1\,L_2\dot\theta_2\cos(\theta_2-\theta_1)$, is the off-diagonal entry of $M$. Angles exaggerated.

07 · setup

First order, in $2n$ dimensions

Unit 01's move: set $y = (u, \dot u) \in \mathbb R^{2n}$. Then $M\ddot u = -Ku$ becomes

$$\dot y = Ay, \qquad A = \begin{pmatrix} 0 & I_n \\ -M^{-1}K & 0\end{pmatrix},$$

a linear system with constant coefficients. $f(y) = Ay$ is globally Lipschitz with constant $\lVert A\rVert$, so Picard–Lindelöf (unit 01) gives a unique solution for every initial condition, defined for all $t \in \mathbb R$.

theorem · the solution space

The set of solutions of $\dot y = Ay$ on $\mathbb R$ is a vector space of dimension exactly $2n$.

Proof. $y \mapsto y(0)$ is linear from solutions to $\mathbb R^{2n}$; existence makes it onto and uniqueness makes it injective. $\square$

For the chain with $N = 20$ this is a $40 \times 40$ matrix, and the general machinery of the rest of this section would ask for its eigenvalues.

the right tool is not this one

$A$ is not symmetric, and nothing in the general theory of $\dot y = Ay$ knows that it came from two symmetric matrices. Section 2 uses that structure and gets everything the general theory would, in half the dimensions and with real arithmetic.

So why build the general theory at all? Because section 4's zero modes need the degenerate case, and it is the only honest way to see why the degenerate case does not occur for $M$ positive definite and $K$ positive definite.

07 · linear systems

The matrix exponential

definition

The operator norm of $A \in M_n(\mathbb R)$ is $\lVert A\rVert = \sup_{\lVert x\rVert = 1}\lVert Ax\rVert$; it satisfies $\lVert AB\rVert \le \lVert A\rVert\,\lVert B\rVert$.

The matrix exponential is $$e^{A} \;=\; \sum_{k=0}^{\infty}\frac{A^k}{k!},$$ the same series as for a number, with $A^0 = I$.

theorem · it converges

The series converges absolutely for every $A$, and $\lVert e^A\rVert \le e^{\lVert A\rVert}$.

Proof. $\lVert A^k/k!\rVert \le \lVert A\rVert^k/k!$, whose sum is $e^{\lVert A\rVert} < \infty$. $M_n(\mathbb R) \cong \mathbb R^{n^2}$ is complete, and in a complete normed space an absolutely convergent series converges. $\square$

theorem · what it is for

$t \mapsto e^{At}$ is differentiable with $$\frac{\mathrm d}{\mathrm dt}e^{At} = A\,e^{At} = e^{At}A,$$ so $y(t) = e^{At}y_0$ solves $\dot y = Ay$, $y(0) = y_0$ — and by uniqueness it is the only solution.

full proof in the notes (N)

the exponential law needs commuting matrices

With $A = \begin{pmatrix}0&1\\0&0\end{pmatrix}$, $B = \begin{pmatrix}0&0\\1&0\end{pmatrix}$: $e^Ae^B = \begin{pmatrix}2&1\\1&1\end{pmatrix}$, while $e^{A+B} = \begin{pmatrix}\cosh 1&\sinh 1\\ \sinh 1&\cosh 1\end{pmatrix} \approx \begin{pmatrix}1.5431&1.1752\\1.1752&1.5431\end{pmatrix}$.

$e^{A+B} = e^Ae^B$ if $AB = BA$ — which is why $e^{A(t+s)} = e^{At}e^{As}$ is safe.

07 · linear systems

When $A$ is diagonalisable

theorem

If $A = P\Lambda P^{-1}$ with $\Lambda = \mathrm{diag}(\mu_1,\dots,\mu_n)$, then $$e^{At} = P\,\mathrm{diag}\big(e^{\mu_1 t},\dots,e^{\mu_n t}\big)\,P^{-1},$$ and every solution of $\dot y = Ay$ is $y(t) = \sum_i c_i e^{\mu_i t}w_i$ with $w_i$ the columns of $P$.

Proof. $A^k = P\Lambda^kP^{-1}$, and $P(\cdot)P^{-1}$ is continuous and linear, so it passes through the sum. $\square$

Complex $\mu$ is not a problem: unit 06's complex exponential is used exactly as it was there, and real initial data gives real solutions because the complex eigenvalues come in conjugate pairs.

one oscillator, as a check

$\ddot x = -\omega_0^2x$ has $A = \begin{pmatrix}0&1\\-\omega_0^2&0\end{pmatrix}$, eigenvalues $\pm i\omega_0$, eigenvectors $(1, \pm i\omega_0)$. Then

$$e^{At} = \begin{pmatrix}\cos\omega_0 t & \dfrac{\sin\omega_0 t}{\omega_0}\\[4pt] -\omega_0\sin\omega_0 t & \cos\omega_0 t\end{pmatrix}.$$

First column: released from rest at $x = 1$. Second column: struck from $x=0$ with unit speed — unit 06's Green's function $G(t) = \sin\omega_0t/\omega_0$, recovered.

Dimensions: $[A] = \mathrm s^{-1}$, so $At$ is dimensionless and the series makes sense. The entry $\sin\omega_0t/\omega_0$ carries $\mathrm s$, as a map from velocity to position must.

07 · linear systems

The degenerate case: Jordan, and $t\,e^{\lambda t}$

Cited. Every $A \in M_n(\mathbb C)$ is similar to a Jordan form: blocks $\lambda I + N$ with $N$ the nilpotent shift ($N^p = 0$ for some $p$; this $N$ is a matrix, not the chain's number of masses). Proved in any linear algebra text; the only case we use is verified below.

theorem · exponential of a block

If $A = \lambda I + N$ with $N^p = 0$, then $$e^{At} = e^{\lambda t}\Big(I + Nt + \dots + \tfrac{N^{p-1}t^{p-1}}{(p-1)!}\Big),$$ a polynomial in $t$ times $e^{\lambda t}$.

Proof. $\lambda I$ commutes with $N$, so $e^{At} = e^{\lambda t}e^{Nt}$, and that series stops at $k = p-1$. $\square$

So a repeated eigenvalue gives $te^{\lambda t}$, $t^2e^{\lambda t}$, … — but only a defective one does.

worked · critical damping, again

Unit 06's $\ddot x + \gamma\dot x + \omega_0^2x = 0$ at $\gamma = 2\omega_0$: $A = \begin{pmatrix}0&1\\-\omega_0^2&-2\omega_0\end{pmatrix}$, with $\det(A-\mu I) = (\mu+\omega_0)^2$.

$N = A + \omega_0I = \begin{pmatrix}\omega_0&1\\-\omega_0^2&-\omega_0\end{pmatrix}$ has $N^2 = 0$ (each entry of $N^2$ is a difference of two equal products). Hence $$e^{At} = e^{-\omega_0t}\begin{pmatrix}1+\omega_0t&t\\ -\omega_0^2t&1-\omega_0t\end{pmatrix},$$ and the $te^{-\omega_0t}$ of unit 06 is the nilpotent part, not a lucky guess.

Plotted on the next slide.

07 · linear systems · example

Critical damping, plotted

The two columns of $e^{At}$ on the last slide are two motions; the first row of each is $x(t)$:

  • released from rest at $x = 1$: $\;x = (1+\omega_0t)\,e^{-\omega_0t}$;
  • struck at $x = 0$ with unit speed: $\;x = t\,e^{-\omega_0t}$.

Each is $e^{-\omega_0t}$ times a degree-one polynomial, and the degree-one part is the block's $Nt$.

checks

At $t = 0$ the released curve has slope $0$ and the struck one slope $1$, as the initial data demand. The struck curve peaks where $\tfrac{\mathrm d}{\mathrm dt}(te^{-\omega_0t}) = (1-\omega_0t)e^{-\omega_0t} = 0$: at $\omega_0t = 1$, height $1/(e\,\omega_0)$.

The closed form matches a direct summation of the series at $\omega_0 = 2$, $t = 0.7$ to below $10^{-15}$.

peak 1/e released: (1 + ω₀t) e^(−ω₀t) e^(−ω₀t) alone struck: ω₀t e^(−ω₀t) 0 0.5 1 0 1 2 3 4 5 6 ω₀t

Both columns in units of $\omega_0$ (the struck curve as $\omega_0x$, per unit speed). The dashed $e^{-\omega_0t}$ is what the eigenvalue alone would give: the polynomial factor holds the released body up and pushes the struck one out.

section 2

Two quadratic forms, one basis

The generalised eigenvalue problem, and the single hypothesis — $M$ positive definite — that makes it behave.

07 · the pencil

The generalised eigenvalue problem

Look for a motion in which every coordinate oscillates with the same frequency and a fixed shape: $u(t) = v\,f(t)$ with $v \in \mathbb R^n$ constant. Then $M\ddot u = -Ku$ reads $\ddot f\,Mv = -f\,Kv$, which forces $\ddot f = -\lambda f$ and

definition

The generalised eigenvalue problem for the pair $(K, M)$ is $$Kv = \lambda\,Mv, \qquad v \ne 0 .$$ The family $K - \lambda M$ is the matrix pencil; its characteristic polynomial is $p(\lambda) = \det(K - \lambda M)$.

A solution $(\lambda, v)$ with $\lambda = \omega^2 \ge 0$ is a normal mode: shape $v$, normal frequency $\omega$, motion $u(t) = v\,(\alpha\cos\omega t + \beta\sin\omega t)$.

degree, and therefore a count

$\det(K-\lambda M) = \det(M)\det(M^{-1}K - \lambda I)$ and $\det M \ne 0$, so $p$ has degree exactly $n$: $n$ roots in $\mathbb C$, with multiplicity (fundamental theorem of algebra, cited; it follows from Liouville's theorem in unit 20).

That is a count, not yet a theorem about physics. Three things still have to be proved, and none of them follows from $K$ and $M$ merely being symmetric:

  • every root is real;
  • every root is $\ge 0$ when $K$ is positive semidefinite, so $\omega = \sqrt\lambda$ is real;
  • the eigenvectors form a basis — no defective case, so $n$ coordinates really do give $n$ modes.

On the chain, $M = mI$ and $\lambda = \omega^2$ is an ordinary eigenvalue of $K/m$. The general case is the one to get right.

07 · the pencil

Three tempting routes, all wrong

1 · "$M^{-1}K$ is symmetric"

It is not. For the two-mass example, $$M^{-1}K = \begin{pmatrix}2&-1\\-\tfrac14&\tfrac12\end{pmatrix}.$$ So the spectral theorem cannot be applied to it directly. Its eigenvalues are real, but that needs proof.

2 · "diagonalise both with one orthogonal $Q$"

Possible only if $MK = KM$. Here $MK = \begin{pmatrix}2&-1\\-4&8\end{pmatrix}$ and $KM = \begin{pmatrix}2&-4\\-1&8\end{pmatrix}$: different. Orthogonal simultaneous diagonalisation is false, yet the physics still works — so the right notion is not similarity.

3 · "any two symmetric forms will do"

Take $M = \begin{pmatrix}1&0\\0&-1\end{pmatrix}$, $K = \begin{pmatrix}0&1\\1&0\end{pmatrix}$, both symmetric, neither definite. Then $$\det(K-\lambda M) = -\lambda^2 - 1,$$ whose roots are $\pm i$. No real $\lambda$ at all, so no real basis diagonalises both.

The lesson of the third box: definiteness of one form is the hypothesis. The right notion for the other two is congruence, $C^{\!\top}\!(\cdot)C$, not similarity $P^{-1}(\cdot)P$ — a change of basis for a bilinear form, not for a linear map.

07 · the spectral theorem

The spectral theorem, and its variational proof

spectral theorem

Let $S \in M_n(\mathbb R)$ be symmetric. Then $\mathbb R^n$ has an orthonormal basis $w_1,\dots,w_n$ of eigenvectors of $S$, with real eigenvalues $\mu_1 \le \dots \le \mu_n$. Equivalently $S = Q\,\mathrm{diag}(\mu)\,Q^{\!\top}$ with $Q$ orthogonal.

proof, in outline

The function $u \mapsto u^{\!\top}\!Su$ is continuous on the unit sphere, which is compact, so it attains a maximum at some $w$. Lagrange multipliers (unit 04) for $\max u^{\!\top}\!Su$ subject to $u^{\!\top}u = 1$ give $Sw = \mu w$. Then $S$ maps $w^{\perp}$ into itself, because $\langle Sx, w\rangle = \langle x, Sw\rangle = \mu\langle x, w\rangle = 0$, and the restriction is symmetric. Induct on the dimension. $\square$

every step written out in the notes (N)

w₂ w₁ uᵀSu = μ₂: largest uᵀSu = μ₁: smallest uᵀu = 1 uᵀSu = 1 gradient

The proof in two dimensions, for $S = \begin{pmatrix}2&-\frac12\\-\frac12&\frac12\end{pmatrix}$ (it returns on the $M^{1/2}$ slide). Where $u^{\!\top}\!Su$ is largest or smallest on the circle, its level curve touches the circle, so its gradient $2Su$ points along the radius $u$: that is $Su = \mu u$.

07 · the spectral theorem

Two things the proof leaves behind

Two things to notice about that proof, both used later:

  • the eigenvector it produces is a maximiser of a ratio — on the unit sphere $u^{\!\top}\!Su$ is the ratio $u^{\!\top}\!Su/u^{\!\top}u$, which is section 5's Rayleigh quotient, already here;
  • it never leaves $\mathbb R$, so reality of the eigenvalues is a conclusion, not an assumption.
the physics of the statement

A symmetric matrix is a quadratic form $u \mapsto u^{\!\top}\!Su$, that is, an energy. The theorem says any energy is, in suitable orthonormal coordinates, a sum $\sum\mu_i x_i^2$ of independent one-dimensional energies. Every "principal axes" statement in physics — of inertia, of stress, of strain, of a conic — is this one sentence.

In the last slide's figure the touching points sit on the ellipses' axes: those axes are the principal axes, and $w_1$, $w_2$ point along them.

07 · the reduction

$M^{1/2}$, and the problem made symmetric

definition and lemma

For $M$ symmetric positive definite, write $M = Q\,\mathrm{diag}(\mu_i)\,Q^{\!\top}$ with all $\mu_i > 0$ and set $$M^{1/2} = Q\,\mathrm{diag}(\sqrt{\mu_i})\,Q^{\!\top}.$$ This matrix square root is symmetric positive definite, satisfies $(M^{1/2})^2 = M$, and is the only positive definite matrix that does.

uniqueness proved in the notes (N)

theorem · the reduction

Put $S = M^{-1/2}KM^{-1/2}$, which is symmetric. Then $$Kv = \lambda Mv \iff Sw = \lambda w, \qquad w = M^{1/2}v ,$$ and $v \mapsto M^{1/2}v$ is a bijection of eigenvectors.

Proof. Multiply $Kv = \lambda Mv$ on the left by $M^{-1/2}$ and insert $I = M^{-1/2}M^{1/2}$ in the middle: $M^{-1/2}KM^{-1/2}\,(M^{1/2}v) = \lambda\,(M^{1/2}v)$. Each step is reversible, since $M^{1/2}$ is invertible. Symmetry: $S^{\!\top} = M^{-1/2}K^{\!\top}M^{-1/2} = S$. $\square$

what has been bought

The pencil problem is now an ordinary symmetric eigenvalue problem, so the spectral theorem applies to it whole.

On the two-mass example: $M^{1/2} = \mathrm{diag}(1,2)$, so $$S = \begin{pmatrix}1&0\\0&\tfrac12\end{pmatrix}\!\begin{pmatrix}2&-1\\-1&2\end{pmatrix}\!\begin{pmatrix}1&0\\0&\tfrac12\end{pmatrix} = \begin{pmatrix}2&-\tfrac12\\-\tfrac12&\tfrac12\end{pmatrix},$$ symmetric, where $M^{-1}K$ was not.

Physically, $w = M^{1/2}v$ is the displacement measured in units of $1/\sqrt{\text{mass}}$ — "mass-weighted coordinates", in which the kinetic energy is $\tfrac12\lVert\dot w\rVert^2$ with no matrix left in it.

07 · the reduction

What the reduction proves, all at once

theorem · normal modes exist, as many as there are coordinates

Let $M$ be symmetric positive definite and $K$ symmetric, both $n\times n$. Then:

  1. all $n$ roots of $\det(K - \lambda M)$ are real;
  2. there is a basis $v_1,\dots,v_n$ of $\mathbb R^n$ with $Kv_i = \lambda_iMv_i$ — no defective case;
  3. if moreover $K$ is positive semidefinite then every $\lambda_i \ge 0$, so $\omega_i = \sqrt{\lambda_i}$ is real; and $\lambda_i > 0$ for all $i$ exactly when $K$ is positive definite.

Proof. By the reduction, the roots and eigenvectors are those of the symmetric $S$, transported by the invertible $M^{1/2}$. (1) and (2) are the spectral theorem for $S$. For (3), $\lambda = w^{\!\top}Sw/\lVert w\rVert^2 = v^{\!\top}Kv/(v^{\!\top}Mv)$ with $v = M^{-1/2}w$, and both quadratic forms on the right are $\ge 0$. $\square$

dimensions

$[K]/[M] = (\mathrm{N\,m^{-1}})/\mathrm{kg} = \mathrm{s^{-2}}$. So $\lambda$ is a squared frequency and $\omega$ a frequency, for any $M$ and $K$ whatever.

limit: one mass

$M = (m)$, $K = (k)$: one root $\lambda = k/m$, one mode $v = (1)$, $\omega = \sqrt{k/m}$. Unit 06's oscillator, recovered.

no complex frequencies

$\omega^2$ real always. $\omega^2 < 0$ is possible — an unstable equilibrium, $e^{\pm|\omega|t}$, unit 02's saddle — but an $\omega$ with a nonzero real and imaginary part never occurs.

07 · the $M$-inner product

The inner product the modes are orthogonal in

definition

For $M$ symmetric positive definite, the $M$-inner product on $\mathbb R^n$ is $$\langle u, v\rangle_M = u^{\!\top}\!Mv .$$ It is bilinear, symmetric and positive definite — the three axioms of an inner product — so it is one, and $\lVert u\rVert_M = \sqrt{u^{\!\top}Mu}$ is a norm.

The physics: $\tfrac12\langle\dot u,\dot u\rangle_M$ is the kinetic energy. The modes are orthogonal in the geometry that the energy defines, not the one the coordinate labels happen to define.

theorem · $M$-orthogonality

If $Kv_i = \lambda_iMv_i$, $Kv_j = \lambda_jMv_j$ and $\lambda_i \ne \lambda_j$, then $\langle v_i,v_j\rangle_M = 0$ and $v_i^{\!\top}\!Kv_j = 0$.

Proof. $\lambda_i\,v_j^{\!\top}Mv_i = v_j^{\!\top}Kv_i = (Kv_j)^{\!\top}v_i = \lambda_j\,v_j^{\!\top}Mv_i$, using $K = K^{\!\top}$ and $M = M^{\!\top}$. So $(\lambda_i-\lambda_j)v_j^{\!\top}Mv_i = 0$. $\square$

Repeated $\lambda$: the eigenspace is a genuine subspace, so Gram–Schmidt in $\langle\cdot,\cdot\rangle_M$ makes it $M$-orthonormal. Hence a full $M$-orthonormal basis of modes, $\langle v_i,v_j\rangle_M = \delta_{ij}$.

Equivalently: $M^{1/2}$ carries $\langle\cdot,\cdot\rangle_M$ to the Euclidean product, and the $w_i$ are Euclidean-orthonormal by the spectral theorem.

07 · the $M$-inner product · example

Worked: two masses, and the orthogonality that is not Euclidean

worked · the two-mass example

1. The matrices. $V = \tfrac12 u_1^2 + \tfrac12(u_2-u_1)^2 + \tfrac12u_2^2$, so $K = \begin{pmatrix}2&-1\\-1&2\end{pmatrix}$, $M = \begin{pmatrix}1&0\\0&4\end{pmatrix}$ (SI units).

2. The characteristic polynomial. $\det(K-\lambda M) = (2-\lambda)(2-4\lambda) - 1 = 4\lambda^2 - 10\lambda + 3$, so $$\lambda = \tfrac{10\pm\sqrt{52}}{8} = \tfrac{5\pm\sqrt{13}}{4} = 0.348612,\ 2.151388\ \ \mathrm{s^{-2}} .$$

3. The shapes. Row 1 of $(K-\lambda M)v = 0$ reads $(2-\lambda)v_1 = v_2$, so $$v^{(1)} = \big(1,\ \tfrac{3+\sqrt{13}}{4}\big), \qquad v^{(2)} = \big(1,\ \tfrac{3-\sqrt{13}}{4}\big),$$ numerically $(1,\ 1.651388)$ and $(1,\ -0.151388)$: together, then opposed.

4. The two inner products. $v^{(1)}\!\cdot v^{(2)} = 1 + \tfrac{(3+\sqrt{13})(3-\sqrt{13})}{16} = \tfrac34 \ne 0$, but $\langle v^{(1)},v^{(2)}\rangle_M = 1 + 4\big(-\tfrac14\big) = 0 .$

m₁ = 1 m₂ = 4 1 1.651 ω₁ = 0.590 s⁻¹ · together m₁ = 1 m₂ = 4 1 -0.151 ω₂ = 1.467 s⁻¹ · opposed

The two shapes, as displacement arrows (to scale within each row). Low mode: together, the heavy mass further. High mode: opposed, the heavy mass nearly still.

$\omega_1 = 0.590434$, $\omega_2 = 1.466761\ \mathrm{s^{-1}}$; periods $10.642$ s and $4.2837$ s.

07 · the $M$-inner product · example

Two masses, two geometries

checks

Trace: $\lambda_1+\lambda_2 = \tfrac{10}{4} = \mathrm{tr}(M^{-1}K) = 2 + \tfrac12$. ✓

Determinant: $\lambda_1\lambda_2 = \tfrac34 = \det K/\det M = 3/4$. ✓

Limit: set $m_2 = m_1 = 1$ instead and the roots become $1$ and $3$, i.e. $\omega = \sqrt{k/m}$ and $\sqrt{3k/m}$ — the symmetric and antisymmetric modes of two equal masses, and the $N=2$ case of the chain's formula. ✓

The Euclidean angle between the modes is $67.4^\circ$; they are at right angles in the kinetic-energy geometry. Multiplying by $M^{1/2} = \mathrm{diag}(1,2)$ turns that geometry into the ordinary one.

u: the masses' coordinates u₁ u₂ w = M^½ u: mass-weighted w₁ w₂ v⁽¹⁾ v⁽²⁾ 67.4° uᵀMu = 1 w⁽¹⁾ w⁽²⁾ wᵀw = 1 M^½

Left: the modes, scaled to $\lVert v\rVert_M = 1$, end on the ellipse $u^{\!\top}\!Mu = u_1^2 + 4u_2^2 = 1$; $M$-orthogonal means the tangent at one is parallel to the other. Right: $w = M^{1/2}u$ stretches $u_2$ by $2$, the ellipse becomes the unit circle, and the same two vectors are perpendicular — the eigenvectors of $S$.

07 · normal coordinates

Normal coordinates: the equations fall apart

Let $P = [\,v_1\ \cdots\ v_n\,]$ be the $M$-orthonormal modes as columns — the modal matrix. (It is called $P$, not $V$: $V$ is the potential energy.)

theorem · simultaneous diagonalisation

$$P^{\!\top}MP = I_n, \qquad P^{\!\top}KP = \mathrm{diag}(\omega_1^2,\dots,\omega_n^2).$$ Both forms are diagonal in the same basis — by congruence, not similarity.

Proof. Entry $(i,j)$ of the first is $\langle v_i,v_j\rangle_M = \delta_{ij}$; of the second, $v_i^{\!\top}Kv_j = \lambda_j v_i^{\!\top}Mv_j = \lambda_j\delta_{ij}$. $\square$

Writing $u(t) = \sum_p q_p(t)\,v_p$ defines the normal coordinates $q = P^{-1}u$, and substituting into $M\ddot u = -Ku$ then multiplying by $P^{\!\top}$ gives

$$\ddot q_p = -\omega_p^2\,q_p, \qquad p = 1,\dots,n .$$
one copy of unit 06 per mode

Each $q_p$ is an independent oscillator: $q_p(t) = \alpha_p\cos\omega_pt + \beta_p\sin\omega_pt$, with $\alpha_p = \langle u(0), v_p\rangle_M$ and $\beta_p = \langle\dot u(0), v_p\rangle_M/\omega_p$.

$2n$ constants, matching the count on “First order, in $2n$ dimensions”. ✓

and the energy too

$$T = \tfrac12\sum_p\dot q_p^2, \qquad V = \tfrac12\sum_p\omega_p^2q_p^2 .$$ No cross terms: the total energy is a sum of per-mode energies, each separately conserved. Modes do not exchange energy — in the linear approximation.

What the neglected $o(\lVert u\rVert^2)$ does to that last sentence is units 21 and 17: amplitude-dependent frequencies, then resonance between modes, and eventually chaos.

07 · normal coordinates · example

One release, two clean oscillations

The two-mass example, released from rest at $u(0) = (1,\ 0.5)$. With the $M$-normalised modes of the last slides, the recipe $\alpha_p = \langle u(0), v_p\rangle_M$ gives $\alpha_1 = 1.2469$ and $\alpha_2 = 0.6673$, and $\beta_p = 0$ since nothing is moving. So

$$\begin{aligned}u_1(t) &= 0.3613\cos\omega_1t + 0.6387\cos\omega_2t,\\ u_2(t) &= 0.5967\cos\omega_1t - 0.0967\cos\omega_2t.\end{aligned}$$

Each coordinate is a mixture with incommensurable periods, so it never repeats. Each normal coordinate is one cosine.

Check at $t = 0$: $0.3613 + 0.6387 = 1$ and $0.5967 - 0.0967 = 0.5$. ✓

u₁ u₂ q₁ q₂ the coordinates: the masses' displacements the normal coordinates 0 10 20 30 t (s)

Top: what the masses do. Bottom: the same motion in normal coordinates, $q_p = \alpha_p\cos\omega_pt$ — the overview's "mess" taken apart. Computed from the closed form, not simulated.

section 3

The chain, exactly

A sine that happens to be an eigenvector, a closed-form spectrum, and a curve bending away from a straight line.

07 · the chain

Writing down $M$ and $K$

$N$ masses $m$, $N+1$ springs $k$, fixed walls. Each of the $N+1$ springs stores $\tfrac12k\times(\text{its extension})^2$, and with the convention $u_0 = u_{N+1} = 0$ the walls are just two more values of $u$. So

$$V(u) = \frac k2\sum_{j=0}^{N}(u_{j+1}-u_j)^2 ,$$

and differentiating twice gives $K = kA_N$, $M = mI_N$, where

$$A_N = \begin{pmatrix} 2&-1&&\\ -1&2&\ddots&\\ &\ddots&\ddots&-1\\ &&-1&2\end{pmatrix}$$

is the second-difference operator: $(A_Nu)_j = -\big(u_{j+1} - 2u_j + u_{j-1}\big)$.

$K$ is positive definite

$u^{\!\top}A_Nu = \sum_{j=0}^{N}(u_{j+1}-u_j)^2 \ge 0$, and it vanishes only if all the differences vanish, i.e. $u_0 = u_1 = \dots = u_{N+1}$; the walls force that common value to be $0$.

So all $\omega_n > 0$ by the theorem on “What the reduction proves” — before computing anything. Take the walls away in section 4 and this argument is exactly what fails.

The equation of motion for mass $j$, read off directly from Hooke's law:

$$\begin{aligned}m\ddot u_j &= k(u_{j+1}-u_j) - k(u_j-u_{j-1})\\ &= k\,(u_{j+1}-2u_j+u_{j-1}) .\end{aligned}$$

Same thing. The Hessian route and the force route agree because the force is $-\nabla V$ (unit 04).

07 · the chain · example

Worked: a sine is an eigenvector

worked · the ansatz, verified

1. Try $v_j = \sin(j\theta)$, $j = 0,\dots,N+1$, $\theta$ to be chosen.

2. Apply $A_N$. The identity $\sin\big((j{-}1)\theta\big) + \sin\big((j{+}1)\theta\big) = 2\cos\theta\,\sin(j\theta)$ (add the two angle-sum formulas) gives, for every $j$, $$-v_{j-1} + 2v_j - v_{j+1} = (2-2\cos\theta)\,v_j .$$

3. The walls. $v_0 = \sin 0 = 0$ automatically. The other end needs $v_{N+1} = \sin\big((N{+}1)\theta\big) = 0$, so $\theta_n = n\pi/(N{+}1)$ with $n \in \mathbb Z$.

4. Which $n$ are new. Every other integer repeats one of $n = 1,\dots,N$ up to sign, or gives $0$ (notes). That is $N$ modes — all of them, by the count on “What the reduction proves”.

5. Frequencies. $\lambda_n = \tfrac km(2-2\cos\theta_n) = \tfrac{4k}m\sin^2(\theta_n/2)$, so

$$\boxed{\ \omega_n = 2\sqrt{\frac km}\,\sin\frac{n\pi}{2(N+1)}\ }$$

Step 2 holds at $j = 1$ and $j = N$ too: the walls are $v_0 = v_{N+1} = 0$, built into the ansatz.

n = 1 n = 2 node v₀ = 0 v₆ = 0

$N = 5$: each mass's displacement is the height of a sine at that mass (dashed), and the sine vanishes at both walls: $(0.5,\ 0.866,\ 1,\ 0.866,\ 0.5)$ and $(0.866,\ 0.866,\ 0,\ -0.866,\ -0.866)$. Mode $n$ has $n-1$ interior nodes.

07 · the chain

Four checks on the formula

dimensions

$\sqrt{k/m} = \sqrt{(\mathrm{N\,m^{-1}})/\mathrm{kg}} = \mathrm{s^{-1}}$, and the sine's argument is a pure number. ✓

$N = 1$

$\omega_1 = 2\sqrt{k/m}\sin(\pi/4) = \sqrt{2k/m}$. Direct: one mass between two springs feels restoring force $2ku$, so $\omega = \sqrt{2k/m}$. ✓

$N = 2$

$\omega_1 = 2\sin(\pi/6)\sqrt{k/m} = \sqrt{k/m}$: both masses together, middle spring unstretched, each feels only its wall spring. ✓
$\omega_2 = 2\sin(\pi/3)\sqrt{k/m} = \sqrt{3k/m}$: opposite motion stretches the middle spring by $2u$, giving effective stiffness $k + 2k = 3k$. ✓

the ceiling

$\omega_n < 2\sqrt{k/m}$ always, approached only as $\theta \to \pi$: neighbours in exact antiphase. However many masses you add, nothing vibrates faster — the cut-off frequency.

For the $N = 20$ chain: ceiling $31.623\ \mathrm{s^{-1}}$, top mode $\omega_{20} = 31.534\ \mathrm{s^{-1}}$, which is $99.72\%$ of it.

orthogonality, as promised

$M = mI$ here, so $M$-orthogonality is Euclidean orthogonality, and the theorem hands us the vanishing of $$\sum_{j=1}^{N}\sin\frac{jn\pi}{N{+}1}\,\sin\frac{jn'\pi}{N{+}1} \quad (n \ne n'\ \text{in}\ 1,\dots,N),$$ a discrete Fourier identity, proved by physics; the diagonal value is $(N{+}1)/2$ (notes).

07 · the chain

The dispersion curve, and where it bends

Give the chain a spacing $a$ and define the wavenumber $\kappa_n = \theta_n/a = n\pi/\big((N{+}1)a\big)$, so a mode looks like $\sin(\kappa_n x_j)$ with $x_j = ja$. Then

$$\omega(\kappa) = \frac{2c}{a}\,\sin\frac{\kappa a}{2}, \qquad c = a\sqrt{k/m},$$

the chain's dispersion relation. For $\kappa a \ll 1$ it is $\omega \approx c\kappa$: a straight line, one speed for all wavelengths. For $\kappa a$ of order $1$ it is not.

$n$$\kappa_n a$$\omega_n/\sqrt{k/m}$$c\kappa_n$deficit
10.149600.149460.149600.093%
50.748000.730680.748002.32%
101.496001.360341.496009.07%
202.991991.994412.9919933.34%

$N = 20$, in units of $\sqrt{k/m}$ with $a = 1$.

ceiling 2√(k/m) cκ ω(κ): n = 1 … 20 0 1 2 0 5 10 15 20 κa = π ω / √(k/m) mode n

Dots: the twenty $\omega_n$ for $N = 20$, on the arch $2\sin(\kappa a/2)$. Dashed: the straight line $c\kappa$ it is tangent to at the origin. The gap between them is what unit 18's continuum theory does not know about.

07 · the chain

A continuum theory's own error bar

Expand the exact relation for small $\kappa a$, using $\sin x = x - x^3/6 + x^5/120 - \dots$ with $x = \kappa a/2$:

the correction $$\omega(\kappa) = c\kappa\Big(1 - \frac{(\kappa a)^2}{24} + \frac{(\kappa a)^4}{1920} - \dots\Big).$$

Proof. $\omega = (2c/a)\sin(\kappa a/2) = c\kappa\cdot\dfrac{\sin(\kappa a/2)}{\kappa a/2}$, and $\sin x/x = 1 - x^2/6 + x^4/120$ with $x = \kappa a/2$. $\square$

Unit 18 will derive the wave equation as the $a \to 0$ limit and predict $\omega = c\kappa$ exactly. The $-(\kappa a)^2/24$ is the size of the lie, and it is computable in advance.

worked · the fundamental of the $N=20$ chain

Continuum prediction. A string of length $L = 1.05\ \mathrm m$ with wave speed $c = a\sqrt{k/m} = 0.05\times15.8114 = 0.79057\ \mathrm{m\,s^{-1}}$ has fundamental $\omega = \pi c/L = 2.36538\ \mathrm{s^{-1}}$.

The chain. $\omega_1 = 2\sqrt{k/m}\sin(\pi/42) = 2\times15.8114\times0.0747300 = 2.36317\ \mathrm{s^{-1}}$.

The gap. $(2.36317 - 2.36538)/2.36538 = -0.0932\%$.

Predicted gap. $\kappa_1a = \pi/21 = 0.149600$, so $-(\kappa_1a)^2/24 = -0.0933\%$.

Three significant figures, from a Taylor series, with no fitting.

The next slide shows the whole chain, mode by mode.

07 · the chain

The deficit, mode by mode

The exact relative deficit of mode $n$ below the continuum line is $$1 - \frac{\sin(\kappa_na/2)}{\kappa_na/2}, \qquad \kappa_na = \frac{n\pi}{21},$$ and the one-term prediction is $(\kappa_na)^2/24$.

At $n = 5$ the prediction is $2.331\%$ against an actual $2.315\%$; at $n = 10$, $9.33\%$ against $9.07\%$; at $n = 20$, $37.3\%$ against $33.3\%$.

as a truncated series should

Excellent where $\kappa a$ is small, degrading smoothly where it is not, and always on the same side: the next term, $+(\kappa a)^4/1920$, is positive, so the prediction overstates the deficit. Unit 21 makes that sentence precise.

n = 1: 0.093 % n = 5: 2.32 % n = 10: 9.07 % n = 20: 33.3 % (κa)²/24: slope 2 0.1 1 10 1 2 5 10 20 deficit (%), log scale mode n, log scale

Both axes logarithmic. Dots: the exact deficit of each of the twenty modes. Dashed: $(\kappa a)^2/24$, a power law, so a straight line of slope $2$. The dots sit on it for small $n$ and fall below it as $\kappa a$ nears $\pi$.

section 4

Zero modes, and the symmetries responsible

Take the walls away and one frequency goes to zero. That is not an accident and not a degeneracy: it is a symmetry, and behind it a conservation law — six units before Noether (unit 13) says why.

07 · zero modes

Cut the chain loose

Remove the two walls from the chain: $N$ masses, $N-1$ springs, nothing fixed. Now $V = \tfrac k2\sum_{j=1}^{N-1}(u_{j+1}-u_j)^2$, and $K = k\tilde A_N$ with $\tilde A_N$ equal to $A_N$ except that the two corner entries are $1$ instead of $2$.

the spectrum, free ends

$$\omega_n = 2\sqrt{\frac km}\,\sin\frac{n\pi}{2N}, \qquad n = 0,1,\dots,N-1,$$ so $\omega_0 = 0$ with mode $v^{(0)} = (1,1,\dots,1)$.

Check it on $N = 3$: the next slide.

definition

A zero mode is a solution of $Kv = 0$, $v \ne 0$: a displacement direction that costs no potential energy to second order.

why the old argument failed

“Writing down $M$ and $K$” proved $K$ positive definite by saying the walls force the common value $u_0 = \dots = u_{N+1}$ to be zero. With no walls, $u = (1,1,\dots,1)$ has every difference zero: $u^{\!\top}Ku = 0$ with $u \ne 0$. Positive semidefinite, not definite.

07 · zero modes

The free chain's three modes

$N = 3$, no walls: $K = k\begin{pmatrix}1&-1&0\\-1&2&-1\\0&-1&1\end{pmatrix}$, $M = mI$. The formula gives $\omega = 0,\ \sqrt{k/m},\ \sqrt{3k/m}$.

  • $(1,1,1)$: $K$ kills it — each row sums to $0$. Sliding the whole chain sideways costs nothing, because nothing is attached to anything fixed.
  • $(1,0,-1)$: the middle mass is stationary, so this is exactly two independent mass–spring pairs, $\omega = \sqrt{k/m}$. ✓
  • $(1,-2,1)$: $K$ gives $k(3,-6,3)$, three times the shape, so $\omega^2 = 3k/m$. ✓

Verified numerically for $N = 3, 4, 6$ against the formula. The three shapes are orthogonal, as $M = mI$ requires.

ω = 0 · the chain slides at rest ω = √(k/m) · middle at rest ω = √(3k/m) · middle against ends

The three modes of three free masses, as displacement arrows. The top one is not a vibration at all: nothing restores it, so nothing makes it oscillate.

07 · zero modes

A symmetry of $V$ is a null vector of $K$

theorem · a symmetry is a null vector, six units before Noether

Let $u^*$ be an equilibrium of $V$ and let $s \mapsto \varphi(s)$ be a $C^2$ curve in configuration space with $\varphi(0) = u^*$ and $V(\varphi(s)) = V(u^*)$ for all $s$ near $0$. Then $w = \varphi'(0)$ satisfies $$w^{\!\top}Kw = 0, \quad\text{and hence}\quad Kw = 0 .$$

proof

$g(s) = V(\varphi(s))$ is constant, so $g''(0) = 0$. The chain rule (unit 03) gives $g'(s) = \nabla V(\varphi(s))\cdot\varphi'(s)$ and $$g''(0) = \varphi'(0)^{\!\top}\mathrm{Hess}\,V(u^*)\,\varphi'(0) + \nabla V(u^*)\cdot\varphi''(0),$$ whose second term vanishes at an equilibrium. So $w^{\!\top}Kw = 0$, and Cauchy–Schwarz for the semidefinite form $K$ upgrades that to $Kw = 0$. $\square$

the Cauchy–Schwarz step in full, in the notes (N)

u* w: Kw = 0 stiff floor: V = V(u*) V high

A point in the plane in a round trough, $V(u) = (\lVert u\rVert - 1)^2$: contours of $V$, and the floor, a circle of equilibria. Rotating $u^*$ keeps $V$ fixed, so the tangent $w$ is a zero mode; the radial direction is stiff. The curve bends away from $w$, but $\varphi''(0)$ meets $\nabla V(u^*) = 0$ and drops out.

07 · zero modes · example

Counting zero modes

worked · counting zero modes

Free chain. $\varphi(s) = u^* + s(1,\dots,1)$ slides everything along the line; $V$ depends only on differences, so it is invariant. $w = (1,\dots,1)$: the zero mode found on “Cut the chain loose”, now explained.

A molecule in space, $n$ atoms, $3n$ coordinates, $V$ invariant under translations and rotations. Three translations give three zero modes; three rotations $\varphi(s) = R(s)u^*$ give $w = \Omega u^*$ with $\Omega \in \mathfrak{so}(3)$ (unit 03) — three more, or two if the molecule is straight.

Count. $3n - 6$ vibrational modes, or $3n - 5$ if linear. For $\mathrm{CO_2}$ ($n = 3$, linear): $\mathbf 4$.

Unit 13 turns this into Noether's theorem proper: there a symmetry gives a conserved quantity, here a symmetry gives a direction of zero restoring force. Same hypothesis, two faces.

symmetric stretch infrared-silent antisymmetric stretch 2349 cm⁻¹ bend, in the page 667 cm⁻¹ bend, out of the page 667 cm⁻¹

$\mathrm{CO_2}$'s four vibrations: $3\times3 = 9$ coordinates, minus three translations and two rotations (spinning about its own axis moves no atom). The two bends are the same motion turned through $90^\circ$ about the axis, so they share a frequency. Schematic.

07 · zero modes

What a zero mode actually does

In normal coordinates the zero mode obeys $\ddot q_0 = 0$, so

$$q_0(t) = \alpha + \beta t .$$

Not an oscillation: a uniform drift. For the free chain that is the centre of mass moving at constant velocity, which is momentum conservation — and $\beta = \langle\dot u(0), v^{(0)}\rangle_M = \sum_j m\dot u_j(0)$ is the total momentum, up to normalisation.

the Jordan block returns

In the $2n$-dimensional system $\dot y = Ay$, a zero mode contributes eigenvalue $0$ with algebraic multiplicity $2$ and only one eigenvector: a genuine $2\times2$ Jordan block, whose exponential $\begin{pmatrix}1&t\\0&1\end{pmatrix}$ is the $\alpha+\beta t$ above.

This is the only way a Jordan block can occur in an undamped system. Section 1 was not scenery.

mass 1 mass 2 mass 3 centre of mass mass 1 kicked at t = 0 0 4 8 12 t √(k/m) position / a 1 3 5 7

Three free masses, the first kicked at $t = 0$ (rest spacing $a$, unit kick speed $a\sqrt{k/m}$). Every mass wiggles — the two vibrations — and all of them drift: the zero mode. Their mean, the centre of mass, moves on a straight line of slope $\tfrac13$.

07 · zero modes

The three regimes, side by side

the three regimes, complete
$\lambda = \omega^2$motionmeaning
$> 0$$\cos\omega t,\ \sin\omega t$stable direction
$= 0$$\alpha + \beta t$symmetry: a zero mode
$< 0$$e^{\pm|\omega|t}$unstable; unit 02's saddle

No fourth case. In particular no $\omega$ with both parts nonzero — growing oscillation needs damping or driving, and neither is in $M\ddot u = -Ku$ with $M, K$ symmetric.

That the list is complete is the theorem of “What the reduction proves”: $\lambda$ real, always; a full basis of modes, always.

q q̇ λ > 0: closed orbits q q̇ λ = 0: drift q q̇ λ < 0: saddle

One normal coordinate in its phase plane $(q, \dot q)$, for each sign of $\lambda$. Closed orbits; straight lines along which $q$ drifts at constant $\dot q$, with a whole axis of rest points; a saddle, two directions in and two out. Nothing spirals: a spiral is the forbidden complex $\omega$.

section 5

Rayleigh: bounding a frequency without solving

The lowest frequency is the minimum of a ratio. So any guess at the shape, however crude, is an upper bound — and you know the direction of the error.

07 · Rayleigh

The Rayleigh quotient

definition

For $u \ne 0$, the Rayleigh quotient of the pair $(K, M)$ is $$R(u) = \frac{u^{\!\top}Ku}{u^{\!\top}Mu} = \frac{2V(u)}{\lVert u\rVert_M^2} .$$ It is scale-invariant: $R(cu) = R(u)$, so it is really a function on directions.

theorem · the lowest frequency is a minimum

$\omega_1^2 = \lambda_1 = \min_{u \ne 0} R(u)$, attained exactly on the lowest mode's eigenspace; and $\lambda_n = \max_u R(u)$.

Proof. Expand $u = \sum_p c_pv_p$ in the $M$-orthonormal modes. Then $u^{\!\top}Mu = \sum_pc_p^2$ and $u^{\!\top}Ku = \sum_p\lambda_pc_p^2$, so $R(u) = \sum_p\lambda_pc_p^2\big/\sum_pc_p^2$ is a weighted average of $\lambda_1,\dots,\lambda_n$ with nonnegative weights. Hence $\lambda_1 \le R(u) \le \lambda_n$, with equality on the left iff $c_p = 0$ whenever $\lambda_p > \lambda_1$. $\square$

The physics. $R(u)$ is twice the potential energy of the shape $u$ over twice the kinetic energy of moving with that shape at unit rate. The system vibrates in whatever shape makes the ratio smallest: stiffness cheap, inertia dear.

The spectral theorem's proof was this argument already: its eigenvector was a maximiser of the same kind of quotient. The next slide draws $R$ for the two-mass example.

07 · Rayleigh

The quotient for two masses, drawn

For the two-mass example, $R$ depends only on the direction of $u = (\cos\varphi, \sin\varphi)$: $$R(\varphi) = \frac{2 - 2\cos\varphi\sin\varphi}{\cos^2\varphi + 4\sin^2\varphi}\ \mathrm{s^{-2}}.$$

what it is good for

Any trial vector bounds $\omega_1$ from above — no solving, and the error is one-sided. And the bound is forgiving: at the minimum $R$ has zero gradient, so an error $\varepsilon$ in the shape costs only $O(\varepsilon^2)$ in the frequency.

On the plot: $15^\circ$ off the true shape, $R = 0.3888$ against $\lambda_1 = 0.3486$, so $\omega_1 \le 0.6235$ against the true $0.5904$ — $5.6\%$ high, from a $15^\circ$ ($0.26$ rad) error in the shape.

min λ₁ = 0.349, at v⁽¹⁾ max λ₂ = 2.151, at v⁽²⁾ 15° off: R = 0.389 0 1 2 0° 45° 90° 135° 180° R (s⁻²) φ: direction of u = (cos φ, sin φ)

$R$ over every direction in the plane. Its minimum is $\lambda_1$, at the direction of $v^{(1)}$; its maximum is $\lambda_2$, at $v^{(2)}$; every other value lies between. The bottom is flat: that is the quadratic insensitivity.

07 · Rayleigh · example

Worked: bounding the fundamental of a five-mass chain

worked · the five-mass chain

The quotient. With $M = mI$, $$R(u) = \frac km\cdot\frac{\sum_{j=0}^{5}(u_{j+1}-u_j)^2}{\sum_{j=1}^{5}u_j^2}, \qquad u_0 = u_6 = 0 .$$

Trial 1 · flat, $u = (1,1,1,1,1)$. Differences $1,0,0,0,0,-1$: numerator $2$, denominator $5$. $R = \tfrac25\tfrac km$, so $\omega_1 \le 0.632456\sqrt{k/m}$.

Trial 2 · tent, $u = (1,2,3,2,1)$. Differences $1,1,1,-1,-1,-1$: numerator $6$, denominator $19$. $R = \tfrac{6}{19}\tfrac km$, so $$\omega_1 \le \sqrt{\tfrac{6}{19}}\sqrt{k/m} = 0.561951\sqrt{k/m}.$$

Trial 3 · rounded tent, $u = (2,4,5,4,2)$. Differences $2,2,1,-1,-2,-2$: numerator $18$, denominator $65$. $R = \tfrac{18}{65}\tfrac km$, so $\omega_1 \le 0.526235\sqrt{k/m}$.

The exact answer. $\omega_1 = 2\sin(\pi/12)\sqrt{k/m} = \sqrt{2-\sqrt3}\,\sqrt{k/m} = 0.517638\sqrt{k/m}$.

trial$\omega_1$ boundexcess
flat0.63245622.18%
tent0.5619518.56%
rounded0.5262351.66%
exact0.517638—

The flat trial violates the boundary behaviour badly (a jump of $1$ at each wall) and still lands within $22\%$. That is the practical point: Rayleigh's method is hard to make fail.

07 · Rayleigh · example

The trial shapes, drawn

every bound is above, as promised

The true mode is $v_j = \sin(j\pi/6) \propto (1,\,1.732,\,2,\,1.732,\,1)$. The tent $(1,2,3,2,1)$ is too peaked; $(2,4,5,4,2)$ is closer, and its error in $\omega_1$ is $1.66\%$ while its shape error is $7.2\%$ — the quadratic insensitivity, visible.

"Shape error" here is the distance from the true mode after the best rescaling, relative to its length: $27.7\%$ for flat, $15.2\%$ for the tent, $7.2\%$ for the rounded tent. The frequency errors are $22.2\%$, $8.6\%$ and $1.7\%$ — shrinking much faster than the shape errors.

exact: sin(jπ/6) flat tent rounded tent 0 1 2 3 4 5 6 mass j (0 and 6: the walls)

The exact lowest mode of five masses (solid, a sampled sine) and the three trials, each rescaled to fit it as well as it can. The rounded tent is nearly on top of it, and its bound is $1.7\%$ high.

07 · closing

The chain, closed — and what it unlocks

The chain, from start to finish:

  • $M = mI$, $K = kA_N$ from the energy alone;
  • $K$ positive definite by a sum of squares, so every $\omega_n > 0$ before any computation;
  • $v^{(n)}_j = \sin\big(jn\pi/(N{+}1)\big)$, $\omega_n = 2\sqrt{k/m}\sin\big(n\pi/2(N{+}1)\big)$, exactly, with the ansatz verified rather than asserted;
  • the walls removed: one frequency drops to zero, and the symmetry responsible is named;
  • its fundamental bounded to $1.7\%$ by a vector written down in five seconds.

And a number worth keeping: the continuum theory of unit 18 will predict this chain's fundamental $0.093\%$ too high, which this unit knew in advance.

What this unlocks.

  • 18: $a \to 0$, and $A_N/a^2$ becomes $-\partial_x^2$: the wave equation, with this unit's $\omega(\kappa)$ as its error bar.
  • 19: the modes are a basis — here by the spectral theorem in $\mathbb R^n$, there by Sturm–Liouville theory in $L^2$, and the $M$-inner product becomes a weighted integral.
  • 16: the inertia tensor's principal axes are this unit's theorem again, with $K$ replaced by a moment-of-inertia form.
  • 13: symmetry $\Rightarrow$ zero mode becomes symmetry $\Rightarrow$ conserved quantity.
  • 22: principal stresses; 32: diagonalising a metric at a point.

07 · checkpoint

Done when

checkpoint

Given any pair $(M, K)$ of symmetric matrices with $M$ positive definite, you can:

  • produce the normal frequencies and mode shapes, by the reduction to $S = M^{-1/2}KM^{-1/2}$ or directly from $\det(K-\lambda M) = 0$;
  • verify orthogonality in the $M$-inner product, and say why the Euclidean one is the wrong test;
  • identify every zero mode and name the symmetry of $V$ responsible for it;
  • explain why $\omega^2$ is always real, and why an $\omega$ with nonzero real and imaginary parts cannot occur.

Falsifiable four ways: checking orthogonality with the Euclidean product, missing a zero mode, claiming a complex frequency, or failing to say where positive definiteness was used. Record it with ./mr done 07.

Problems

./mr problems 07 — 13 problems, about five hours. Hints and worked solutions fold under each problem on the same page.

Next

08 the central-force problem (needs 04, 06) · 12 Lagrangian mechanics, where a general $M(q)$ arrives properly · 18 the continuum limit of this unit's chain · 19 the modes as a complete basis.