Part C · the analytic toolkit · spine

19

Fourier and Sturm–Liouville: the modes are a basis, and that is a theorem

Separation of variables produces modes and then asks you to believe that every initial shape is a sum of them. It is true, it is not obvious, and the reason is that one differential operator is symmetric with respect to one inner product.

needs 18, 09, 10, 11~3½ h slides + 7 h problemsproblems: ./mr problems 19

19 · overview

One drum, six sections

A drum of radius 15 cm. Strike it and it makes a noise, not a note; a string of the same fundamental makes a note. The difference is a list of numbers, and this unit computes it — by separating the equation, getting an eigenvalue problem for an ordinary differential operator, finding that the operator is symmetric for one inner product, and harvesting reality, orthogonality, discreteness, oscillation and a variational principle from that one fact.

1 · separation

String and drum split into a time factor and a shape; the debt that leaves.

2 · orthogonality

Projection, Bessel, Parseval, completeness.

3 · convergence

Pointwise, uniform, mean-square; Gibbs; smoothness against decay.

4 · Sturm–Liouville

$-(pu')' + qu = \lambda wu$ for given coefficient functions $p, q, w$: one identity, five theorems.

5 · Rayleigh

The lowest eigenvalue is a minimum, so a guess bounds it.

6 · three geometries

Sines, Bessel, Legendre — why drums have no pitch.

getting around

A dotted underline is a glossary term — click it, or press G. A solid underline like the drum is the running example: hover it. N shows the notes, where the long proofs are.

section 1

Separation of variables, and the question it leaves

A method that produces infinitely many special solutions, and then needs a theorem to turn them into every solution.

19 · separation

Splitting the string

Unit 18's wave equation on $0 \le x \le L$ with clamped ends:

$$u_{tt} = c^2u_{xx},\qquad u(0,t) = u(L,t) = 0 .$$

Look for solutions of the special form $u(x,t) = X(x)\,T(t)$ — not because every solution has it, but because for these the equation becomes two ordinary ones. Substituting and dividing by $XT$ wherever it is nonzero:

$$\frac{T''(t)}{c^2T(t)} = \frac{X''(x)}{X(x)} .$$

The left side does not depend on $x$; the right side does not depend on $t$; they are equal. So both are one constant, written $-\lambda$.

separation of variables

Seeking solutions of a linear PDE as a product of functions of one variable each. It converts the PDE into a family of ODEs indexed by the separation constant, which then turns out to be an eigenvalue.

two things are being assumed

That a product solution exists at all, and — much more seriously — that superposing them reaches every initial condition. The first is checked by substitution, in a line. The second is the content of the unit.

The division by $XT$ is legitimate on any open set where neither vanishes; the resulting ODEs then hold everywhere by continuity.

19 · separation

The boundary conditions do the selecting

The spatial half is $X'' = -\lambda X$ with $X(0) = X(L) = 0$. Take the three cases in turn — the general solution of a constant-coefficient linear ODE is unit 06's.

$\lambda$general $X$after $X(0)=X(L)=0$
$\lambda = -\mu^2 < 0$$A\mathrm e^{\mu x} + B\mathrm e^{-\mu x}$$A = B = 0$
$\lambda = 0$$A + Bx$$A = B = 0$
$\lambda = k^2 > 0$$A\cos kx + B\sin kx$$A = 0$, $\sin kL = 0$

The eigenvalues $\lambda_n$ are the separation constants the boundary conditions permit; the eigenfunctions $X_n$ are the shapes that go with them. A normal mode is one $u_n$: every point moving at one frequency, in fixed proportion.

λ < 0 λ = 0 k = 0.7π/L k = π/L ✓ k = 1.3π/L x = L 0 x X(x), started with X(0) = 0, X′(0) = 1

Start every solution at $X(0) = 0$ with the same slope and see where it is at $x = L$. For $\lambda \le 0$ it climbs away and never comes back; for $\lambda = k^2$ it oscillates, and it lands on zero only when $kL$ is a multiple of $\pi$. The second boundary condition picks out a discrete set.

19 · separation

The string's spectrum, and three checks

the string's spectrum

$\lambda_n = (n\pi/L)^2$ and $X_n(x) = \sin(n\pi x/L)$, $n = 1, 2, 3,\dots$, and nothing else. The time factor is then $T'' = -c^2\lambda_nT$, so

$$u_n = \sin\tfrac{n\pi x}{L}\,\big(\alpha_n\cos\omega_nt + \beta_n\sin\omega_nt\big),\quad \omega_n = \tfrac{n\pi c}{L}.$$
n = 1 · ω = ω₁ no interior node n = 2 · ω = 2ω₁ 1 node, at L/2 n = 3 · ω = 3ω₁ 2 nodes, L/3, 2L/3

The first three modes, each at both extremes of its swing. Mode $n$ has $n - 1$ interior nodes and frequency $n\omega_1$: the shapes and the frequencies come in the same order.

checks

Dimensions. $[\lambda] = \mathrm L^{-2}$, and $\omega_n = n\pi c/L$ has $[\mathrm{L\,T^{-1}}]/[\mathrm L] = \mathrm T^{-1}$ ✓.

Special case. $N$ masses on a chain had $\omega_n = 2\sqrt{k/m}\sin\big(n\pi/2(N+1)\big)$ (unit 07). For $n \ll N$ this is $\approx n\pi c/L$ with $c = a\sqrt{k/m}$ — the same formula, as unit 18's continuum limit requires ✓.

Limit. $L \to \infty$ at fixed $n$ sends $\omega_n \to 0$: an infinite string has no lowest note ✓.

19 · separation

Superposition, and the debt it runs up

The equation is linear and the boundary conditions are homogeneous, so any finite sum of the $u_n$ solves the problem. Allow infinite sums and the general candidate is

$$u(x,t) = \sum_{n\ge1}\sin\tfrac{n\pi x}{L}\,\big(\alpha_n\cos\omega_nt + \beta_n\sin\omega_nt\big).$$

Matching $u(\cdot,0)$ and $u_t(\cdot,0)$ to the initial data $f$ and $g$:

$$f = \sum_{n\ge1}\alpha_n\sin\tfrac{n\pi x}{L},\qquad g = \sum_{n\ge1}\omega_n\beta_n\sin\tfrac{n\pi x}{L}.$$
the debt

Everything rests on this: can every admissible $f$ be written that way, and with which coefficients? Separation cannot answer it — it is a question about the sines, not about the wave equation.

the same debt, in heat

Fourier's own problem (1807). A rod, $\theta_t = \kappa\,\theta_{xx}$, ends held at zero. Separation gives the same $X_n$ and $T_n = \mathrm e^{-\kappa\lambda_nt}$, so

$$\theta = \sum_n \alpha_n\sin\tfrac{n\pi x}{L}\,\mathrm e^{-t/\tau_n},\ \ \tau_n = \frac{L^2}{\kappa n^2\pi^2}.$$

Copper, $\kappa = 1.11\times10^{-4}\ \mathrm{m^2\,s^{-1}}$, $L = 1\ \mathrm m$: $\tau_1 = 912.8\ \mathrm s = 15.2$ min, and $\tau_{10} = 9.13\ \mathrm s$. The tenth harmonic is gone a hundred times sooner than the first.

That is why heat conduction smooths: the high modes, which carry the detail, die as $\mathrm e^{-n^2t/\tau_1}$. It is also why running it backwards is hopeless, which is unit 18's ill-posedness with a rate attached.

19 · separation · example

Worked: what a pluck puts into each mode

the plucked string

Pull the string aside by $h$ at $x = a$ and release from rest: $g = 0$, and $f$ is the triangle $hx/a$ on $[0,a]$, $h(L-x)/(L-a)$ on $[a,L]$. Use section 2's formula $\alpha_n = \frac2L\int_0^Lf\sin\frac{n\pi x}{L}\mathrm dx$ and integrate each leg by parts. With $k = n\pi/L$, the legs give $\frac{2h}{La}\big[\frac{\sin ka}{k^2} - \frac{a\cos ka}{k}\big]$ and $\frac{2h}{L(L-a)}\big[\frac{\sin ka}{k^2} + \frac{(L-a)\cos ka}{k}\big]$: the $\cos ka$ terms are $\mp2h/Lk$ and cancel, leaving

$$\alpha_n = \frac{2hL^2}{\pi^2a(L-a)}\cdot\frac{1}{n^2}\,\sin\frac{n\pi a}{L}.$$

$1/n^2$ is the kink; $\sin(n\pi a/L)$ is where it is.

checks

Dimensions. $hL^2/(a(L-a))$ is a length ✓.

Special case. $a = L/2$: $\sin(n\pi/2)$ kills every even $n$ — a symmetric shape cannot excite an antisymmetric mode ✓.

Limit. $a \to 0$: for $n \ll L/a$ the sine is $\approx n\pi a/L$, so $\alpha_n \approx 2h/(n\pi)$ — decay $1/n$, not $1/n^2$, over the first $\sim L/a$ modes. A sharper corner is brighter ✓.

19 · separation · example

The pluck at L/7, mode by mode

pluck at a = L/7 first 8 modes 0 L L/7 1 0.1 0.01 0.001 1 2 3 4 5 6 7 8 9 10 11 12 13 14 silent envelope 1/n² ● positive ○ negative mode n · |αₙ / α₁|, log scale

Top: the triangle plucked at $L/7$ and its first eight modes summed — already close everywhere but the corner. Bottom: $|\alpha_n/\alpha_1|$ on a log scale. The amplitudes ride down the $1/n^2$ envelope, modulated by $\sin(n\pi/7)$, which kills modes 7 and 14 exactly.

pluck at $a = L/7$ and mode 7 is silent

$\sin(7\pi/7) = 0$ exactly. Amplitudes $\alpha_n/\alpha_1$ for $n = 1,\dots,8$: $1$, $.450$, $.250$, $.140$, $.072$, $.028$, $\mathbf 0$, $-.016$. Helmholtz used this to explain why piano hammers strike near $L/7$ to $L/9$: the seventh partial is the first that lies well off the tempered scale.

Read the formula as two factors: $1/n^2$ says what kind of shape it is (one kink), and $\sin(n\pi a/L)$ says where the kink sits. A mode with a node at the plucking point cannot be excited by it.

19 · separation · the drum

The drum, separated

The membrane obeys $u_{tt} = c^2\nabla^2u$ on the disc $r < a$, with $u = 0$ on $r = a$. In polar coordinates (unit 05) the Laplacian is

$$\nabla^2u = u_{rr} + \frac1r u_r + \frac1{r^2}u_{\theta\theta}.$$

Try $u = R(r)\Theta(\theta)T(t)$; the time factor separates as before, with constant $-c^2\lambda$. Multiplying what is left by $r^2/(R\Theta)$,

$$\frac{r^2R'' + rR'}{R} + \lambda r^2 \;=\; -\frac{\Theta''}{\Theta} \;=\; m^2,$$

a function of $r$ equal to a function of $\theta$, hence constant.

$\Theta$ must be $2\pi$-periodic — not imposed by hand, but required for $u$ to be a function on the disc at all — so $\Theta = \cos m\theta$ or $\sin m\theta$, $m \in \{0,1,2,\dots\}$.

what is left is Bessel's equation

With $\kappa = \sqrt\lambda$ and $s = \kappa r$,

$$r^2R'' + rR' + (\lambda r^2 - m^2)R = 0,$$

i.e. $s^2\ddot R + s\dot R + (s^2 - m^2)R = 0$,

which is exactly the equation unit 09 solved by Frobenius, with solutions $J_m$ (regular at $0$) and $Y_m$ (logarithmically singular there).

the centre is not a boundary

$r = 0$ is a coordinate singularity, not an edge of the drum (unit 05). Nothing physical can be imposed there — only that $u$ be bounded, which discards $Y_m$. Section 4 shows this is what a singular endpoint is.

19 · separation · the drum

The drum's spectrum, in numbers

Boundedness leaves $R(r) = J_m(\kappa r)$; the clamped rim needs $J_m(\kappa a) = 0$. So $\kappa a$ must be a zero of $J_m$, and with $j_{mk}$ the $k$-th positive one:

the drum's frequencies $$\omega_{mk} = \frac{c\,j_{mk}}{a},\qquad u_{mk} = J_m\!\Big(\frac{j_{mk}r}{a}\Big)\begin{Bmatrix}\cos m\theta\\ \sin m\theta\end{Bmatrix}.$$
$(m,k)$$j_{mk}$$j_{mk}/j_{01}$$f$ / Hznodes inside
$(0,1)$2.4048261.0000280.39none
$(1,1)$3.8317061.5933446.761 diameter
$(2,1)$5.1356222.1355598.792 diameters
$(0,2)$5.5200782.2954643.621 circle
+ (0,1) 280 Hz + − (1,1) 447 Hz + + − − (2,1) 599 Hz + − (0,2) 644 Hz

The four modes, seen from above, nodal lines to scale. Shaded and unshaded regions move in opposite directions. $m$ counts nodal diameters, $k - 1$ counts nodal circles: the $(0,2)$ circle sits at $r = (j_{01}/j_{02})\,a = 0.436\,a$.

19 · separation · the drum

The drum's radial factors, and three checks

nodal circle, r = 0.436a (0,1) (1,1) (2,1) (0,2) 0 0.5 1 a 0 r Jₘ(jₘₖ r/a)

The radial factors $J_m(j_{mk}r/a)$ of the same four modes. Every one vanishes at the rim — that is how $j_{mk}$ was chosen. Only the $m = 0$ modes move at the centre; for $m \ge 1$ the factor starts at zero, as a function of $r$ and $\theta$ must if it is to be continuous there.

checks

Dimensions. $j_{mk}$ is a pure number, so $cj_{mk}/a$ is $\mathrm{T^{-1}}$ ✓.

Asymptotic limit. Unit 09's large-argument form $J_m(s) \sim \sqrt{2/\pi s}\cos(s - m\pi/2 - \pi/4)$ predicts $j_{mk} \approx (k + \tfrac m2 - \tfrac14)\pi$. For $(0,3)$: $2.75\pi = 8.6394$ against $8.6537$, out by $0.17\%$; for $(0,1)$, $2.0\%$ ✓ — high modes become string-like, as they must.

The number. $c = \sqrt{3200/0.265} = 109.89\ \mathrm{m\,s^{-1}}$ and $f_{01} = 109.89\times2.404826/(2\pi\times0.150) = 280.39\ \mathrm{Hz}$.

A string's frequencies are $1 : 2 : 3 : 4$. The drum's are $1 : 1.5933 : 2.1355 : 2.2954$ — ratios of Bessel zeros, and there is no reason for them to be rational. The last slide of the unit cashes that observation.

section 2

Orthogonality, and the best approximation

One inner product turns "find the coefficients" into a projection, and "is every shape reachable" into a theorem.

19 · orthogonality

An inner product on a space of functions

definition

On the real vector space $PC[a,b]$ of piecewise continuous functions on $[a,b]$, with a fixed weight $w$ continuous and $w > 0$, put

$$\langle f,g\rangle_w := \int_a^b\! fg\,w\,\mathrm dx,\ \ \lVert f\rVert_w := \langle f,f\rangle_w^{1/2}.$$

Bilinear and symmetric by linearity of the integral; positive because $w > 0$ — and definite once functions agreeing off a finite set are identified.

Everything from unit 07 applies verbatim: Cauchy–Schwarz, the triangle inequality, orthogonal projection, Pythagoras. The space is infinite-dimensional, which changes nothing here and everything in section 3.

the sines are orthogonal

On $[0,L]$ with $w = 1$, write $S_n(x) = \sin(n\pi x/L)$. Then for $m \ne n$

$$\langle S_m, S_n\rangle = 0,\qquad \lVert S_n\rVert^2 = L/2 .$$
proof

$\sin A\sin B = \tfrac12[\cos(A-B) - \cos(A+B)]$, so the integral is

$$\tfrac12\int_0^L\!\Big[\cos\tfrac{(m-n)\pi x}{L} - \cos\tfrac{(m+n)\pi x}{L}\Big]\mathrm dx$$

and $\int_0^L\cos(k\pi x/L)\mathrm dx = (L/k\pi)\sin k\pi = 0$ for nonzero integer $k$. For $m = n$ the first cosine is $1$: contribution $L/2$. $\square$

A computation — but section 4 proves it without computing, and that proof also covers $J_m$ and $P_n$, which this one does not.

19 · orthogonality

Coefficients are a projection, and that is optimal

Let $\{e_n\}$ be orthogonal and nonzero in an inner-product space $V$, $f \in V$, and $S = \sum_{n\le N}c_ne_n$.

best approximation

$\lVert f - S\rVert$ is smallest exactly when $c_n = \hat f_n := \langle f, e_n\rangle/\lVert e_n\rVert^2$ for $n \le N$, and then $f - S \perp e_1,\dots,e_N$.

proof

Expand, using orthogonality, then complete the square in each $c_n$ separately:

$$\lVert f - S\rVert^2 = \lVert f\rVert^2 - 2\sum_{n\le N} c_n\langle f,e_n\rangle + \sum_{n\le N}c_n^2\lVert e_n\rVert^2$$ $$= \lVert f\rVert^2 - \sum_{n\le N}\hat f_n^2\lVert e_n\rVert^2 + \sum_{n\le N}\lVert e_n\rVert^2(c_n - \hat f_n)^2 .$$

Only the last sum depends on $c$; it is nonnegative and zero exactly at $c = \hat f$. $\square$

f̂₁ e₁ f̂₂ e₂ f f − Sₙf ⊥ every eₙ Sₙf any other S: farther span(e₁, …, eₙ)

Schematic. The best combination $S_Nf$ is the foot of the perpendicular from $f$ to the span, and its coordinates along the $e_n$ are the $\hat f_n$. Every other point $S$ of the span is farther, by Pythagoras: $\lVert f - S\rVert^2 = \lVert f - S_Nf\rVert^2 + \lVert S_Nf - S\rVert^2$.

19 · orthogonality

Fourier coefficients: coordinates that stay put

Fourier coefficient

$\hat f_n = \langle f,e_n\rangle/\lVert e_n\rVert^2$ — the coordinate of $f$ along $e_n$, for any orthogonal system in any inner-product space. The best approximation $S_Nf := \sum_{n\le N}\hat f_ne_n$ is the partial sum. For the sines on $[0,L]$: $\alpha_n = \frac2L\int_0^Lf\sin\frac{n\pi x}{L}\mathrm dx$, the formula the plucked string used.

three things follow at once

Uniqueness. If $f = \sum c_ne_n$ in norm then $c_n = \hat f_n$: take $\langle\cdot,e_m\rangle$ through the limit by Cauchy–Schwarz.

Independence of $N$. $\hat f_n$ does not move when more terms are allowed. Fit a non-orthogonal family and every coefficient moves.

The error is orthogonal to the span — Pythagoras, and the next slide.

e₁ e₂ f e₁ alone = with e₂ orthogonal: it stays e₁ e₂ f e₁ alone with e₂ skewed: it moves

Schematic. Fit $f$ with $e_1$ alone, then with $e_1$ and $e_2$, and watch the $e_1$ coefficient. With $e_2 \perp e_1$ the two fits agree (left). With $e_2$ at $60^\circ$ the best $e_1$ coefficient jumps when $e_2$ is admitted (right) — and every coefficient would move again with $e_3$.

19 · orthogonality

Bessel's inequality, and what it hands you free

Bessel's inequality

For any orthogonal system $\{e_n\}$ and any $f$,

$$\sum_{n=1}^{\infty}\hat f_n^2\,\lVert e_n\rVert^2 \;\le\; \lVert f\rVert^2 .$$
proof

The best-approximation identity with $c = \hat f$ reads

$$0 \le \lVert f - S_Nf\rVert^2 = \lVert f\rVert^2 - \sum_{n\le N}\hat f_n^2\lVert e_n\rVert^2 ,$$

so the partial sums are bounded by $\lVert f\rVert^2$; nondecreasing, they converge. $\square$

Free: no hypothesis on $f$, none on the system beyond orthogonality.

corollary: Riemann–Lebesgue

A convergent series has terms tending to zero, so $\hat f_n\lVert e_n\rVert \to 0$. For the normalised trigonometric system on $[-\pi,\pi]$:

$$\int_{-\pi}^{\pi}\!\!f\sin nx\,\mathrm dx \to 0,\quad \int_{-\pi}^{\pi}\!\!f\cos nx\,\mathrm dx \to 0$$

for every piecewise continuous $f$. Oscillate fast enough against anything and the average wins.

check

Dimensions. Both sides carry $[f]^2\,[w]\,\mathrm L$ ✓. Special case. $f = e_1$: the left side is $\lVert e_1\rVert^2$ and the right is the same — equality, as it must be for $f$ in the span ✓.

Riemann–Lebesgue is the engine of Dirichlet's pointwise theorem, and the reason it works for merely piecewise smooth data.

19 · orthogonality

Completeness, and Parseval

completeness

$\{e_n\}$ is complete in $V$ if $\lVert f - S_Nf\rVert \to 0$ for every $f \in V$. Then the only $f$ orthogonal to every $e_n$ is $0$; the converse needs more (notes).

Parseval's identity

Complete $\iff$ Bessel's inequality is an equality for every $f$:

$$\lVert f\rVert^2 = \sum_{n\ge1}\hat f_n^2\,\lVert e_n\rVert^2 .$$

Proof. Immediate from $\lVert f - S_Nf\rVert^2 = \lVert f\rVert^2 - \sum_{n\le N}\hat f_n^2\lVert e_n\rVert^2$, which is the best-approximation identity. $\square$

Physically: the energy is the sum of the modes' energies, no cross terms.

why not just use $S_N$?

Because $S_Nf$ need not converge pointwise for continuous $f$: du Bois-Reymond, 1876 (cited). Their averages $\sigma_N := \frac1{N+1}\sum_{k\le N}S_kf$ do, being $f$ convolved with a nonnegative kernel — which $S_Nf$ is not.

the trigonometric system is complete

$\{1,\cos nx,\sin nx\}$ is complete in $PC[-\pi,\pi]$; so are $\{\sin(n\pi x/L)\}$ and $\{\cos(n\pi x/L)\}$ in $PC[0,L]$.

full proof in the notes (N) — the Fejér route

Three steps: (i) Fejér's theorem — the averages $\sigma_N$ converge uniformly to $f$ for continuous periodic $f$; (ii) any piecewise continuous $f$ is within $\varepsilon$ in norm of a continuous periodic one; (iii) best approximation: once a trigonometric polynomial of degree $D$ is within $\varepsilon$, so is $S_Nf$ for $N \ge D$.

19 · orthogonality

Sine, cosine, complex: one system per boundary condition

problem on $[0,L]$eigenfunctionsexpansion of $f$extension
$u(0) = u(L) = 0$$\sin\frac{n\pi x}{L}$, $n\ge1$sine seriesodd, $2L$-periodic
$u'(0) = u'(L) = 0$$\cos\frac{n\pi x}{L}$, $n\ge0$cosine serieseven, $2L$-periodic
$u(0)=u(L),\ u'(0)=u'(L)$$\mathrm e^{2\pi\mathrm inx/L}$, $n\in\mathbb Z$complex series$L$-periodic

One function on one interval has all three expansions, with different coefficients and different behaviour at the ends, because the extensions differ there.

the complex Fourier series

With $\langle f,g\rangle = \int_0^L f\bar g$, the $\mathrm e^{2\pi\mathrm inx/L}$ are orthogonal with norm$^2$ $L$, so

$$f \sim \sum_{n\in\mathbb Z}c_n\mathrm e^{2\pi\mathrm inx/L},\quad c_n = \frac1L\int_0^Lf(x)\mathrm e^{-2\pi\mathrm inx/L}\mathrm dx .$$

$f$ real $\iff c_{-n} = \overline{c_n}$.

Choosing an expansion is choosing a boundary condition. Section 4 says why: the boundary condition is part of the operator.

19 · orthogonality · example

Worked: one function, three expansions

odd, 2L-periodic → sine series 0 L even, 2L-periodic → cosine series 0 L L-periodic → complex series 0 L

$f(x) = x$ on $[0,L]$ (solid) and the extension each system implicitly makes (dashed). The odd extension jumps at $x = L$, the even one only has corners, the $L$-periodic one jumps at $0$ and $L$. Open circles: the jump midpoints, where Dirichlet's theorem (next section) says the series land.

$f(x) = x$ on $[0,L]$, three ways

Sine: $\alpha_n = \dfrac{2L(-1)^{n+1}}{n\pi}$ — decay $1/n$, because the odd extension jumps from $L$ to $-L$ at $x = L$.

Cosine: $a_0/2 = L/2$, $a_n = \dfrac{-4L}{n^2\pi^2}$ for odd $n$ and $0$ for even — decay $1/n^2$, because the even extension is continuous with a kink.

Complex: $c_0 = L/2$, $c_n = \dfrac{\mathrm iL}{2\pi n}$ — decay $1/n$, jump at $x = 0$.

At $x = L$ the three converge to $0$, to $L$, and to $L/2$. All three are right; they are answering different questions.

19 · orthogonality · example

Worked: Parseval, twice, with the drum's weight

a sum from a square wave

$f \equiv 1$ on $[0,L]$ in sines: $\alpha_n = \frac2L\int_0^L\sin\frac{n\pi x}L\mathrm dx = \frac{2}{n\pi}(1 - (-1)^n)$, so $4/n\pi$ for odd $n$, $0$ for even. Parseval, with $\lVert S_n\rVert^2 = L/2$:

$$L = \frac L2\sum_{n\ \text{odd}}\frac{16}{n^2\pi^2} \ \Longrightarrow\ \sum_{k\ge0}\frac{1}{(2k+1)^2} = \frac{\pi^2}{8}$$

Summing the left side to $10^6$ terms gives $1.2337003$, against $\pi^2/8 = 1.2337006$ ✓. The same manoeuvre on $f(x) = x$, with $\alpha_n = 2L(-1)^{n+1}/n\pi$, gives $\sum n^{-2} = \pi^2/6$.

checks

Dimensions. Both sides of each identity carry $[f]^2$ times a length (a length$^2$ for the drum) ✓.

Special case. $f = J_0(j_{01}r/a)$ gives $\hat f_1 = 1$ and all other $\hat f_k = 0$, and Parseval reduces to the norm formula ✓.

the drum's version, with $w = r$

A radial initial shape on the drum expands in $\{J_0(j_{0k}r/a)\}$, orthogonal with weight $w = r$ — the polar area element (section 4). So

$$\hat f_k = \frac{\int_0^a f(r)J_0\!\big(\tfrac{j_{0k}r}{a}\big)\,r\,\mathrm dr}{\int_0^a J_0\!\big(\tfrac{j_{0k}r}{a}\big)^2\,r\,\mathrm dr},$$

with $\int_0^aJ_0(j_{0k}r/a)^2r\,\mathrm dr = \tfrac12a^2J_1(j_{0k})^2$, and Parseval reads

$$\int_0^a f^2\,r\,\mathrm dr = \tfrac12a^2\sum_{k\ge1}\hat f_k^2\,J_1(j_{0k})^2 .$$

section 3

Convergence: which kind, and how fast

Mean-square convergence is free and says nothing about any single point. Pointwise and uniform cost hypotheses, and the price is exactly the smoothness of the data.

19 · convergence

Dirichlet: what the series converges to at a jump

Dirichlet's theorem (1829)

Let $f$ be $2\pi$-periodic and piecewise $C^1$: continuous but for finitely many points, $f'$ piecewise continuous, with one-sided limits $f(x\pm)$, $f'(x\pm)$ everywhere. Then for every $x$,

$$S_Nf(x) \longrightarrow \tfrac12\big(f(x+) + f(x-)\big).$$

In particular $S_Nf(x) \to f(x)$ at every point of continuity, and to the midpoint of the jump elsewhere.

full proof in the notes (N)

It cannot do better: the coefficients are integrals of $f$, which cannot see the value at one point. Changing $f$ at a single point changes no coefficient at all.

the hypothesis is not decoration

Continuity alone is not enough — du Bois-Reymond, 1876. What piecewise $C^1$ buys is a bounded difference quotient, which is exactly what the proof feeds to Riemann–Lebesgue.

the square wave

$f = +1$ on $(0,\pi)$, $-1$ on $(-\pi,0)$, extended $2\pi$-periodically. It is odd, so only sines appear, with coefficients $b_n = \frac1\pi\int_{-\pi}^{\pi}f\sin nx\,\mathrm dx = \frac{2}{n\pi}(1-(-1)^n)$, and

$$S_N(x) = \frac4\pi\sum_{k\ \text{odd}\le N}\frac{\sin kx}{k}.$$

At $x = 0$ every term is zero, so $S_N(0) = 0 = \tfrac12(1 + (-1))$ ✓ — the theorem, visible without any analysis.

At $x = \pi/2$: $\frac4\pi(1 - \tfrac13 + \tfrac15 - \cdots) = \frac4\pi\cdot\frac\pi4 = 1$ ✓, Leibniz's series recovered.

19 · convergence

Uniform convergence, and exactly when it fails

when the series converges uniformly

If $f$ is continuous, $2\pi$-periodic and piecewise $C^1$, then $\sum_n|c_n| < \infty$ and $S_Nf \to f$ uniformly and absolutely.

proof

Integrating by parts, with continuity and periodicity killing the boundary term, $c_n(f') = \mathrm in\,c_n(f)$; Bessel for $f'$ gives $\sum n^2|c_n|^2 \lt \infty$. Then by Cauchy–Schwarz

$$\sum_{n\ne0}|c_n| = \sum_{n\ne0}\big(n|c_n|\big)\tfrac1{|n|}$$ $$\le \Big(\sum n^2|c_n|^2\Big)^{\!1/2}\Big(\sum_{n\ne0}\tfrac1{n^2}\Big)^{\!1/2} \lt \infty .$$

The $M$-test then gives uniform convergence to some continuous limit, and Dirichlet identifies it as $f$. $\square$

and when it cannot

A uniform limit of continuous functions is continuous, and each $S_Nf$ is a trigonometric polynomial. So if $f$ jumps, the convergence is not uniform on any interval containing the jump — no hypothesis can rescue it. The series still converges in norm and pointwise to the midpoint; the next slide measures by how much uniformity fails.

the three modes, ranked

Mean-square: free, for every piecewise continuous $f$.
Pointwise: guaranteed by piecewise $C^1$; midpoints at jumps.
Uniform: guaranteed by continuity as well, through $\sum|c_n| < \infty$.

Each hypothesis is sufficient, not necessary; only the first mode is automatic.

19 · convergence · example

Worked: Gibbs, and the number 8.9490 %

the overshoot at a jump

Square wave, $S_{2M-1} = \frac4\pi\sum_{j<M}\frac{\sin(2j+1)x}{2j+1}$. Differentiate and sum the cosines (the geometric sum is in the notes):

$$S'(x) = \frac4\pi\sum_{j=0}^{M-1}\cos(2j+1)x = \frac{2}{\pi}\,\frac{\sin 2Mx}{\sin x},$$

so the first maximum right of the jump is at $x_M = \pi/2M$. Integrate from $0$, where $S = 0$, and put $u = 2Mt$:

$$S(x_M) = \frac2\pi\int_0^{\pi/2M}\!\!\frac{\sin 2Mt}{\sin t}\mathrm dt = \frac{2}{\pi}\int_0^{\pi}\!\frac{\sin u\,\mathrm du}{2M\sin\frac{u}{2M}} .$$

As $M\to\infty$, $2M\sin(u/2M) \to u$ uniformly on $[0,\pi]$, so

$$S(x_M) \to \frac2\pi\int_0^{\pi}\frac{\sin u}{u}\mathrm du = \frac2\pi\mathrm{Si}(\pi) = 1.17898 .$$
the Gibbs phenomenon

Near a jump of size $J$ the partial sums overshoot by $\big(\tfrac2\pi\mathrm{Si}(\pi) - 1\big)\tfrac J2 = 0.08948987\,J$ — 8.9490 % of the jump, on each side. It does not shrink with $N$; it only moves closer to the jump, at distance $\pi/2M$.

checks

Dimensions. A fraction of a jump; dimensionless ✓.

Numbers. Summing directly at $x = \pi/2M$: $9.116\%$ at $M=5$, $8.959\%$ at $M=20$, $8.9494\%$ at $M=100$, $8.94899\%$ at $M=1000$ ✓.

Consistency. The width $\pi/2M \to 0$, so the overshoot occupies a vanishing interval and contributes nothing to $\lVert f - S_Nf\rVert_2$ ✓.

19 · convergence · example

Gibbs, seen and repaired

+1 −1 π/2 x midpoint 0 1.179: overshoot 8.95 % of the jump 2 S₉ S₄₉ square wave

$S_9$ ($M = 5$) and $S_{49}$ ($M = 25$) at the jump. Both pass through the midpoint $0$; both peak near $1.18$ ($1.182$ and $1.179$); more terms only squeeze the peak towards the jump.

+1 −1 π/2 x S₂₅: overshoots σ₂₅: never above 1

The same jump with $N = 25$: the partial sum $S_{25}$ overshoots, the Fejér average $\sigma_{25}$ of $S_0, \dots, S_{25}$ does not — it climbs monotonically to the jump height and stays below it, at the price of a softer edge.

the repair

$\sigma_Nf$ is $f$ averaged against the Fejér kernel, which is nonnegative with total weight $1$ ("Completeness, and Parseval", notes). An average of values in $[-1,1]$ lies in $[-1,1]$: $\sigma_N$ cannot overshoot the range of $f$.

19 · convergence

Smoothness against decay: a dictionary, and an error bar

smoothness controls decay

If $f$ is $2\pi$-periodic and $C^{k-1}$ with $f^{(k)}$ piecewise continuous, integrating by parts $k$ times gives $c_n(f^{(k)}) = (\mathrm in)^kc_n(f)$; Bessel applied to $f^{(k)}$ then gives $\sum_nn^{2k}|c_n|^2 \lt \infty$, so $|c_n| = o(|n|^{-k})$, and by Parseval

$$\lVert f - S_Nf\rVert_2^2 = 2\pi\!\!\sum_{|n|>N}\!\!|c_n|^2 \le \frac{2\pi}{N^{2k}}\!\!\sum_{|n|>N}\!\!n^{2k}|c_n|^2 .$$
lowest derivative that jumps$|c_n|$$\lVert f-S_Nf\rVert_2$example
$f$ itself$\sim1/n$$\sim N^{-1/2}$square wave
$f'$$\sim1/n^2$$\sim N^{-3/2}$plucked string
$f''$$\sim1/n^3$$\sim N^{-5/2}$a parabolic arch
none ($C^\infty$)faster than every powersame$\mathrm e^{\cos x}$

The same dictionary governs the drum, with $J_0(j_{0k}r/a)$ for sines: a finger-pressed dimple has a kink and needs many modes; a smooth bulge needs few.

1 10⁻² 10⁻⁴ 10⁻⁶ 1 10 100 1/n 1/n² 1/n³ square wave pluck arch e^(cos x) n, log scale |cₙ|, log scale

$|c_n|$ against $n$, both on log scales, for the table's four rows (odd $n$; the even coefficients vanish for the first three). A power law is a straight line whose slope is the power — $-1$, $-2$, $-3$, one step for each extra continuous derivative — and $\mathrm e^{\cos x}$, with no derivative that jumps, falls off a cliff.

19 · convergence · example

Smoothness in decibels: pluck against strike

what it is worth, in decibels

Plucked: $\alpha_n \propto n^{-2}$, so partial $n$ is $40\log_{10}n$ dB below the first — partial 10 at $-40$ dB. Struck by a hammer of width $\varepsilon \ll L$: $\alpha_n \propto n^{-1}$ while $n \ll L/\pi\varepsilon$ — partial 10 at $-20$ dB.

Twenty decibels at the tenth partial, idealised pluck against idealised strike — and it is a statement about smoothness.

check

Special case. $f = \cos x$ exactly: $k$ is unbounded and all but two coefficients are zero, so every bound is satisfied trivially ✓. Dimensions. $|c_n|$ carries $[f]$, and $n$ is a pure number ✓.

0 −20 −40 −60 1 10 20 30 40 knee n ≈ L/πε ≈ 16 strike, width ε = L/50 pluck: −40 dB/decade −40 −20.6 partial n level relative to partial 1, dB

Partial levels relative to the first. The pluck's $1/n^2$ is a straight $-40$ dB per decade. A hammer of width $\varepsilon = L/50$ gives $1/n$ — partial 10 at $-20.6$ dB — up to a knee near $n \approx L/\pi\varepsilon \approx 16$, beyond which its smoothness on the scale $\varepsilon$ shows and the slope steepens.

19 · convergence

Differentiating term by term, and what it costs

when it is legal

Let $f$ be $2\pi$-periodic, continuous, and piecewise $C^1$. Then the Fourier series of $f'$ is obtained by differentiating that of $f$ term by term, and it converges to $f'$ in mean square — and to midpoints pointwise if $f'$ is itself piecewise $C^1$.

Proof. $c_n(f') = \mathrm inc_n(f)$, proved on the uniform-convergence slide; then completeness for the piecewise continuous $f'$, and Dirichlet for $f'$ under the extra hypothesis. $\square$

the price

Differentiation multiplies $c_n$ by $\mathrm in$: one power of decay is lost each time. A series with $c_n \sim n^{-2}$ that converged uniformly differentiates to one with $c_n \sim n^{-1}$, which converges in mean square and not uniformly. Differentiate once more and it need not converge at all.

two failures, for two different reasons

Continuity fails. The square wave has $S(x) = \frac4\pi\sum_{\text{odd}}\frac{\sin kx}{k}$; differentiating termwise gives $\frac4\pi\sum_{\text{odd}}\cos kx$, whose terms do not tend to zero, so it diverges at every $x$ except $\pm\pi/2$. The theorem's hypothesis is exactly what is missing: $f$ jumps.

Continuity holds and it still fails. $\displaystyle f(x) = \sum_{n\ge1}\frac{\sin n^2x}{n^2}$ converges uniformly by the $M$-test, so $f$ is continuous. Termwise, $\sum\cos n^2x$ — terms not tending to zero, divergent everywhere. Here $f$ is continuous but not piecewise $C^1$; the second hypothesis is the one being used.

This is why the wave equation's series solution needs care and the heat equation's does not: $\mathrm e^{-\kappa\lambda_nt}$ restores every power of $n$ lost, for any $t > 0$.

section 4

Sturm–Liouville: why any of this was inevitable

One operator, one identity, and five theorems that were proved separately for sines, Bessel functions and Legendre polynomials before anyone noticed they were the same proof.

19 · Sturm–Liouville

The operator, and the weight that comes with it

the Sturm–Liouville operator

On $[a,b]$ let $p \in C^1$ with $p > 0$, $q \in C^0$ real, $w \in C^0$ with $w > 0$. Define a linear map on $C^2[a,b]$ by

$$\mathcal Lu := -(p\,u')' + q\,u .$$

The Sturm–Liouville problem is: find $\lambda \in \mathbb C$ and $u \not\equiv 0$ with

$$\mathcal Lu = \lambda\,w\,u \quad\text{on }(a,b),$$

together with boundary conditions.

Divide by $w$ and it is an eigenvalue problem for the operator $\mathcal A := w^{-1}\mathcal L$ on the inner-product space $\big(PC[a,b],\ \langle\cdot,\cdot\rangle_w\big)$ of the last section. The weight in the equation and the weight in the inner product are the same $w$. That is not a coincidence; it is the next slide.

every second-order equation has this form

Given $A(x)u'' + B(x)u' + C(x)u + \lambda D(x)u = 0$ with $A > 0$, multiply through by the integrating factor $\mu = A^{-1}\exp\!\int\! (B/A)$. Then $\mu A = \exp\!\int\!(B/A) =: p$ and $\mu(Au'' + Bu') = (pu')'$ exactly, giving $-(pu')' - \mu Cu = \lambda\mu Du$. $\square$

equation$p$$q$$w$on
string, $u''=-\lambda u$$1$$0$$1$$[0,L]$
Bessel, order $m$$r$$m^2/r$$r$$(0,a]$
Legendre (unit 10)$1-x^2$$0$$1$$[-1,1]$
non-uniform string$T$$0$$\rho(x)$$[0,L]$

The weight is where the physics hides: for a string it is the mass density, for the drum it is the area element. Orthogonality is always with respect to the thing that measures how much stuff is there.

19 · Sturm–Liouville

Lagrange's identity: one line, everything follows

Lagrange's identity

For any $u, v \in C^2[a,b]$ (complex-valued, $p$ and $q$ real),

$$\bar v\,\mathcal Lu - u\,\overline{\mathcal Lv} = \big[\,p\,(u\bar v{}' - u'\bar v)\,\big]' .$$
proof

The $q$ terms cancel ($q$ real), leaving $u(p\bar v{}')' - \bar v(pu')'$. With $W := u\bar v{}' - u'\bar v$, expand the right-hand side:

$$(pW)' = p'W + p\,(u\bar v{}'' - u''\bar v)$$ $$= (p\bar v{}')'u - (pu')'\bar v .\ \square$$

Integrate; the $w$ in $\mathcal A = w^{-1}\mathcal L$ cancels the $w$ in $\langle\cdot,\cdot\rangle_w$:

$$\langle \mathcal Au, v\rangle_w - \langle u, \mathcal Av\rangle_w = \big[\,p(u\bar v{}' - u'\bar v)\,\big]_a^b .$$
the bilinear concomitant

$\;[u,v](x) := p(x)\big(u\bar v{}' - u'\bar v\big)(x)$ — a weighted Wronskian, and the only obstruction to symmetry.

what has just happened

$\mathcal A$ is symmetric up to a boundary term, for every $p$, $q$, $w$, with no conditions at all. The differential operator is formally self-adjoint by construction.

So self-adjointness reduces to: which boundary conditions kill $[u,v]$ at both ends? A finite-dimensional question, settled next slide.

Notice where the weight went: $\langle\mathcal Au,v\rangle_w = \int(w^{-1}\mathcal Lu)\bar vw = \int(\mathcal Lu)\bar v$. Choose the wrong inner product and there is no identity to have.

19 · Sturm–Liouville

Three families of boundary conditions, and one that fails

1 · separated

$\alpha_1u(a) + \alpha_2u'(a) = 0$ and $\beta_1u(b) + \beta_2u'(b) = 0$, with $\alpha,\beta$ real and each pair not both zero.

Why it works. At $a$, both $(u,u')$ and $(\bar v,\bar v{}')$ lie in the complex line $\alpha^\perp$ ($\alpha$ real), so the determinant $u\bar v{}' - u'\bar v$ vanishes. Same at $b$. Dirichlet ($\alpha_2 = 0$), Neumann ($\alpha_1 = 0$), Robin (neither) are the cases.

2 · periodic

$p(a) = p(b)$, $u(a) = u(b)$, $u'(a) = u'(b)$.

Why it works. $[u,v](a)$ and $[u,v](b)$ are then literally the same number, so the difference is zero.

The drum's angular problem is this one, on $[0,2\pi]$ with $p = 1$. Each eigenvalue $m^2$, $m \ge 1$, carries a two-dimensional eigenspace — the exception this family is responsible for.

3 · singular

$p \to 0$ at an endpoint. Then $[u,v] \to 0$ there provided $u, v$ and their derivatives do not blow up faster than $1/p$ — in practice, provided both are bounded with bounded derivative.

Bessel at $r = 0$: $p = r \to 0$, and boundedness discards $Y_m$. Legendre at $x = \pm1$: $p = 1 - x^2 \to 0$, and boundedness discards $Q_n$ and forces $\lambda = n(n+1)$.

and one that fails

$\mathcal L = -\mathrm d^2/\mathrm dx^2$ on $[0,1]$ with $u(0) = 0$, $u'(1) = \mathrm i\,u(1)$ — a Robin condition with a complex coefficient, which is what an absorbing boundary looks like. Then $u = \sin kx$ needs $\tan k = -\mathrm ik$, which no real $k \ne 0$ satisfies: the first root is $k = 1.77927 - 0.54554\,\mathrm i$, so $\lambda = 2.86819 - 1.94131\,\mathrm i$. Reality goes first, and orthogonality with it. Problem P6 runs it through.

19 · Sturm–Liouville

Real eigenvalues, orthogonal eigenfunctions

theorem

Let the boundary conditions be self-adjoint, so $\langle\mathcal Au,v\rangle_w = \langle u,\mathcal Av\rangle_w$ on the domain. Then:

(i) every eigenvalue is real, and every eigenfunction may be taken real;
(ii) eigenfunctions with different eigenvalues are orthogonal in $\langle\cdot,\cdot\rangle_w$.

proof of (i)

$\mathcal Au = \lambda u$ with $u \ne 0$; drop the subscript $w$ on every product. Then

$$\lambda\lVert u\rVert^2 = \langle\mathcal Au,u\rangle = \langle u,\mathcal Au\rangle = \bar\lambda\lVert u\rVert^2 ,$$

and $\lVert u\rVert_w^2 > 0$ because $w > 0$, so $\lambda = \bar\lambda$. For the eigenfunction: $\mathcal L$ and the boundary conditions have real coefficients, so $\bar u$ is an eigenfunction for the same $\lambda$; hence so are $\operatorname{Re}u$ and $\operatorname{Im}u$, and one is nonzero. $\square$

proof of (ii)

$\mathcal Au = \lambda u$, $\mathcal Av = \mu v$ with $\lambda \ne \mu$, both real by (i). Then

$$\lambda\langle u,v\rangle = \langle\mathcal Au,v\rangle = \langle u,\mathcal Av\rangle = \mu\langle u,v\rangle ,$$

so $(\lambda - \mu)\langle u,v\rangle_w = 0$, hence $\langle u,v\rangle_w = 0$. $\square$

what this has just replaced

The trigonometric orthogonality computed by a product formula in section 2 — now a corollary with $p = w = 1$, $q = 0$. And the Bessel and Legendre relations, and every case nobody has computed yet.

Unit 07's $M$-orthogonality of normal modes is the same statement for $\mathbb R^n$: $M$ for $w$, the spectral theorem for Lagrange's identity.

Both proofs used only symmetry. Neither used $p > 0$, the form of $\mathcal L$, or anything about the interval.

19 · Sturm–Liouville

Simple, discrete, unbounded above

simplicity — separated conditions only

Each eigenvalue has a one-dimensional eigenspace.

proof

Let $u, v$ satisfy $\mathcal Ly = \lambda wy$ and $\alpha_1y(a) + \alpha_2y'(a) = 0$, both real (previous slide). The pairs $(u,u')$ and $(v,v')$ at $a$ lie in the one-dimensional $\alpha^\perp \subset \mathbb R^2$, so $(v,v')(a) = c(u,u')(a)$; then $v$ and $cu$ solve the same ODE with the same data at $a$, so $v = cu$ — Picard–Lindelöf, unit 01. $\square$

why periodic is different

It constrains the two ends jointly, so the argument has nothing to start from: $-y'' = \lambda y$ on $[0,2\pi]$, periodic, has eigenspace $\operatorname{span}(\cos m\theta,\sin m\theta)$ at $\lambda = m^2$, $m \ge 1$.

bounded below

With Dirichlet conditions, one integration by parts — boundary term $-[pu'\bar u]_a^b = 0$ — gives $\lambda\lVert u\rVert_w^2 = \int_a^b(p|u'|^2 + q|u|^2)$, which is at least $\inf(q/w)\lVert u\rVert_w^2$. So $\lambda \ge \inf(q/w)$. $\square$

discrete and unbounded — cited

The eigenvalues form a strictly increasing sequence $\lambda_1 \lt \lambda_2 \lt \cdots \to +\infty$, with no accumulation point.

By the Prüfer angle: $pu' = \rho\cos\vartheta$, $u = \rho\sin\vartheta$, and $\vartheta$ obeys a first-order ODE, increasing through multiples of $\pi$, monotone in $\lambda$. Cited: Coddington & Levinson ch. 8; Al-Gwaiz §3.3.

19 · Sturm–Liouville

Completeness — the theorem the whole method was waiting for

the expansion theorem — cited

For a regular problem ($[a,b]$ bounded, $p, w > 0$ on all of it: no singular end) with self-adjoint boundary conditions, the eigenfunctions $\{u_n\}$ are complete in $L^2_w(a,b)$, the completion of $PC[a,b]$ in $\lVert\cdot\rVert_w$: for every $f$ there,

$$\Big\lVert f - \sum_{n\le N}\hat f_nu_n\Big\rVert_w \to 0,\quad \hat f_n = \frac{\langle f,u_n\rangle_w}{\lVert u_n\rVert_w^2},$$

and Parseval holds. If $f$ is also $C^1$ and satisfies the boundary conditions, the convergence is uniform and absolute.

Why, in one sentence. $(\mathcal A - \mu)^{-1}$ is an integral operator whose kernel — a Green's function for $\mathcal L$, built by unit 06's jump-matching — is continuous on a compact square, hence compact and self-adjoint; and a compact self-adjoint operator has an orthonormal basis of eigenfunctions.

what this unit is not proving, and why

That needs three things this course has not built: the Lebesgue integral, metric completeness of $L^2_w$, and the spectral theorem for compact operators. None is hard; all are long.

What is proved in full here is the trigonometric case, by Fejér — the case every other is modelled on, and enough for the string, the rod, and units 20, 23 and 38.

Cited: Coddington & Levinson ch. 7 §§3–4; Courant & Hilbert vol. I ch. V–VI; Al-Gwaiz ch. 2.

19 · Sturm–Liouville · the drum

The debt from section 1, paid on the drum

dimple f(r) 1 mode: 81 % off 3 modes: 18 % 10 modes: 2.6 % 0 0.5 1 0 0.4a a r displacement

A finger-pressed dimple, $f(r) = 1 - r/0.4a$ inside $r = 0.4a$ and $0$ outside, expanded in the drum's radial modes $J_0(j_{0k}r/a)$ with weight $r$. One mode is a poor caricature; ten are within $2.6\%$ in the weighted norm. The corners at $r = 0$ and $r = 0.4a$ are the last thing to be reached.

the debt from section 1, paid

"Is every initial shape a superposition of modes?" — yes: in mean square always, uniformly when the shape is smooth and respects the boundary conditions.

The coefficients are the projection formula of section 2 with the drum's weight, $\hat f_k = \int_0^af J_0(j_{0k}r/a)\,r\,\mathrm dr\big/\tfrac12a^2J_1(j_{0k})^2$. The shape has kinks, so the uniform clause of the theorem does not apply — but mean-square convergence is unconditional, and it is what the figure's percentages measure.

19 · Sturm–Liouville

Sturm's comparison theorem, and counting nodes

Sturm comparison

Let $u'' + Qu = 0$ and $v'' + \tilde Qv = 0$ on $[x_1,x_2]$ with $\tilde Q \ge Q$ and $\tilde Q \not\equiv Q$. If $x_1 < x_2$ are consecutive zeros of $u$, then $v$ vanishes somewhere in $(x_1,x_2)$.

proof

Suppose not; normalise $u > 0$ and $v > 0$ on $(x_1,x_2)$. Then

$$(u'v - uv')' = (\tilde Q - Q)\,uv \ \ge\ 0 ,$$

since $u''v - uv'' = (\tilde Q - Q)uv$. So $u'v - uv'$ is nondecreasing. But $u(x_1) = u(x_2) = 0$ with $u'(x_1) > 0$, $u'(x_2) < 0$, so it is $u'(x_1)v(x_1) \ge 0$ at the left end and $u'(x_2)v(x_2) \le 0$ at the right. Nondecreasing from $\ge0$ to $\le0$ forces both to vanish and $(\tilde Q-Q)uv \equiv 0$ — impossible on the interior. $\square$

v must vanish here x₁ x₂ u″ + Qu = 0 v″ + Q̃v = 0, with Q̃ > Q bends harder, crosses sooner

Drawn with $Q = 1$ and $\tilde Q = 2.25$. $u$ has consecutive zeros $x_1, x_2$; $v$, under the larger $\tilde Q$, bends back towards the axis harder and cannot stay positive across $(x_1, x_2)$, whatever its starting value.

19 · Sturm–Liouville

Counting nodes: the oscillation theorem

Sturm oscillation theorem — cited

For a regular problem with separated conditions, ordering $\lambda_1 < \lambda_2 < \cdots$, the eigenfunction $u_n$ has exactly $n-1$ zeros in the open interval $(a,b)$.

Comparison gives the monotone half — larger $\lambda$ means at least as many zeros — and the Prüfer angle supplies exactness. Cited: Coddington & Levinson ch. 8 §2.

checks, on things already known

String. $u_n = \sin(n\pi x/L)$ has zeros at $x = kL/n$, $k = 1,\dots,n-1$: exactly $n-1$ ✓.

Legendre. $P_n$ has $n$ zeros in $(-1,1)$, and $\lambda_n = n(n+1)$ is the $(n+1)$-st eigenvalue counting from $\lambda_0 = 0$ ✓.

The drum. $J_0(j_{0k}r/a)$ vanishes at $r = aj_{0i}/j_{0k}$, $i \lt k$: $k-1$ nodal circles ✓.

u₁: k = 2.0288 no interior zero u₂: k = 4.9132 1 zero, at 0.639 u₃: k = 7.9787 2 zeros, 0.394, 0.787

A problem that is not a plain sine series: $-u'' = \lambda u$ on $[0,1]$ with $u(0) = 0$ and the Robin condition $u(1) + u'(1) = 0$. The eigenfunctions are $\sin k_nx$ with $\tan k = -k$; they do not vanish at $x = 1$, yet $u_n$ still has exactly $n - 1$ interior zeros.

19 · Sturm–Liouville · example

Worked: the drum is a singular Sturm–Liouville problem

put Bessel's equation into the form

Section 1's radial equation is $r^2R'' + rR' + (\lambda r^2 - m^2)R = 0$ on $(0,a)$. Divide by $r$ — the integrating-factor recipe, since $A = r^2$, $B = r$, $\exp\int(B/A) = r$:

$$rR'' + R' + \Big(\lambda r - \frac{m^2}{r}\Big)R = 0,$$

i.e. $(rR')' - \frac{m^2}{r}R = -\lambda rR$,

since $(rR')' = rR'' + R'$. Negated, this is $-(pR')' + qR = \lambda wR$ with

$$p = r,\qquad q = m^2/r,\qquad w = r .$$

Endpoints. $r = a$ is regular with $R(a) = 0$; at $r = 0$, $p(0) = 0$ and $q$ blows up — singular, and boundedness is the condition.

what the theorems now say, for free

Real. Every $\lambda_{mk}$ is real, so $\omega_{mk} = c\sqrt{\lambda_{mk}}$ is a genuine frequency and no mode grows ✓.

Orthogonal. $\int_0^aJ_m(\tfrac{j_{mk}r}{a})J_m(\tfrac{j_{ml}r}{a})r\,\mathrm dr = 0$ for $k \ne l$, proved without an integral ✓.

Bounded below. $\lambda \ge \inf(q/w) = m^2/a^2$, true since $j_{mk} > m$ ✓. Nodes. The $k$-th radial eigenfunction has $k-1$ interior zeros ✓. Complete (cited: Watson ch. XVIII).

check the concomitant at the centre

As $r \to 0^+$, $p(u\bar v{}' - u'\bar v) = r\cdot O(r^{2m-1}) \to 0$ for $J_m$; but $Y_0 \sim \frac2\pi\log r$ gives $rY_0' \to \frac2\pi \ne 0$. Without boundedness the operator is not symmetric and every line above fails.

section 5

The Rayleigh quotient

The lowest eigenvalue is the minimum of a functional, so any admissible guess is an upper bound — and unit 11's machinery is what proves it.

19 · Rayleigh

The quotient, and the identity behind it

the Rayleigh quotient

For $u$ in the domain, $u \not\equiv 0$,

$$R[u] := \frac{\displaystyle\int_a^b\big(p\,u'^2 + q\,u^2\big)\mathrm dx}{\displaystyle\int_a^b w\,u^2\,\mathrm dx} \;=\; \frac{\langle\mathcal Au,u\rangle_w}{\langle u,u\rangle_w}.$$

The second equality is one integration by parts, with the boundary term killed by the boundary conditions — the same computation as the lower bound on "Simple, discrete, unbounded above".

For a string, the numerator is twice the elastic potential energy stored in the shape $u$, and the denominator is twice the kinetic energy of the same profile read as a velocity: $R$ is stiffness over inertia, as $\omega^2 = k/m$ is for one oscillator and $v^{\!\top}\!Kv/v^{\!\top}\!Mv$ was in unit 07.

the variational principle

$\displaystyle \lambda_1 = \min_{u \ne 0} R[u]$, attained exactly on the multiples of $u_1$. In particular every admissible $u$ gives $\lambda_1 \le R[u]$ — admissible meaning continuous, piecewise $C^1$, meeting the Dirichlet conditions (notes).

proof (granting completeness)

Expand $u = \sum_nc_nu_n$ with $\{u_n\}$ orthonormal in $\langle\cdot,\cdot\rangle_w$. Then $\langle u,u\rangle_w = \sum c_n^2$ and, by symmetry and $\mathcal Au_n = \lambda_nu_n$,

$$\langle\mathcal Au,u\rangle_w = \sum_n\lambda_nc_n^2 \ \ge\ \lambda_1\sum_nc_n^2 ,$$

so $R[u] \ge \lambda_1$, with equality iff $c_n = 0$ whenever $\lambda_n > \lambda_1$, i.e. iff $u \in \operatorname{span}(u_1)$. Taking $u = u_1$ gives $R = \lambda_1$. $\square$

One-sided by construction: a trial function bounds $\lambda_1$ from above, never below. Lower bounds are genuinely harder and need a different idea.

19 · Rayleigh

Unit 11's second job: the eigenvalue problem is an Euler–Lagrange equation

Run it the other way: minimise $J[u] = \int_a^b(pu'^2 + qu^2)\,\mathrm dx$ subject to $G[u] = \int_a^b wu^2\,\mathrm dx = 1$ — unit 11's isoperimetric problem.

the Euler–Lagrange equation is $\mathcal Lu = \lambda wu$

With a multiplier $\lambda$, the first variation along $\eta$ is

$$\delta(J - \lambda G)[\eta] = 2\!\int_a^b\!\big(pu'\eta' + (q{-}\lambda w)u\eta\big)$$ $$= 2\big[pu'\eta\big]_a^b + 2\!\int_a^b\!\big(\mathcal Lu - \lambda wu\big)\eta .$$

For $\eta$ vanishing at the ends the bracket dies and the fundamental lemma (unit 11) forces $\mathcal Lu = \lambda wu$. $\square$

No ansatz, then: the equation is what "least stiffness per inertia" means, and the multiplier is the eigenvalue.

natural boundary conditions, free

Drop $\eta(a) = \eta(b) = 0$ and the bracket must vanish by itself, forcing $pu' = 0$ at each free end — the Neumann condition, arriving as unit 11's natural boundary condition rather than imposed.

higher eigenvalues: min–max — cited

$\lambda_n = \min_{\dim V = n}\max_{u \in V\setminus0}R[u]$; equivalently, $\lambda_n = \min\{R[u] : u \perp_w u_1,\dots,u_{n-1}\}$.

Courant–Fischer, proved for matrices in unit 07; the proof transfers given completeness. Cited: Courant & Hilbert vol. I ch. VI §1.

19 · Rayleigh · example

Worked: bounding the drum's lowest note, one parameter

a family of guesses

The drum's radial modes have $m = 0$, so $p = w = r$, $q = 0$:

$$R[u] = \int_0^a\! u'^2 r\,\mathrm dr \;\Big/\; \int_0^a\! u^2 r\,\mathrm dr .$$

Take the family $u_p = 1 - x^p$, $x = r/a$, $p > 0$: bounded at the centre, zero at the rim. With $u_p' = -(p/a)x^{p-1}$,

$$\int_0^a\!u_p'^2\,r\,\mathrm dr = p^2\!\int_0^1\!\!x^{2p-1}\,\mathrm dx = \tfrac p2 .$$

And $\int_0^au_p^2r\,\mathrm dr = a^2(\tfrac12 - \tfrac{2}{p+2} + \tfrac1{2p+2}) = a^2p^2/[2(p+1)(p+2)]$, the numerator collapsing to $p^2$ (notes). So

$$a^2R[u_p] = \frac{(p+1)(p+2)}{p} = p + 3 + \frac2p .$$
minimise, and compare

$1 - 2/p^2 = 0$ at $p = \sqrt2$, a minimum as $4/p^3 > 0$. There

$$a^2\lambda_1 \le 3 + 2\sqrt2 = 5.8284 .$$

So $\sqrt{a^2\lambda_1} \le 1 + \sqrt2 = 2.414214$; $j_{01} = 2.404826$.

trial$a^2R$error
$p = 1$ (a cone)6.000000$+3.75\%$
$p = 2$ (a paraboloid)6.000000$+3.75\%$
$p = \sqrt2$ (best)5.828427$+0.78\%$
exact $J_0$5.783186—

Checks. $a^2R$ dimensionless ✓; every entry above the exact value ✓; the $p = 1$, $2$ tie is the symmetry $p \mapsto 2/p$ ✓.

19 · Rayleigh · example

The drum's bound, plotted

6 7 8 exact j₀₁² = 5.7832 cone and paraboloid tie at 6 √2 1 2 3 4 a²R[uₚ] = p + 3 + 2/p trial exponent p a²R

$a^2R[u_p] = p + 3 + 2/p$ over the whole family. Every trial lies above the exact $j_{01}^2 = 5.7832$, as the variational principle demands; the best, at $p = \sqrt2$, misses it by $0.78\%$.

exact J₀(j₀₁r/a) best trial, p = √2 paraboloid, p = 2 cone, p = 1 0 a r u(r)

The trial shapes themselves, against the true fundamental $J_0(j_{01}r/a)$. The best trial is visibly not the eigenfunction — about $2.5\%$ off in the weighted norm — yet its eigenvalue is good to $0.78\%$: the error in $R$ is quadratic in the error of the shape.

section 6

Three geometries, one theorem

Interval, disc and sphere. The equations look unrelated and the proofs are identical, because the operator is.

19 · geometries

One table, three special functions

domainseparated equation$p$$q$$w$endpointseigenfunctionseigenvalue condition
interval $[0,L]$$-u'' = \lambda u$$1$$0$$1$both regular$\sin(n\pi x/L)$$\sin\sqrt\lambda L = 0$
disc, radius $a$$-(rR')' + \tfrac{m^2}{r}R = \lambda rR$$r$$m^2/r$$r$$r=0$ singular$J_m(\sqrt\lambda r)$$J_m(\sqrt\lambda a) = 0$
sphere, in $x=\cos\theta$$-\big((1-x^2)\Theta'\big)' + \tfrac{m^2}{1-x^2}\Theta = \lambda\Theta$$1-x^2$$\tfrac{m^2}{1-x^2}$$1$both singular$P_\ell^m(x)$$\lambda = \ell(\ell+1)$, $\ell \ge m$
what is the same

Real eigenvalues. Orthogonality in $\langle\cdot,\cdot\rangle_w$ — $\mathrm dx$, $r\,\mathrm dr$, $\mathrm dx = \sin\theta\,\mathrm d\theta$. Simplicity for the separated cases. Discrete spectrum running to $+\infty$. Node counting. The Rayleigh quotient with the same $p$, $q$, $w$. Completeness.

what is different, and only this

Which endpoints are singular, and therefore what plays the role of a boundary condition there — and hence which solutions survive. On the sphere, boundedness at $x = \pm1$ is what quantises $\lambda$ to $\ell(\ell+1)$: the integers of spherical harmonics come from a boundary condition, not from anywhere else.

19 · geometries

The sphere, separated

In spherical coordinates (unit 05, cited — the derivation is the polar computation with one more angle):

$$\nabla^2\Phi = \frac1{r^2}\partial_r\big(r^2\partial_r\Phi\big) + \frac{1}{r^2}\Delta_{S^2}\Phi,$$ $$\Delta_{S^2} = \frac{1}{\sin\theta}\partial_\theta\big(\sin\theta\,\partial_\theta\big) + \frac{1}{\sin^2\theta}\partial_\varphi^2 .$$

Separate $\Phi = R(r)Y(\theta,\varphi)$: the two pieces depend on different variables, so both equal one constant, written $\ell(\ell+1)$, and $-\Delta_{S^2}Y = \ell(\ell+1)Y$. Separate again, $Y = \Theta(\theta)\mathrm e^{\mathrm im\varphi}$ with $m \in \mathbb Z$ by periodicity, and put $x = \cos\theta$, so that $\sin\theta\,\partial_\theta = -(1-x^2)\partial_x$:

$$\big((1-x^2)\Theta'\big)' + \Big(\ell(\ell+1) - \frac{m^2}{1-x^2}\Big)\Theta = 0,$$

the associated Legendre equation, whose $m = 0$ case is unit 10's.

Unit 10 got the $P_\ell$ from a generating function and their orthogonality from Rodrigues' formula; both are now corollaries.

spherical harmonics

$Y_\ell^m = N_{\ell m}P_\ell^{|m|}(\cos\theta)\mathrm e^{\mathrm im\varphi}$, $|m| \le \ell$, with $P_\ell^m := (1-x^2)^{m/2}P_\ell^{(m)}$ (notes): $2\ell+1$ per $\ell$, orthonormal for the right $N_{\ell m}$, complete in $L^2(S^2)$ (cited: Sansone ch. III).

what the singular endpoints buy

$p = 1-x^2$ vanishes at the poles $x = \pm1$, coordinate singularities, not edges. Boundedness forces $\lambda = \ell(\ell+1)$ with $\ell \in \{0, 1, \dots\}$ (P7 for $m = 0$, cited for $m \ge 1$), and discards $Q_\ell$. The integer $\ell$ is a consequence of the geometry being closed; nothing was quantised by hand.

19 · geometries

Legendre's orthogonality, with no generating function

two lines, where unit 10 needed a page

Legendre's equation is $\big((1-x^2)P'\big)' = -\ell(\ell+1)P$ on $[-1,1]$: Sturm–Liouville with $p = 1-x^2$, $q = 0$, $w = 1$, both endpoints singular because $p(\pm1) = 0$.

Lagrange's identity for $P_\ell$ and $P_n$, integrated:

$$(\lambda_\ell - \lambda_n)\!\int_{-1}^{1}\!\!P_\ell P_n\,\mathrm dx = \big[(1{-}x^2)W\big]_{-1}^{1} = 0,$$

writing $\lambda_\ell = \ell(\ell+1)$, $W = P_\ell P_n' - P_\ell'P_n$,

because $1 - x^2$ vanishes at both ends while $P_\ell$, $P_n$ and their derivatives are polynomials, hence finite there. Since $\ell \ne n$ gives $\ell(\ell+1) \ne n(n+1)$ for non-negative integers, the integral is zero. $\square$

The whole content is that $p$ vanishes at the endpoints and the eigenfunctions do not blow up. Rodrigues' formula was never needed.

checks

Special case. $P_0 = 1$, $P_1 = x$: $\int_{-1}^1x\,\mathrm dx = 0$ ✓. $P_2 = \tfrac12(3x^2-1)$ against $P_0$: $\int_{-1}^1\tfrac12(3x^2-1) = \tfrac12(2 - 2) = 0$ ✓.

Monotonicity of eigenvalues. $\ell(\ell+1)$ is strictly increasing in $\ell \ge 0$: $0, 2, 6, 12, 20$ — discrete, bounded below, unbounded above, as section 4 requires ✓.

Nodes. $P_\ell$ has $\ell$ zeros in $(-1,1)$, and $\lambda_\ell = \ell(\ell+1)$ is the $(\ell+1)$-st eigenvalue: "index minus one" ✓.

where $Q_\ell$ went

The second solution is $Q_0 = \tfrac12\log\frac{1+x}{1-x}$ and its relatives, infinite at $x = \pm1$. Keep it and the concomitant $\big[(1-x^2)(\cdot)\big]_{-1}^1$ no longer vanishes — $(1-x^2)Q_0' = 1$, a constant — so the operator stops being symmetric and the proof above collapses. Boundedness at a singular endpoint is load-bearing, once again.

19 · geometries

Why a string has a pitch and a drum has not

string, $f_n/f_1$centsdrum, $j/j_{01}$cents
2nd partial2.00001200.01.5933806.5
3rd3.00001902.02.13551313.5
4th4.00002400.02.29541438.5
5th5.00002786.32.65311689.2

The string's partials are exact integer multiples, because $\lambda_n = (n\pi/L)^2$ makes $\sqrt{\lambda_n}$ linear in $n$. The drum's are ratios of Bessel zeros, with no reason to be rational: its second partial sits $806.5$ cents up, where a harmonic series puts the octave, and no low harmonic series fits the four together.

the mechanism, stated once

Pitch is the brain's estimate of the fundamental of a harmonic series. Feed it $f, 2f, 3f,\dots$ and it reports $f$, even if $f$ itself is missing. Feed it $f, 1.5933f, 2.1355f,\dots$ and there is no harmonic series to fit: the report is a thud. "Has a pitch" is a statement about the eigenvalues of a Sturm–Liouville problem.

19 · geometries

Partials on one axis: why only one dimension rings

string drum 1× 2× 3× 4× 1.593 2.136 2.295 2.653 0 1200 2400 cents above the lowest partial (1200 = an octave)

Every partial within two octaves (2400 cents) of the lowest, string above and drum below, on one axis; the dotted lines are the string's harmonics. The string's four partials sit on them by construction. The drum's ten — counting each degenerate pair once — fall between, and crowd closer together as they rise.

why one dimension is special

$\sqrt{\lambda_n}$ linear in $n$ needs $\sqrt{\lambda_n}$ to be an arithmetic progression, and Weyl's law (cited, notes) says $\lambda_n \sim Cn^{2/d}$ in $d$ dimensions — so $\sqrt{\lambda_n} \sim n^{1/d}$, linear only when $d = 1$. Tuned percussion is the craft of deforming an object until a few modes take ratios they had no reason to take.

The crowding in the figure is Weyl's law made visible: in two dimensions the number of modes below frequency $\omega$ grows like $\omega^2$, not $\omega$, so the gaps shrink as the pitch rises.

19 · where it is spent

What this unit bought

20 Fourier transformthe same idea with the interval sent to $\mathbb R$: the sequence of eigenvalues becomes a continuum, and Parseval becomes Plancherel.
23 static fieldsboundary-value problems for Laplace's equation solved by expanding the data in $Y_\ell^m$ — legitimate because of this unit's completeness.
24 Maxwellmode expansions in a cavity and a waveguide; the cut-off frequency is a lowest eigenvalue.
32 geodesicsthe Rayleigh quotient's parent idea — a differential equation as the stationarity condition of a quotient — reappears as the geodesic equation.
38 gravitational wavesthe $\ell = 2$ subspace of spherical harmonics, and why radiation starts at the quadrupole.
39 cosmologyharmonics on a maximally symmetric space; the same separation, one curvature term further on.
the three sentences to keep

1. The eigenfunctions of a symmetric operator are orthogonal, and that one fact is what makes an expansion's coefficients computable and unique.

2. The boundary conditions are half of the operator. Change them and you change the eigenfunctions, the expansion, and what it converges to at the ends.

3. How fast the coefficients fall is how smooth the function is — a dictionary, not a heuristic, and it prices every truncation in advance.

And one habit: when a new orthogonal family turns up — Hermite, Laguerre, Chebyshev, Mathieu — the first question is never "what are its identities?" but "what are $p$, $q$ and $w$, and which endpoints are singular?". Everything else is on this deck already.

19 · checkpoint

Done when

checkpoint

Given a Sturm–Liouville problem you can, on paper and without notes:

  • prove that its eigenvalues are real and its eigenfunctions $w$-orthogonal, starting from Lagrange's identity and naming where the boundary conditions are spent;
  • say how many zeros the third eigenfunction has in the open interval, and be right;
  • bound the lowest eigenvalue from above, to within a few per cent, with a trial function of your own choosing — and say which side of the truth the bound is on and why;
  • expand a given initial profile in its eigenfunctions, and state which kind of convergence you have — mean-square, pointwise, or uniform — together with the hypothesis that buys it.

Failing it is unambiguous

Two eigenfunctions declared orthogonal without a weight; a third eigenfunction with the wrong number of nodes; a Rayleigh bound below the true eigenvalue; or "the series converges to $f$" at a jump.

Next

20 the Fourier transform and complex analysis · 21 asymptotics · 23 static fields, which is the first place this unit's completeness is cashed for a physical answer.