Let p∈C1[a,b]p\in C^1\left[a,b\right] and q,w∈C[a,b]q,w\in C\left[a,b\right] with p>0p>0 and w>0w>0 on [a,b],\left[a,b\right], and λ∈R\lambda\in\mathbb{R} be a parameter. A Sturm–Liouville equation is a second-order linear equation of the form

−(p(x) y′)′+q(x) y=λ w(x) y.-\left(p(x)\,y'\right)'+q(x)\,y=\lambda\,w(x)\,y.

The function ww is the weight function. Every second-order linear equation a2y′′+a1y′+a0y=λ ya_2y''+a_1y'+a_0y=\lambda\,y with a2≠0a_2\neq 0 can be put in this form by multiplying it by −1a2exp⁡∫a1a2 dx.-\frac{1}{a_2}\exp\int\frac{a_1}{a_2}\,dx.

Let (α1,α2)≠(0,0)\left(\alpha_1,\alpha_2\right)\neq\left(0,0\right) and (β1,β2)≠(0,0).\left(\beta_1,\beta_2\right)\neq\left(0,0\right). Separated boundary conditions on [a,b]\left[a,b\right] are a pair of conditions, one at each endpoint.

α1y(a)+α2y′(a)=0,β1y(b)+β2y′(b)=0\alpha_1y(a)+\alpha_2y'(a)=0,\qquad\beta_1y(b)+\beta_2y'(b)=0

Dirichlet conditions are y(a)=y(b)=0y(a)=y(b)=0 and Neumann conditions are y′(a)=y′(b)=0.y'(a)=y'(b)=0.

A regular Sturm–Liouville problem is a Sturm–Liouville equation on a bounded interval [a,b]\left[a,b\right] together with separated boundary conditions.

A singular Sturm–Liouville problem is a Sturm–Liouville problem on an unbounded interval or with a pp or ww that vanishes at an endpoint, in which case the condition at that endpoint is replaced by boundedness of y.y.

Let p(a)=p(b).p(a)=p(b). Periodic boundary conditions on [a,b]\left[a,b\right] are the conditions y(a)=y(b)y(a)=y(b) and y′(a)=y′(b).y'(a)=y'(b).

Let PP be a Sturm–Liouville problem. An eigenvalue of PP is a value of λ\lambda for which PP has a non-zero solution. An eigenfunction of PP for the eigenvalue λ\lambda is a non-zero solution of PP at that value of λ.\lambda. The boundary conditions make the solution set of the equation a subspace, so the eigenfunctions for λ\lambda together with 00 form the eigen-space of λ.\lambda.

Let PP be a Sturm–Liouville problem. The Sturm–Liouville operator of PP is the linear transformation LL on the C2C^2 functions satisfying the boundary conditions given by

L[y]:=1w(−(p y′)′+q y),L[y]:=\frac{1}{w}\left(-\left(p\,y'\right)'+q\,y\right),

so that the equation is L[y]=λy.L[y]=\lambda y.

Let w∈C[a,b]w\in C\left[a,b\right] with w>0.w>0. The weighted inner product on C[a,b]C\left[a,b\right] is the inner product

⟨f,g⟩w:=∫abf(x) g(x) w(x) dx.\langle f,g\rangle_w:=\int_a^bf(x)\,g(x)\,w(x)\,dx.

Let LL be a Sturm–Liouville operator and f,gf,g be C2C^2 functions on [a,b].\left[a,b\right]. Lagrange’s identity states that the difference of the inner products in the two orders is a boundary term, which follows from integrating by parts twice.

⟨L[f],g⟩w−⟨f,L[g]⟩w=[p(f g′−f′ g)]ab\langle L[f],g\rangle_w-\langle f,L[g]\rangle_w=\Big[p\left(f\,g'-f'\,g\right)\Big]_a^b

Let LL be a linear transformation on a subspace of C[a,b].C\left[a,b\right]. The transformation LL is self-adjoint with respect to the weighted inner product if and only if ⟨L[f],g⟩w=⟨f,L[g]⟩w\langle L[f],g\rangle_w=\langle f,L[g]\rangle_w for all f,gf,g in the subspace. The boundary terms in Lagrange’s identity vanish for functions satisfying separated or periodic conditions, so a Sturm–Liouville operator is self-adjoint.

Let PP be a regular Sturm–Liouville problem. The problem PP has the following properties:

  • the eigenvalues are real, countably infinite and simple, each with a one-dimensional eigen-space, and can be ordered as λ1<λ2<⋯\lambda_1<\lambda_2<\cdots with λn→∞;\lambda_n\rightarrow\infty;
  • eigenfunctions for distinct eigenvalues are orthogonal with respect to the weighted inner product, ⟨ϕm,ϕn⟩w=0\langle\phi_m,\phi_n\rangle_w=0 for m≠n;m\neq n;
  • the eigenfunction ϕn\phi_n has exactly n−1n-1 zeros in (a,b);\left(a,b\right);
  • if q≥0q\geq 0 and the boundary conditions are Dirichlet, Neumann or a Robin condition with α1α2≤0≤β1β2,\frac{\alpha_1}{\alpha_2}\leq 0\leq\frac{\beta_1}{\beta_2}, then every eigenvalue is non-negative.

Reality and orthogonality follow from self-adjointness as for symmetric matrices.

Let PP be a regular Sturm–Liouville problem and yy be a non-zero function satisfying its boundary conditions. The Rayleigh quotient of yy is the ratio of the weighted inner product of L[y]L[y] with yy to the weighted inner product of yy with itself.

R[y]:=⟨L[y],y⟩w⟨y,y⟩w=[−p y y′]ab+∫ab(p y′2+q y2)dx∫aby2w dxR[y]:=\frac{\langle L[y],y\rangle_w}{\langle y,y\rangle_w}=\frac{\Big[-p\,y\,y'\Big]_a^b+\int_a^b\left(p\,y'^2+q\,y^2\right)dx}{\int_a^by^2w\,dx}

The Rayleigh quotient has the following properties:

  • the smallest eigenvalue is its minimum, λ1=min⁡R[y],\lambda_1=\min R[y], attained at ϕ1;\phi_1;
  • λn\lambda_n is the minimum of RR over functions orthogonal to ϕ1,…,ϕn−1.\phi_1,\ldots,\phi_{n-1}.

The following are examples of Sturm–Liouville problems:

  • −y′′=λy-y''=\lambda y on [0,L]\left[0,L\right] with Dirichlet conditions has λn=(nπL)2\lambda_n=\left(\frac{n\pi}{L}\right)^2 and ϕn=sin⁡nπxL;\phi_n=\sin\frac{n\pi x}{L};
  • −y′′=λy-y''=\lambda y on [0,L]\left[0,L\right] with Neumann conditions has λn=(nπL)2\lambda_n=\left(\frac{n\pi}{L}\right)^2 for n∈Nn\in\mathbb{N} including λ0=0,\lambda_0=0, and ϕn=cos⁡nπxL;\phi_n=\cos\frac{n\pi x}{L};
  • −y′′=λy-y''=\lambda y on [−π,π]\left[-\pi,\pi\right] with periodic conditions has λn=n2\lambda_n=n^2 with the two-dimensional eigen-spaces spanned by cos⁡nx\cos nx and sin⁡nx,\sin nx, so the periodic case is where simplicity of the eigenvalues can fail;
  • Legendre’s equation on [−1,1]\left[-1,1\right] with p=1−x2,p=1-x^2, q=0,q=0, w=1w=1 is a singular problem whose eigenfunctions are the Legendre polynomials;
  • Bessel’s equation on [0,R]\left[0,R\right] with p=x,p=x, q=ν2x,q=\frac{\nu^2}{x}, w=xw=x is a singular problem whose eigenfunctions are the Bessel functions.

Let ϕ1,ϕ2,…\phi_1,\phi_2,\ldots be the eigenfunctions of a regular Sturm–Liouville problem and f∈C[a,b].f\in C\left[a,b\right]. The generalised Fourier coefficients of ff are its weighted inner products with the normalised eigenfunctions.

cn:=⟨f,ϕn⟩w⟨ϕn,ϕn⟩wc_n:=\frac{\langle f,\phi_n\rangle_w}{\langle\phi_n,\phi_n\rangle_w}

Let ϕ1,ϕ2,…\phi_1,\phi_2,\ldots be the eigenfunctions of a regular Sturm–Liouville problem and f∈C[a,b]f\in C\left[a,b\right] have generalised Fourier coefficients cn.c_n. The eigenfunction expansion of ff is the series of eigenfunctions with these coefficients.

f(x)∼∑n=1∞cnϕn(x)f(x)\sim\sum_{n=1}^{\infty}c_n\phi_n(x)

Let ϕ1,ϕ2,…\phi_1,\phi_2,\ldots be the eigenfunctions of a regular Sturm–Liouville problem. The eigenfunctions form a complete orthogonal system, meaning that the eigenfunction expansion of every function ff that is Riemann integrable on [a,b]\left[a,b\right] converges to ff in the weighted mean square.

∫ab(f−∑n=1Ncnϕn)2w dx→0\int_a^b\left(f-\sum_{n=1}^{N}c_n\phi_n\right)^2w\,dx\rightarrow 0

Eigenfunction expansions have the following properties:

  • Parseval’s identity ⟨f,f⟩w=∑n=1∞cn2⟨ϕn,ϕn⟩w\langle f,f\rangle_w=\sum_{n=1}^{\infty}c_n^2\langle\phi_n,\phi_n\rangle_w holds;
  • if ff is piecewise C1C^1 the expansion converges pointwise to the average of the one-sided limits of f;f;
  • if f∈C2[a,b]f\in C^2\left[a,b\right] satisfies the boundary conditions the expansion converges uniformly and absolutely;
  • Fourier, sine and cosine series are the expansions for the periodic, Dirichlet and Neumann problems with −y′′=λy.-y''=\lambda y.

Let PP be a regular Sturm–Liouville problem with operator LL and eigenfunctions ϕn,\phi_n, g∈C[a,b]g\in C\left[a,b\right] have generalised Fourier coefficients gng_n and μ\mu not be an eigenvalue. Expanding the unknown as y=∑n=1∞ynϕny=\sum_{n=1}^{\infty}y_n\phi_n in the problem L[y]−μy=gL[y]-\mu y=g with the given boundary conditions and comparing coefficients gives

yn=gnλn−μ.y_n=\frac{g_n}{\lambda_n-\mu}.

The same step justifies separation of variables for a partial differential equation: expanding the solution in the eigenfunctions of the separated boundary value problem reduces the equation to an uncoupled sequence of ordinary differential equations for the coefficients.

Let PP be a regular Sturm–Liouville problem with operator LL and μ=λm\mu=\lambda_m be an eigenvalue with eigenfunction ϕm.\phi_m. The Fredholm alternative states that the problem L[y]−μy=gL[y]-\mu y=g has a solution if and only if gg is orthogonal to ϕm,\phi_m, and that the solution is then unique up to multiples of ϕm.\phi_m.

Let L[y]=1w(−(p y′)′+q y)L[y]=\frac{1}{w}\left(-\left(p\,y'\right)'+q\,y\right) with separated boundary conditions for which 00 is not an eigenvalue, and g∈C[a,b].g\in C\left[a,b\right]. The inhomogeneous problem is the equation with forcing function gg and the given boundary conditions.

−(p(x) y′)′+q(x) y=g(x),α1y(a)+α2y′(a)=0,β1y(b)+β2y′(b)=0-\left(p(x)\,y'\right)'+q(x)\,y=g(x),\qquad\alpha_1y(a)+\alpha_2y'(a)=0,\qquad\beta_1y(b)+\beta_2y'(b)=0

Let the inhomogeneous problem be as above, y1y_1 be a non-zero solution of the homogeneous equation satisfying the condition at aa and y2y_2 be a non-zero solution of the homogeneous equation satisfying the condition at b.b. Since 00 is not an eigenvalue, y1y_1 and y2y_2 are linearly independent, and Abel’s identity for this equation gives that p W(y1,y2)p\,W\left(y_1,y_2\right) is a non-zero constant C.C. The Green’s function of the problem is the function

G(x,ξ):=−1C{y1(x) y2(ξ)a≤x≤ξy1(ξ) y2(x)ξ≤x≤b.G\left(x,\xi\right):=-\frac{1}{C}\begin{cases}y_1(x)\,y_2(\xi) & a\leq x\leq\xi \\ y_1(\xi)\,y_2(x) & \xi\leq x\leq b.\end{cases}

The unique solution of the inhomogeneous problem is the integral of gg against the Green’s function, which is the inverse of the differential operator.

y(x)=∫abG(x,ξ)g(ξ) dξy(x)=\int_a^bG\left(x,\xi\right)g(\xi)\,d\xi

The Green’s function has the following properties:

  • it is continuous and symmetric, G(x,ξ)=G(ξ,x);G\left(x,\xi\right)=G\left(\xi,x\right);
  • as a function of xx it satisfies the homogeneous equation for x≠ξx\neq\xi and both boundary conditions;
  • its derivative jumps by −1p(ξ)-\frac{1}{p(\xi)} at x=ξ,x=\xi, which is the statement that G(⋅,ξ)G\left(\cdot,\xi\right) solves the equation with the Dirac delta δ(x−ξ)\delta\left(x-\xi\right) as forcing, so it is the response at xx to a unit impulse at ξ;\xi;
  • it has the eigenfunction expansion G(x,ξ)=∑n=1∞ϕn(x) ϕn(ξ)λn⟨ϕn,ϕn⟩w,G\left(x,\xi\right)=\sum_{n=1}^{\infty}\frac{\phi_n(x)\,\phi_n(\xi)}{\lambda_n\langle\phi_n,\phi_n\rangle_w}, which is the series solution yn=gnλny_n=\frac{g_n}{\lambda_n} written as an integral;
  • for the problem L[y]−μy=gwL[y]-\mu y=\frac{g}{w} the same expansion holds with λn−μ\lambda_n-\mu in place of λn;\lambda_n;
  • if 00 is an eigenvalue the Green’s function does not exist and the Fredholm alternative applies instead.

For example, −y′′=g-y''=g on [0,1]\left[0,1\right] with y(0)=y(1)=0y(0)=y(1)=0 has y1=x,y_1=x, y2=1−x,y_2=1-x, C=−1C=-1 and

G(x,ξ)={x(1−ξ)x≤ξξ(1−x)ξ≤x,G\left(x,\xi\right)=\begin{cases}x\left(1-\xi\right) & x\leq\xi \\ \xi\left(1-x\right) & \xi\leq x,\end{cases}

the displacement at xx of a string fixed at both ends under a unit point load at ξ.\xi. The fundamental solution of Laplace’s equation and the heat kernel are the Green’s functions of Poisson’s equation and the heat equation on Rn.\mathbb{R}^n. On a bounded region the Green’s function of the Dirichlet problem is the fundamental solution corrected by a harmonic function so that it vanishes on the boundary.