Part C · fields and the crisis · spine

18

From N masses to a field: the wave equation

Let the number of oscillators go to infinity and the system of ordinary differential equations becomes one partial differential equation — the first field in this course, and the first equation whose type decides what you are allowed to ask of it.

needs 07, 12~2½ h slides + 5 h problemsproblems: ./mr problems 18

18 · overview

One string, four questions

The object: a plucked guitar string, whose displacement $u(x,t)$ is a field — a number at every point and time.

the route to the one number, in four steps

1. Send unit 07's bead spacing to zero at fixed mass per length $\mu$ and tension $T$: the chain's $N$ equations become one, $u_{tt} = c^2u_{xx}$ with $c = \sqrt{T/\mu}$. §1–2

2. Classify it — hyperbolic — and change variables to $x \mp ct$: the operator factorises, so $u = F(x-ct) + G(x+ct)$, two shapes moving at $\pm c$. §3–4

3. A fixed end is a mirror that inverts: extend the data oddly, and every motion repeats after $2L/c = 3.034$ ms — the note, $329.6$ Hz. §5

4. The energy $\int(\tfrac12\mu u_t^2 + \tfrac12Tu_x^2)\,\mathrm dx$ is conserved, and that alone makes the answer unique. §6–8

a m N beads: N ordinary differential equations u(x, t) a field: one partial differential equation

Top: $N$ beads of mass $m$ at spacing $a$ on a string, each segment a spring of stiffness $\kappa = T/a$. Bottom: the field. The limit is $a \to 0$ with $\mu = m/a$ and $T = \kappa a$ held fixed.

the one number to keep

$c = \sqrt{T/\mu} = 427.0\ \mathrm{m\,s^{-1}}$. The unit is about information travelling at exactly that speed — and, in §3 and §7, equations with no such speed.

section 1

From N masses to a field

Unit 07's chain, with the spacing sent to zero.

18 · continuum limit

Unit 07's chain, one more time

$N$ beads of mass $m$ at spacing $a$ on a string under tension $T$, ends fixed, $L = (N{+}1)a$. The transverse force on bead $n$ is tension times slope, on each side:

$$m\ddot y_n = \frac{T}{a}\big(y_{n+1} - y_n\big) + \frac{T}{a}\big(y_{n-1} - y_n\big)$$

so the chain's stiffness is $\kappa = T/a$ and its mass per unit length is $\mu = m/a$. Unit 07 solved it exactly:

cited · unit 07

$\displaystyle \omega_k = 2\sqrt{\kappa/m}\,\sin\frac{k\pi}{2(N{+}1)}, \qquad v^{(k)}_n = \sin\frac{nk\pi}{N{+}1},\quad k = 1,\dots,N.$

Write $q_k = k\pi/L$ for the mode's wavenumber and put $c = a\sqrt{\kappa/m} = \sqrt{T/\mu}$. Since $k\pi/2(N{+}1) = q_k a/2$,

$$\omega(q) = \frac{2c}{a}\,\sin\frac{qa}{2}.$$

This is the chain's dispersion relation: one exact formula, valid for every $N$, that the rest of this section takes apart.

which limit

$a \to 0$ with $\mu$ and $T$ fixed — not $m$ and $\kappa$ fixed. A real string has a definite mass per metre and a definite tension; the beads are a fiction, and only the two densities survive them.

Letters renamed from unit 07. There the stiffness was $k$, the wavenumber $\kappa$, the mode number $n$ and the mass index $j$. Here they are $\kappa$, $q$, $k$ and $n$: this unit needs $k$ to count modes.

18 · continuum limit

The second difference is a second derivative

theorem · the second-difference estimate

Let $f$ be $C^4$ on a neighbourhood of $x$. Then the second-difference operator satisfies

$$\frac{f(x+a) - 2f(x) + f(x-a)}{a^2} \;=\; f''(x) + \frac{a^2}{12}\,f^{(4)}(\xi)$$

for some $\xi \in (x-a, x+a)$. In particular it converges to $f''(x)$ as $a\to0$, and the error is $O(a^2)$, not $O(a)$.

proof

Taylor with Lagrange remainder to fourth order in each direction: $f(x\pm a) = f \pm af' + \tfrac{a^2}{2}f'' \pm \tfrac{a^3}{6}f''' + \tfrac{a^4}{24}f^{(4)}(\xi_\pm)$. Adding, the odd powers cancel exactly: $f(x+a)+f(x-a) - 2f(x) = a^2 f'' + \tfrac{a^4}{24}\big(f^{(4)}(\xi_+) + f^{(4)}(\xi_-)\big)$. Divide by $a^2$; the intermediate value theorem replaces the average of the two fourth derivatives by one value $f^{(4)}(\xi)$. $\square$

18 · continuum limit

What the second difference measures

x − a x x + a yₙ₋₁ yₙ yₙ₊₁ midpoint of the neighbours gap ≈ ½a²f″: the pull on yₙ

On a convex stretch the chord from $y_{n-1}$ to $y_{n+1}$ passes above $y_n$, and the bead is pulled up towards the chord's midpoint. The gap is half the second difference's numerator, $\tfrac12a^2f''$ to leading order. Schematic curve.

Write the chain's force on bead $n$ with the midpoint of its neighbours, $\bar y_n = \tfrac12(y_{n+1} + y_{n-1})$:

$$m\ddot y_n = \frac{T}{a}\big(y_{n+1} - 2y_n + y_{n-1}\big) = \frac{2T}{a}\big(\bar y_n - y_n\big).$$
the picture

Each bead is pulled towards the midpoint of its two neighbours, with a force proportional to the gap. A straight string has no gap anywhere and feels no force: only bending pulls.

By the theorem the gap is $\tfrac12a^2u_{xx} + O(a^4)$, so the pull per unit mass is $\dfrac{2T}{\mu a^2}\cdot\tfrac12a^2u_{xx} = \dfrac{T}{\mu}\,u_{xx}$ — finite as $a \to 0$, which is the next slide's limit.

18 · continuum limit

The limit, and the equation it leaves

Put $y_n(t) = u(na, t)$ and divide the chain's equation by $m = \mu a$:

$$\ddot y_n = \frac{T}{\mu}\cdot\frac{y_{n+1} - 2y_n + y_{n-1}}{a^2} \;\xrightarrow[\ a\to0\ ]{}\; \frac{T}{\mu}\,\frac{\partial^2 u}{\partial x^2}.$$
the wave equation $$\boxed{\ \frac{\partial^2 u}{\partial t^2} = c^2\,\frac{\partial^2 u}{\partial x^2}\ ,\qquad c = \sqrt{\frac{T}{\mu}}\ }$$

One equation for one unknown function of two variables. The $N$ coupled ordinary equations have become a single partial one, and $N$ has vanished from the statement.

checks

