Part A · unit 07 · problems

Many oscillators, and the spectral theorem earning its keep

Checkpoint. Given any pair \((M,K)\) of symmetric matrices with \(M\) positive definite, you produce the normal frequencies and mode shapes, verify orthogonality in the \(M\)-inner product rather than the Euclidean one, identify every zero mode with the symmetry responsible, and can explain why an \(\omega\) with nonzero real and imaginary parts cannot occur.

Work each problem on paper first. Under it, Hints opens a ladder one rung at a time — each rung appears only once the one before it is open, and the last gives the first line of the working — and Worked solution has the whole thing: the idea, the working, then a check. Read the solution after your attempt, including when you got it right. F folds everything back; D switches dark and light.

Thirteen problems, about five hours. Work them on paper first. Throughout, \(A_N\) is the second-difference matrix (\(2\) on the diagonal, \(-1\) beside it), and a "chain" means equal masses on equal springs unless stated otherwise.

Linear systems and the matrix exponential

P1 Three matrix exponentials routine

exercises: the definition of \(e^{At}\), eigendecomposition, the nilpotent case

Compute \(e^{At}\) in closed form for each of \[ A_a = \begin{pmatrix}3&1\\1&3\end{pmatrix}, \qquad A_b = \begin{pmatrix}0&-\omega\\ \omega&0\end{pmatrix}, \qquad A_c = \begin{pmatrix}2&1\\0&2\end{pmatrix}. \]

  1. For each, say which route you used (diagonalisation, direct summation of the series, or the nilpotent splitting) and why it was available.
  2. Verify in each case that \(\tfrac{\mathrm d}{\mathrm dt}e^{At} = Ae^{At}\) and that \(e^{A\cdot0} = I\).
  3. For \(A_b\), say in one sentence what the answer means geometrically, and check that \(\det e^{A_bt} = 1\) for every \(t\).
Hints · 3 rungs
Rung 1

Each answer is a \(2\times2\) matrix whose entries are functions of \(t\), equal to \(I\) at \(t = 0\). Before computing anything, find the eigenvalues of each matrix: they decide which of the three routes is open.

Rung 2

\(A_a\) is symmetric with distinct eigenvalues, so diagonalise — and the diagonalising matrix can be taken orthogonal, which makes \(P^{-1} = P^{\!\top}\). For \(A_b\), compute \(A_b^2\) before anything else. For \(A_c\), subtract off a multiple of \(I\) and look at what is left.

Rung 3

\(A_a\): eigenvalues \(4\) and \(2\), eigenvectors \((1,1)\) and \((1,-1)\). \(A_b^2 = -\omega^2I\), so split the series into even and odd powers. \(A_c = 2I + N\) with \(N^2 = 0\), and \(2I\) commutes with \(N\).

Worked solution

Idea. There are exactly three routes to \(e^{At}\) for a \(2\times2\) matrix, and which one is available is decided by the eigenvalues: distinct real ones allow diagonalisation, a pair \(\pm i\omega\) makes \(A^2\) a multiple of \(I\) so the series folds into sine and cosine, and a repeated defective one makes \(A - \lambda I\) nilpotent.

(a) \(A_a = \begin{pmatrix}3&1\\1&3\end{pmatrix}\). Symmetric, so the spectral theorem applies: \(\det(A_a-\mu I) = (3-\mu)^2-1\) gives \(\mu = 4, 2\) with orthonormal eigenvectors \(\tfrac1{\sqrt2}(1,1)\) and \(\tfrac1{\sqrt2}(1,-1)\). With \(Q = \tfrac1{\sqrt2}\begin{pmatrix}1&1\\1&-1\end{pmatrix} = Q^{\!\top} = Q^{-1}\), \[ e^{A_at} = Q\begin{pmatrix}e^{4t}&0\\0&e^{2t}\end{pmatrix}Q^{\!\top} = \frac12\begin{pmatrix}e^{4t}+e^{2t} & e^{4t}-e^{2t}\\ e^{4t}-e^{2t} & e^{4t}+e^{2t}\end{pmatrix}. \]

(b) \(A_b = \begin{pmatrix}0&-\omega\\ \omega&0\end{pmatrix}\). Here \(A_b^2 = -\omega^2I\), so the series splits into even and odd parts: \[ e^{A_bt} = \sum_{j}\frac{(-1)^j(\omega t)^{2j}}{(2j)!}I \;+\; \sum_{j}\frac{(-1)^j(\omega t)^{2j+1}}{(2j+1)!}\frac{A_b}{\omega} = \cos(\omega t)\,I + \frac{\sin(\omega t)}{\omega}A_b = \begin{pmatrix}\cos\omega t & -\sin\omega t\\ \sin\omega t & \cos\omega t\end{pmatrix}. \] No diagonalisation over \(\mathbb R\) is possible — the eigenvalues are \(\pm i\omega\) — and none was needed.

(c) \(A_c = \begin{pmatrix}2&1\\0&2\end{pmatrix}\). Write \(A_c = 2I + N\) with \(N = \begin{pmatrix}0&1\\0&0\end{pmatrix}\), \(N^2 = 0\). The two commute, so \[ e^{A_ct} = e^{2t}e^{Nt} = e^{2t}(I+Nt) = e^{2t}\begin{pmatrix}1&t\\0&1\end{pmatrix}. \] Diagonalisation is unavailable: \(\mu = 2\) twice with a one-dimensional eigenspace.

2. The derivative check. (a) Write \(p = e^{4t}+e^{2t}\) and \(q = e^{4t}-e^{2t}\), so \(e^{A_at} = \tfrac12\begin{pmatrix}p&q\\q&p\end{pmatrix}\). Differentiating gives \(\tfrac12\begin{pmatrix}4e^{4t}+2e^{2t}&4e^{4t}-2e^{2t}\\ 4e^{4t}-2e^{2t}&4e^{4t}+2e^{2t}\end{pmatrix}\), while \(A_ae^{A_at} = \tfrac12\begin{pmatrix}3p+q&3q+p\\p+3q&q+3p\end{pmatrix}\), and \(3p+q = 4e^{4t}+2e^{2t}\), \(3q+p = 4e^{4t}-2e^{2t}\): the same matrix. (b) differentiating gives \(\omega\begin{pmatrix}-\sin&-\cos\\ \cos&-\sin\end{pmatrix} = A_be^{A_bt}\). (c) \(\tfrac{\mathrm d}{\mathrm dt}\big[e^{2t}(I+Nt)\big] = e^{2t}\big(2I+2Nt+N\big) = (2I+N)e^{2t}(I+Nt)\), using \(N^2 = 0\). All three give \(I\) at \(t = 0\).

3. \(e^{A_bt}\) is rotation of the plane through angle \(\omega t\), so \(\det = \cos^2 + \sin^2 = 1\) for every \(t\).

Check. The identity \(\det e^{At} = e^{t\,\mathrm{tr}A}\) settles all three at once. (Proof: if \(A = PJP^{-1}\) with \(J\) in Jordan form — cited on the deck — then \(e^{At} = Pe^{Jt}P^{-1}\), and \(e^{Jt}\) is upper triangular with diagonal entries \(e^{\lambda_it}\), so its determinant is \(e^{t\sum\lambda_i} = e^{t\,\mathrm{tr}A}\).) \(\mathrm{tr}A_a = 6\) and indeed \(\tfrac14\big[(e^{4t}+e^{2t})^2 - (e^{4t}-e^{2t})^2\big] = e^{6t}\); \(\mathrm{tr}A_b = 0\) and \(\det = 1\); \(\mathrm{tr}A_c = 4\) and \(\det = e^{4t}\).

P2 Exponentials commute only when the matrices do medium

exercises: the Cauchy product, a proof by comparing Taylor coefficients

  1. With \(A = \begin{pmatrix}0&1\\0&0\end{pmatrix}\) and \(B = \begin{pmatrix}0&0\\1&0\end{pmatrix}\), compute \(e^Ae^B\), \(e^Be^A\) and \(e^{A+B}\) explicitly, and confirm that all three differ.
  2. Prove: if \(e^{(A+B)t} = e^{At}e^{Bt}\) for all \(t\) in some interval around \(0\), then \(AB = BA\). (Compare coefficients of \(t^2\).)
  3. Deduce that \(e^{A(t+s)} = e^{At}e^{As}\) always holds, without any hypothesis on \(A\).
Hints · 3 rungs
Rung 1

Part 1 is three explicit \(2\times2\) matrices. Part 2 is a proof, and the object you compare is a power series in \(t\) with matrix coefficients. Part 3 is one sentence.

Rung 2

For part 1, note that \(A^2 = B^2 = 0\) but \((A+B)^2 \ne 0\); compute \((A+B)^2\) and you will see why the third answer looks nothing like the first two. For part 2, expand both sides to order \(t^2\) and equate coefficients — two convergent power series agreeing on an interval have equal coefficients.

Rung 3

Part 1, first line: \(e^A = I + A\) and \(e^B = I + B\); and \((A+B)^2 = I\). Part 2, first line: the \(t^2\) coefficient of \(e^{(A+B)t}\) is \(\tfrac12(A^2+AB+BA+B^2)\) while that of \(e^{At}e^{Bt}\) is \(\tfrac12A^2 + AB + \tfrac12B^2\).

Worked solution

Idea. The failure is already visible at order \(t^2\), where \((A+B)^2\) and \(A^2 + 2AB + B^2\) differ by \(AB - BA\). Everything in this problem is that one observation, read forwards and backwards.

