Skip to main content

Applied Mathematics

Section 7.4 Sturm-Liouville Problems

We now turn to a class of differential equations that arise in solving partial differential equations. This class is called Sturm-Liouville problems and they satisfy boundary conditions instead of the initial conditions that we saw in the previous section.

Definition 7.4.1.

Consider the differential equation
\begin{equation*} [r(x) y']' + [p(x) + \lambda q(x)] y = 0 \end{equation*}
for \(r(x), p(x) \in \mathcal{C}^{(1)[a,b]}\text{,}\) \(q(x)\in \mathcal{C}^{(0)}[a,b]\text{,}\) and \(\lambda \in \mathbb{R}\text{.}\) The differential equation is also subject to the boundary conditions:
\begin{align*} a_1 y(a) + a_2 y'(a) \amp = 0\\ b_1 y(b) + b_2 y'(b) \amp = 0 \end{align*}
such that both \(a_1\) and \(a_2\) cannot be zero as well as both \(b_1\) and \(b_2\text{.}\) The differential equation with these boundary conditions are called a Sturm-Liouville Problem. The solution is called an eigenfunction of the problem and the values of \(\lambda\) are called the eigenvalues.
The following example shows how to solve a Sturm-Liouville problem, that is, find the eigenvalues and eigenfunctions of the problem.

Example 7.4.2.

Find the eigenvalue and eigenfunctions of the Sturm-Liouville problem:
\begin{align*} y''+\lambda y \amp = 0 \amp y(0) \amp = y(L) = 0 \end{align*}
Solution.
First note that \(r(x)=q(x) \equiv 1\) and also \(a_1=b_1=1\) and \(a_2=b_2=0\text{,}\) which satisfies the conditions on the boundaries. The characteristic equation for this problem is:
\begin{equation*} r^2+\lambda = 0 \end{equation*}
which has the solutions \(r = \pm \sqrt{-\lambda}\text{.}\) The form of the equation depends on \(\lambda\text{.}\) If \(\lambda=0\text{,}\) we get:
\begin{equation} y = A + B x\tag{7.4.1} \end{equation}
if \(\lambda < 0\text{,}\) then the solution is
\begin{equation} y = c_1 e^{\sqrt{-\lambda} x} + c_2 e^{-\sqrt{-\lambda} x}\tag{7.4.2} \end{equation}
and if \(\lambda > 0\text{,}\) then we get
\begin{equation} y = C_1 \cos \sqrt{\lambda} x + C_2 \sin \sqrt{\lambda} x\tag{7.4.3} \end{equation}
Next, we apply the boundary conditions on all three solutions. Recall that \(y(0)=y(L)=0\text{.}\) If \(\lambda = 0\text{,}\) substituting the boundary conditions into (7.4.1),
\begin{align*} A+ B(0)\amp = 0 \amp\amp \text{so $A=0$}\\ A+B(L) \amp = 0 \amp\amp \text{so $B=0$} \end{align*}
so the only solution to (7.4.1) is the trivial solution \(y\equiv 0\text{.}\) If \(\lambda > 0\text{,}\) then substituting the boundary conditions into (7.4.2) results in
\begin{align*} c_1 (1) + c_2(1) \amp = 0 \\ c_1(e^{\sqrt{-\lambda} L} + c_2 e^{-\sqrt{-\lambda} L}) \amp = 0 \end{align*}
From the first equation, \(c_1=-c_2\) and substituting this into the 2nd equation
\begin{align*} c_1 e^{\sqrt{-\lambda} L} - c_1 e^{-\sqrt{-\lambda} L} \amp = 0 \\ c_1 e^{\sqrt{-\lambda}L} \bigl( 1- e^{-2\sqrt{-\lambda} L}) \amp = 0 \end{align*}
\(c_1=0\) is a solution, the second term is never zero and the third term is only zero if \(L=0\text{,}\) which is not true or \(\lambda=0\text{,}\) which is also not true, since this case is \(\lambda > 0\text{.}\) Therefore again, the only solution to (7.4.2) is the trivial solution. If \(\lambda < 0\) then substituting the boundary conditions into (7.4.3) results in
\begin{align*} C_1 (1) + C_2 (0) \amp = 0 \amp\amp \text{so $C_1=0$} \\ (0) \cos \sqrt{\lambda} L + C_2 \sin \sqrt{\lambda} L = 0 \end{align*}
the second states that either \(C_2=0\text{,}\) again the trivial solution or
\begin{equation*} \sin \sqrt{\lambda} L = 0 \end{equation*}
which occurs if \(\sqrt{\lambda} L = n \pi\) for \(n=0,\pm 1, \pm 2, \pm 3, \ldots\text{.}\) Or
\begin{equation} \lambda = \frac{n^2 \pi^2}{L^2}\tag{7.4.4} \end{equation}
We now check which values of \(n\) result in valid values of \(\lambda\text{.}\) When \(n=0\text{,}\) we get \(\lambda=0\) again, which violates \(\lambda \lt; 0\) and for \(n\) both plus and minus the same number, we get the same eigenvalue, so we will discard the negative values of \(n\) and just include \(n=1,2,3, \ldots.\) The eigenvalues of this problem are those in (7.4.4) for \(n=1,2,3,\ldots\)and the eigenfunctions of this problem are:
\begin{equation*} \phi_n(x) = \sin \frac{n\pi x}{L} \end{equation*}
It may have appears that we were lucky that there was a solution to the Sturm-Liouville problem in the above example. However, this is not the case and any Sturm-Liouville problem has a solution as the following theorem shows.

Example 7.4.4.

Let \(f(x)=x\) on \([0,L]\text{.}\) Find the series expansion listed in the theorem corresponding to the Sturm-Liouville problem \(y''+\lambda y= 0\text{.}\)
Solution.
\begin{align*} a_n \amp = \frac{ \langle f,\phi_n \rangle}{ \langle \phi_n, \phi_n \rangle} \\ \amp = \frac{1}{L/2} \int_{0}^L f(x) \sin \frac{n\pi x}{L} \, dx \end{align*}
which is the Fourier sine series.

Example 7.4.5.

Find the solution of the Sturm-Liouville problem
\begin{align*} y'' + \lambda y \amp= 0 \amp y'(0) = 0, \amp\amp y'(L) \amp = 0 \end{align*}
Solution.
Since this the same differential equation as in ExampleΒ 7.4.2, we note that when \(\lambda > 0\text{,}\) there was no solution and the same is true here. In the case of \(\lambda=0\text{,}\) the solution is
\begin{equation*} y = A+Bx \end{equation*}
and the derivative is needed as well,
\begin{equation*} y' = B \end{equation*}
and then applying the boundary condition \(y'(0)=y'(L)=0\text{,}\) implies that \(B=0\text{,}\) however, \(A\) is not determined and \(y=A\) is a solution. Next, we turn to \(\lambda > 0\text{,}\) with the solution,
\begin{equation*} y = C_1 \cos \sqrt{\lambda} x + C_2 \sin \sqrt{\lambda} x \end{equation*}
and again, we need the derivative,
\begin{equation*} y' = - C_1 \sqrt{\lambda} \sin \sqrt{\lambda} x + C_2 \sqrt{\lambda} \cos \sqrt{\lambda} x \end{equation*}
Applying the boundary condition, \(y'(0)=0\text{,}\) results in
\begin{equation*} y'(0) = C_2 \sqrt{\lambda} = 0 \end{equation*}
which implies that \(C_2=0\text{.}\) Applying the boundary condition \(y'(L)=0\) results in
\begin{equation*} y'(L) = -C_1 \sqrt{\lambda} \sin \sqrt{\lambda} L = 0 \end{equation*}
and if \(C_1=0\text{,}\) this results in the trivial solution, \(\lambda\) cannot be zero, however
\begin{equation*} \sin \sqrt{\lambda} L = 0 \end{equation*}
when \(\sqrt{\lambda} L = n \pi\) or \(\lambda = n^2 \pi^2/L^2\text{.}\) The eigenvalues and eigenfunctions of this problem then are \(\lambda_0 =0\) and \(\phi_0=1\text{,}\) and
\begin{align*} \lambda_n \amp = \frac{n^2 \pi^2}{L^2} \amp \phi_n \amp = \cos \frac{n \pi x}{L} \end{align*}
There are other Sturm-Liouville problems that arise commonly and we will see others later in this chapter and solve them as they arise. We will use these solutions that we just found in solving the PDEs that we derived above.