Dimensions. $[u_{tt}] = \mathrm{m\,s^{-2}}$; $[c^2u_{xx}] = \mathrm{m^2s^{-2}}\cdot\mathrm{m^{-1}} = \mathrm{m\,s^{-2}}$ ✓.

Limit. $T \to 0$ gives $c \to 0$: a slack string does not transmit anything ✓. $\mu \to 0$ gives $c\to\infty$: a massless string responds instantaneously, which is the rigid-rod idealisation of unit 12 ✓.

Modes. $u = \sin(q x)\cos(\omega t)$ solves it exactly when $\omega = cq$ — the $a\to0$ limit of unit 07's $\omega(q)$ ✓.

18 · continuum limit

What the limit threw away

Expand the exact chain relation for small $qa$:

$$\omega(q) = \frac{2c}{a}\sin\frac{qa}{2} = cq\Big(1 - \frac{(qa)^2}{24} + \cdots\Big)$$

The continuum theory is the first term. The second is its own error bar, and it is negative: short waves travel slow on a chain.

terminology

A medium is non-dispersive when $\omega = cq$ exactly, so every wavenumber travels at the same speed and a pulse keeps its shape. The chain is dispersive; the string is not.

k = 20: 33 % below the line k = 5 k = 10 ω = cq chain: (2c/a) sin(qa/2) ceiling 2c/a 0 π/2 π 1 2 3 qa ω / (c/a)

The chain's arch against the string's straight line, with the twenty modes of a twenty-bead chain. They agree where $qa$ is small and part where it is not; the chain also has a highest frequency, $2c/a$, and the string has none.

18 · continuum limit

The deficit, mode by mode

$N = 20$ beads, so $qa/2 = k\pi/42$:

$k$$\omega_k/cq_k$$1 - (q_ka)^2/24$deficit
10.999070.999070.09 %
50.976850.976692.3 %
100.909320.906759.1 %
200.666580.6270033.3 %

The quadratic correction is still good to three digits at $k = 5$ and has itself failed by $k = 20$, where $qa/2 = 1.496$ is not small.

short waves travel slow

So a pulse, which is made of many wavenumbers, cannot keep its shape on a chain: its short-wave parts fall behind. On the string every part moves at $c$ and the shape is exact for all time.

string: unchanged, at x = ct chain: lower, later, with a ripple behind 30 40 50 60 x / a

A pulse of width $1.5a$ made only of right-moving waves, after travelling $60$ bead spacings. Dashed: the string, shape unchanged at $x = ct$. Dots: the chain's beads, computed from $\omega = (2c/a)\sin(qa/2)$ — lower, slightly behind, and trailing a ripple of the short waves.

section 2

The string itself

The same equation from a force balance, with its error named.

18 · the string

A force balance on one element

Take the piece of string over $[x, x+\Delta x]$, displaced to $u$. The string pulls on it at each end along the tangent, with magnitude $T$. The tangent direction is $(1, u_x)/\sqrt{1+u_x^2}$, so the transverse component of the pull is $T\,u_x/\sqrt{1+u_x^2}$.

Its mass is $\mu$ times its arc length, $\mu\sqrt{1+u_x^2}\,\Delta x$. Newton's second law transversely, then $\Delta x \to 0$:

the exact transverse equation $$\mu\sqrt{1+u_x^2}\;u_{tt} \;=\; T\,\frac{\partial}{\partial x}\!\left(\frac{u_x}{\sqrt{1+u_x^2}}\right)$$

— for a perfectly flexible string of constant tension. It is nonlinear.

T T sin θ T T sin θ θ x x + Δx

Tension $T$ pulls outward along the tangent at each end. Its transverse parts, $T\sin\theta$, point opposite ways and differ because the slope differs: the net is $\Phi(x+\Delta x) - \Phi(x)$, with $\Phi = T\sin\theta = Tu_x/\sqrt{1+u_x^2}$. Slope exaggerated.

18 · the string

The small-slope approximation, and its size

the small-slope approximation

Replace $\sqrt{1+u_x^2}$ by 1 wherever it appears. Collecting both square roots, the exact equation reads $\mu u_{tt} = Tu_{xx}(1+u_x^2)^{-2}$ (notes), so the linear equation's relative error is

$$2\,u_x^2 + O(u_x^4).$$

Each factor $(1+u_x^2)^{\pm1/2}$ costs $\tfrac12u_x^2$, and four half-powers combine.

what is being assumed

Not that $u$ is small — $u$ has dimensions and "small" would be meaningless. That the slope $u_x$, which is dimensionless, is small. A long string displaced by a centimetre is fine; a short one is not.

the number, for this string

Pluck $h = 3$ mm at $a = L/5 = 129.5$ mm. The two slopes are

$h/a = 0.02316$ (an angle of $1.33^\circ$) and $h/(L-a) = 0.00579$.

So the largest relative error is $2(0.02316)^2 = 1.07\times10^{-3}$: the linear equation is wrong about this string by 0.11 per cent.

Push the pluck to $h = 1$ cm and the error is 1.2 %; at $h = 3$ cm it is 11 %, audible as a pitch that falls as the note decays.

18 · the string · example 1

The running example, with numbers

example 1 · a guitar's top E, end to end

1. The string. Scale length $L = 0.6477$ m (25.5 in). Plain steel, diameter $d = 0.254$ mm, density $\rho = 7850\ \mathrm{kg\,m^{-3}}$:

$\mu = \rho\pi d^2/4 = 3.978\times10^{-4}\ \mathrm{kg\,m^{-1}}$.

2. The tension. The note is E4, $f_1 = 329.63$ Hz. The fundamental of a fixed–fixed string has $q_1 = \pi/L$, so $f_1 = c/2L$ and

$c = 2Lf_1 = 427.00\ \mathrm{m\,s^{-1}}$,
$T = \mu c^2 = 72.53$ N.

3. The clock. One period is $2L/c = 3.034$ ms. Section 5 draws the string at

$t = L/4c = 0.379$ ms,
$t = L/2c = 0.758$ ms,
$t = 3L/4c = 1.138$ ms.

Check. Dimensions: $\mu c^2 = \mathrm{kg\,m^{-1}}\cdot\mathrm{m^2s^{-2}} = \mathrm{kg\,m\,s^{-2}} = \mathrm N$ ✓. Magnitude: 72.5 N is 7.4 kgf, which is what a published tension chart gives for a 0.010-inch E — six strings at comparable tension come to roughly 450 N, which is what a guitar neck is built to hold ✓. Limit: doubling $L$ at fixed $T$ and $\mu$ halves $f_1$, one octave down — the twelfth fret ✓.

section 3

What kind of equation is this?

A quadratic form decides what you are allowed to ask.

18 · classification

The principal symbol

definition

Let $P = \sum_{i,j} A^{ij}\partial_i\partial_j + \sum_i B^i\partial_i + C$ be a second-order linear operator on an open set in $\mathbb R^n$, with $A^{ij} = A^{ji}$ (Clairaut, unit 03, lets us symmetrise). Its principal symbol at a point is the quadratic form on the dual space $(\mathbb R^n)^*$