1. \(A^2 = B^2 = 0\), so \(e^A = I + A = \begin{pmatrix}1&1\\0&1\end{pmatrix}\) and \(e^B = I + B = \begin{pmatrix}1&0\\1&1\end{pmatrix}\). Hence \[ e^Ae^B = \begin{pmatrix}2&1\\1&1\end{pmatrix}, \qquad e^Be^A = \begin{pmatrix}1&1\\1&2\end{pmatrix}. \] For \(A+B = \begin{pmatrix}0&1\\1&0\end{pmatrix}\) we have \((A+B)^2 = I\), so the even terms sum to \(\cosh1\,I\) and the odd ones to \(\sinh1\,(A+B)\): \[ e^{A+B} = \begin{pmatrix}\cosh1&\sinh1\\ \sinh1&\cosh1\end{pmatrix} \approx \begin{pmatrix}1.543081&1.175201\\ 1.175201&1.543081\end{pmatrix}. \] All three differ; the traces alone, \(3\), \(3\) and \(2\cosh1 = 3.086161\), separate the last from the first two, and the off-diagonal entries separate the first two from each other.

2. Proof. Expand both sides in powers of \(t\), which is legitimate because each series converges absolutely and uniformly on compact intervals: \[ e^{(A+B)t} = I + (A+B)t + \tfrac12(A+B)^2t^2 + O(t^3), \] \[ e^{At}e^{Bt} = \big(I + At + \tfrac12A^2t^2\big)\big(I + Bt + \tfrac12B^2t^2\big) + O(t^3) = I + (A+B)t + \big(\tfrac12A^2 + AB + \tfrac12B^2\big)t^2 + O(t^3). \] Two power series in \(t\) with matrix coefficients agree on an interval only if the coefficients agree, so \(\tfrac12(A^2+AB+BA+B^2) = \tfrac12A^2 + AB + \tfrac12B^2\), i.e. \(\tfrac12(AB+BA) = AB\), i.e. \(BA = AB\). \(\square\)

3. \(At\) and \(As\) commute for any \(A\), since both are multiples of \(A\). So the "if" direction of the commuting case applies and \(e^{A(t+s)} = e^{At}e^{As}\) with no hypothesis. In particular \(e^{At}\) is invertible with inverse \(e^{-At}\).

Check. Part 2's conclusion is consistent with part 1: there \(AB = \begin{pmatrix}1&0\\0&0\end{pmatrix} \ne \begin{pmatrix}0&0\\0&1\end{pmatrix} = BA\), and the \(t^2\) coefficients of the two sides differ by \(\tfrac12(AB-BA) = \tfrac12\begin{pmatrix}1&0\\0&-1\end{pmatrix} \ne 0\) — which is exactly why the traces came out \(3\) and \(3.086\).

P3 Critical damping is a Jordan block medium

exercises: defective eigenvalues, the nilpotent splitting, a limit of a family

Unit 06's \(\ddot x + \gamma\dot x + \omega_0^2x = 0\), written as \(\dot y = Ay\) with \(y = (x,\dot x)\).

  1. Write \(A\) and show that at \(\gamma = 2\omega_0\) it has the single eigenvalue \(-\omega_0\) with a one-dimensional eigenspace — so it is defective.
  2. Show that \(N = A + \omega_0I\) satisfies \(N^2 = 0\), and deduce \(e^{At}\) in closed form.
  3. Take the underdamped solution \(e^{-\gamma t/2}\sin(\omega_dt)/\omega_d\) with \(\omega_d = \sqrt{\omega_0^2-\gamma^2/4}\) and let \(\gamma \to 2\omega_0\). Show the limit is \(te^{-\omega_0t}\), matching part 2.
  4. With \(\omega_0 = 2\ \mathrm{s^{-1}}\), \(x(0) = 0\) and \(\dot x(0) = 1\ \mathrm{m\,s^{-1}}\), find the time and the value of the maximum displacement. Give the number in metres.
Hints · 3 rungs
Rung 1

Part 1 asks you to show a dimension is \(1\) when it could have been \(2\). Part 2's answer is a matrix. Part 4's answer is a number of metres and a number of seconds.

Rung 2

Defective means: algebraic multiplicity \(2\), geometric multiplicity \(1\). Solve \((A+\omega_0I)w = 0\) and count independent equations. For part 3, write \(\sin(\omega_dt)/\omega_d\) as \(t\cdot\sin(\omega_dt)/(\omega_dt)\) before taking the limit.

Rung 3

\(A = \begin{pmatrix}0&1\\-\omega_0^2&-\gamma\end{pmatrix}\), and at \(\gamma = 2\omega_0\) both rows of \((A+\omega_0I)w = 0\) say \(\omega_0w_1 + w_2 = 0\). For part 4, the response to a unit initial velocity is the \((1,2)\) entry of \(e^{At}\), which is \(te^{-\omega_0t}\).

Worked solution

Idea. Unit 06 found \(te^{-\omega_0t}\) by trying it and checking. Here it is derived: the matrix of the system is defective at \(\gamma = 2\omega_0\), and a defective eigenvalue is precisely what puts a polynomial in front of the exponential.

1. With \(y = (x,\dot x)\), \(A = \begin{pmatrix}0&1\\-\omega_0^2&-\gamma\end{pmatrix}\) and \(\det(A-\mu I) = \mu^2 + \gamma\mu + \omega_0^2\). At \(\gamma = 2\omega_0\) this is \((\mu+\omega_0)^2\), a double root at \(\mu = -\omega_0\). The eigenvector equation \((A+\omega_0I)w = 0\) reads \(\omega_0w_1 + w_2 = 0\) in both rows — one independent equation — so the eigenspace is spanned by \((1,-\omega_0)\) alone. Geometric multiplicity \(1\) against algebraic multiplicity \(2\): defective.

2. \(N = A + \omega_0I = \begin{pmatrix}\omega_0&1\\-\omega_0^2&-\omega_0\end{pmatrix}\) and \[ N^2 = \begin{pmatrix}\omega_0^2-\omega_0^2 & \omega_0-\omega_0\\ -\omega_0^3+\omega_0^3 & -\omega_0^2+\omega_0^2\end{pmatrix} = 0 . \] Since \(-\omega_0I\) commutes with everything, \[ e^{At} = e^{-\omega_0t}(I+Nt) = e^{-\omega_0t}\begin{pmatrix}1+\omega_0t & t\\ -\omega_0^2t & 1-\omega_0t\end{pmatrix}. \] The \((1,2)\) entry, \(te^{-\omega_0t}\), is the response to a unit initial velocity: unit 06's critically damped Green's function.

3. With \(\omega_d = \sqrt{\omega_0^2-\gamma^2/4} \to 0\) as \(\gamma \to 2\omega_0\), \[ e^{-\gamma t/2}\frac{\sin\omega_dt}{\omega_d} = e^{-\gamma t/2}\,t\,\frac{\sin\omega_dt}{\omega_dt} \longrightarrow e^{-\omega_0t}\,t, \] since \(\sin x/x \to 1\) and \(\gamma/2 \to \omega_0\). The limit is uniform on compact \(t\)-intervals, so the family of solutions is continuous in \(\gamma\) through the degenerate value — nothing jumps.

4. With \(x(0) = 0\), \(\dot x(0) = 1\ \mathrm{m\,s^{-1}}\) and \(\omega_0 = 2\ \mathrm{s^{-1}}\), the second column of \(e^{At}\) gives \(x(t) = te^{-2t}\). Then \(\dot x = (1-2t)e^{-2t}\), zero at \[ t = \frac1{\omega_0} = 0.5\ \mathrm s, \qquad x_{\max} = \frac{1}{\omega_0 e} = 0.5\,e^{-1} = 0.183940\ \mathrm m . \]

Check. Dimensions: \(e^{At}\) has entries \(\begin{pmatrix}1&\mathrm s\\ \mathrm{s^{-2}}&1\end{pmatrix}\), so the \((1,2)\) entry times a velocity gives a length, as used. Limit: as \(\omega_0 \to 0\) the matrix tends to \(\begin{pmatrix}1&t\\0&1\end{pmatrix}\), free motion. Number: \(x_{\max} = 1/(\omega_0e)\) — halve \(\omega_0\) and the peak doubles and arrives twice as late, which is what a softer critically damped system should do.

The generalised eigenvalue problem

P4 Two masses, three springs, completely routine

exercises: setting up \(M\) and \(K\), solving a \(2\times2\) pencil, reading the shapes

Two equal masses \(m\) on a line between two walls, joined wall–mass–mass–wall by springs of stiffness \(k\), \(k_c\), \(k\).

  1. Write \(V(u_1,u_2)\) and read off \(M\) and \(K\).
  2. Solve \(\det(K-\lambda M) = 0\) and find both mode shapes. Identify which is which physically.
  3. Check the two frequencies against the running example's formula when \(k_c = k\), and against a direct argument in the limits \(k_c \to 0\) and \(k \to 0\).
  4. Verify \(M\)-orthogonality of the two modes, and say why it happens to coincide with Euclidean orthogonality here.
Hints · 3 rungs
Rung 1

The answer to part 2 is two numbers and two vectors. You can write the two vectors down before doing any algebra, if you notice what the system looks like under swapping the two masses.

Rung 2

The potential energy is a sum of three spring terms; \(K\) is its Hessian, so the \((1,2)\) entry comes only from the middle spring. For part 3, in the limit \(k \to 0\) you should expect a zero mode — ask which symmetry has appeared.

Rung 3

