13.1 Two-Point Boundary Value Problems

In Section 5.3 we considered initial value problems for the linear second order equation

\begin{equation} P_{0}(x)y''+P_{1}(x)y'+P_{2}(x)y=F(x). \tag{13.1.1}\end{equation}

Suppose \(P_{0}\), \(P_{1}\), \(P_{2}\), and \(F\) are continuous and \(P_{0}\) has no zeros on an open interval \((a,b)\). From Theorem 5.3.1, if \(x_{0}\) is in \((a,b)\) and \(k_{1}\) and \(k_{2}\) are arbitrary real numbers then (13.1.1) has a unique solution on \((a,b)\) such that \(y(x_{0})=k_{1}\) and \(y'(x_{0})=k_{2}\). Now we consider a different problem for (13.1.1).

PROBLEM  Suppose \(P_{0}\), \(P_{1}\), \(P_{2}\), and \(F\) are continous and \(P_{0}\) has no zeros on a closed interval \([a,b]\). Let \(\alpha\), \(\beta\), \(\rho\), and \(\delta\) be real numbers such that

\begin{equation} \alpha^{2}+\beta^{2}\ne 0\text{\; and\; \; } \rho^{2}+\delta^{2}\ne 0, \tag{13.1.2}\end{equation}

and let \(k_{1}\) and \(k_{2}\) be arbitrary real numbers. Find a solution of

\begin{equation} P_{0}(x)y''+P_{1}(x)y'+P_{2}(x)y=F(x) \tag{13.1.3}\end{equation}

on the closed interval \([a,b]\) such that

\begin{equation} \alpha y(a)+\beta y'(a)=k_{1} \tag{13.1.4}\end{equation}

and

\begin{equation} \rho y(b)+\delta y'(b)=k_{2}. \tag{13.1.5}\end{equation}

The assumptions stated in this problem apply throughout this section and won’t be repeated. Note that we imposed conditions on \(P_{0}\), \(P_{1}\), \(P_{2}\), and \(F\) on the closed interval \([a,b]\), and we are interested in solutions of (13.1.3) on the closed interval. This is different from the situation considered in Chapter 5, where we imposed conditions on \(P_{0}\), \(P_{1}\), \(P_{2}\), and \(F\) on the open interval \((a,b)\) and we were interested in solutions on the open interval. There is really no problem here; we can always extend \(P_{0}\), \(P_{1}\), \(P_{2}\), and \(F\) to an open interval \((c,d)\) (for example, by defining them to be constant on \((c,d]\) and \([b,d)\)) so that they are continuous and \(P_{0}\) has no zeros on \([c,d]\). Then we can apply the theorems from Chapter 5 to the equation

\[ y''+\frac{P_{1}(x)}{P_{0}(x)}y'+ \frac{P_{2}(x)}{P_{0}(x)}y=\frac{F(x)}{P_{0}(x)} \]

on \((c,d)\) to draw conclusions about solutions of (13.1.3) on \([a,b]\).

We call \(a\) and \(b\) boundary points. The conditions (13.1.4) and (13.1.5) are boundary conditions, and the problem is a two-point boundary value problem or, for simplicity, a boundary value problem. (We used similar terminology in Chapter 12 with a different meaning; both meanings are in common usage.) We require (13.1.2) to insure that we’re imposing a sensible condition at each boundary point. For example, if \(\alpha^{2}+\beta^{2}=0\) then \(\alpha=\beta=0\), so \(\alpha y(a)+\beta y'(a)=0\) for all choices of \(y(a)\) and \(y'(a)\). Therefore (13.1.4) is an impossible condition if \(k_{1}\ne0\), or no condition at all if \(k_{1}=0\).

We abbreviate (13.1.1) as \(Ly=F\), where

\[ Ly=P_{0}(x)y''+P_{1}(x)y'+P_{0}(x)y, \]

and we denote

\[ B_{1}(y)=\alpha y(a)+\beta y'(a) \text{\; and\; \; } B_{2}(y)=\rho y(b)+\delta y'(b). \]

We combine (13.1.3), (13.1.4), and (13.1.5) as

\begin{equation} Ly=F,\quad \quad B_{1}(y)=k_{1},\quad \quad B_{2}(y)=k_{2}. \tag{13.1.6}\end{equation}

This boundary value problem is homogeneous if \(F=0\) and \(k_{1}=k_{2}=0\); otherwise it’s nonhomogeneous.

We leave it to you (Exercise 1) to verify that \(B_{1}\) and \(B_{2}\) are linear operators; that is, if \(c_{1}\) and \(c_{2}\) are constants then

\begin{equation} B_{i}(c_{1}y_{1}+c_{2}y_{2})=c_{1}B_{i}(y_{1})+c_{2}B_{i}(y_{2}),\quad i=1,2. \tag{13.1.7}\end{equation}

The next three examples show that the question of existence and uniqueness for solutions of boundary value problems is more complicated than for initial value problems.

Example 13.1.1

Consider the boundary value problem

\[ y''+y=1,\quad y(0)=0, \quad y(\pi/2)=0. \]

The general solution of \(y''+y=1\) is

\[ y=1+c_{1}\sin x+c_{2} \cos x, \]

so \(y(0)=0\) if and only if \(c_{2}=-1\) and \(y(\pi/2)=0\) if and only if \(c_{1}=-1\). Therefore

\[ y =1-\sin x -\cos x \]

is the unique solution of the boundary value problem.

Example 13.1.2

Consider the boundary value problem

\[ y''+y=1,\quad y(0)=0, \quad y(\pi)=0. \]

Again, the general solution of \(y''+y=1\) is

\[ y=1+c_{1}\sin x+c_{2} \cos x, \]

so \(y(0)=0\) if and only if \(c_{2}=-1\), but \(y(\pi)=0\) if and only if \(c_{2}=1\). Therefore the boundary value problem has no solution.

Example 13.1.3

Consider the boundary value problem

\[ y''+y=\sin 2x,\quad y(0)=0, \quad y(\pi)=0. \]

You can use the method of undetermined coefficients (Section 5.5) to find that the general solution of \(y''+y=\sin 2x\) is

\[ y=-\frac{\sin2x}{3}+c_{1}\sin x+c_{2}\cos x. \]

The boundary conditions \(y(0)=0\) and \(y(\pi)=0\) both require that \(c_{2}=0\), but they don’t restrict \(c_{1}\). Therefore the boundary value problem has infinitely many solutions

\[ y=-\frac{\sin2x}{3}+c_{1}\sin x, \]

where \(c_{1}\) is arbitrary.

Theorem 13.1.1

If \(z_{1}\) and \(z_{2}\) are solutions of \(Ly=0\) such that either \(B_{1}(z_{1})=B_{1}(z_{2})=0\) or \(B_{2}(z_{1})=B_{2}(z_{2})=0,\) then \(\{z_{1},z_{2}\}\) is linearly dependent. Equivalently\(,\) if  \(\{z_{1},z_{2}\}\) is linearly independent, then

\[ B_{1}^{2}(z_{1})+B_{1}^{2}(z_{2})\ne 0 \text{\; and\; \; } B_{2}^{2}(z_{1})+B_{2}^{2}(z_{2})\ne 0. \]

Proof Recall that \(B_{1}(z)=\alpha z(a)+\beta z'(a)\) and \(\alpha^{2}+\beta^{2}\ne0\). Therefore, if \(B_{1}(z_{1})=B_{1}(z_{2})=0\) then \((\alpha,\beta)\) is a nontrivial solution of the system

\begin{eqnarray*} \alpha z_{1}(a)+\beta z_{1}'(a)&=& 0 \\ \alpha z_{2}(a)+\beta z_{}'(a)&=& 0. \end{eqnarray*}

This implies that

\[ z_{1}(a)z_{2}'(a)-z_{1}'(a)z_{2}(a)=0, \]

so \(\{z_{1},z_{2}\}\) is linearly dependent, by Theorem 5.1.6. We leave it to you to show that \(\{z_{1},z_{2}\}\) is linearly dependent if \(B_{2}(z_{1})=B_{2}(z_{2})=0\).

Theorem 13.1.2

The following statements are equivalent\(;\) that is\(,\) they are either all true or all false\(.\)

  1. There’s a fundamental set \(\{z_{1},z_{2}\}\) of solutions of \(Ly=0\) such that

    \begin{equation} B_{1}(z_{1})B_{2}(z_{2})-B_{1}(z_{2})B_{2}(z_{1})\ne0. \tag{13.1.8}\end{equation}
  2. If \(\{y_{1},y_{2}\}\) is a fundamental set of solutions of \(Ly=0\) then

    \begin{equation} B_{1}(y_{1})B_{2}(y_{2})-B_{1}(y_{2})B_{2}(y_{1})\ne0. \tag{13.1.9}\end{equation}
  3. For each continuous \(F\) and pair of constants \((k_{1},k_{2}),\) the boundary value problem

    \[ Ly=F, \quad B_{1}(y)=k_{1},\quad B_{2}(y)=k_{2} \]

    has a unique solution\(.\)

  4. The homogeneous boundary value problem

    \begin{equation} Ly=0,\quad B_{1}(y)=0, \quad B_{2}(y)=0 \tag{13.1.10}\end{equation}

    has only the trivial solution \(y=0\).

  5. The homogeneous equation \(Ly=0\) has linearly independent solutions \(z_{1}\) and \(z_{2}\) such that \(B_{1}(z_{1})=0\) and \(B_{2}(z_{2})=0.\)

Proof We’ll show that

\[ \part{a}\implies \part{b}\implies \part{c}\implies \part{d}\implies \part{e}\implies \part{a}. \]

(a) \(\implies\) (b): Since \(\{z_{1},z_{2}\}\) is a fundamental set of solutions for \(Ly=0\), there are constants \(a_{1}\), \(a_{2}\), \(b_{1}\), and \(b_{2}\) such that

\begin{equation} \begin{aligned} y_{1} &=a_{1}z_{1}+a_{2}z_{2}\\ y_{2} &=b_{1}z_{1}+b_{2}z_{2}. \end{aligned} \tag{13.1.11}\end{equation}

Moreover,

\begin{equation} \left|\begin{array}{ccccccc} a_{1}&a_{2}\\b_{1}&b_{2} \end{array}\right|\ne0. \tag{13.1.12}\end{equation}

because if this determinant were zero, its rows would be linearly dependent and therefore \(\{y_{1},y_{2}\}\) would be linearly dependent, contrary to our assumption that \(\{y_{1},y_{2}\}\) is a fundamental set of solutions of \(Ly=0\). From (13.1.7) and (13.1.11),

\[ \left[\begin{array}{ccccccc} B_{1}(y_{1})&B_{2}(y_{1})\\B_{1}(y_{2})&B_{2}(y_{2}) \end{array}\right]= \left[\begin{array}{ccccccc} a_{1}&a_{2}\\b_{1}&b_{2} \end{array}\right] \left[\begin{array}{ccccccc} B_{1}(z_{1})&B_{2}(z_{1})\\ B_{1}(z_{2})&B_{2}(z_{2}) \end{array}\right]. \]

Since the determinant of a product of matrices is the product of the determinants of the matrices, (13.1.8) and (13.1.12) imply (13.1.9).

(b) \(\implies\) (c): Since \(\{y_{1},y_{2}\}\) is a fundamental set of solutions of \(Ly=0\), the general solution of \(Ly=F\) is

\[ y=y_{p}+c_{1}y_{1}+c_{2}y_{2}, \]

where \(c_{1}\) and \(c_{2}\) are arbitrary constants and \(y_{p}\) is a particular solution of \(Ly=F\). To satisfy the boundary conditions, we must choose \(c_{1}\) and \(c_{2}\) so that

\begin{eqnarray*} k_{1}&=&B_{1}(y_{p})+c_{1}B_{1}(y_{1})+c_{2}B_{1}(y_{2}) \\ k_{2}&=&B_{2}(y_{p})+c_{1}B_{2}(y_{1})+c_{2}B_{2}(y_{2}), \end{eqnarray*}

(recall (13.1.7)), which is equivalent to

\[ \begin{aligned} c_{1}B_{1}(y_{1})+c_{2}B_{1}(y_{2}) &= k_{1}-B_{1}(y_{p}) \\ c_{1}B_{2}(y_{1})+c_{2}B_{2}(2_{2}) &= k_{2}-B_{2}(y_{p}). \end{aligned} \]

From (13.1.9), this system always has a unique solution \((c_{1},c_{2})\).

(c) \(\implies\) (d): Obviously, \(y=0\) is a solution of (13.1.10). From (c) with \(F=0\) and \(k_{1}=k_{2}=0\), it’s the only solution.

(d) \(\implies\) (e): Let \(\{y_{1},y_{2}\}\) be a fundamental system for \(Ly=0\) and let

\[ z_{1}=B_{1}(y_{2})y_{1}-B_{1}(y_{1})y_{2}\text{\; and\; \; } z_{2}=B_{2}(y_{2})y_{1}-B_{2}(y_{1})y_{2}. \]

Then \(B_{1}(z_{1})=0\) and \(B_{2}(z_{2})=0\). To see that \(z_{1}\) and \(z_{2}\) are linearly independent, note that

\begin{eqnarray*} a_{1}z_{1}+a_{2}z_{2}&=& a_{1}[B_{1}(y_{2})y_{1}-B_{1}(y_{1})y_{2}]+ a_{2}[B_{2}(y_{2})y_{1}-B_{2}(y_{1})y_{2}] \\ &=& [B_{1}(y_{2})a_{1}+B_{2}(y_{2})a_{2}]y_{1}-[B_{1}(y_{1})a_{1}+B_{2}(y_{1})a_{2}]y_{2}. \end{eqnarray*}

Therefore, since \(y_{1}\) and \(y_{2}\) are linearly independent, \(a_{1}z_{1}+a_{2}z_{2}=0\) if and only if

\[ \left[\begin{array}{ccccccc} B_{1}(y_{1})&B_{2}(y_{1})\\ B_{1}(y_{2})&B_{2}(y_{2}) \end{array}\right] \left[\begin{array}{ccccccc} a_{1}\\a_{2} \end{array}\right]= \left[\begin{array}{ccccccc} 0\\0 \end{array}\right]. \]

If this system has a nontrivial solution then so does the system

\[ \left[\begin{array}{ccccccc} B_{1}(y_{1})&B_{1}(y_{2})\\ B_{2}(y_{1})&B_{2}(y_{2}) \end{array}\right] \left[\begin{array}{ccccccc} c_{1} \\c_{2} \end{array}\right]= \left[\begin{array}{ccccccc} 0\\0 \end{array}\right]. \]

This and (13.1.7) imply that \(y=c_{1}z_{1}+c_{2}z_{2}\) is a nontrivial solution of (13.1.10), which contradicts (d).

(e) \(\implies\) (a). Theorem 13.1.1 implies that if \(B_{1}(z_{1})=0\) and \(B_{2}(z_{2})=0\) then \(B_{1}(z_{2})\ne0\) and \(B_{2}(z_{1})\ne0\). This implies (13.1.8), which completes the proof.

Example 13.1.4

Solve the boundary value problem

\begin{equation} x^{2}y''-2xy'+2y-2x^{3}=0,\quad y(1)=4,\quad y'(2)=3, \tag{13.1.13}\end{equation}

given that \(\{x,x^{2}\}\) is a fundamental set of solutions of the complementary equation

Solution Using variation of parameters (Section 5.7), you can show that \(y_{p}=x^{3}\) is a solution of the complementary equation

\[ x^{2}y''-2xy'+2y=2x^{3}=0. \]

Therefore the solution of (13.1.13) can be written as

\[ y=x^{3}+c_{1}x+c_{2}x^{2}. \]

Then

\[ y'=3x^{2}+c_{1}+2c_{2}x, \]

and imposing the boundary conditions yields the system

\begin{eqnarray*} c_{1}+\phantom{4}c_{2}&=&\phantom{-}3 \\ c_{1}+4c_{2}&=&-9, \end{eqnarray*}

so \(c_{1}=7\) and \(c_{2}=-4\). Therefore

\[ y=x^{3}+7x-4x^{2} \]

is the unique solution of (13.1.13)

Example 13.1.5

Solve the boundary value problem

\[ y''-7y'+12y=4e^{2x},\quad y(0)=3,\quad y(1)=5e^{2}. \]

Solution From Example 5.4.1, \(y_{p}=2e^{2x}\) is a particular solution of

\begin{equation} y''-7y'+12y=4e^{2x}. \tag{13.1.14}\end{equation}

Since \(\{e^{3x},e^{4x}\}\) is a fundamental set for the complementary equation, we could write the solution of (13.1.13) as

\[ y=2e^{2x}+c_{1}e^{3x}+c_{2}e^{4x} \]

and determine \(c_{1}\) and \(c_{2}\) by imposing the boundary conditions. However, this would lead to some tedious algebra, and the form of the solution would be very unappealing. (Try it!) In this case it’s convenient to use the fundamental system \(\{z_{1},z_{2}\}\) mentioned in Theorem 13.1.2(e); that is, we choose \(\{z_{1},z_{2}\}\) so that \(B_{1}(z_{1})=z_{1}(0)=0\) and \(B_{2}(z_{2})=z_{2}(1)=0\). It is easy to see that

\[ z_{1}=e^{3x}-e^{4x}\text{\; and\; \; }z_{2}=e^{3(x-1)}-e^{4(x-1)} \]

satisfy these requirements. Now we write the solution of (13.1.14) as

\[ y=2e^{2x}+c_{1}\left(e^{3x}-e^{4x}\right)+c_{2}\left(e^{3(x-1)}-e^{4(x-1)}\right). \]

Imposing the boundary conditions \(y(0)=3\) and \(y(1)=5e^{2}\) yields

\[ 3=2+c_{2}e^{-4}(e-1)\text{\; and\; \; } 5e^{2}=2e^{2}+c_{1}e^{3}(1-e). \]

Therefore

\[ c_{1}=\frac{3}{e(1-e)},\quad c_{2}=\frac{e^{4}}{e-1}, \]

and

\[ y=2e^{2x}+\frac{3}{e(1-e)}(e^{3x}-e^{4x})+ \frac{e^{4}}{e-1}(e^{3(x-1)}-e^{4(x-1)}). \]

Sometimes it’s useful to have a formula for the solution of a general boundary problem. Our next theorem addresses this question.

Theorem 13.1.3

Suppose the homogeneous boundary value problem

\begin{equation} Ly=0,\quad B_{1}(y)=0,\quad B_{2}(y)=0 \tag{13.1.15}\end{equation}

has only the trivial solution\(.\) Let \(y_{1}\) and \(y_{2}\) be linearly independent solutions of \(Ly=0\) such that \(B_{1}(y_{1})=0\) and \(B_{2}(y_{2})=0,\) and let

\[ W=y_{1}y_{2}'-y_{1}'y_{2}. \]

Then the unique solution of

\begin{equation} Ly=F,\quad B_{1}(y)=0,\quad B_{2}(y)=0 \tag{13.1.16}\end{equation}

is

\begin{equation} y(x)= y_{1}(x)\int_{x}^{b}\frac{F(t)y_{2}(t)}{P_{0}(t)W(t)}\,dt+ y_{2}(x)\int_{a}^{x}\frac{F(t)y_{1}(t)}{P_{0}(t)W(t)}\,dt. \tag{13.1.17}\end{equation}

Proof In Section 5.7 we saw that if

\begin{equation} y=u_{1}y_{1}+u_{2}y_{2} \tag{13.1.18}\end{equation}

where

\begin{eqnarray*} u_{1}'y_{1}+u_{2}'y_{2}&=&0 \\ u_{1}'y_{1}'+u_{2}'y_{2}'&=&F, \end{eqnarray*}

then \(Ly=F\). Solving for \(u_{1}'\) and \(u_{2}'\) yields

\[ u_{1}'=-\frac{Fy_{2}}{P_{0}W}\text{\; and\; \; } u_{2}'=\frac{Fy_{1}}{P_{0}W}, \]

which hold if

\[ u_{1}(x)=\int_{x}^{b}\frac{F(t)y_{2}(t)}{P_{0}(t)W(t)}\,dt \text{\; and\; \; } u_{2}(x)=\int_{a}^{x}\frac{F(t)y_{1}(t)}{P_{0}(t)W(t)}\,dt. \]

This and (13.1.18) show that (13.1.17) is a solution of \(Ly=F\). Differentiating (13.1.17) yields

\begin{equation} y'(x)=y_{1}'(x)\int_{x}^{b}\frac{F(t)y_{2}(t)}{P_{0}(t)W(t)}\,dt+ y_{2}'(x)\int_{a}^{x}\frac{F(t)y_{1}(t)}{P_{0}(t)W(t)}\,dt. \tag{13.1.19}\end{equation}

(Verify.) From (13.1.17) and (13.1.19),

\[ B_{1}(y)=B_{1}(y_{1})\int_{a}^{b}\frac{F(t)y_{2}(t)}{P_{0}(t)W(t)}\,dt=0 \]

because \(B_{1}(y_{1})=0\), and

\[ B_{2}(y)=B_{2}(y_{2})\int_{a}^{b}\frac{F(t)y_{1}(t)}{P_{0}(t)W(t)}\,dt=0 \]

because \(B_{2}(y_{2})=0\). Hence, \(y\) satisfies (13.1.16). This completes the proof.

We can rewrite (13.1.17) as

\begin{equation} y=\int_{a}^{b} G(x,t)F(t)\,dt, \tag{13.1.20}\end{equation}

where

\[ G(x,t)= \begin{cases} \dst{\frac{y_{1}(t)y_{2}(x)}{P_{0}(t)W(t)}}&,\quad a\le t\le x,\\[.1in] \dst{\frac{y_{1}(x)y_{2}(t)}{P_{0}(t)W(t)}} &,\quad x\le t\le b. \end{cases}. \]

This is the Green’s function for the boundary value problem (13.1.16). The Green’s function is related to the boundary value problem (13.1.16) in much the same way that the inverse of a square matrix \({\mathbf A}\) is related to the linear algebraic system \({\mathbf y}={\mathbf A}{\mathbf x}\); just as we substitute the given vector \({\mathbf y}\) into the formula \({\mathbf x}={\mathbf A}^{-1}{\mathbf y}\) to solve \({\mathbf y} ={\mathbf Ax}\), we substitute the given function \(F\) into the formula (13.1.20) to obtain the solution of (13.1.16). The analogy goes further: just as \({\mathbf A}^{-1}\) exists if and only if \({\mathbf A}{\mathbf x} ={\mathbf 0}\) has only the trivial solution, the boundary value problem (13.1.16) has a Green’s function if and only the homogeneous boundary value problem (13.1.15) has only the trivial solution.

We leave it to you (Exercise 32) to show that the assumptions of Theorem 13.1.3 imply that the unique solution of the boundary value problem

\[ Ly=F,\quad B_{1}(y)=k_{1},\quad B_{2}(y)=k_{2} \]

is

\[ y(x)=\int_{a}^{b}G(x,t)F(t)\,dt +\frac{k_{2}}{B_{2}(y_{1})}y_{1}+ \frac{k_{1}}{B_{1}(y_{2})}y_{2}. \]

Example 13.1.6

Solve the boundary value problem

\begin{equation} y''+y=F(x).\quad y(0)+y'(0)=0,\quad y(\pi)-y'(\pi)=0, \tag{13.1.21}\end{equation}

and find the Green’s function for this problem.

Solution Here

\[ B_{1}(y)=y(0)+y'(0) \text{\; and\; \; } B_{2}(y)=y(\pi)-y'(\pi). \]

Let \(\{z_{1},z_{2}\}=\{\cos x,\sin x\}\), which is a fundamental set of solutions of \(y''+y=0\). Then

\begin{eqnarray*} B_{1}(z_{1})&=&(\cos x-\sin x)\big|_{x=0}=\phantom{-}1 \\ B_{2}(z_{1})&=&(\cos x+\sin x)\big|_{x=\pi}=-1 \end{eqnarray*}

and

\begin{eqnarray*} B_{1}(z_{2})&=&(\sin x+\cos x)\big|_{x=0}=1 \\ B_{2}(z_{2})&=&(\sin x-\cos x)\big|_{x=\pi}=1. \end{eqnarray*}

Therefore

\[ B_{1}(z_{1})B_{2}(z_{2})-B_{1}(z_{2})B_{2}(z_{1})=2, \]

so Theorem 13.1.2 implies that (13.1.21) has a unique solution. Let

\[ y_{1}=B_{1}(z_{2})z_{1}-B_{1}(z_{1})z_{2}= \cos x-\sin x \]

and

\[ y_{2}=B_{2}(z_{2})z_{1}-B_{2}(z_{1})z_{2}= \cos x+\sin x. \]

Then \(B_{1}(y_{1})=0\), \(B_{2}(y_{2})=0\), and the Wronskian of \(\{y_{1},y_{2}\}\) is

\[ W(x)= \left|\begin{array}{rrccccc} \cos x-\sin x& \cos x+ \sin x\\ -\sin x-\cos x&-\sin x+\cos x \end{array}\right|=2. \]

Since \(P_{0}=1\), (13.1.17) yields the solution

\begin{eqnarray*} y(x)&=&\dst{\frac{\cos x-\sin x}{2}}\int_{x}^{\pi}F(t)(\cos t+\sin t)\,dt \\ &&+\dst{\frac{\cos x +\sin x}{2}}\int_{0}^{x}F(t)(\cos t-\sin t)\,dt. \end{eqnarray*}

The Green’s function is

\[ G(x,t)= \begin{cases} \dst{\frac{(\cos t-\sin t)(\cos x+\sin x)}{2}},&\quad 0\le t\le x,\\[.1in] \dst{\frac{(\cos x-\sin x)(\cos t+\sin t)}{2}},&\quad x\le t\le \pi. \end{cases} \]

We’ll now consider the situation not covered by Theorem 13.1.3.

Theorem 13.1.4

Suppose the homogeneous boundary value problem

\begin{equation} Ly=0,\quad B_{1}(y)=0,\quad B_{2}(y)=0 \tag{13.1.22}\end{equation}

has a nontrivial solution \(y_{1},\) and let \(y_{2}\) be any solution of \(Ly=0\) that isn’t a constant multiple of \(y_{1}.\) Let \(W=y_{1}y_{2}'-y_{1}'y_{2}.\) If

\begin{equation} \int_{a}^{b}\frac{F(t)y_{1}(t)}{P_{0}(t)W(t)}\,dt=0, \tag{13.1.23}\end{equation}

then the homogeneous boundary value problem

\begin{equation} Ly=F, \quad B_{1}(y)=0,\quad B_{2}(y)=0 \tag{13.1.24}\end{equation}

has infinitely many solutions\(,\) all of the form \(y=y_{p}+c_{1}y_{1},\) where

\[ y_{p}=y_{1}(x) \int_{x}^{b}\frac{F(t)y_{2}(t)}{P_{0}(t)W(t)}\,dt+ y_{2}(x) \int_{a}^{x}\frac{F(t)y_{1}(t)}{P_{0}(t)W(t)}\,dt \]

and \(c_{1}\) is a constant\(.\) If

\[ \int_{a}^{b}\frac{F(t)y_{1}(t)}{P_{0}(t)W(t)}\,dt \ne0, \]

then (13.1.24) has no solution\(.\)

Proof From the proof of Theorem 13.1.3, \(y_{p}\) is a particular solution of \(Ly=F\), and

\[ y_{p}'(x)=y_{1}'(x)\int_{x}^{b}\frac{F(t)y_{2}(t)}{P_{0}(t)W(t)}\,dt +y_{2}'(x)\int_{a}^{x}\frac{F(t)y_{1}(t)}{P_{0}(t)W(t)}\,dt. \]

Therefore the general solution of (13.1.22) is of the form

\[ y=y_{p}+c_{1}y_{1}+c_{2}y_{2}, \]

where \(c_{1}\) and \(c_{2}\) are constants. Then

\begin{eqnarray*} B_{1}(y)&=& B_{1}(y_{p}+c_{1}y_{1}+c_{2}y_{2})= B_{1}(y_{p})+c_{1}B_{1}(y_{1})+c_{2}B_{1}y_{2} \\ &=&B_{1}(y_{1})\int_{a}^{b}\frac{F(t)y_{2}(t)}{P_{0}(t)W(t)}\,dt +c_{1}B_{1}(y_{1})+c_{2}B_{1}(y_{2}) \\ &=&c_{2}B_{1}(y_{2}) \end{eqnarray*}

Since \(B_{1}(y_{1})=0\), Theorem 13.1.1 implies that \(B_{1}(y_{2})\ne0\); hence, \(B_{1}(y)=0\) if and only if \(c_{2}=0\). Therefore \(y=y_{p}+c_{1}y_{1}\) and

\begin{eqnarray*} B_{2}(y)&=&B_{2}(y_{p}+c_{1}y_{1}) =B_{2}(y_{2})\int_{a}^{b}\frac{F(t)y_{1}(t)}{P_{0}(t)W(t)}\,dt+c_{1}B_{2}(y_{1}) \\ &=&B_{2}(y_{2})\int_{a}^{b}\frac{F(t)y_{1}(t)}{P_{0}(t)W(t)}\,dt, \end{eqnarray*}

since \(B_{2}(y_{1})=0\). From Theorem 13.1.1, \(B_{2}(y_{2})\ne0\) (since \(B_{2}(y_{1}=0\)). Therefore \(Ly=0\) if and only if (13.1.23) holds. This completes the proof.

Example 13.1.7

Applying Theorem 13.1.4 to the boundary value problem

\begin{equation} y''+y=F(x),\quad y(0)=0,\quad y(\pi)=0 \tag{13.1.25}\end{equation}

explains the Examples 13.1.2 and 13.1.3. The complementary equation \(y''+y=0\) has the linear independent solutions \(y_{1}=\sin x\) and \(y_{2}=\cos x\), and \(y_{1}\) satisfies both boundary conditions. Since \(P_{0}=1\) and

\[ W= \left|\begin{array}{crccccc} \sin x&\cos x \\\cos x&-\sin x \end{array}\right|=-1, \]

(13.1.23) reduces to

\[ \int_{0}^{\pi} F(x)\sin x\,dx=0. \]

From Example 13.1.2, \(F(x)=1\) and

\[ \int_{0}^{\pi} F(x)\sin x\,dx=\int_{0}^{\pi} \sin x\,dx=2, \]

so Theorem 13.1.3 implies that (13.1.25) has no solution. In Example 13.1.3,

\[ F(x)=\sin 2x=2\sin x \cos x \]

and

\[ \int_{0}^{\pi}F(x)\sin x\,dx=2\int_{0}^{\pi}\sin^{2}x\cos x\,dx =\frac{2}{3}\sin^{3}x\bigg|_{0}^{\pi}=0, \]

so Theorem 13.1.3 implies that (13.1.25) has infinitely many solutions, differing by constant multiples of \(y_{1}(x)=\sin x\).

13.1 Exercises

  1. Verify that \(B_{1}\) and \(B_{2}\) are linear operators; that is, if \(c_{1}\) and \(c_{2}\) are constants then

    \[ B_{i}(c_{1}y_{1}+c_{2}y_{2})=c_{1}B_{i}(y_{1})+c_{2}B_{i}(y_{2}),\quad i=1,2. \]

In Exercises 27 solve the boundary value problem.

  1. \(y''-y=x\),   \(y(0)=-2\),  \(y(1)=1\)

    Show answer

    \(y=-x+\dst{\frac{2}{e-1}\left(e^{x}-e^{(x-1)}\right)}\) 

  2. \(y''=2-3x\),   \(y(0)=0\),  \(y(1)-y'(1)=0\)

    Show answer

    \(y=x^{2}-\dst{\frac{x^{3}}{3}}+cx\) with \(c\) arbitrary

  3. \(y''-y=x\),   \(y(0)+y'(0)=3\),  \(y(1)-y'(1)=2\)

    Show answer

    \(y=-x+2e^{x}+e^{-(x-1)}\) 

  4. \(y''+4y=1\),   \(y(0)=3\),  \(y(\pi/2)+y'(\pi/2)=-7\)

    Show answer

    \(y= \dst{\frac{1}{4}+\frac{11}{4}\cos2x+\frac{9}{4}\sin2x}\)

  5. \(y''-2y'+y=2e^{x}\),   \(y(0)-2y'(0)=3\),  \(y(1)+y'(1)=6e\)

    Show answer

    \(y=(x^2+13-8x)e^{x}\) 

  6. \(y''-7y'+12y=4e^{2x}\),   \(y(0)+y'(0)=8\),  \(y(1)=-7e^{2}\) (see Example 13.1.5)

    Show answer

    \(y=2e^{2x}+\dst{\frac{3(5e^{3x}-4e^{4x})}{e(15-16e)} +\frac{2e^{4}(4e^{3(x-1)}-3e^{4(x-1)})}{16e-15}}\)

  7. State a condition on \(F\) such that the boundary value problem

    \[ y''=F(x), \quad y(0)=0, \quad y(1)-y'(1)=0 \]

    has a solution, and find all solutions.

    Show answer

    \(\dst{\int_{a}^{b}tF(t)\,dt=0}\)  \(y=\dst{-x\int_{x}^{1}F(t)\,dt-\int_{0}^{x}tF(t)\,dt+c_{1}x}\) with \(c_{1}\) arbitrary

    1. State a condition on \(a\) and \(b\) such that the boundary value problem

      \begin{equation} y''+y=F(x),\quad y(a)=0,\quad y(b)=0 \tag{A} \end{equation}

      has a unique solution for every continuous \(F\), and find the solution by the method used to prove Theorem 13.1.3

    2. In the case where \(a\) and \(b\) don’t satisfy the condition you gave for (a), state necessary and sufficient on \(F\) such that (A) has a solution, and find all solutions by the method used to prove Theorem 13.1.4.

    Show answer

    (a)  \(b-a\ne k\pi\)  (\(k=\) integer)

          \(y=\dst{\frac{\sin(x-a)}{\sin(b-a)}\int_{x}^{b}F(t)\sin(t-b)\,dt +\frac{\sin(x-b)}{\sin(b-a)}\int_{a}^{x}F(t)\sin(t-a)\,dt}\)

         (b)  \(\dst{\int_{a}^{b}F(t)\sin(t-a)\,dt=0}\)

            \(y=-\dst{\sin(x-a)\int_{x}^{b}F(t)\cos(t-a)\,dt -\cos(x-a)\int_{a}^{x}F(t)\sin(t-a)\,dt}\)

            \(+c_{1}\sin(x-a)\) with \(c_{1}\) arbitrary

  8. Follow the instructions in Exercise 9 for the boundary value problem

    \[ y''+y=F(x),\quad y(a)=0,\quad y'(b)=0. \]
    Show answer

    (a)  \(b-a\ne(k+1/2)\pi\)  (\(k=\) integer)

            \(y=-\dst{ \frac{\sin(x-a)}{\cos(b-a)}\int_{x}^{b}F(t)\cos(t-b)\,dt- \frac{\cos(x-b)}{\cos(b-a)}\int_{x}^{b}F(t)\sin(t-a)\,dt}\)

         (b)  \(\dst{\int_{a}^{b}F(t)\sin(t-a)\,dt=0}\)

            \(y=-\dst{\sin(x-a)\int_{x}^{b}F(t)\cos(t-a)\,dt -\cos(x-a)\int_{a}^{x}F(t)\sin(t-a)\,dt}\)

            \(+c_{1}\sin(x-a)\) with \(c_{1}\) arbitrary

  9. Follow the instructions in Exercise 9 for the boundary value problem

    \[ y''+y=F(x),\quad y'(a)=0,\quad y'(b)=0. \]
    Show answer

    (a)  \(b-a\ne k\pi\) (\(k=\) integer)

            \(y=\dst{\frac{\cos(x-a)}{\sin(b-a)}\int_{x}^{b}F(t)\cos(t-b)\,dt+ \frac{\cos(x-b)}{\sin(b-a)}\int_{a}^{x}F(t)\cos(t-a)\,dt}\)

            (b) \(\dst{\int_{a}^{b}F(t)\cos(t-a)\,dt=0}\)

            \(y=\dst{\cos(x-a)\int_{x}^{b} F(t)\sin(t-a)\,dt +\sin(x-a)\int_{a}^{x} F(t)\cos(t-a)\,dt}\)

              \(+c_{1}\cos(x-a)\) with \(c_{1}\) arbitrary

In Exercises 1215 find a formula for the solution of the boundary problem by the method used to prove Theorem 13.1.3. Assume that \(a<b\).

  1. \(y''-y=F(x)\),  \(y(a)=0\),  \(y(b)=0\)

    Show answer

    \(y=\dst{\frac{\sinh(x-a)}{\sinh(b-a)}\int_{x}^{b}F(t)\sinh(t-b)\,dt +\frac{\sinh(x-b)}{\sinh(b-a)}\int_{a}^{x}F(t)\sinh(t-a)\,dt}\)

  2. \(y''-y=F(x)\),  \(y(a)=0\),  \(y'(b)=0\)

    Show answer

    \(y=\dst{-\frac{\sinh(x-a)}{\cosh(b-a)}\int_{x}^{b}F(t)\cosh(t-b)\,dt -\frac{\cosh(x-b)}{\cosh(b-a)}\int_{a}^{x}F(t)\sinh(t-a)\,dt}\)

  3. \(y''-y=F(x)\),  \(y'(a)=0\),  \(y'(b)=0\)

    Show answer

    \(y=-\dst{\frac{\cosh(x-a)}{\sinh(b-a)}\int_{x}^{b}F(t)\cosh(t-b)\,dt -\frac{\cosh(x-b)}{\sinh(b-a)}\int_{a}^{x}F(t)\cosh(t-a)\,dt}\)

  4. \(y''-y=F(x)\),  \(y(a)-y'(a)=0\),  \(y(b)+y'(b)=0\)

    Show answer

    \(y=-\dst{\frac{1}{2}\left( e^{x}\int_{x}^{b}e^{-t}F(t)\,dt+e^{-x}\int_{a}^{x}e^{t}F(t)\,dt\right)}\)

In Exercises 1619 find all values of \(\omega\) such that boundary problem has a unique solution, and find the solution by the method used to prove Theorem 13.1.3. For other values of \(\omega\), find conditions on \(F\) such that the problem has a solution, and find all solutions by the method used to prove Theorem 13.1.4.

  1. \(y''+ \omega^{2}y=F(x)\),  \(y(0)=0\),  \(y(\pi)=0\)

    Show answer

    If \(\omega\) isn’t a positive integer, then

           \(y=\dst{\frac{1}{\omega\sin\omega\pi} \left(\sin\omega x\int_{x}^{\pi}F(t)\sin\omega(t-\pi)\,dt +\sin\omega(x-\pi)\int_{0}^{x}F(t)\sin\omega t\,dt\right)}\).

         If \(\omega=n\) (positive integer), then \(\dst{\int_{0}^{\pi}F(t)\sin nt\,dt=0}\) is necessary for existence

         of a solution. In this case,

         \(y=-\dst{\frac{1}{n}\left(\sin nx\int_{x}^{\pi}F(t)\cos nt\,dt +\cos nx\int_{0}^{x} F(t)\sin nt\,dt\right) +c_{1}\sin nx}\)

         with \(c_{1}\) arbitrary.

  2. \(y''+ \omega^{2}y=F(x)\),  \(y(0)=0\),  \(y'(\pi)=0\)

    Show answer

    If \(\omega\ne n+1/2\)  (\(n=\) integer), then

    \[ y=-\frac{\sin\omega x}{\omega\cos\omega \pi}\int_{x}^{\pi}F(t)\cos\omega(t-\pi)\,dt -\frac{\cos\omega(x-\pi)}{\omega\cos\omega\pi}\int_{0}^{x}F(t)\sin\omega t\,dt. \]

         If \(\omega= n+1/2\) (\(n=\) integer), then \(\dst{\int_{0}^{\pi}F(t)\sin(n+1/2)t\,dt=0}\) is necessary

         for existence of a solution. In this case,

         \(y=-\dst{\frac{\sin(n+1/2)x}{n+1/2}\int_{x}^{\pi}F(t)\cos(n+1/2)t\,dt}\)

               \(-\dst{\frac{\cos(n+1/2)x}{n+/2}\int_{0}^{x}F(t)\sin(n+1/2)t\,dt +c_{1}\sin(n+1/2)x}\)

         with \(c_{1}\) arbitrary,

  3. \(y''+ \omega^{2}y=F(x)\),  \(y'(0)=0\),  \(y(\pi)=0\)

    Show answer

    If \(\omega\ne n+1/2\)  (\(n=\) integer), then

    \[ y=\frac{\cos\omega x}{\omega\cos\omega \pi}\int_{x}^{\pi}F(t)\sin\omega(t-\pi)\,dt +\frac{\sin\omega(x-\pi)}{\omega\cos\omega\pi}\int_{0}^{x}F(t)\cos\omega t\,dt. \]

         If \(\omega= n+1/2\) (\(n=\) integer), then \(\dst{\int_{0}^{\pi}F(t)\cos(n+1/2)t\,dt=0}\) is necessary

         for existence of a solution. In this case,

         \(y=\dst{\frac{\cos(n+1/2)x}{n+1/2}\int_{x}^{\pi}F(t)\sin(n+1/2)t\,dt}\)

               \(+\dst{\frac{\sin(n+1/2)x}{n+/2}\int_{0}^{x}F(t)\cos(n+1/2)t\,dt +c_{1}\cos(n+1/2)x}\)

         with \(c_{1}\) arbitrary.

  4. \(y''+ \omega^{2}y=F(x)\),  \(y'(0)=0\),  \(y'(\pi)=0\)

    Show answer

    If \(\omega\) isn’t a positive integer, then

        \(y=\dst{\frac{1}{\omega\sin\omega\pi} \left(\cos\omega x\int_{x}^{\pi}F(t)\cos\omega(t-\pi)\,dt +\cos\omega(x-\pi)\int_{0}^{x}F(t)\cos\omega t\,dt\right)}\).

         If \(\omega=n\) (positive integer), then \(\dst{\int_{0}^{\pi}F(t)\cos nt\,dt=0}\) is necessary for existence

         of a solution. In this case,

         \(y=-\dst{\frac{1}{n}\left(\cos nx\int_{x}^{\pi}F(t)\sin nt\,dt +\sin nx\int_{0}^{x} F(t)\cos nt\,dt\right) +c_{1}\cos nx}\)

         with \(c_{1}\) arbitrary.

  5. Let \(\{z_{1},z_{2}\}\) be a fundamental set of solutions of \(Ly=0\). Given that the homogeneous boundary value problem

    \[ Ly=0, \quad B_{1}(y)=0,\quad B_{2}(y)=0 \]

    has a nontrivial solution, express it explicity in terms of \(z_{1}\) and \(z_{2}\).

    Show answer

    \(y_{1}=B_{1}(z_{2})z_{1}-B_{1}(z_{1})z_{2}\)

  6. If the boundary value problem has a solution for every continuous \(F\), then find the Green’s function for the problem and use it to write an explicit formula for the solution. Otherwise, if the boundary value problem does not have a solution for every continuous \(F\), find a necessary and sufficient condition on \(F\) for the problem to have a solution, and find all solutions. Assume that \(a<b\).

    1. \(y''=F(x)\),   \(y(a)=0\),  \(y(b)=0\)

    2. \(y''=F(x)\),   \(y(a)=0\),  \(y'(b)=0\)

    3. \(y''=F(x)\),   \(y'(a)=0\),  \(y(b)=0\)

    4. \(y''=F(x)\),   \(y'(a)=0\),  \(y'(b)=0\)

    Show answer

    (a) \(G(x,t)= \begin{cases} \dst{\frac{(t-a)(x-b)}{b-a}} &a\le t\le x,\\[.11in] \dst{\frac{(x-a)(t-b)}{b-a)}}&x\le t\le b \end{cases}\)

         \(y=\dst{\frac{1}{b-a}\left((x-a)\int_{x}^{b}(t-b)F(t)\,dt+(x-b)\int_{a}^{x}(t-a)F(t)\,dt\right)}\)

       (b)  \(G(x,t)= \begin{cases} a-t & a\le t\le x\\ a-x &x\le t\le b \end{cases}\)   \(y=\dst{(a-x)\int_{x}^{b}F(t)\,dt+\int_{a}^{x}(a-t)F(t)\,dt}\)

       (c)  \(G(x,t)= \begin{cases} x-b & a\le t\le x\\ t-b &x\le t\le b \end{cases}\)   \(y=\dst{\int_{x}^{b}(t-b)F(t)\,dt+(x-b)\int_{a}^{x}F(t)\,dt}\)

       (d)  \(\dst{\int_{a}^{b}F(t)\,dt=0}\) is a necessary condition for existence of a solution. Then

            \(y=\dst{\int_{x}^{b}tF(t)\,dt+x\int_{a}^{x}F(t)\,dt+c_{1}}\) with \(c_{1}\) arbitrary.

  7. Find the Green’s function for the boundary value problem

    \begin{equation} y''=F(x), \quad y(0)-2y'(0)=0, \quad y(1)+2y'(1)=0. \tag{A} \end{equation}

    Then use the Green’s function to solve (A) with (a) \(F(x)=1\), (b) \(F(x)=x\), and (c) \(F(x)=x^{2}\).

    Show answer

    \(G(x,t)= \begin{cases} \dst{-\frac{(2+t)(3-x)}{5}},& 0\le t\le x,\\[.11in] -\dst{\frac{(2+x)(3-t)}{5}}, &x\le t\le 1 \end{cases}\)   (a) \(y=\dst{\frac{x^{2}-x-2}{2}}\)   (b) \(y=\dst{\frac{5x^{2}-7x-14}{30}}\)

        (c)\(\, y=\dst{\frac{5x^{4}-9x-18}{60}}\)

  8. Find the Green’s function for the boundary value problem

    \begin{equation} x^{2}y''+xy'+(x^{2}-1/4)y=F(x), \quad y(\pi/2)=0,\quad y(\pi)=0, \tag{A} \end{equation}

    given that

    \[ y_{1}(x)=\frac{\cos x}{\sqrt{x}} \text{\; and\; \; } y_{2}(x)=\frac{\sin x}{\sqrt{x}} \]

    are solutions of the complementary equation. Then use the Green’s function to solve (A) with (a) \(F(x)=x^{3/2}\) and (b) \(F(x)=x^{5/2}\).

    Show answer

    \(G(x,t)= \begin{cases} \dst{\frac{\cos t\sin x}{t^{3/2}\sqrt{x}}}, &\dst{\frac{\pi}{2}}\le t\le x,\\[.11in] \dst{\frac{\cos x\sin t}{t^{3/2}\sqrt{x}}}, &x\le t\le \pi \end{cases}\)

          (a)  \(y=\dst{\frac{1+\cos x-\sin x}{\sqrt x}}\)   (b)  \(y=\dst{\frac{x+\pi \cos x-\pi/2\sin x}{\sqrt x}}\)

  9. Find the Green’s function for the boundary value problem

    \begin{equation} x^{2}y''-2xy'+2y=F(x), \quad y(1)=0,\quad y(2)=0, \tag{A} \end{equation}

    given that \(\{x,x^{2}\}\) is a fundamental set of solutions of the complementary equation. Then use the Green’s function to solve (A) with (a) \(F(x)=2x^{3}\) and (b) \(F(x)~=~6x^{4}\).

    Show answer

    \(G(x,t)= \begin{cases} \dst{\frac{(t-1)x(x-2)}{t^{3}}},\; 1\le t\le x,\\[.11in] \dst{\frac{x(x-1)(t-2)}{t^{3}}},\; x\le t\le 2 \end{cases}\)

        (a) \(y=x(x-1)(x-2)\)  (b) \(y=x(x-1)(x-2)(x+3)\)

  10. Find the Green’s function for the boundary value problem

    \begin{equation} x^{2}y''+xy'-y=F(x), \quad y(1)-2y'(1)=0,\quad y'(2)=0, \tag{A} \end{equation}

    given that \(\{x,1/x\}\) is a fundamental set of solutions of the complementary equation. Then use the Green’s function to solve (A) with (a) \(F(x)=1\), (b) \(F(x)=x^{2}\), and (c) \(F(x)=x^{3}\).

    Show answer

    \(G(x,t)= \begin{cases} -\dst{\frac{1}{22}\left(3+\frac{1}{t^{2}}\right)\left(x+\frac{4}{x}\right)},&\; 1\le x\le t,\\[.11in] -\dst{\frac{1}{22}\left(3x+\frac{1}{x}\right)\left(1+\frac{4}{t^{2}}\right)},&\; x\le t\le 2 \end{cases}\)

        (a) \(y=\dst{\frac{x^{2}-11x+4}{11x}}\)  (b) \(y=\dst{\frac{11x^{3}-45x^{2}-4}{33x}}\)  (c) \(y=\dst{\frac{11x^{4}-139x^{2}-28}{88x}}\)

In Exercises 2630 find necessary and sufficient conditions on \(\alpha\), \(\beta\), \(\rho\), and \(\delta\) for the boundary value problem to have a unique solution for every continuous \(F\), and find the Green’s function.

  1. \(y''=F(x)\),   \(\alpha y(0)+\beta y'(0)=0\),   \(\rho y(1)+\delta y'(1)=0\)

    Show answer

    \(\alpha(\rho+\delta)-\beta\rho\ne0\)   \(G(x,t)= \begin{cases} \dst{\frac{(\beta-\alpha t)(\rho+\delta-\rho x)} {\alpha(\rho+\delta)-\beta\rho}}, \quad 0\le t\le x, \\[.11in] \dst{\frac{(\beta-\alpha x)(\rho+\delta-\rho t)} {\alpha(\rho+\delta)-\beta\rho}},\quad x\le t\le 1 \end{cases}\)

  2. \(y''+y=F(x)\),   \(\alpha y(0)+\beta y'(0)=0\),   \(\rho y(\pi)+\delta y'(\pi)=0\)

    Show answer

    \(\alpha\delta-\beta\rho\ne0\)   \(G(x,t)= \begin{cases} \dst{\frac{(\beta\cos t-\alpha\sin t)(\delta \cos x-\rho\sin x)} {\alpha\delta-\beta\rho}},\; &0\le t\le x,\\[.11in] \dst{\frac{(\beta\cos x-\alpha\sin x)(\delta \cos t-\rho\sin t)} {\alpha\delta-\beta\rho}},\; &x\le t\le \pi \end{cases}\)

  3. \(y''+y=F(x)\),   \(\alpha y(0)+\beta y'(0)=0\),   \(\rho y(\pi/2)+\delta y'(\pi/2)=0\)

    Show answer

    \(\alpha\rho+\beta\delta\ne0\)   \(G(x,t)= \begin{cases} \dst{\frac{(\beta\cos t-\alpha\sin t)(\rho\cos x+\delta\sin x)} {\alpha\rho+\beta\delta}}\; & x\le t\le \pi \\[.11in] \dst{\frac{(\beta\cos x-\alpha\sin x)(\rho\cos t+\delta\sin t)} {\alpha\rho+\beta\delta}}\; &0\le t\le x \end{cases}\)

  4. \(y''-2y'+2y=F(x)\),   \(\alpha y(0)+\beta y'(0)=0\),   \(\rho y(\pi)+\delta y'(\pi)=0\)

    Show answer

    \(\alpha\delta-\beta\rho\ne0\)   \(G(x,t)= \begin{cases} \dst{\frac{e^{x-t)}(\beta\cos t-(\alpha+\beta)\sin t) (\delta\cos x-(\rho+\delta)\sin x)}{\alpha\delta-\beta\rho}}\; &0\le t\le x, \\[.11in] \dst{\frac{e^{x-t}(\beta\cos x-(\alpha+\beta)\sin x) (\delta\cos t-(\rho+\delta)\sin t)}{\alpha\delta-\beta\rho}},\; &x\le t\le \pi \end{cases}\)

  5. \(y''-2y'+2y=F(x)\),   \(\alpha y(0)+\beta y'(0)=0\),   \(\rho y(\pi/2)+\delta y'(\pi/2)=0\)

    Show answer

    \(\beta \delta+(\alpha+\beta)(\rho+\delta)\ne0\)   \(G(x,t)= \begin{cases} \dst{\frac{e^{x-t}(\beta\cos t-(\alpha+\beta)\sin t) ((\rho+\delta)\cos x+\delta \sin x)} {\beta \delta+(\alpha+\beta)(\rho+\delta}},& 0\le t\le x, \\[.11in] \dst{\frac{e^{x-t}(\beta\cos x-(\alpha+\beta)\sin x) ((\rho+\delta)\cos t+\delta \sin t)} {\beta \delta+(\alpha+\beta)(\rho+\delta}}, &x\le t\le \pi/2 \end{cases}\)

  6. Find necessary and sufficient conditions on \(\alpha\), \(\beta\), \(\rho\), and \(\delta\) for the boundary value problem

    \begin{equation} y''-y=F(x), \quad \alpha y(a)+\beta y'(a)=0, \quad \rho y(b)+\delta y'(b)=0 \tag{A} \end{equation}

    to have a unique solution for every continuous \(F\), and find the Green’s function for (A). Assume that \(a<b\).

    Show answer

    \((\rho+\delta)(\alpha-\beta)e^{(b-a)}-(\rho-\delta)(\alpha+\beta)e^{(a-b)}\ne0\)

        \(G(x,t)= \begin{cases} \dst{\frac{((\alpha-\beta)e^{(t-a)}-(\alpha+\beta)e^{-(t-a)}) ((\rho-\delta)e^{(x-b)}-(\rho+\delta)e^{-(x-b)})} {2[(\rho+\delta)(\alpha-\beta)e^{(b-a)}-(\rho-\delta)(\alpha+\beta)e^{(a-b)}]}},\; &0\le t\le x,\\[.11in] \dst{\frac{((\alpha-\beta)e^{(x-a)}-(\alpha+\beta)e^{-(x-a)}) ((\rho-\delta)e^{(t-b)}-(\rho+\delta)e^{-(t-b)})} {2[(\rho+\delta)(\alpha-\beta)e^{(b-a)}-(\rho-\delta)(\alpha+\beta)e^{(a-b)}]}}\; &x\le t\le \pi \end{cases}\)

  7. Show that the assumptions of Theorem 13.1.3 imply that the unique solution of

    \[ Ly=F, \quad B_{1}(y)=k_{1},\quad B_{2}(y)=f_{2} \]

    is

    \[ y=\int_{a}^{b} G(x,t)F(t)\,dt +\frac{k_{2}}{B_{2}}(y_{1})y_{1} +\frac{k_{1}}{B_{1}(y_{2})}y_{2}. \]