Sturm-Liouville eigenfunctions on [0, pi]
What you are seeing: a clamped string whose mass density you choose. Its normal modes are the eigenfunctions of the regular Sturm-Liouville problem on , , solved numerically (finite differences, Jacobi). A uniform string recovers the textbook , . Load it (heavy centre, a density step, a taper) and the mode shapes bend toward the heavy region and the spectrum shifts off , yet the modes stay orthonormal under the weighted inner product . 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 against the open-tick reference. Bottom: every one of the modes you ask for (mode has exactly interior nodes, the Sturm oscillation theorem). Click the string to re-pluck it with a triangular tent.
WHAT TO TRY
- Vary each control and watch the rail readouts respond.
- Compare the diagnostic plot against the live scene.