\(K = \begin{pmatrix}k+k_c & -k_c\\ -k_c & k+k_c\end{pmatrix}\), and \(\det(K - \lambda mI) = (k+k_c-\lambda m)^2 - k_c^2\), which factors without the quadratic formula.

Worked solution

Idea. With equal masses the system is symmetric under swapping the two coordinates, so the modes must be the symmetric and antisymmetric vectors \((1,1)\) and \((1,-1)\) — and one can read the frequencies off without solving anything. The determinant is done anyway, as a check.

1. \(V = \tfrac12ku_1^2 + \tfrac12k_c(u_2-u_1)^2 + \tfrac12ku_2^2\), so \[ K = \begin{pmatrix}k+k_c & -k_c\\ -k_c & k+k_c\end{pmatrix}, \qquad M = mI_2 . \]

2. \(\det(K-\lambda mI) = (k+k_c-\lambda m)^2 - k_c^2 = 0\) gives \(k+k_c-\lambda m = \pm k_c\), so \[ \lambda_1 = \frac km,\ \ v^{(1)} = (1,1); \qquad \lambda_2 = \frac{k+2k_c}{m},\ \ v^{(2)} = (1,-1). \] The lower mode moves both masses together, leaving the coupling spring unstretched — so it does not feel \(k_c\) at all. The upper mode moves them oppositely, stretching the coupling spring by \(2u\), which is why \(k_c\) enters doubled.

3. At \(k_c = k\): \(\omega_1 = \sqrt{k/m}\) and \(\omega_2 = \sqrt{3k/m}\), which is \(2\sqrt{k/m}\sin(n\pi/6)\) for \(n = 1,2\) — the running example's formula at \(N = 2\). ✓ As \(k_c \to 0\): both frequencies tend to \(\sqrt{k/m}\), a degenerate pair, and indeed the system becomes two independent wall–mass oscillators. ✓ As \(k \to 0\): \(\omega_1 \to 0\), a zero mode (nothing is attached to a wall, so sliding both masses costs nothing), and \(\omega_2 \to \sqrt{2k_c/m}\). Directly: in the opposed motion the midpoint of the coupling spring stays still, so each mass is held by half a spring, and half a spring is twice as stiff, \(2k_c\); hence \(\omega = \sqrt{2k_c/m}\). ✓

4. \(\langle v^{(1)},v^{(2)}\rangle_M = m(1\cdot1 + 1\cdot(-1)) = 0\). It coincides with the Euclidean test because \(M = mI\) is a multiple of the identity, so \(\langle u,v\rangle_M = m\,(u\cdot v)\). The moment the masses differ, the two tests part company — P6.

Check. Trace: \(\lambda_1+\lambda_2 = (2k+2k_c)/m = \mathrm{tr}(M^{-1}K)\). ✓ Determinant: \(\lambda_1\lambda_2 = k(k+2k_c)/m^2 = \det K/\det M\), since \(\det K = (k+k_c)^2-k_c^2 = k^2+2kk_c\). ✓

P5 Beats: energy sloshing at the difference frequency medium

exercises: superposition of two modes, envelopes, a number in seconds

Continue P4 with \(m = 0.50\ \mathrm{kg}\), \(k = 20\ \mathrm{N\,m^{-1}}\), \(k_c = 1.0\ \mathrm{N\,m^{-1}}\). At \(t = 0\) displace mass 1 by \(A\) and release both from rest.

  1. Find \(u_1(t)\) and \(u_2(t)\) as superpositions of the two modes, and rewrite each as a product of two cosines or sines — a fast oscillation times a slow envelope.
  2. Show that the energy passes completely from one mass to the other, and find the time at which mass 1 is first at rest at the origin.
  3. Give that time in seconds, and the number of fast oscillations that fit in it.
  4. Would the transfer still be complete if the two masses were unequal? Answer with a reason, not a computation.
Hints · 3 rungs
Rung 1

Parts 1 and 2 are algebra with two cosines; part 3 is a time in seconds and a pure number; part 4 is a sentence. Nothing here needs the matrices again — P4 supplied everything.

Rung 2

Decompose the initial displacement \((A,0)\) into the two modes before starting. Then use the sum-to-product identities: \(\cos P + \cos Q\) and \(\cos P - \cos Q\) both factor into a product of a fast and a slow factor when \(P\) and \(Q\) are close.

Rung 3

\(u_1 = \tfrac A2(\cos\omega_1t + \cos\omega_2t)\) and \(u_2 = \tfrac A2(\cos\omega_1t - \cos\omega_2t)\); the slow factor has argument \(\tfrac12(\omega_2-\omega_1)t\), and mass 1's envelope first vanishes when that argument is \(\pi/2\).

Worked solution

Idea. Two modes at nearby frequencies added together are one oscillation at the mean frequency multiplied by a slow envelope at half the difference. Which mass is moving is decided by the envelope.

Numbers first. \(\omega_1 = \sqrt{k/m} = \sqrt{40} = 6.324555\ \mathrm{s^{-1}}\), \(\omega_2 = \sqrt{(k+2k_c)/m} = \sqrt{44} = 6.633250\ \mathrm{s^{-1}}\), \(\Delta\omega = \omega_2-\omega_1 = 0.308694\ \mathrm{s^{-1}}\), \(\bar\omega = \tfrac12(\omega_1+\omega_2) = 6.478902\ \mathrm{s^{-1}}\).

1. The initial condition \(u(0) = (A,0)\), \(\dot u(0) = 0\) decomposes as \(u(0) = \tfrac A2(1,1) + \tfrac A2(1,-1)\), so both normal coordinates start at \(A/2\) with zero velocity: \[ u_1 = \tfrac A2\big(\cos\omega_1t + \cos\omega_2t\big) = A\cos\!\Big(\frac{\Delta\omega\,t}{2}\Big)\cos(\bar\omega t), \] \[ u_2 = \tfrac A2\big(\cos\omega_1t - \cos\omega_2t\big) = A\sin\!\Big(\frac{\Delta\omega\,t}{2}\Big)\sin(\bar\omega t), \] using \(\cos P + \cos Q = 2\cos\tfrac{P+Q}2\cos\tfrac{P-Q}2\) and \(\cos P - \cos Q = -2\sin\tfrac{P+Q}2\sin\tfrac{P-Q}2\).

2. The two envelopes are \(A|\cos(\Delta\omega t/2)|\) and \(A|\sin(\Delta\omega t/2)|\): whenever one is at its maximum the other is zero, and \(A^2\) worth of amplitude is conserved between them. Mass 1's envelope first vanishes when \(\Delta\omega t/2 = \pi/2\).

3. \[ t_* = \frac{\pi}{\Delta\omega} = \frac{\pi}{0.308694} = 10.1770\ \mathrm s . \] The number of fast oscillations in that time is \(t_*/(2\pi/\bar\omega) = \bar\omega/(2\Delta\omega) = 6.478902/0.617389 = 10.494\).

4. No. Write the modes as \((1,\alpha)\) and \((1,\beta)\). The initial displacement \((A,0)\) gives mass 1 the two contributions \(c_1 = -A\beta/(\alpha-\beta)\) and \(c_2 = A\alpha/(\alpha-\beta)\), and its motion can only come fully to rest if they are equal in size, \(|\alpha| = |\beta|\). \(M\)-orthogonality, \(m_1 + m_2\alpha\beta = 0\), makes \(\alpha\beta\) negative, so this means \(\beta = -\alpha\). The first row of \(Kv = \lambda Mv\) for the two modes reads \((k+k_c) - k_c\alpha = \lambda_1m_1\) and \((k+k_c) + k_c\alpha = \lambda_2m_1\); adding, \(\lambda_1 + \lambda_2 = 2(k+k_c)/m_1\). But the trace gives \(\lambda_1+\lambda_2 = \mathrm{tr}(M^{-1}K) = (k+k_c)(1/m_1 + 1/m_2)\), and the two agree only if \(m_1 = m_2\). So with unequal masses mass 1's envelope never reaches zero, and some energy always stays with it. (Mass 2's contributions, \(c_1\alpha\) and \(c_2\beta\), are always equal and opposite — it starts at rest at the origin and returns there periodically.) The reason, in words: complete transfer is a tuning condition, and the swap symmetry of equal masses is what tunes it.

Check. Dimensions: \(\Delta\omega\) is a frequency so \(t_*\) is a time. ✓ Limit: as \(k_c \to 0\), \(\Delta\omega \to 0\) and \(t_* \to \infty\) — with no coupling the energy never leaves mass 1. ✓ Number: a direct evaluation of \(u_1, u_2\) at \(t = t_*\) with \(A = 1\) gives \(u_1 = 1.7\times10^{-15}\) and an envelope of \(1\) for \(u_2\). The transfer is complete only up to the small residual velocity \(|\dot u_1(t_*)| \le A\Delta\omega/2\), which carries a fraction at most \((\Delta\omega/2\bar\omega)^2 = 5.7\times10^{-4}\) of the energy: complete to \(0.06\%\), not exactly.

P6 Orthogonality by hand, with one heavy mass medium

exercises: the \(M\)-inner product, why Euclidean orthogonality is the wrong test