$$\sigma_P(\xi) \;=\; \sum_{i,j} A^{ij}\,\xi_i\xi_j ,\qquad \xi \in (\mathbb R^n)^*.$$

A nonzero $\xi$ with $\sigma_P(\xi) = 0$ is a characteristic covector.

The object is a symmetric bilinear form — the same kind of object as unit 07's $M$ and $K$, and as the metric of unit 32. Everything below is linear algebra applied to it.

why a physicist should care

Put a fast oscillation into $P$: for $u_\lambda(x) = v(x)\,e^{\mathrm i\lambda\,\xi\cdot x}$ with $\lambda$ large,

$$P u_\lambda = -\lambda^2\,\sigma_P(\xi)\,u_\lambda + O(\lambda).$$

Proof. Each $\partial_i$ brings down $\mathrm i\lambda\xi_i$ plus a term with no $\lambda$; two of them give $-\lambda^2\xi_i\xi_j$ plus $O(\lambda)$. $\square$

So $\sigma_P$ is exactly the operator's grip on short waves, and a characteristic direction is one in which it has no grip at leading order. That is why characteristics will turn out to be the curves along which signals travel and along which data is useless.

18 · classification

Type is a theorem, not a convention

theorem · the symbol transforms as a quadratic form

Let $y = \varphi(x)$ be a $C^2$ change of coordinates with Jacobian $J^k{}_i = \partial y^k/\partial x^i$, invertible at a point. Then the operator written in the $y$ coordinates has principal symbol matrix

$$\tilde A = J\,A\,J^{\mathsf T}, \qquad\text{equivalently}\qquad \tilde\sigma(\eta) = \sigma\big(J^{\mathsf T}\eta\big).$$

Corollary. By Sylvester's law of inertia the signature of the symbol is unchanged by any invertible change of coordinates. The type of an equation is a property of the equation, not of the letters used to write it.

proof

The chain rule (unit 03) gives $\partial_{x^i} = \sum_k J^k{}_i\,\partial_{y^k}$. Applying it twice, $\partial_{x^i}\partial_{x^j} = \sum_{k,l} J^k{}_i J^l{}_j\,\partial_{y^k}\partial_{y^l} + \sum_k \big(\partial_{x^i}J^k{}_j\big)\partial_{y^k}$. The second sum is first order, so it does not enter the symbol. Hence $\tilde A^{kl} = \sum_{i,j} J^k{}_i A^{ij} J^l{}_j$. $\square$

18 · classification

Three types, in two variables

For $a\,u_{xx} + 2b\,u_{xy} + c\,u_{yy} + \text{(lower order)} = 0$ the symbol matrix is $\begin{pmatrix} a & b\\ b & c\end{pmatrix}$, with $\det = ac - b^2$. Write the discriminant $D = b^2 - ac$.

$D$signaturetypereal characteristicsmodel
$D \gt 0$$(+,-)$hyperbolictwo families$u_{tt} - c^2u_{xx} = 0$
$D = 0$$(+,0)$parabolicone family$u_t - k u_{xx} = 0$
$D \lt 0$$(+,+)$ellipticnone$u_{xx} + u_{yy} = 0$

$D$ is $-\det A$, and $\det \tilde A = (\det J)^2\det A$, so the sign of $D$ is invariant even though $D$ itself is not.

three letters already taken

Here $a$, $b$, $c$ are the equation's coefficients — not the bead spacing, and not the wave speed. Written this way the wave equation in $(t,x)$ has $a = 1$, $b = 0$ and "$c$" $= -c^2$, so $D = c^2$.

Signatures up to an overall sign, since multiplying the equation by $-1$ changes nothing. Names by analogy with $ax^2 + 2bxy + cy^2 = 1$: hyperbola, parabola, ellipse — exact, because it is the same quadratic form.

18 · classification

The three types, drawn

hyperbolic · D > 0 ξ τ uₜₜ − uₓₓ parabolic · D = 0 ξ τ uₜ − uₓₓ elliptic · D < 0 ξ η uₓₓ + uᵧᵧ σ = 0: characteristic covectors σ = +1 σ = −1

The symbol's level curves in the plane of covectors. Its zero set, drawn thick, is the set of characteristic directions: two crossing lines, one line counted twice, or only the origin. The names are the shapes of the level curves.

the heat equation, honestly

In the ordering $(t,x)$, $u_t - ku_{xx}$ has symbol matrix $\mathrm{diag}(0, -k)$, so $D = 0$: parabolic, with the $u_t$ sitting entirely in the lower-order part. The type therefore does not see the direction of time at all — and yet the equation is famously one-way. That arrow comes from the lower-order term, not the symbol, and it is the one thing this classification does not tell you.

18 · classification

Reduction to canonical form

A curve $\psi(x,y) = \mathrm{const}$ is a characteristic curve when its conormal $\mathrm d\psi = (\psi_x, \psi_y)$ is characteristic: $\sigma(\mathrm d\psi) = 0$. Along it $m = \mathrm dy/\mathrm dx = -\psi_x/\psi_y$, and substituting turns that into an ordinary differential equation:

$$a\,m^2 - 2b\,m + c = 0 \quad\Longrightarrow\quad m = \frac{b \pm \sqrt{D}}{a}.$$

Take $\xi, \eta$ constant along the two families. By the transformation theorem the new symbol matrix has $\tilde A^{11} = \sigma(\mathrm d\xi) = 0$ and $\tilde A^{22} = \sigma(\mathrm d\eta) = 0$: the pure second derivatives disappear.

the three canonical forms

Hyperbolic ($D\gt0$, two real roots): $\ u_{\xi\eta} = \Phi(\xi,\eta,u,u_\xi,u_\eta)$.

Parabolic ($D = 0$, one root): take $\xi$ along it and $\eta$ anything independent: $\ u_{\eta\eta} = \Phi$.

Elliptic ($D\lt0$, conjugate complex roots $m_\pm$): integrate $\mathrm dy/\mathrm dx = m_+$ to a complex $\zeta$ and take $\alpha = \operatorname{Re}\zeta$, $\beta = \operatorname{Im}\zeta$: $\ u_{\alpha\alpha} + u_{\beta\beta} = \Phi$. Cited for non-constant coefficients: the complex ODE needs analytic coefficients and complex analysis (unit 20); with constant ones, as in every example here, $\zeta$ is linear and nothing is needed.

Everything above the lower-order terms is therefore one of three equations. That is the whole content of the classification, and it is why "the" wave, heat and Laplace equations deserve the definite article.

18 · classification · example 2

Classify and reduce, once

example 2 · $u_{xx} + 4u_{xy} + 3u_{yy} = 0$

