Back

Sturm-Liouville eigenfunctions on [0, pi]

What you are seeing: a clamped string whose mass density ρ(x)\rho(x) you choose. Its normal modes are the eigenfunctions of the regular Sturm-Liouville problem (Ty)=λρ(x)y-(T y')' = \lambda\,\rho(x)\,y on [0,π][0,\pi], y(0)=y(π)=0y(0)=y(\pi)=0, solved numerically (finite differences, Jacobi). A uniform string recovers the textbook ϕn=2/πsinnx\phi_n=\sqrt{2/\pi}\sin n x, λn=n2\lambda_n=n^2. Load it (heavy centre, a density step, a taper) and the mode shapes bend toward the heavy region and the spectrum shifts off n2n^2, yet the modes stay orthonormal under the weighted inner product f,gρ=ρfgdx\langle f,g\rangle_\rho=\int\rho f g\,dx. That invariance is the substance of Sturm-Liouville theory.

Top: the vibrating string, line weight tracking the local density, with the density ribbon drawn beneath. Middle: the eigenvalue ladder λk\lambda_k against the open-tick n2n^2 reference. Bottom: every one of the NN modes you ask for (mode kk has exactly k1k-1 interior nodes, the Sturm oscillation theorem). Click the string to re-pluck it with a triangular tent.

Figure 1. Regular Sturm-Liouville spectrum of a variable-density clamped string, solved by finite differences.
N (modes)8
density ρ(x)SL weight

WHAT TO TRY

  • Vary each control and watch the rail readouts respond.
  • Compare the diagnostic plot against the live scene.