A chain of three masses \(m_1 = m\), \(m_2 = 4m\), \(m_3 = m\) between two walls, on four springs each of stiffness \(k\). Take \(m = 1\ \mathrm{kg}\) and \(k = 1\ \mathrm{N\,m^{-1}}\).

  1. Write \(M\) and \(K\) and show that \(\det(K-\lambda M) = -2(\lambda - 2)(2\lambda^2 - 5\lambda + 1)\). Find the three \(\lambda\) exactly and the three \(\omega\) to six figures.
  2. Find the three mode shapes, normalising each to first component \(1\) where possible.
  3. Compute all three Euclidean dot products \(v^{(i)}\!\cdot v^{(j)}\), \(i \ne j\), and all three \(M\)-products. Exactly one Euclidean product is nonzero: which, and what is it?
  4. Explain in two sentences which inner product was the right one all along, and what feature of this system makes the difference visible.
Hints · 3 rungs
Rung 1

Three eigenvalues, three vectors, six inner products. One of the three eigenvalues can be guessed from the symmetry of the chain before you expand any determinant.

Rung 2

The reflection \(j \mapsto 4-j\) is a symmetry of both \(M\) and \(K\), so each mode is either symmetric or antisymmetric. The antisymmetric one must have \(v_2 = 0\) — and then reading off its \(\lambda\) takes one line. For the other two, rows 1 and 3 of \((K-\lambda M)v = 0\) give \(v_1 = v_3\).

Rung 3

The antisymmetric mode is \((1,0,-1)\) with \(\lambda = 2\). For the symmetric ones, \(v = (1,\ 2-\lambda,\ 1)\) with \(\lambda = (5\pm\sqrt{17})/4\); note that \((2-\lambda_1)(2-\lambda_3) = 4 - 2(\lambda_1+\lambda_3) + \lambda_1\lambda_3\), which Vieta gives you without computing the roots.

Worked solution

Idea. Everything hinges on one identity: the two symmetric modes have \(v^{(1)}_2v^{(3)}_2 = -\tfrac12\), and the heavy mass multiplies exactly that entry by \(4\). The Euclidean sum misses the \(4\); the \(M\)-sum does not.

1. \(M = \mathrm{diag}(1,4,1)\) and \(K = \begin{pmatrix}2&-1&0\\-1&2&-1\\ 0&-1&2\end{pmatrix}\) in SI units. Expanding along the first row, \[ \det(K-\lambda M) = (2-\lambda)\big[(2-4\lambda)(2-\lambda)-1\big] + \big[-(2-\lambda)\big] = -2(\lambda-2)(2\lambda^2-5\lambda+1). \] So \(\lambda_2 = 2\) and \(\lambda = \tfrac{5\pm\sqrt{17}}4\): \[ \lambda_1 = \tfrac{5-\sqrt{17}}4 = 0.219224, \quad \lambda_2 = 2, \quad \lambda_3 = \tfrac{5+\sqrt{17}}4 = 2.280776 \quad (\mathrm{s^{-2}}), \] \[ \omega_1 = 0.468213,\quad \omega_2 = 1.414214,\quad \omega_3 = 1.510224 \quad (\mathrm{s^{-1}}). \]

2. Rows 1 and 3 of \((K-\lambda M)v = 0\) read \((2-\lambda)v_1 = v_2\) and \((2-\lambda)v_3 = v_2\), so \(v_1 = v_3\) whenever \(\lambda \ne 2\): \[ v^{(1)} = \big(1,\ \tfrac{3+\sqrt{17}}4,\ 1\big) = (1,\ 1.780776,\ 1), \qquad v^{(3)} = \big(1,\ \tfrac{3-\sqrt{17}}4,\ 1\big) = (1,\ -0.280776,\ 1). \] At \(\lambda_2 = 2\) the first row forces \(v_2 = 0\) and the middle row gives \(v_1 + v_3 = 0\): \(v^{(2)} = (1,0,-1)\), the antisymmetric mode in which the heavy mass does not move at all.

3. \[ v^{(1)}\!\cdot v^{(2)} = 1+0-1 = 0, \qquad v^{(2)}\!\cdot v^{(3)} = 1+0-1 = 0, \qquad v^{(1)}\!\cdot v^{(3)} = 1 + \frac{(3+\sqrt{17})(3-\sqrt{17})}{16} + 1 = 2 - \tfrac12 = \tfrac32 . \] The \(M\)-products are \(0\), \(0\) and \(1 + 4\big(-\tfrac12\big) + 1 = 0\). The one nonzero Euclidean product is \(v^{(1)}\!\cdot v^{(3)} = 3/2\).

4. The \(M\)-inner product was right all along: \(M\)-orthogonality is a theorem about any pair of modes with distinct \(\lambda\), while Euclidean orthogonality is an accident of equal masses. What makes the difference visible here is that modes 1 and 3 are both symmetric, so nothing but the mass weighting separates them; modes 1 and 2 and modes 2 and 3 are orthogonal for free, because one is symmetric and the other antisymmetric under the reflection that also preserves \(M\).

Check. Trace: \(\lambda_1+\lambda_2+\lambda_3 = \tfrac52 + 2 = 4.5 = \mathrm{tr}(M^{-1}K) = 2+\tfrac12+2\). ✓ Determinant: \(\lambda_1\lambda_2\lambda_3 = 2\cdot\tfrac{25-17}{16} = 1 = \det K/\det M = 4/4\). ✓ Limit: set \(m_2 = m_1 = m_3\) and the spectrum becomes \(\{2-\sqrt2,\,2,\,2+\sqrt2\}\) — the \(N=3\) case of the chain formula, \(4\sin^2(n\pi/8)\). ✓

P7 Definiteness is the hypothesis hard

exercises: proof — \(M\)-orthogonality, reality of the spectrum, and a counterexample

Let \(M\) and \(K\) be real symmetric \(n\times n\).

  1. Prove that if \(Kv_i = \lambda_iMv_i\), \(Kv_j = \lambda_jMv_j\) and \(\lambda_i \ne \lambda_j\), then \(v_i^{\!\top}Mv_j = 0\) and \(v_i^{\!\top}Kv_j = 0\). Where, if anywhere, is positive definiteness of \(M\) used?
  2. Prove that if \(M\) is positive definite then every root of \(\det(K-\lambda M)\) is real and there is a basis of \(\mathbb R^n\) consisting of solutions of \(Kv = \lambda Mv\).
  3. Let \(M = \mathrm{diag}(1,-1)\) and \(K = \begin{pmatrix}0&1\\1&0\end{pmatrix}\). Compute \(\det(K-\lambda M)\) and prove that no invertible real \(C\) makes \(C^{\!\top}MC\) and \(C^{\!\top}KC\) both diagonal.
  4. In one sentence: which step of part 2 fails for the pair in part 3?
Hints · 3 rungs
Rung 1

Parts 1 and 2 are proofs; part 3 is a computation followed by a proof by contradiction. Before starting, decide for each part which hypotheses you are allowed to use — that is half of what the problem is testing.

Rung 2

Part 1: compute \(v_j^{\!\top}Kv_i\) in two ways, once using \(Kv_i = \lambda_iMv_i\) and once transposing and using \(Kv_j = \lambda_jMv_j\). Part 2: reduce to a symmetric matrix first. Part 3: a congruence changes \(\det(K-\lambda M)\) only by a nonzero constant factor, so it cannot change the roots.

Rung 3

Part 1, first line: \(\lambda_i\,v_j^{\!\top}Mv_i = v_j^{\!\top}Kv_i\). Part 3, first line: \(\det(K-\lambda M) = \det\begin{pmatrix}-\lambda&1\\ 1&\lambda\end{pmatrix} = -\lambda^2-1\); and if \(C^{\!\top}MC = D_1\), \(C^{\!\top}KC = D_2\) were both diagonal, factor \(\det(D_2-\lambda D_1)\) and look at its roots.

Worked solution

Idea. Parts 1 and 2 are the two halves of the unit's main theorem, and they need different hypotheses: part 1 needs only symmetry, part 2 needs \(M\) positive definite. Part 3 shows that the hypothesis of part 2 cannot be dropped, by exhibiting a pencil with no real eigenvalue at all.

1. Proof. Using \(K = K^{\!\top}\) and \(M = M^{\!\top}\), \[ \lambda_i\,v_j^{\!\top}Mv_i = v_j^{\!\top}(Kv_i) = (Kv_j)^{\!\top}v_i = \lambda_j\,(Mv_j)^{\!\top}v_i = \lambda_j\,v_j^{\!\top}Mv_i . \] Hence \((\lambda_i-\lambda_j)v_j^{\!\top}Mv_i = 0\), and since \(\lambda_i \ne \lambda_j\), \(v_j^{\!\top}Mv_i = 0\). Then \(v_j^{\!\top}Kv_i = \lambda_iv_j^{\!\top}Mv_i = 0\) too. Positive definiteness was not used anywhere — only symmetry of both matrices, and the assumption that the two \(\lambda\) are real and distinct.

2. Proof. Since \(M\) is positive definite, \(M^{1/2}\) exists, is positive definite, and is invertible (P8). Put \(S = M^{-1/2}KM^{-1/2}\), symmetric because \(S^{\!\top} = M^{-1/2}K^{\!\top}M^{-1/2} = S\). Then \[ Kv = \lambda Mv \iff M^{-1/2}KM^{-1/2}\big(M^{1/2}v\big) = \lambda\,M^{1/2}v \iff Sw = \lambda w,\ \ w = M^{1/2}v, \] so the pencil's eigenvalues are exactly \(S\)'s, and they are real by the spectral theorem. That theorem also gives an orthonormal basis \(w_1,\dots,w_n\) of \(\mathbb R^n\) of eigenvectors of \(S\); since \(M^{-1/2}\) is invertible, \(v_i = M^{-1/2}w_i\) is a basis of \(\mathbb R^n\), and each solves \(Kv_i = \lambda_iMv_i\). \(\square\)