1. Read off the symbol. $a = 1$, $2b = 4$ so $b = 2$, $c = 3$. Matrix $\begin{pmatrix}1&2\\2&3\end{pmatrix}$, $\det = 3 - 4 = -1$, so $D = b^2 - ac = 4 - 3 = 1 \gt 0$: hyperbolic, everywhere.

2. Characteristics. $m^2 - 4m + 3 = 0$ gives $m = 1$ and $m = 3$. Integrating $\mathrm dy/\mathrm dx = 1$ and $= 3$:

$\xi = y - x$, $\qquad \eta = y - 3x$.

These two families are the equation's characteristics. The next slide shows they are also the right coordinates.

ξ = y − x = const slope 1 η = y − 3x = const slope 3 F(ξ) is constant along every line of slope 1, G(η) along every line of slope 3 x y

The two families of characteristics, straight because the coefficients are constant. Through every point passes one line of each, and the general solution will be one arbitrary function along each family.

18 · classification · example 2

Classify and reduce: the change of variables

example 2, continued · into the characteristic coordinates

3. Change variables. $\partial_x = -\partial_\xi - 3\partial_\eta$, $\ \partial_y = \partial_\xi + \partial_\eta$. Then $u_{xx} = u_{\xi\xi} + 6u_{\xi\eta} + 9u_{\eta\eta}$, $u_{xy} = -u_{\xi\xi} - 4u_{\xi\eta} - 3u_{\eta\eta}$, $u_{yy} = u_{\xi\xi} + 2u_{\xi\eta} + u_{\eta\eta}$.

4. Add with weights $1, 4, 3$. Coefficient of $u_{\xi\xi}$: $1 - 4 + 3 = 0$ ✓. Of $u_{\eta\eta}$: $9 - 12 + 3 = 0$ ✓. Of $u_{\xi\eta}$: $6 - 16 + 6 = -4$. So

$-4\,u_{\xi\eta} = 0$, that is $\ u_{\xi\eta} = 0$, whose general solution is $u = F(\xi) + G(\eta)$:

$\boxed{\ u(x,y) = F(y-x) + G(y-3x)\ }$

Check. The two zeros in step 4 are not luck — they are $\sigma(\mathrm d\xi)$ and $\sigma(\mathrm d\eta)$, which the construction forced. Direct check on $u = F(y-x)$: $u_{xx} = F''$, $u_{xy} = -F''$, $u_{yy} = F''$, and $1 - 4 + 3 = 0$ ✓. On $u = G(y-3x)$: $9G'' - 12G'' + 3G'' = 0$ ✓. Special case: $F = G$ linear gives $u$ linear, annihilated by any second-order operator ✓.

18 · classification

What each type will accept

typedata that makes it well posedcharacter of solutionsdata that destroys it
hyperbolicCauchy data — $u$ and its normal derivative — on any non-characteristic curve. Both time directions.finite propagation speed; kinks travel and persistdata on a characteristic: no solution, or infinitely many (sheet, P12)
parabolic$u$ at one instant, plus a boundary condition for all later times. One time direction.infinite propagation speed; instant smoothingrunning it backwards; also Cauchy data, which over-determines it
ellipticone condition on the whole boundary of a bounded region: $u$ (Dirichlet) or $\partial_n u$ (Neumann).no time direction; solutions real-analytic inside (cited: elliptic regularity, Weyl)Cauchy data on part of the boundary — §7's catastrophe
the moral

"Second-order linear PDE plus enough data" is not a well-posed problem. The amount of data is never the issue; the match between the type and the geometry of the data is. Section 7 makes the failure quantitative.

section 4

d'Alembert

The hyperbolic canonical form, applied to the string on the whole line.

18 · d'Alembert

Characteristics of the wave operator

Variables $(t,x)$: the symbol matrix is $\mathrm{diag}(1, -c^2)$, so $D = -\det = c^2 \gt 0$ and the characteristic ODE gives $m = \mathrm dx/\mathrm dt = \pm c$. The characteristics are the straight lines $x \mp ct = \mathrm{const}$. Set

$$\xi = x - ct,\qquad \eta = x + ct .$$
theorem · the operator factorises $$\partial_t^2 - c^2\partial_x^2 \;=\; -4c^2\,\partial_\xi\partial_\eta$$

and hence every $C^2$ solution on a rectangle in the $(\xi,\eta)$ variables is $u = F(x - ct) + G(x + ct)$: a shape moving right at speed $c$ plus a shape moving left at speed $c$, and nothing else.

proof

Chain rule (unit 03): $\partial_x = \partial_\xi + \partial_\eta$ and $\partial_t = c(\partial_\eta - \partial_\xi)$. Then

$\partial_t^2 = c^2(\partial_{\xi\xi} - 2\partial_{\xi\eta} + \partial_{\eta\eta})$,

$c^2\partial_x^2 = c^2(\partial_{\xi\xi} + 2\partial_{\xi\eta} + \partial_{\eta\eta})$.

Subtract: $-4c^2\partial_{\xi\eta}$. So $u_{\xi\eta} = 0$, and the argument of example 2 gives $u = F(\xi) + G(\eta)$. $\square$

18 · d'Alembert

Two shapes, two families of lines

t = 0 t = 2 t = 4 F(x − ct) G(x + ct) they add x t

$u = F(x-ct) + G(x+ct)$ with $c = 1$, drawn at $t = 0$, $2$ and $4$ on top of the characteristic grid. Each bump rides its own family of lines; at $t = 2$ they overlap and add, and they come out unchanged.

$F(x - ct)$ is constant along every line $x - ct = \text{const}$, and $G(x + ct)$ along every line $x + ct = \text{const}$. So the whole solution is two pictures, each slid along its own family of characteristics.

what the picture says

Where the shapes meet, displacements simply add — unit 06's superposition. Afterwards each continues as if the other had never been there: waves on a string pass through each other.

Every feature of $u$ sits on a characteristic, so nothing moves faster or slower than $c$. The next two slides turn that into a formula and a theorem.

18 · d'Alembert

d'Alembert's formula

theorem · d'Alembert, 1747

Let $f \in C^2(\mathbb R)$ and $g \in C^1(\mathbb R)$. The unique $C^2$ solution of $u_{tt} = c^2u_{xx}$ on $\mathbb R\times\mathbb R$ with $u(x,0) = f(x)$ and $u_t(x,0) = g(x)$ is

$$\boxed{\ u(x,t) = \tfrac12\big[f(x-ct) + f(x+ct)\big] + \frac{1}{2c}\int_{x-ct}^{x+ct} g(s)\,\mathrm{d}s\ }$$
proof

By the factorisation theorem any solution is $F(x-ct) + G(x+ct)$. The data give $F + G = f$ and $c(G' - F') = g$. Integrating the second from $0$ to $x$: $G - F = \tfrac1c\int_0^x g + k$. Solving the pair,

$G = \tfrac12 f + \tfrac1{2c}\int_0^x g + \tfrac k2$, $\quad F = \tfrac12 f - \tfrac1{2c}\int_0^x g - \tfrac k2$.

