Skip to content

A stretched string can obey the same wave equation in its interior with quite different dynamics at its ends. Derive the field equation and the boundary term together. The latter tells you whether a proposed end condition matches the experiment.

Let y(x,t)y(x,t) be a small transverse displacement on 0≤x≤L0\le x\le L. Use prescribed, positive, time-independent mass density ρ(x)\rho(x) and tension τ(x)\tau(x). Assume a smooth solution and ignore bending and damping. The string’s quadratic action is the time integral of kinetic energy minus elastic energy,

S[y]=12∫t0t1∫0L(ρyt2−τyx2) dx dt.S[y]=\frac12\int_{t_0}^{t_1}\int_0^L (\rho y_t^2-\tau y_x^2)\,dx\,dt.

Change yy by ϵη\epsilon\eta, with η\eta vanishing at the initial and final times. Differentiate at zero and integrate each derivative of η\eta by parts. Keep the two spatial endpoints:

δS=∫ ⁣ ⁣∫[(τyx)x−ρytt]η dx dt−∫t0t1[τyxη]0L dt.\delta S=\int\!\!\int[(\tau y_x)_x-\rho y_{tt}]\eta\,dx\,dt -\int_{t_0}^{t_1}[\tau y_x\eta]_0^L\,dt .

Choosing variations supported away from the ends gives ρytt=(τyx)x\rho y_{tt}=(\tau y_x)_x. For fixed ends η=0\eta=0 there. For a free end η\eta is arbitrary there, so zero applied transverse force requires τyx=0\tau y_x=0. Periodic data cancel the two terms if the flux and variation match. Tong, §1.1, pp. 7–8, field variation and its surface term (PDF)

For constant ρ,τ\rho,\tau, let v=τ/ρv=\sqrt{\tau/\rho}. At two fixed ends, separate y=X(x)T(t)y=X(x)T(t) with X(x)=sin⁡(πx/L)X(x)=\sin(\pi x/L) and T(t)=cos⁡(πvt/L)T(t)=\cos(\pi vt/L). Their product solves the equation and both end conditions. Energy conservation follows independently by multiplying the equation by yty_t; the energy derivative is [τyxyt]0L[\tau y_x y_t]_0^L. It vanishes at a stationary fixed end or a free end.

Try it. Keep the left end fixed and release the right. Find the lowest positive wave number.

Check the end condition

The spatial profile is sin⁡(kx)\sin(kx) and its derivative must vanish at LL, so k=π/(2L)k=\pi/(2L). The old fundamental fails the new right-end condition.

Change the medium. At an instant take y=xy=x, ρ=1\rho=1, τ=1+x\tau=1+x in a dimensionless interior interval. The exact acceleration is one. Taking τ\tau outside the spatial derivative would incorrectly predict zero. Fixed or driven endpoints can maintain the required displacement there; use the example as a local differential test. Carry the same integration-by-parts habit to KdV fluxes.

Keep the left end fixed and return to a uniform string. Attach the right end to a massless transverse spring of stiffness KK. The figure shows three lowest modes at the instant of maximum displacement. At the spring endpoint the displacement is positive while the slope is negative. Which sign in the end condition permits those two readings?

At the right end the fixed mode reaches zero, the free mode has a horizontal tangent, and the spring-loaded mode has positive displacement and negative slope.

Fundamental modes of a uniform string with fixed left end. Position is in units of LL and each displacement is divided by its own peak. The right-end spring has KL/τ=3π/4KL/\tau=3\pi/4. All three curves are exact instantaneous profiles with arbitrary overall amplitude.

Independent task. Subtract ∫Ky(L,t)2/2 dt\int K y(L,t)^2/2\,dt from the action. Derive the end condition, verify the plotted spring mode has kL=3π/4kL=3\pi/4, and identify where energy goes when the right end moves.

Balance the endpoint forces and power

The coefficient of the free right-end variation is −τyx(L)−Ky(L)-\tau y_x(L)-K y(L). Hence a mode X=sin⁡(kx)X=\sin(kx) obeys τkcos⁡(kL)+Ksin⁡(kL)=0\tau k\cos(kL)+K\sin(kL)=0. At kL=3π/4kL=3\pi/4 the sine and cosine have equal magnitudes and opposite signs, so K=τkK=\tau k. This is the first positive root: there is none in 0<kL≤π/20\lt kL\le\pi/2, and −kLcot⁡(kL)-kL\cot(kL) increases from zero to infinity on (π/2,π)(\pi/2,\pi). The string’s right-end power is τyxyt=−Kyyt\tau y_x y_t=-K y y_t. It is the negative time derivative of the spring energy Ky2/2K y^2/2, so the combined energy is constant.

  • D. Tong, Quantum Field Theory, University of Cambridge Part III lecture notes (Michaelmas 2006 and 2007), Chapter 1, §1.1. Author’s notes