3. \(K-\lambda M = \begin{pmatrix}-\lambda & 1\\ 1 & \lambda\end{pmatrix}\), so \(\det(K-\lambda M) = -\lambda^2 - 1\), with roots \(\lambda = \pm i\): no real eigenvalue. Suppose some invertible real \(C\) gave \(C^{\!\top}MC = D_1\) and \(C^{\!\top}KC = D_2\), both diagonal. Then \[ \det(K-\lambda M) = \det(C^{-\top})\,\det(D_2-\lambda D_1)\,\det(C^{-1}) = \frac{1}{(\det C)^2}\prod_{i}\big((D_2)_{ii} - \lambda (D_1)_{ii}\big). \] Now \(\det D_1 = (\det C)^2\det M = -( \det C)^2 \ne 0\), so every \((D_1)_{ii} \ne 0\) and each factor has the real root \((D_2)_{ii}/(D_1)_{ii}\). So \(\det(K-\lambda M)\) would have two real roots. It has none. Contradiction. \(\square\)

4. The step that fails is the very first one of part 2: \(M\) is not positive definite, so \(M^{1/2}\) does not exist and the pencil cannot be turned into a symmetric ordinary eigenvalue problem. Everything downstream — reality, completeness of the modes — goes with it.

Check. Consistency: part 1 applies to part 3's pencil too, but vacuously, since there are no two real distinct eigenvalues to be orthogonal. And the physical reading is right: an indefinite "kinetic energy" permits motions that are neither oscillations nor real exponentials, and \(\lambda = \pm i\) says exactly that.

P8 The inner product, the square root, and the reduction medium

exercises: proof — inner-product axioms, existence and uniqueness of \(M^{1/2}\)

Let \(M\) be real symmetric positive definite.

  1. Prove that \(\langle u,v\rangle_M = u^{\!\top}Mv\) satisfies the axioms of an inner product on \(\mathbb R^n\), and that it fails to when \(M\) has a negative eigenvalue — naming which axiom fails.
  2. Prove that \(M^{1/2}\) as defined in the deck is symmetric positive definite with \((M^{1/2})^2 = M\), and that it is the only positive definite matrix with that property.
  3. Show that \(S = M^{-1/2}KM^{-1/2}\) is symmetric and that \(v \mapsto M^{1/2}v\) is a bijection from solutions of \(Kv = \lambda Mv\) to eigenvectors of \(S\) with the same \(\lambda\).
  4. Show that \(v_i,v_j\) are \(M\)-orthonormal if and only if their images \(w_i,w_j\) are Euclidean-orthonormal.
Hints · 3 rungs
Rung 1

Four proofs, none longer than half a page. The only one needing an idea is the uniqueness in part 2; the rest are the definitions written out.

Rung 2

Part 1: the three axioms are bilinearity, symmetry and positive definiteness, and exactly one of them is the hypothesis on \(M\). Part 2 uniqueness: if \(R^2 = M\) and \(Rx = \rho x\), what is \(Mx\)? Part 4: push \(M^{1/2}\) across the inner product using its symmetry.

Rung 3

Part 1, first line: \(u^{\!\top}Mv\) is a \(1\times1\) matrix, hence equal to its own transpose. Part 2, first line: \(M = Q\Lambda Q^{\!\top}\) with all \(\mu_i > 0\), and set \(M^{1/2} = Q\Lambda^{1/2}Q^{\!\top}\). Part 4, first line: \(v_i^{\!\top}Mv_j = v_i^{\!\top}M^{1/2}M^{1/2}v_j\).

Worked solution

Idea. Three small proofs, each of which is the corresponding definition read carefully. Only the uniqueness of the square root takes more than a line, and it takes the spectral theorem.

1. Bilinearity of \((u,v) \mapsto u^{\!\top}Mv\) is the distributivity of matrix multiplication. Symmetry: \(u^{\!\top}Mv\) is a \(1\times1\) matrix, so it equals its own transpose, \(v^{\!\top}M^{\!\top}u = v^{\!\top}Mu\). Positive definiteness: \(\langle u,u\rangle_M = u^{\!\top}Mu > 0\) for \(u \ne 0\) is the hypothesis on \(M\). If instead \(M\) has an eigenvalue \(\mu < 0\) with eigenvector \(e\), then \(\langle e,e\rangle_M = \mu\lVert e\rVert^2 < 0\): the positive-definiteness axiom fails, and with it linear independence of orthogonal sets and the Cauchy–Schwarz inequality in its usual form.

2. Write \(M = Q\Lambda Q^{\!\top}\) with \(Q\) orthogonal and \(\Lambda = \mathrm{diag}(\mu_i)\), \(\mu_i > 0\) (spectral theorem, and the \(\mu_i\) are positive because \(e_i^{\!\top}\Lambda e_i = \mu_i\) and \(M\) is positive definite). Put \(M^{1/2} = Q\Lambda^{1/2}Q^{\!\top}\). It is symmetric, since \((Q\Lambda^{1/2}Q^{\!\top})^{\!\top} = Q\Lambda^{1/2}Q^{\!\top}\); positive definite, since \(u^{\!\top}M^{1/2}u = (Q^{\!\top}u)^{\!\top}\Lambda^{1/2} (Q^{\!\top}u) = \sum_i\sqrt{\mu_i}\,(Q^{\!\top}u)_i^2 > 0\); and \((M^{1/2})^2 = Q\Lambda Q^{\!\top} = M\). Uniqueness. Let \(R\) be positive definite with \(R^2 = M\). If \(Rx = \rho x\) then \(Mx = \rho^2x\), so every eigenvector of \(R\) is an eigenvector of \(M\) with eigenvalue \(\rho^2\), and \(\rho > 0\). By the spectral theorem \(R\) has an eigenbasis, so \(\mathbb R^n\) is the direct sum of \(R\)'s eigenspaces, each contained in an eigenspace \(E_\mu\) of \(M\) with \(\rho = \sqrt\mu\) determined by \(\mu\). Hence those eigenspaces fill \(E_\mu\) and \(R\) acts on \(E_\mu\) as \(\sqrt\mu\,\mathrm{id}\) — which is how \(M^{1/2}\) acts. So \(R = M^{1/2}\). \(\square\)

3. Symmetry of \(S\) and the equivalence are the computation in P7 part 2. The map \(v \mapsto M^{1/2}v\) is invertible, sends a solution of \(Kv = \lambda Mv\) to an eigenvector of \(S\) with the same \(\lambda\), and its inverse \(w \mapsto M^{-1/2}w\) does the reverse; so it is a bijection between the two eigenspaces for each \(\lambda\).

4. \(\langle v_i,v_j\rangle_M = v_i^{\!\top}Mv_j = v_i^{\!\top}M^{1/2}M^{1/2}v_j = (M^{1/2}v_i)\cdot(M^{1/2}v_j) = w_i\cdot w_j\), using symmetry of \(M^{1/2}\). So the two conditions \(\langle v_i,v_j\rangle_M = \delta_{ij}\) and \(w_i\cdot w_j = \delta_{ij}\) are literally the same equation. \(\square\)

Check. Dimensions: \([M^{1/2}] = \mathrm{kg}^{1/2}\), so \(w = M^{1/2}v\) has units \(\mathrm{kg^{1/2}\,m}\) — the "mass-weighted displacement" in which kinetic energy is \(\tfrac12\lVert\dot w\rVert^2\) with no matrix. Special case: \(M = mI\) gives \(M^{1/2} = \sqrt m\,I\), \(w = \sqrt m\,v\), and the \(M\)-inner product is \(m\) times the Euclidean one — which is why equal masses hide the whole distinction.

The chain

P9 A chain of four routine

exercises: the closed-form spectrum, verifying an eigenvector by substitution

Four equal masses \(m\) on five equal springs \(k\) between two walls.

  1. Write \(K\) and \(M\), and use \(\omega_n = 2\sqrt{k/m}\sin\big(n\pi/ 2(N+1)\big)\) to list all four frequencies to six figures in units of \(\sqrt{k/m}\).
  2. Verify the \(n=1\) mode by substituting \(v_j = \sin(j\pi/5)\) into \((A_4v)_j = \lambda_1 v_j\) directly, for each of \(j = 1,2,3,4\).
  3. Show that \(\omega_n^2 + \omega_{N+1-n}^2 = 4k/m\) for every \(n\), and explain why, from the formula. Check it on your four numbers, and check separately that \(\prod_n\lambda_n = \det A_4 = 5\).
  4. Check the Euclidean orthogonality of the \(n=1\) and \(n=3\) modes by direct summation, and say why Euclidean is the right test here.
Hints · 3 rungs
Rung 1

Four numbers, then a verification, then two identities, then a sum of four terms. No determinant is needed anywhere.

Rung 2

For part 2, remember the convention \(v_0 = v_5 = 0\) and write out \(-v_{j-1}+2v_j-v_{j+1}\) numerically for each \(j\), comparing with \(\lambda_1v_j\). For part 3, notice what \((5-n)\pi/10\) is, as an angle, in terms of \(n\pi/10\).

Rung 3

\(\omega_n = 2\sin(n\pi/10)\) in units of \(\sqrt{k/m}\), and \(\lambda_1 = 2-2\cos(\pi/5) = 0.381966\) with \(v = (0.587785, 0.951057, 0.951057, 0.587785)\). For part 3: \((5-n)\pi/10 = \pi/2 - n\pi/10\).