Substituting $x \mapsto x\pm ct$ and adding, $k$ cancels and the integrals combine into $\int_{x-ct}^{x+ct}$. The converse — that the formula does solve the problem — is verified in the notes. $\square$

checks

Dimensions. $[f] = \mathrm m$; $[g\,\mathrm ds/c] = (\mathrm{m\,s^{-1}})(\mathrm m)/(\mathrm{m\,s^{-1}}) = \mathrm m$ ✓.

$t = 0$. Both terms in the bracket are $f(x)$ and the integral is empty: $u = f$ ✓.

$g = 0$. The initial shape splits into two half-height copies running apart — which is the pluck, and is what §5 draws ✓.

$f = 0$, $g = $ constant $v_0$. $u = v_0 t$: the whole line rises uniformly, no acceleration, no tension gradient ✓.

18 · d'Alembert

Domain of dependence, range of influence

definitions

The domain of dependence of $(x_0, t_0)$, $t_0\gt0$, is $[x_0 - ct_0,\ x_0 + ct_0]$: d'Alembert's formula reads $f$ only at the two endpoints and $g$ only on the interval.

The range of influence of a point $x_0$ is $\{(x,t): |x - x_0| \le c|t|\}$.

theorem · finite propagation speed

If $f$ and $g$ vanish outside $[\alpha,\beta]$ then $u(\cdot, t)$ vanishes outside $[\alpha - c|t|,\ \beta + c|t|]$.

Proof. If $x \gt \beta + ct$ then $x - ct \gt \beta$ and $x + ct \gt \beta$, so both $f$ terms vanish and the interval of integration lies entirely to the right of $\beta$. Same on the left. $\square$

(x₀, t₀) domain of dependence x₀ − ct₀ x₀ + ct₀ [α, β] support at t: [α − ct, β + ct] range of influence slope ±1/c x t

Left: only data on the marked interval can reach $(x_0,t_0)$. Right: data supported on $[\alpha,\beta]$ can reach only the shaded wedge, which widens at speed $c$ on each side — the finite-propagation theorem. Each cone is the other upside down.

section 5

The finite string, by images

Two ends, two reflections, and a plucked guitar string drawn exactly.

18 · images

A fixed end is an odd extension

theorem · the method of images, fixed–fixed

Given $f, g$ on $[0,L]$ with $f(0) = f(L) = g(0) = g(L) = 0$, let $\tilde f, \tilde g$ be their odd periodic extension: odd about $0$, and then $2L$-periodic. Then d'Alembert's formula applied to $\tilde f, \tilde g$, restricted to $0\le x\le L$, solves the initial-boundary-value problem with $u(0,t) = u(L,t) = 0$ for all $t$.

Physically: a wave arriving at a fixed end is met by its mirror image coming the other way. Their sum is zero at the wall at every instant, which is what "fixed" means. The reflected wave is the incoming one flipped in both $x$ and sign: reflection with inversion.

−L 0 L 2L −L 0 L 2L the string image image f̃ t = L/4c dashed: ½ f̃(x − ct), moving right · dotted: ½ f̃(x + ct), moving left solid, inside the window: their sum, the string

Top: the pluck on $[0,L]$ and its odd periodic extension $\tilde f$, an inverted mirror image beyond each end. Bottom: d'Alembert's two half-copies of $\tilde f$, slid $L/4$ each way; inside the window their sum is the string at $t = L/4c$, and it vanishes at both ends.

18 · images

The odd extension: proof and period

proof

At $x = 0$: $u(0,t) = \tfrac12[\tilde f(-ct) + \tilde f(ct)] + \tfrac1{2c}\int_{-ct}^{ct}\tilde g$. Both vanish because $\tilde f$ and $\tilde g$ are odd. At $x = L$: oddness about $0$ plus $2L$-periodicity gives $\tilde f(L+s) = -\tilde f(L-s)$, so $\tilde f$ is odd about $L$ too, and the same two cancellations occur. $\square$

periodicity, for free

$\tilde f$ and $\tilde g$ are $2L$-periodic, so $u(x, t + 2L/c) = u(x,t)$: every motion of the fixed–fixed string repeats after $2L/c$. For the E string that is $3.034$ ms, and $1/(3.034\ \mathrm{ms}) = 329.6$ Hz — the note.

one period, 3.034 ms 0 1 2 3 4 5 6 ms −3 mm 0 3 mm at the pluck point at the middle

The E string's displacement at its pluck point and at its middle, from d'Alembert's formula, over two periods. Both repeat exactly every $3.034$ ms; the middle's trace is also inverted after half a period, since $u(x, t + L/c) = -u(L-x, t)$.

18 · images

A free end is an even extension

A free end — a massless ring sliding without friction on a vertical post — can exert no transverse force, so the transverse tension $T u_x$ must vanish there: the Neumann boundary condition $u_x(L,t) = 0$. Contrast the fixed end's Dirichlet boundary condition $u(L,t) = 0$.

theorem · images at a free end

Extend $f$ and $g$ evenly about $L$. Then $u_x(L,t) = 0$ for all $t$.

Proof. $u_x(L,t) = \tfrac12[\tilde f'(L-ct) + \tilde f'(L+ct)] + \tfrac1{2c}[\tilde g(L+ct) - \tilde g(L-ct)]$. If $\tilde f$ is even about $L$ then $\tilde f'$ is odd about $L$, killing the bracket; $\tilde g$ even about $L$ kills the other. $\square$

both signs, in one sentence

A pulse hits a fixed end and comes back upside down; it hits a free end and comes back the same way up. In both cases it is reversed left-to-right, and in both cases the reflected amplitude equals the incident one.

T slides freely at the ring the string is level: uₓ = 0

A massless ring on a frictionless post. The post pushes only sideways, so the tension can have no vertical part at the ring: the string meets the post square, $u_x = 0$.

18 · images

Both reflections, drawn

fixed end: u = 0 t₁ t₂ t₃ t₄ t₅ free end: uₓ = 0 solid: the string · shaded: beyond the end dashed: the incoming pulse continued, and its image coming back

One pulse, five instants, two kinds of end. Each end acts as a mirror: the string is the incoming pulse plus its image, inverted at a fixed end and upright at a free one (a ring on a post). The middle row is the moment the pulse is centred on the end.

Read the middle row. At the instant a symmetric pulse is centred on the end: at a fixed end the string is momentarily flat (displacements cancel, velocities add); at a free end it is momentarily at rest with doubled displacement (displacements add, velocities cancel). Both moments conserve energy — one puts it all in kinetic, the other all in potential.

Both rows below it show the pulse going back the way it came, reversed left to right — the same shape at the same height, upside down or not.

18 · images · example 3

The plucked string, exactly

example 3 · the E string at three instants

