Sturm-Liouville problem (source code)

= Sturm-Liouville problem
{c}

A regular <Sturm-Liouville problem> specifies a <differential equation>, a positive weight, and <boundary conditions> together. In one standard sign convention,
$$
-(p y')'+qy=\lambda wy,\qquad a<x<b.
$$
For example, take real continuous $q,w$, continuously differentiable $p$, and $p,w>0$ on the closed bounded interval. Separated homogeneous self-adjoint endpoint conditions can be written $A_ay(a)+B_a(py')(a)=0$ and $A_by(b)+B_b(py')(b)=0$, with each real coefficient pair nonzero. The parameter values admitting nonzero solutions are its <eigenvalues>; the solutions are its <Sturm-Liouville eigenfunctions>. The <boundary conditions> are essential: the <differential equation> alone is not an <eigenvalue problem>.<Ordinary Differential Equations and Dynamical Systems by Gerald Teschl>[§§5.3–5.4, Sturm-Liouville equations and regular boundary-value problems]{ref}

For $p=w=1$, $q=0$ and zero endpoint values on $(0,\pi)$, the <eigenvalues> are $n^2$ and <eigenfunctions> are $\sin(nx)$, $n\geq1$. Replacing the endpoints by derivative-zero conditions admits the constant <eigenfunction> at <eigenvalue> zero. Thus changing the <boundary conditions> changes the <spectrum> without changing the interior equation.