Worked solution

Idea. Nothing here needs a determinant: the formula is known, and the point of the problem is to check that it really does satisfy the equations, entry by entry.

1. \(M = mI_4\), \(K = kA_4\), and \(\omega_n = 2\sqrt{k/m}\,\sin(n\pi/10)\): \[ \omega_1 = 0.618034,\quad \omega_2 = 1.175570,\quad \omega_3 = 1.618034,\quad \omega_4 = 1.902113 \qquad \big(\times\sqrt{k/m}\big). \] The first and third are \((\sqrt5-1)/2\) and \((\sqrt5+1)/2\), because \(\sin 18^\circ = (\sqrt5-1)/4\) and \(\sin 54^\circ = (\sqrt5+1)/4\): the angles \(n\pi/10\) are those of the regular pentagon, where the golden ratio lives.

2. \(\lambda_1 = \omega_1^2 = 2-2\cos(\pi/5) = 0.381966\) and \(v = \big(\sin\tfrac\pi5, \sin\tfrac{2\pi}5, \sin\tfrac{3\pi}5, \sin\tfrac{4\pi}5\big) = (0.587785,\ 0.951057,\ 0.951057,\ 0.587785)\). Then, with \(v_0 = v_5 = 0\), \[ \begin{aligned} j=1:&\ 2(0.587785) - 0.951057 = 0.224514, &\ \lambda_1v_1 &= 0.381966\times0.587785 = 0.224514,\\ j=2:&\ -0.587785 + 2(0.951057) - 0.951057 = 0.363271, &\ \lambda_1v_2 &= 0.381966\times0.951057 = 0.363271, \end{aligned} \] and \(j = 3, 4\) repeat these by the symmetry \(v_j = v_{5-j}\). ✓

3. Since \(\tfrac{(5-n)\pi}{10} = \tfrac\pi2 - \tfrac{n\pi}{10}\), \(\sin\big((5-n)\pi/10\big) = \cos(n\pi/10)\), so \[ \omega_n^2 + \omega_{5-n}^2 = \frac{4k}m\Big(\sin^2\frac{n\pi}{10} + \cos^2\frac{n\pi}{10}\Big) = \frac{4k}m . \] Numerically \(0.381966+3.618034 = 4\) and \(1.381966+2.618034 = 4\). ✓ And \(\prod_n\lambda_n = 0.381966\times1.381966\times2.618034\times3.618034 = 5 = \det A_4\). ✓ (In general \(\det A_N = N+1\): expanding along the last row gives \(D_N = 2D_{N-1} - D_{N-2}\) with \(D_1 = 2\), \(D_2 = 3\), whose solution is \(D_N = N+1\) by induction.)

4. \(\sum_{j=1}^4\sin(j\pi/5)\sin(3j\pi/5)\) has terms \(0.559017,\ -0.559017,\ -0.559017,\ 0.559017\), summing to \(0\). Euclidean is the right test because \(M = mI_4\), so \(\langle u,v\rangle_M = m\,(u\cdot v)\) and the two notions of orthogonality differ only by the positive factor \(m\).