Data. $g \equiv 0$ and $f$ the triangle with apex $h$ at the pluck point $x = a$ (no longer a bead spacing): $f = hx/a$ on $[0,a]$, $f = h(L-x)/(L-a)$ on $[a,L]$. With $g = 0$, d'Alembert reduces to $u = \tfrac12[\tilde f(x-ct) + \tilde f(x+ct)]$.

Method. $\tilde f$ is piecewise linear with corners exactly at $x = \pm a + 2nL$. So $u(\cdot,t)$ is piecewise linear with corners where $x - ct$ or $x + ct$ hits one: two of them lie in $[0,L]$ at any time, at $x = a + ct$ and $x = a - ct$, each reflected off the ends.

Slopes. Away from the corners the slope is $\tfrac12[\tilde f'(x-ct) + \tilde f'(x+ct)]$, and $\tilde f'$ takes only the values $\pm h/a$ and $\mp h/(L-a)$. Between the corners the two copies sit on opposite branches, giving the mean $\tfrac12\big(\tfrac ha - \tfrac h{L-a}\big)$.

At all three instants drawn, with $a = L/5$, the three slopes are $-1.25,\ +1.875,\ -1.25$, in units of $h/L$ — as the middle snapshot records.

t = 0 t = L/4c t = L/2c t = 3L/4c t = L/c

Computed from the formula; same vertical scale throughout, much exaggerated. The dots are the corners, leaving the pluck point at $\pm c$ and bouncing off the ends. At $t = L/c$ the string is its starting shape, mirrored and inverted.

18 · images

The two kinks, and what a photograph shows

what the exact solution says

The apex does not survive. At $t = 0^+$ it opens into a straight segment whose two ends run apart at speed $c$, and whose slope is the mean of the two original slopes. At all but the isolated bounce instants the string is three straight pieces.

The segment is flat — a genuine flat top — exactly when $a = L/2$. Off-centre, it tilts; at $a = L/5$ its slope is $1.875\,h/L$, against the original $5\,h/L$ and $-1.25\,h/L$.

High-speed photographs of a plucked string show exactly this: not a decaying sinusoid, but a corner running round the string, reversing sign at each end, with the period $2L/c$ audible as the pitch.

L/4c L/2c 3L/4c L/c 2L/c a = L/5 0 L from x = a + ct from x = a − ct t

Where the two corners are, over one period. They leave the pluck point along the two characteristics through it, reflect at the ends, cross, and meet again at the pluck point at $t = 2L/c$. The dots are the instants drawn in example 3.

18 · images

In what sense the pluck is a solution

in what sense is this a solution?

$f$ is not $C^2$ — not even $C^1$ — so d'Alembert's theorem does not apply on its own terms. What is true:

• the formula defines a continuous $u$ solving $u_{tt} = c^2u_{xx}$ classically off the two characteristic lines through the apex;
• the kinks travel along characteristics and never smooth out — a hyperbolic equation propagates singularities, it does not heal them;
• $u$ is the uniform limit of the classical solutions from smoothed data, which is the honest sense in which it is the answer.

Unit 20's distributions make "solves the equation" precise for such a $u$.

data at t = 0 solutions at t = L/4c apex rounded over ±ε ε = 0.12L (dashed) · 0.05L (dotted) · 0, the pluck (solid)

Round the apex off over $\pm\varepsilon$ and the data are smooth enough for d'Alembert's theorem. As $\varepsilon \to 0$ the classical solutions close in, uniformly, on the kinked one; at $\varepsilon = 0.05L$ the largest gap at $t = L/4c$ is already under $4\%$ of $h$.

section 6

Energy

A density, a flux, a local conservation law, and uniqueness for free.

18 · energy

Energy density and energy flux

definitions

For a solution $u$ of $\mu u_{tt} = Tu_{xx}$ define the energy density and the energy flux

$$e = \tfrac12\mu u_t^2 + \tfrac12 T u_x^2, \qquad S = -T\,u_t u_x .$$

$e$ is kinetic plus potential per unit length, in $\mathrm{J\,m^{-1}}$; $S$ is the power, in watts, carried past a point in the $+x$ direction.

theorem · the local conservation law $$\frac{\partial e}{\partial t} + \frac{\partial S}{\partial x} = 0$$

Proof. $e_t = \mu u_tu_{tt} + Tu_xu_{xt}$ and $S_x = -Tu_{xt}u_x - Tu_tu_{xx}$. Add: the cross terms cancel and what is left is $u_t(\mu u_{tt} - Tu_{xx}) = 0$. $\square$

checks

Dimensions. $\mu u_t^2$: $\mathrm{kg\,m^{-1}}\cdot\mathrm{m^2s^{-2}} = \mathrm{J\,m^{-1}}$ ✓. $Tu_x^2$: $\mathrm N$ ✓ (a newton is a joule per metre). $S$: $\mathrm N\cdot\mathrm{m\,s^{-1}} = \mathrm W$ ✓, and $[e_t] = [S_x] = \mathrm{W\,m^{-1}}$ ✓.

A right-moving wave. $u = F(x-ct)$: $u_t = -cF'$, $u_x = F'$, so $e = \tfrac12\mu c^2F'^2 + \tfrac12TF'^2 = TF'^2$ and $S = cTF'^2$. Hence $S = c\,e$: energy moves at $c$, as it must ✓. Left-movers give $S = -c\,e$ ✓.

Equipartition. In that same wave $\tfrac12\mu u_t^2 = \tfrac12Tu_x^2$ exactly, at every point: a travelling wave is half kinetic, half potential ✓.

18 · energy

Differentiating under the integral sign

lemma · Leibniz's rule (proved here)

Let $F$ and $\partial F/\partial t$ be continuous on $[0,L]\times[t_1,t_2]$. Then $t\mapsto\int_0^L F(x,t)\,\mathrm dx$ is differentiable and

$$\frac{\mathrm d}{\mathrm dt}\int_0^L F\,\mathrm dx = \int_0^L \frac{\partial F}{\partial t}\,\mathrm dx$$
theorem · total energy is constant

For a $C^2$ solution with either end fixed ($u_t = 0$ there) or free ($u_x = 0$ there), $E(t) = \int_0^L e\,\mathrm dx$ satisfies

$$\dot E = \int_0^L e_t\,\mathrm dx = -\int_0^L S_x\,\mathrm dx$$ $$= S(0,t) - S(L,t) = 0$$

Both boundary conditions kill $S = -Tu_tu_x$ at the end, for opposite reasons. $\square$

E(t) = ∫ e dx S(0, t) S(L, t) Ė = S(0, t) − S(L, t): in at the left, out at the right fixed end: uₜ = 0 ⇒ S = −T uₜ uₓ = 0 free end: uₓ = 0 ⇒ S = −T uₜ uₓ = 0

The energy in the string changes only through its two ends, at the rate the flux carries it in and out — and at a fixed or a free end the flux is zero.

18 · energy

The pluck's energy, over one period

numerical check, on the pluck