Check. Dimensions: all four \(\omega_n\) are quoted in units of \(\sqrt{k/m} = \mathrm{s^{-1}}\). ✓ Ceiling: the largest, \(1.902113\), is below \(2\). ✓ Special case: clamping the two end masses (two linear constraints, \(u_1 = u_4 = 0\)) leaves exactly the \(N = 2\) chain, with \(\lambda' = 1, 3\). Interlacing, from the deck's Rayleigh notes, applied once per constraint gives \(\lambda_p \le \lambda'_p \le \lambda_{p+2}\): indeed \(0.381966 \le 1 \le 2.618034\) and \(1.381966 \le 3 \le 3.618034\). ✓

P10 How wrong the continuum is medium

exercises: the dispersion relation, a Taylor correction, numbers in SI units

Take \(N = 20\), \(m = 0.10\ \mathrm{kg}\), \(k = 25\ \mathrm{N\,m^{-1}}\), spacing \(a = 0.05\ \mathrm m\), so the total length is \(L = (N+1)a\).

  1. Compute \(c = a\sqrt{k/m}\) and the continuum prediction \(\omega = \pi c/L\) for the fundamental, in \(\mathrm{s^{-1}}\).
  2. Compute the chain's exact \(\omega_1\), and the fractional difference between the two, as a percentage to three figures.
  3. Compare with the leading correction \(-(\kappa a)^2/24\), and state how many figures agree.
  4. Find the smallest \(n\) for which the continuum prediction \(c\kappa_n\) is more than \(5\%\) too high, and say what wavelength, in units of \(a\), that corresponds to.
Hints · 3 rungs
Rung 1

Every answer is a number with units, except part 4's, which is an integer and a length in units of \(a\). Compute \(\sqrt{k/m}\) once and reuse it.

Rung 2

The continuum fundamental of a string of length \(L\) fixed at both ends is \(\omega = \pi c/L\); the chain's is the \(n = 1\) case of the exact formula. Express both in terms of \(\sqrt{k/m}\) before dividing, and much will cancel.

Rung 3

\(\sqrt{k/m} = \sqrt{250} = 15.811388\ \mathrm{s^{-1}}\), \(c = a\sqrt{k/m}\), \(L = (N+1)a\), and \(\kappa_1a = \pi/(N+1) = \pi/21\). For part 4, the deficit is \(1 - \sin(x)/x\) with \(x = \kappa_na/2\); tabulate it for \(n = 6,7,8\).

Worked solution

Idea. Two predictions of the same number — one from a differential equation that does not know the chain is discrete, one exact — and a Taylor series that predicts the gap between them before either is evaluated.

1. \(\sqrt{k/m} = \sqrt{250} = 15.811388\ \mathrm{s^{-1}}\), so \[ c = a\sqrt{k/m} = 0.05\times15.811388 = 0.7905694\ \mathrm{m\,s^{-1}}, \qquad L = 21\times0.05 = 1.05\ \mathrm m, \] \[ \omega_{\text{cont}} = \frac{\pi c}{L} = \frac{\pi\times0.7905694}{1.05} = 2.365378\ \mathrm{s^{-1}} . \]

2. \(\omega_1 = 2\sqrt{k/m}\,\sin\big(\pi/42\big) = 2\times15.811388\times 0.0747301 = 2.363173\ \mathrm{s^{-1}}\), so \[ \frac{\omega_1-\omega_{\text{cont}}}{\omega_{\text{cont}}} = \frac{2.363173-2.365378}{2.365378} = -9.322\times10^{-4} = -0.0932\% . \]

3. \(\kappa_1a = \pi/21 = 0.1495997\), so the leading correction is \(-(\kappa_1a)^2/24 = -9.325\times10^{-4} = -0.0933\%\). Actual \(-0.09322\%\) against predicted \(-0.09325\%\): they agree to three significant figures, a relative discrepancy of \(2.8\times10^{-4}\), which is the size of the next term in the series, \(+(\kappa a)^4/1920\).

4. The deficit \(1 - \mathrm{sinc}(\kappa_na/2)\) rises through \(5\%\) between \(n = 7\) (\(4.507\%\)) and \(n = 8\) (\(5.862\%\)), so the smallest \(n\) is \(\mathbf{8}\). Its wavelength is \(2\pi/\kappa_8 = 2(N+1)a/n = 42a/8 = 5.25a\): about five masses to a wavelength. That is the practical rule — a continuum description is good to a few per cent while a wavelength spans six or more lattice points, and not otherwise.

Check. Dimensions: \(c = a\sqrt{k/m}\) has units \(\mathrm m\times\mathrm{s^{-1}} = \mathrm{m\,s^{-1}}\). ✓ Sign: \(\sin x < x\), so the chain is always softer than the string, and the deficit is negative for every \(n\). ✓ Limit: holding \(L\) fixed and letting \(N \to \infty\) sends \(\kappa_1a = \pi/(N+1) \to 0\) and the deficit to zero like \(1/N^2\) — the continuum theory becomes exact, at second order in the spacing.

P11 Take the walls away medium

exercises: free boundary conditions, a singular \(K\), a ghost-point argument

\(N\) equal masses \(m\) joined in a line by \(N-1\) equal springs \(k\), with nothing fixed.

  1. Write \(V\) and \(K\), and show directly that \(K(1,1,\dots,1)^{\!\top} = 0\).
  2. Show that \(u^{\!\top}Ku = 0\) implies \(u\) is a multiple of \((1,\dots,1)\), so the zero eigenvalue is simple.
  3. Using ghost values \(v_0 = v_1\) and \(v_{N+1} = v_N\) and the ansatz \(v_j = \cos\big((j-\tfrac12)\theta\big)\), derive \(\omega_n = 2\sqrt{k/m}\,\sin\big(n\pi/2N\big)\), \(n = 0,\dots,N-1\).
  4. Check the case \(N = 3\) against a direct solve, and explain physically why the middle mass does not move in the \(n=1\) mode.
Hints · 3 rungs
Rung 1

Part 1 is a matrix–vector product that gives \(0\). Part 2 is a one-line argument about a sum of squares. Part 3 is the sine calculation of the deck again, with one thing changed.

Rung 2

"Free end" means the missing spring exerts no force, which is the same as introducing a ghost neighbour at the same displacement: \(v_0 = v_1\), \(v_{N+1} = v_N\). With those ghosts, the interior formula \(-v_{j-1}+2v_j-v_{j+1}\) is valid at \(j = 1\) and \(j = N\) as well.

Rung 3

Try \(v_j = \cos\big((j-\tfrac12)\theta\big)\): the left ghost condition then holds automatically. The right one becomes \(\cos\big((N+\tfrac12)\theta\big) = \cos\big((N-\tfrac12)\theta\big)\), and the difference-of-cosines identity turns it into \(\sin(N\theta) = 0\).

Worked solution

Idea. Free ends are not "no boundary condition"; they are the condition that the missing spring has zero extension, which is cleanest to impose with ghost values \(v_0 = v_1\), \(v_{N+1} = v_N\). Then the same sine algebra as in the fixed case runs through, with cosines of half-integer arguments.

1. \(V = \tfrac k2\sum_{j=1}^{N-1}(u_{j+1}-u_j)^2\), so \(\partial_i V = k(2u_i - u_{i-1} - u_{i+1})\) for \(1 < i < N\), and \(\partial_1V = k(u_1-u_2)\), \(\partial_NV = k(u_N-u_{N-1})\). Hence \(K = k\tilde A_N\), which is \(kA_N\) with the two corner entries reduced from \(2\) to \(1\). Applying it to \((1,\dots,1)\): the first row gives \(1-1 = 0\), each interior row gives \(-1+2-1 = 0\), the last gives \(-1+1 = 0\). So \(K(1,\dots,1)^{\!\top} = 0\).

2. \(u^{\!\top}Ku = k\sum_{j=1}^{N-1}(u_{j+1}-u_j)^2\), which vanishes only if every consecutive difference vanishes, i.e. \(u_1 = u_2 = \dots = u_N\). So the null space is exactly the span of \((1,\dots,1)\): one-dimensional, and the zero eigenvalue is simple.

3. With the ghosts, \((\tilde A_Nv)_j = -v_{j-1}+2v_j-v_{j+1}\) for every \(j = 1,\dots,N\). Substituting \(v_j = \cos\big((j-\tfrac12)\theta\big)\) and using \(\cos((j-\tfrac32)\theta) + \cos((j+\tfrac12)\theta) = 2\cos\theta\cos((j-\tfrac12)\theta)\) gives \((\tilde A_Nv)_j = (2-2\cos\theta)v_j\). The left ghost condition is automatic, since \(v_0 = \cos(-\theta/2) = \cos(\theta/2) = v_1\). The right one, \(\cos\big((N+\tfrac12)\theta\big) = \cos\big((N-\tfrac12)\theta\big)\), is \(-2\sin(N\theta)\sin(\theta/2) = 0\), hence \(\sin(N\theta) = 0\) and \(\theta_n = n\pi/N\). Therefore \[ \lambda_n = \frac km\big(2-2\cos\theta_n\big) = \frac{4k}m\sin^2\frac{n\pi}{2N}, \qquad \omega_n = 2\sqrt{\frac km}\,\sin\frac{n\pi}{2N}, \] for \(n = 0,1,\dots,N-1\) (larger \(n\) repeats these vectors up to sign). At \(n = 0\), \(v_j = 1\) for all \(j\): the zero mode of part 1.

4. \(N = 3\): \(K/k = \begin{pmatrix}1&-1&0\\-1&2&-1\\0&-1&1\end{pmatrix}\), with characteristic polynomial \(-\lambda(\lambda-1)(\lambda-3)\) in units of \(k/m\), so \(\omega = 0,\ \sqrt{k/m},\ \sqrt{3k/m}\). The formula gives \(2\sin(0), 2\sin(\pi/6), 2\sin(\pi/3) = 0,\ 1,\ \sqrt3\). ✓ In the \(n = 1\) mode, \(v = \big(\cos\tfrac\pi6, \cos\tfrac\pi2, \cos\tfrac{5\pi}6\big) \propto (1,0,-1)\): the middle mass does not move because the motion is antisymmetric about the centre, and the centre is where that mass sits. Each outer mass is then attached by one spring to an effectively fixed point, giving \(\omega = \sqrt{k/m}\).

Check. Count: \(N\) values of \(n\), hence \(N\) modes, as the theorem requires. ✓ Ceiling: \(\omega_{N-1} = 2\sqrt{k/m}\sin\big((N-1)\pi/2N\big) < 2\sqrt{k/m}\). ✓ Consistency: the nonzero frequencies of the free \(N\)-chain, \(2\sin(n\pi/2N)\) for \(n = 1,\dots,N-1\), are exactly the frequencies of the fixed chain of \(N-1\) masses, \(2\sin(n\pi/2N)\). Removing the walls costs one oscillating mode and buys a drift.

Zero modes and Rayleigh

P12 Zero modes and the symmetries behind them medium

exercises: the symmetry-to-null-vector theorem, mode counting, \(M\)-orthogonality again

Three masses \(m\), \(2m\), \(m\) in a line, joined by two springs of stiffness \(k\), nothing fixed.

  1. Write \(M\) and \(K\), and find all three \(\lambda\) and mode shapes exactly.
  2. Identify the zero mode and name the one-parameter family of configurations along which \(V\) is constant that produces it.
  3. Verify that the three modes are \(M\)-orthogonal, and find the one pair that is not Euclidean-orthogonal.
  4. A molecule of \(n\) atoms in three dimensions has \(3n\) coordinates. How many zero modes does it have, and how many vibrational modes, if it is (a) non-linear, (b) linear? Give the numbers for water and for carbon dioxide.
Hints · 3 rungs
Rung 1

Three \(\lambda\), three vectors, six inner products, and then four small integers. One of the \(\lambda\) is zero and you should be able to say which vector goes with it before any algebra.

Rung 2

\(V\) depends on the coordinates only through their differences, so any rigid shift of all three leaves it unchanged — that is the curve \(\varphi(s)\) the theorem wants. For the rest, the reflection symmetry of the chain again splits the modes into symmetric and antisymmetric.

Rung 3

\(K = k\begin{pmatrix}1&-1&0\\-1&2&-1\\0&-1&1\end{pmatrix}\) and \(M = m\,\mathrm{diag}(1,2,1)\); the three modes are \((1,1,1)\), \((1,0,-1)\) and \((1,-1,1)\), and you only have to find which \(\lambda\) belongs to each. For part 4: a rotation about a linear molecule's own axis moves no atom.

Worked solution

Idea. The zero mode is written down before any algebra, from the symmetry; the algebra then has to produce it, which is the check.

1. \(M = m\,\mathrm{diag}(1,2,1)\) and \(K = k\begin{pmatrix}1&-1&0\\-1&2&-1\\0&-1&1\end{pmatrix}\). Writing \(\lambda\) in units of \(k/m\), \[ \det(K-\lambda M) = -2\lambda(\lambda-1)(\lambda-2), \] so \(\lambda = 0,\ 1,\ 2\) and \(\omega = 0,\ \sqrt{k/m},\ \sqrt{2k/m}\). The modes are \[ v^{(0)} = (1,1,1), \qquad v^{(1)} = (1,0,-1), \qquad v^{(2)} = (1,-1,1). \] Verifying the last: \(Kv^{(2)} = k(2,-4,2)\) and \(\lambda Mv^{(2)} = 2\tfrac km\,m(1,-2,1) = k(2,-4,2)\). ✓

2. The zero mode is \(v^{(0)} = (1,1,1)\). The family is \(\varphi(s) = u^* + s(1,1,1)\), a rigid translation of the whole molecule along the line. \(V\) depends only on the two differences \(u_2-u_1\) and \(u_3-u_2\), which \(\varphi\) leaves unchanged, so \(V(\varphi(s))\) is constant and the theorem gives \(Kv^{(0)} = 0\).

3. \(\langle v^{(0)},v^{(1)}\rangle_M = m(1 + 0 - 1) = 0\); \(\langle v^{(0)},v^{(2)}\rangle_M = m(1 - 2 + 1) = 0\); \(\langle v^{(1)},v^{(2)}\rangle_M = m(1 + 0 - 1) = 0\). The pair that is not Euclidean-orthogonal is \(v^{(0)}\) and \(v^{(2)}\), whose dot product is \(1 - 1 + 1 = 1\). The factor \(2\) on the middle mass is exactly what turns that \(1\) into \(0\).

4. Translations give \(3\) zero modes always. Rotations give \(3\) more for a non-linear molecule, but only \(2\) for a linear one, since rotating about its own axis moves no atom. So:

  • non-linear: \(6\) zero modes, \(3n-6\) vibrational;
  • linear: \(5\) zero modes, \(3n-5\) vibrational.

Water (\(n = 3\), bent): \(3\times3-6 = \mathbf3\) vibrational modes — symmetric stretch, antisymmetric stretch, bend. Carbon dioxide (\(n = 3\), linear): \(3\times3-5 = \mathbf4\) — the same three plus a second, degenerate bend at right angles to the first.

Check. Dimensions: \(\lambda\) was quoted in units of \(k/m = \mathrm{s^{-2}}\). ✓ Count: three coordinates, three modes, one of them zero — and \(\mathrm{tr}(M^{-1}K) = k/m\,(1 + 1 + 1) = 3k/m = 0 + 1 + 2\) in the same units. ✓ Limit: replace the middle mass by \(\mu\). The mode \((1,0,-1)\) is unaffected, still at \(\lambda = k/m\), and the trace then forces the third root to be \(\lambda_3 = k/m + 2k/\mu\). Setting \(\mu = 2m\) recovers \(2k/m\); letting \(\mu \to \infty\) sends \(\lambda_3 \to k/m\), both outer masses vibrating against an immovable centre — which is right.

P13 Rayleigh bounds a frequency hard

exercises: the variational characterisation, trial vectors, bounding \(\omega_2\)

The five-mass chain: \(M = mI_5\), \(K = kA_5\), exact \(\omega_1 = 2\sin(\pi/12)\sqrt{k/m}\).

  1. Evaluate \(R(u) = u^{\!\top}Ku/u^{\!\top}Mu\) for the trial vectors \((1,1,1,1,1)\), \((1,2,3,2,1)\) and \((2,4,5,4,2)\), using the sum-of-squares form of the numerator rather than a matrix product. Give each resulting bound on \(\omega_1\) to six figures and its percentage excess.
  2. Prove that every trial vector gives a bound on the same side, and that if the trial vector differs from the true mode by \(\varepsilon\) then the bound on \(\lambda_1\) is too high by \(O(\varepsilon^2)\).
  3. Prove that if \(\langle u, v_1\rangle_M = 0\) then \(R(u) \ge \lambda_2\), and use \(u = (1,2,0,-2,-1)\) to bound \(\omega_2\). Compare with the exact \(\omega_2\).
  4. Explain why no argument of this kind gives a lower bound on \(\omega_1\), and what extra information would be needed.
Hints · 3 rungs
Rung 1

Part 1 is three fractions and three numbers; parts 2 and 3 are proofs; part 4 is an explanation. The single idea behind all of them is that \(R(u)\) is a weighted average of the eigenvalues.

Rung 2

Expand the trial vector in the \(M\)-orthonormal modes, \(u = \sum_pc_pv_p\), and compute both the numerator and the denominator of \(R\) in terms of the \(c_p\). For part 1, do not multiply by \(K\): use \(u^{\!\top}A_Nu = \sum_{j=0}^{N}(u_{j+1}-u_j)^2\) with \(u_0 = u_6 = 0\).

Rung 3

\(u^{\!\top}Mu = \sum_pc_p^2\) and \(u^{\!\top}Ku = \sum_p\lambda_pc_p^2\). For part 3, \(\langle u,v_1\rangle_M = 0\) says \(c_1 = 0\), so the average runs over \(p \ge 2\); and \(u = (1,2,0,-2,-1)\) is antisymmetric about the middle mass while \(v_1\) is symmetric.

Worked solution

Idea. \(R\) is a weighted average of the eigenvalues, with weights fixed by how much of each mode the trial vector contains. An average is never below the smallest entry — that is the whole theorem, and every part of this problem is a corollary.

1. With \(M = mI_5\) and \(u_0 = u_6 = 0\), \(R(u) = \tfrac km\sum_{j=0}^{5}(u_{j+1}-u_j)^2\big/\sum_{j=1}^5u_j^2\).

trialdifferencesnumeratordenominator\(R\,m/k\)\(\omega_1\) boundexcess
\((1,1,1,1,1)\)\(1,0,0,0,0,-1\)25\(2/5\)0.63245622.18%
\((1,2,3,2,1)\)\(1,1,1,-1,-1,-1\)619\(6/19\)0.5619518.56%
\((2,4,5,4,2)\)\(2,2,1,-1,-2,-2\)1865\(18/65\)0.5262351.66%

The exact value is \(\omega_1 = 2\sin(\pi/12)\sqrt{k/m} = \sqrt{2-\sqrt3}\, \sqrt{k/m} = 0.517638\sqrt{k/m}\). All three bounds lie above it, as they must.

2. Proof. Expand \(u = \sum_pc_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) = \frac{\sum_p\lambda_pc_p^2}{\sum_pc_p^2} \ \ge\ \lambda_1\frac{\sum_pc_p^2}{\sum_pc_p^2} = \lambda_1 , \] with equality iff \(c_p = 0\) for every \(p\) with \(\lambda_p > \lambda_1\). So every trial vector overestimates, never under. For the quadratic statement, take \(u = v_1 + \varepsilon z\) with \(\langle z,v_1\rangle_M = 0\) and \(\lVert z\rVert_M = 1\); writing \(z = \sum_{p\ge2}c_pv_p\), \[ R(u) = \frac{\lambda_1 + \varepsilon^2\sum_{p\ge2}\lambda_pc_p^2}{1+\varepsilon^2} = \lambda_1 + \varepsilon^2\sum_{p\ge2}(\lambda_p-\lambda_1)c_p^2 + O(\varepsilon^4), \] so the error is \(O(\varepsilon^2)\) in \(\lambda_1\), hence also in \(\omega_1\). \(\square\)

3. Proof. If \(\langle u,v_1\rangle_M = 0\) then \(c_1 = 0\), so the weighted average runs only over \(p \ge 2\): \(R(u) = \sum_{p\ge2}\lambda_pc_p^2\big/\sum_{p\ge2}c_p^2 \ge \lambda_2\). Read as a statement about \(\lambda_2\) this says \(\lambda_2 \le R(u)\) — an upper bound on the second frequency, obtained by the same argument as for the first but on the subspace \(v_1^{\perp_M}\). Take \(u = (1,2,0,-2,-1)\). It is \(M\)-orthogonal to \(v_1 \propto (0.5,0.866,1,0.866,0.5)\) because \(v_1\) is symmetric and \(u\) antisymmetric about the middle mass, so the five products cancel in pairs and the middle term is \(0\). Its differences are \(1,1,-2,-2,1,1\), numerator \(12\), denominator \(10\), so \(R = 1.2\,k/m\) and \[ \omega_2 \le \sqrt{1.2}\,\sqrt{k/m} = 1.095445\sqrt{k/m}. \] The exact \(\omega_2 = 2\sin(2\pi/12)\sqrt{k/m} = \sqrt{k/m}\), so the bound is \(9.54\%\) high.

4. Every argument above compares \(R(u)\) with a minimum, and the minimum is \(\lambda_1\), so evaluating \(R\) anywhere can only produce a number that is at least \(\lambda_1\): an upper bound. To get below \(\lambda_1\) one needs information the trial vector cannot carry. The classic device is Temple's inequality (G. Temple, 1928): for \(\lVert u\rVert_M = 1\) and any \(\beta\) with \(R(u) < \beta \le \lambda_2\), \[ \lambda_1 \ \ge\ R(u) - \frac{\delta^2}{\beta - R(u)}, \qquad \delta^2 = \sum_p(\lambda_p - R)^2c_p^2 = (Ku - RMu)^{\!\top}M^{-1}(Ku - RMu). \] Proof. With \(R = R(u)\) and \(\sum_pc_p^2 = 1\), every term of \(\sum_p(\lambda_p-\lambda_1)(\lambda_p-\beta)c_p^2\) is \(\ge 0\): the \(p = 1\) term vanishes, and for \(p \ge 2\) both factors are \(\ge 0\) since \(\lambda_p \ge \lambda_2 \ge \beta\). Writing \(\lambda_p = (\lambda_p - R) + R\) and using \(\sum_p(\lambda_p - R)c_p^2 = 0\), the sum equals \(\delta^2 + (R-\lambda_1)(R-\beta)\). So \((\lambda_1 - R)(\beta - R) \ge -\delta^2\), i.e. \(\lambda_1 \ge R - \delta^2/(\beta - R)\). The second form of \(\delta^2\) is the first written without the modes, since \(Ku - RMu = \sum_p(\lambda_p - R)c_pMv_p\) and \(\langle Mv_p, M^{-1}Mv_q\rangle = \delta_{pq}\). \(\square\) So a lower bound needs two extra things: a lower estimate \(\beta\) of \(\lambda_2\), and the residual \(\delta\) of the trial vector. For the rounded tent, normalised, with \(\beta = 1\) (here the exact \(\lambda_2\), which the formula supplies; in general it has to be estimated separately), Temple gives \(\lambda_1 \ge 0.255319\,k/m\), so \(0.505291 \le \omega_1/\sqrt{k/m} \le 0.526235\) — a bracket around the true \(0.517638\). Bounds from below cost strictly more than bounds from above.

Check. Dimensions: \(R\) has units \(k/m = \mathrm{s^{-2}}\), so \(\sqrt R\) is a frequency. ✓ Ordering: \(0.517638 < 0.526235 < 0.561951 < 0.632456\), and the better the shape matches \((1,1.732,2,1.732,1)\) the tighter the bound. ✓ Quadratic insensitivity, measured: scaling \((2,4,5,4,2)\) and the true mode \((0.5,0.866,1,0.866,0.5)\) each to unit \(M\)-norm, the shape error is \(\varepsilon = \lVert u - v_1\rVert_M = 0.0718\), so \(\varepsilon^2 = 0.0052\); the excess in \(\lambda_1\) is \(18/65 - (2-\sqrt3) = 0.008974\) (in units of \(k/m\)), which is \(1.74\,\varepsilon^2\) — the constant being \(\sum_{p\ge2}(\lambda_p-\lambda_1)c_p^2/\varepsilon^2\), of order the spectral gaps, which here run from \(0.73\) to \(3.46\). Squared, as part 2 predicts. The corresponding errors for the tent and flat trials are \(\varepsilon = 0.151\) and \(0.270\), in the same order as their bounds.

Another way (P13 part 1)

The three trial vectors can be compared without any arithmetic by noticing that \(R\) penalises differences and rewards size. The flat vector has all its "cost" concentrated in two unit jumps at the walls, which is wasteful; the tent spreads the jumps evenly but is too pointed at the centre, where the true mode is flat; the rounded tent flattens the peak and wins. The exact minimiser is the sampled sine, and every trial vector is being scored by how much of it it contains.