$\int_0^L u_x^2\,\mathrm dx$ and $\int_0^L u_t^2/c^2\,\mathrm dx$, in units of $h^2/L$:

$t$potentialkineticsum
$0$6.2500.0006.250
$L/4c$2.3443.9066.250
$L/2c$2.3443.9066.250
$3L/4c$2.3443.9066.250

The sum is $L^2/\big(a(L-a)\big) = 6.25$ at every time ✓. The split is not constant — at $t=0$ it is all potential — and equipartition holds for a travelling wave, not for a string with two ends.

0 L/2c L/c 3L/2c 2L/c 0 2 4 6.25 kinetic potential sum: 6.25, constant 37.5 % in units of h²/L t

$\int_0^L u_x^2\,\mathrm dx$ (potential, below) and $\int_0^L u_t^2/c^2\,\mathrm dx$ (kinetic, stacked on top) for the pluck, computed from the exact solution. The sum never moves; the split does, and is flat at $37.5\%$ potential while the corners are between $a$ and $L - a$. Dots: the table's rows.

18 · energy

Uniqueness, by energy

theorem · uniqueness for the initial-boundary-value problem

There is at most one $C^2$ function on $[0,L]\times[0,\infty)$ with $\mu u_{tt} = Tu_{xx}$, given $u(x,0)$, $u_t(x,0)$, and at each end either $u = 0$ or $u_x = 0$ for all $t$.

proof · the energy method

Let $u_1, u_2$ both qualify and put $w = u_1 - u_2$. By linearity $w$ solves the same equation with the same (homogeneous) boundary conditions and with $w(x,0) = w_t(x,0) = 0$.

Its energy $E_w(t) = \int_0^L\big(\tfrac12\mu w_t^2 + \tfrac12Tw_x^2\big)\mathrm dx$ is constant, by the total-energy theorem, and $E_w(0) = 0$ since $w_t(\cdot,0) = 0$ and $w(\cdot,0) = 0$ gives $w_x(\cdot,0) = 0$.

So $E_w \equiv 0$. The integrand is continuous and nonnegative, hence identically zero, hence $w_t \equiv w_x \equiv 0$ on a connected set: $w$ is constant, and $w(0,0) = 0$ makes the constant zero. $\square$

what this replaces

Unit 01 got uniqueness for ODEs from a Lipschitz condition and a contraction. There is no comparably general PDE theorem. What works instead is: find a nonnegative conserved quantity that vanishes only for the zero solution. It is not a trick — the same argument gives uniqueness for Maxwell's equations (unit 24), for the linearised Einstein equations (unit 38), and for the heat equation with the sign of $\dot E$ in place of its constancy.

Note what was not needed: any formula for $u$. The theorem holds where no d'Alembert formula exists.

18 · energy · example 4

Where the pluck's energy is

example 4 · the number, and where it goes

1. Total energy. At $t = 0$ the string is at rest, so all the energy is elastic:

$$E = \tfrac12 T\!\int_0^L\! f'^2\,\mathrm dx = \tfrac12 T\Big[\frac{h^2}{a} + \frac{h^2}{L-a}\Big]$$ $$= \frac{T h^2 L}{2\,a(L-a)}$$

2. Substitute. $T = 72.53$ N, $h = 3.00$ mm, $L = 0.6477$ m, $a = L/5$:

$E = \dfrac{(72.53)(9.00\times10^{-6})}{2}\cdot\dfrac{25}{4(0.6477)} = 3.149\times10^{-3}$ J.

3. Where it is later. Constant, by the theorem. At each of $t = L/4c$, $L/2c$ and $3L/4c$ the split is the same: $37.5\%$ potential, $62.5\%$ kinetic.

Check — dimensions. $Th^2/\big(a(L-a)\big)\cdot L$: $\mathrm N\cdot\mathrm m^2/\mathrm m^2\cdot\mathrm m$… collect: $\mathrm{N\,m} = \mathrm J$ ✓.

Check — limits. $a\to0$ at fixed $h$ sends $E\to\infty$: plucking a fixed height right at the bridge requires an infinite slope, hence infinite energy ✓. $a = L/2$ maximises $a(L-a)$ and therefore minimises $E$, giving $E = 2Th^2/L$ — the cheapest place to pluck to a given height ✓.

Check — magnitude. The restoring force at full deflection is $ThL/\big(a(L-a)\big) = 2.10$ N, and half of that times $h$ is $\tfrac12(2.10)(3\ \mathrm{mm}) = 3.15$ mJ — the same number from work done, by a route that never mentions $c$ ✓. Spread over a one-second decay it is at most 3 mW of sound: audible, not loud.

section 7

Well-posedness

Existence and uniqueness are not enough, and here is the counterexample.

18 · well-posedness

Hadamard's three conditions

definition · well-posedness (Hadamard, 1902)

A problem "given data $d$ in a normed space $\mathcal D$, find $u$ in a normed space $\mathcal U$" is well posed when

1. a solution exists for every $d \in \mathcal D$;
2. it is unique;
3. the map $d \mapsto u$ is continuous: small data changes produce small solution changes, in the chosen norms.

Otherwise it is ill posed.

Clause 3 is the one that has content, and it is unit 01's continuous dependence promoted from a theorem to a requirement. There it was proved, from Gronwall, for every Lipschitz ODE. Here it is not automatic, and the next slide shows it failing spectacularly for an equation that has both existence and uniqueness.

why a physicist must care

Data comes from measurement and carries error. If clause 3 fails, the computed solution is a statement about the measurement error and not about the system. No amount of care with the arithmetic repairs this: the problem, not the method, is at fault.

18 · well-posedness · example 5

Hadamard's example: Cauchy data on Laplace

example 5 · the classification has teeth

The problem. $u_{xx} + u_{yy} = 0$ — elliptic, $D = -1$ — with Cauchy data on the line $y = 0$:

$u(x,0) = 0$, $\qquad u_y(x,0) = \dfrac1n\sin(nx)$.

The solution. $\ u_n(x,y) = \dfrac1{n^2}\sin(nx)\sinh(ny)$.

Verify. $\partial_x^2 u_n = -\sin(nx)\sinh(ny)$ and $\partial_y^2 u_n = +\sin(nx)\sinh(ny)$; they cancel ✓. $u_n(x,0) = 0$ ✓, and $\partial_y u_n|_{y=0} = \tfrac1n\sin(nx)\cosh(0) = \tfrac1n\sin(nx)$ ✓. It is unique, by Cauchy–Kovalevskaya.

The failure. The data has size $1/n \to 0$. The solution at $y = 1$ has size $\sinh(n)/n^2 \to \infty$.

$n$$\sup|u_y(x,0)|$$\sup|u(x,1)|$
10$1.0\times10^{-1}$$1.10\times10^{2}$
20$5.0\times10^{-2}$$6.06\times10^{5}$
50$2.0\times10^{-2}$$1.04\times10^{18}$

18 · well-posedness · example 5

Hadamard's example, plotted

6.06 × 10⁵ 1.04 × 10¹⁸ 5.9 × 10⁻⁶ Laplace: sinh(n)/n² data: 1/n wave equation, c = 427 m/s: ≤ 1/n²c 0 10 20 30 40 50 10⁻⁵ 10⁰ 10⁵ 10¹⁰ 10¹⁵ n size at y = 1 (t = 1), log scale

Logarithmic scale. The data shrink like $1/n$ (dashed). Laplace's solution at $y = 1$ grows like $\sinh(n)/n^2$, a straight line of slope $\log_{10}e$ per unit $n$; the wave equation's, at $t = 1$, shrinks like $1/n^2c$. Dots: the table's rows.

check against a hyperbolic equation

The same data for $u_{tt} = c^2u_{xx}$ gives $u = \tfrac1{n^2c}\sin(nx)\sin(nct)$, of size $\le 1/n^2c$ — at $n = 20$, $5.9\times10^{-6}$, eleven orders below the elliptic answer. Same data, same amount of it, different type ✓.

Between the two solid lines is the whole of the classification: the same data, of the same size, on the same line, sent above $10^{18}$ or below $10^{-6}$ by the type of the equation.

section 8

The string as a field theory

Unit 12's Lagrangian, with the sum over particles replaced by an integral.

18 · field theory

From the chain's Lagrangian to a density

Unit 12's $L = T - V$ for the chain, with $N$ generalised coordinates $y_n$, masses $\mu a$ and stiffnesses $T/a$, and one factor of $a$ pulled out of every term:

$$L_N = \sum_n a\Big[\tfrac12\mu\dot y_n^2 - \tfrac12T\Big(\tfrac{y_{n+1}-y_n}{a}\Big)^{2}\Big]$$

Every bracket is local now, and $\sum_n a$ is a Riemann sum. Let $a\to0$:

the Lagrangian density $$\mathcal L = \tfrac12\mu u_t^2 - \tfrac12 T u_x^2, \quad L[u] = \int_0^L\! \mathcal L\,\mathrm dx$$

The action is the iterated integral $\displaystyle \mathcal S[u] = \int_{t_0}^{t_1}\!\!\left(\int_0^L \mathcal L\,\mathrm dx\right)\mathrm dt$.

lemma · iterated integrals commute (proved here)

If $\Psi$ is continuous on $[0,L]\times[t_0,t_1]$ then

$$\int_{t_0}^{t_1}\!\!\int_0^L \Psi\,\mathrm dx\,\mathrm dt = \int_0^L\!\!\int_{t_0}^{t_1} \Psi\,\mathrm dt\,\mathrm dx .$$

Needed once, on the next slide, to integrate by parts in $t$. The proof is in the notes and uses only uniform continuity.

letters with two meanings

$T$ is the tension, in newtons; unit 12's $T$ was kinetic energy. $L$ is the string's length; $L_N$ and $L[u]$, with a subscript or a bracket, are Lagrangians. And $a$ is the bead spacing again, not the pluck point. The clashes are universal in the literature; watch them.

18 · field theory

The Euler–Lagrange equation for a field

theorem · the first field equation in this course

Let $\mathcal S[u] = \iint_R\mathcal L(u, u_t, u_x, x, t)$ on $R = [0,L]\times[t_0,t_1]$. A $C^2$ stationary point among fields agreeing with $u$ on $\partial R$ satisfies

$$\partial_t\Big(\frac{\partial\mathcal L}{\partial u_t}\Big) + \partial_x\Big(\frac{\partial\mathcal L}{\partial u_x}\Big) = \frac{\partial\mathcal L}{\partial u}$$
proof

Take $\eta \in C^2$ vanishing on $\partial R$, $\Phi(\epsilon) = \mathcal S[u+\epsilon\eta]$. Unit 11's first variation, with two integrals:

$\Phi'(0) = \iint\big[\mathcal L_{u_t}\eta_t + \mathcal L_{u_x}\eta_x + \mathcal L_u\,\eta\big]$. Integrate the first term by parts in $t$ (order swapped by the lemma) and the second in $x$; both boundary terms die with $\eta$. Hence $\Phi'(0) = -\iint\big[\partial_t\mathcal L_{u_t} + \partial_x\mathcal L_{u_x} - \mathcal L_u\big]\eta$, and the two-variable fundamental lemma (notes) kills the bracket. $\square$

apply it to the string

$\mathcal L_{u_t} = \mu u_t$, $\ \mathcal L_{u_x} = -Tu_x$, $\ \mathcal L_u = 0$:

$$\partial_t(\mu u_t) - \partial_x(Tu_x) = 0$$

that is $\mu u_{tt} = Tu_{xx}$ — the wave equation, for the third time ✓.

and the free end, for free

Leave $u$ free at $x = L$: the surviving boundary term $\int\mathcal L_{u_x}\eta|_{x=L}\,\mathrm dt$ forces $\mathcal L_{u_x} = 0$ — unit 11's natural boundary condition, and §5's free end ✓.

18 · closing

What this unit hands on

the string, closed

The E string was derived twice ($c = 427.0\ \mathrm{m\,s^{-1}}$, $T = 72.53$ N), classified (hyperbolic, characteristics $x \mp ct$), solved exactly by images (three straight segments, two corners, period $3.034$ ms), weighed ($3.149$ mJ, conserved), and finally produced from an action. Six views, one string, no Fourier series anywhere.

Which is the point of doing it this way: unit 19 solves the same problem again by modes, and the two answers must agree. Where they disagree, one of them has a bug.

19the same string in modes: Fourier and Sturm–Liouville, and why the modes are a basis
22the local conservation law in three dimensions, with the stress tensor as the flux
24the wave equation with a source, in three dimensions: light
25the characteristic cone of §4 under a Galilean boost — the crisis
29§8 in four dimensions: $T^{\mu\nu}$ and Noether for fields
38a hyperbolic equation for the metric itself, solved by exactly these methods

18 · checkpoint

Done when

checkpoint
  • You solve an initial-boundary-value problem for the finite string by images: given $f$, $g$, and a fixed or free condition at each end, you produce the extension, write d'Alembert's formula for it, and draw the string at a requested time with the corner positions and heights correct.
  • You classify a given second-order PDE — including one whose type changes across a curve — and state precisely what data it will accept and on what curve.
  • You write the Lagrangian density whose Euler–Lagrange equation is the wave equation, and derive the equation from it.

How to fail it

Extend evenly at a fixed end. Call $u_{yy} + y\,u_{xx} = 0$ hyperbolic everywhere. Write $\mathcal L = \tfrac12\mu u_t^2 + \tfrac12Tu_x^2$ and get the wrong sign. Each is unambiguous.

Then

./mr problems 18 — twelve problems, about five hours. When the three claims above are true: ./mr done 18.