HOME

HW 10 Mathematics 503, Mathematical Modeling, CSUF , July 17, 2007

Nasser M. Abbasi

October 8, 2025

Contents

1 Problem 4 page 225 section 4.1
2 Problem 8 page 225 section 4.1
3 Problem 3 page 225 section 4.1 (extra)

1 Problem 4 page 225 section 4.1

problem:

Consider SLP \(-y^{\prime \prime }=\lambda y\),   \(0<x<1\) with B.V. \(y\left ( 0\right ) +y^{\prime }\left ( 0\right ) =0,y\left ( 1\right ) =0\)

is \(\lambda =0\) an eigenvalue? are there negative eigenvalues? show that there are infinitely many positive eigenvalues by finding an equation whose roots are those eigenvalues and show graphically that there are infinity many root

answer:

The SLP has the form \(-\left ( p\left ( x\right ) y^{\prime }\right ) ^{\prime }+\left ( q\left ( x\right ) -\lambda \right ) y=0\) or \(-\left ( p\left ( x\right ) y^{\prime }\right ) ^{\prime }+q\left ( x\right ) y=\lambda y~\)for \(a\,<x<b\), where \(p\left ( x\right ) \) not zero function and does not change sign over the interval, hence we can assume it to be positive. If we compare this form to the given problem we see that \(p\left ( x\right ) =1\) and \(q\left ( x\right ) =0\)

Assume \(\lambda =0\), hence the ODE become \(-y^{\prime \prime }=0\) which has the solution \(y=Ax+B\) for some constants \(A,B\). Now lets see is this solution can satisfy the B,V, given.

\(y\left ( 1\right ) =0\rightarrow A+B=0\), and \(y\left ( 0\right ) +y^{\prime }\left ( 0\right ) =0\rightarrow A=0\), hence since \(A=0\), then \(B=0\) hence the only solution is \(y\left ( x\right ) =0\). Hence for non-trivial solution \(\lambda \neq 0\)

Now let us assume \(\lambda <0\). Assume \(y=Ae^{mx}\), hence the characteristic equation is \(-m^{2}=\lambda \) or \(m^{2}=-\lambda \), but since \(\lambda <0\), then \(m\) is a real quantity. Let \(-\lambda =\beta ^{2}\) where \(\beta \) is some non zero real constant, hence we have \(m=\pm \beta \) and so the solution is

\[ y=c_{1}e^{\beta x}+c_{2}e^{-\beta x}\]

Let see is this solution will satisfy the B.V. \(y\left ( 1\right ) =0\rightarrow 0=c_{1}e^{\beta }+c_{2}e^{-\beta }\), and \(y\left ( 0\right ) +y^{\prime }\left ( 0\right ) =0\rightarrow c_{2}+c_{1}=0\), hence \(c_{1}=-c_{2}\), and we have \(-c_{2}e^{\beta }+c_{2}e^{-\beta }=0\), hence \(c_{2}\left ( e^{-\beta }-e^{\beta }\right ) =0\), or but \(e^{-\beta }-e^{\beta }\neq 0\) (it is zero only if \(\beta =0\) but we have that \(\beta >0\)) then this means that \(c_{2}=0\). But this means that \(c_{1}=0\), which then means that the solution is again \(y\left ( x\right ) =0\). Therefore, for non-trivial solution, \(\lambda \) can not be negative.

Then then only choice left is for \(\lambda >0\)

. (We do not have to check for this, since we know that \(\lambda \) does not change sign) but for an exercise, let us verify it any way. As above, we obtain \(m^{2}=-\lambda \) but since \(\lambda >0\) then solution will now contain complex exponential since \(m=\pm i\sqrt {\lambda },\) then solution is (by writing\(\sqrt {\lambda }=\beta )\)

\[ y\left ( x\right ) =c_{1}\cos \left ( \beta x\right ) +c_{2}\sin \left ( \beta x\right ) \]

Verify B,V, The first one leads to

\begin{align} y\left ( 1\right ) & =0\nonumber \\ 0 & =c_{1}\cos \beta +c_{2}\sin \beta \tag {1}\end{align}

and the second one leads to, since \(y^{\prime }\left ( x\right ) =-c_{1}\beta \sin \beta x+c_{2}\beta \cos \beta x\), we obtain

\begin{align*} y\left ( 0\right ) +y^{\prime }\left ( 0\right ) & =0\\ c_{1}+c_{2}\beta & =0 \end{align*}

or \(c_{1}=-\beta c_{2}\), now substitute this in the first initial condition (1) we obtain

\begin{align} 0 & =-\beta c_{2}\cos \beta +c_{2}\sin \beta \nonumber \\ 0 & =c_{2}\left ( \sin \beta -\beta \cos \beta \right ) \tag {2}\end{align}

But if \(c_{2}=0\) this will lead to \(c_{1}=0\) also and to a trivial solution. Hence we need to consider \(\sin \beta -\beta \cos \beta =0\) or roots of

\[ \fbox {$\tan \beta -\beta =0$}\]

The roots are the intersection of \(\tan \left ( x\right ) \) with the line \(x\), graphically we see the roots occur close to multiplies of \(\frac {\pi }{2}\)

PIC

Or we can just plot the function \(\sin \beta -\beta \cos \beta \)

PIC

To find the roots, use a numerical root finder (Newton’s method), here are the first 10 positive roots (we do not pick the zero root, since \(\lambda \neq 0\))

PIC

Hence the square of the above is the list of the eigenvalues. Here are first few

PIC

Hence the eigenfunctions are

\[ v_{n}=\cos \left ( \sqrt {\lambda _{n}}x\right ) \]

and

\[ u_{n}=\sin \left ( \sqrt {\lambda _{n}}x\right ) \]

for \(n=1,2,3,\cdots \) where \(\sqrt {\lambda _{n}}\) is the root of \(\tan \sqrt {\lambda _{n}}-\sqrt {\lambda _{n}}=0\), and the first few \(\lambda _{n}\) are shown above.

\[ \fbox {$y_{n}\left ( x\right ) =\cos \left ( \sqrt {\lambda _{n}}x\right ) +\sin \left ( \sqrt {\lambda _{n}}x\right ) \ \ \ \ \ \ \ \ n=1,2,3,\cdots $}\]

Here is a plot of few solutions for \(n=1\cdots 9\)

PIC

2 Problem 8 page 225 section 4.1

problem:

Find eigenvalues and eigenfunctions for the problem \(-y^{\prime \prime }-2by^{\prime }=\lambda y\),   \(0<x<1\) \(,b>0\), and \(y(0)=y\left ( 1\right ) =0\)

answer:

The SLP has the form \(-\left ( p\left ( x\right ) y^{\prime }\right ) ^{\prime }+q\left ( x\right ) y=\lambda y\) for \(a\,<x<b\), where \(p\left ( x\right ) \) not zero function and does not change sign over the interval, hence we can assume it to be positive. If we compare this form to the given problem we see that \(p\left ( x\right ) =1\) and \(q\left ( x\right ) =-2b\) and since \(b>0\) then \(q\left ( x\right ) \) is always negative over this range

Assume \(\lambda =0\), hence the ODE become \(-y^{\prime \prime }-2by^{\prime }=0\) which has the characteristic equation \(-m^{2}-2bm=0\) or \(-m-2b=0\), hence \(m=2b\), then the solution is \(y=c_{1}xe^{2bx}+c_{2}e^{2bx}\). Now from \(y\left ( 0\right ) =0\rightarrow c_{2}=0\), and so \(y=c_{1}xe^{2bc}\), Now from \(y\left ( 1\right ) =0\rightarrow 0=c_{1}e^{2b}\), but \(e^{2b}\neq 0\) hence \(c_{1}=0\), hence we obtain trivial solution \(y=0\), hence for non-trivial solution \(\lambda \neq 0\) .

Now \(-y^{\prime \prime }-2by^{\prime }=\lambda y\), and the characteristic equation is \(m^{2}+2bm+\lambda =0\), hence \(m=\frac {-2\left ( b\right ) \pm \sqrt {4b^{2}-4\lambda }}{2}\), hence \(m=-b\pm \sqrt {b^{2}-\lambda }\). There are 3 cases: \(b^{2}-\lambda <0\) and \(b^{2}-\lambda =0\) and \(b^{2}-\lambda >0.\)

When \(b^{2}-\lambda >0\), we have \(m\) will be real. Hence the solution will be of the form \(y=c_{1}e^{mx}+c_{2}e^{-mx}\), where \(m\) is real. Now let see if we can satisfy the boundary conditions. From \(y\left ( 0\right ) =0\rightarrow c_{1}+c_{2}=0\), and from \(y\left ( 1\right ) =0\rightarrow 0=c_{1}e^{m}+c_{2}e^{-m}\), hence \(0=c_{1}\left ( e^{m}-e^{-m}\right ) \), but this means \(c_{1}=0\) since \(m\) is not zero. This leads to \(c_{2}=0\) which leads to trivial solution \(y=0\). Therefore \(b^{2}-\lambda >0\) is not possible choice.

When \(b^{2}-\lambda =0\), hence \(m=-b\), then the solution is \(y=c_{1}xe^{-bx}+c_{2}e^{-bx}\), and by similar argument as above for the case of \(\lambda =0\), we conclude that it is not possible to have \(b^{2}-\lambda =0\)

Hence \(b^{2}-\lambda <0\) or \(\lambda >b^{2}\)\(.\) In other words, \(\lambda \) is positive and must be greater than \(b^{2}\). Let \(b^{2}-\lambda =-k^{2}\) for \(k\) real and nonzero. Hence

\[ m=-b\pm ik \]

and the solution is

\[ y\left ( x\right ) =e^{-bx}\left ( c_{1}\cos kx+c_{2}\sin kx\right ) \]

at \(y\left ( 0\right ) =0\rightarrow \)\(0=c_{1}\) and \(y\left ( 1\right ) =0\rightarrow \)\(0=e^{-b}c_{2}\sin k\)

Hence for non-trivial solution,

\[ \sin k=0 \]

or \(k=n\pi \) or \(k^{2}\) \(=n^{2}\pi ^{2}\). But \(k^{2}=\lambda -b^{2}\) Hence \(\lambda _{n}-b^{2}=n^{2}\pi ^{2}\). Now since \(\lambda >b^{2}\) we can eliminate that \(n=0\) case. Then we have

\[ \fbox {$\lambda _{n}=b^{2}+n^{2}\pi ^{2}\ \ \ \ \ \ \ \ n=1,2,3,\cdots $}\]

Hence \(\lambda _{1}=b^{2}+\pi ^{2},\lambda _{2}=b^{2}+4\pi ^{2}\ ,\cdots \)

So the eigenfunctions are

\[ u_{n}=\sin k_{n}x \]

where \(k_{n}=\sqrt {\lambda _{n}-b^{2}}\)

So the \(y_{n}\left ( x\right ) \) solution is

\begin{align*} y\left ( x\right ) & =e^{-bx}u_{n}\ \ \ \ \ \ \ n=1,2,3,\cdots \\ & \fbox {$y_{n}\left ( x\right ) =e^{-bx}\sin \left ( \sqrt {\lambda _{n}-b^{2}}x\right ) $}\end{align*}

3 Problem 3 page 225 section 4.1  (extra)

problem:

Find eigenvalues and eigenfunctions for the problem with periodic boundary conditions \(-y^{\prime \prime }=\lambda y\),   \(0<x<L\) and \(y(0)=y\left ( L\right ) ,y^{\prime }\left ( 0\right ) =y^{\prime }\left ( L\right ) \)

answer:

The SLP has the form \(-\left ( p\left ( x\right ) y^{\prime }\right ) ^{\prime }+q\left ( x\right ) y=\lambda y~\)for \(a\,<x<b\), where \(p\left ( x\right ) \) not zero function and does not change sign over the interval, hence we can assume it to be positive. If we compare this form to the given problem we see that \(p\left ( x\right ) =1\) and \(q\left ( x\right ) =0\)

Assume \(\lambda =0\), hence we have \(y^{\prime \prime }=0\) or \(y\left ( x\right ) =Ax+B\). Now to satisfy \(y(0)=y\left ( L\right ) \,\)we must have \(B=AL+B\) which implies \(A=0\), hence \(y\left ( x\right ) =B\). Now this solution does satisfy \(y^{\prime }\left ( 0\right ) =y^{\prime }\left ( L\right ) \) since \(y^{\prime }\left ( 0\right ) =0\) and \(y^{\prime }\left ( L\right ) =0\ \)hence \(\lambda =0\) is an eigenvalue.

Now Assume \(\lambda <0\). Hence \(y^{\prime \prime }+\lambda y=0\) and characteristic equation is \(m^{2}+\lambda =0\) or \(m^{2}=-\lambda \), since \(\lambda <0\), then \(-\lambda \) is positive, hence this leads to solution of \(y=c_{1}e^{mx}+c_{2}e^{-mx}\) where \(m\) is real. Now to satisfy \(y(0)=y\left ( L\right ) \,\)we must have

\begin{equation} c_{1}+c_{2}=c_{1}e^{mL}+c_{2}e^{-mL} \tag {1}\end{equation}

and to satisfy \(y^{\prime }\left ( 0\right ) =y^{\prime }\left ( L\right ) \) we must have, since \(y^{\prime }\left ( x\right ) =\) \(c_{1}me^{mx}-c_{2}me^{-mx}\) that

\begin{equation} c_{1}m-c_{2}m=c_{1}me^{mL}-c_{2}me^{-mL}\nonumber \end{equation}

Since \(\lambda \neq 0\) in this case, then \(m\neq 0\) so we can divide by \(m\) and obtain

\begin{equation} c_{1}-c_{2}=c_{1}e^{mL}-c_{2}e^{-mL} \tag {2}\end{equation}

add (1)+(2) we have

\(2c_{1}=2c_{1}e^{mL}\) or \(e^{mL}=1\) hence \(mL=0\) or \(m=0\) which contradicts our assumption that \(\lambda \neq 0\). So \(\lambda <0\) is not possible.

Now assume \(\lambda >0\)

, Hence \(y^{\prime \prime }+\lambda y=0\) and characteristic equation is \(m^{2}+\lambda =0\) or \(m^{2}=-\lambda \), since \(\lambda >0\), then \(m\) is complex„ hence \(m=\pm i\sqrt {\lambda }\) and this leads to solution of (by letting \(\beta =\sqrt {\lambda }\))

\[ \fbox {$y=c_{1}\sin \beta x+c_{2}\cos \beta x$}\]

Now to satisfy \(y(0)=y\left ( L\right ) \,\)we must have

\begin{align} c_{2} & =c_{1}\sin \beta L+c_{2}\cos \beta L\nonumber \\ c_{2}\left ( 1-\cos \beta L\right ) & =c_{1}\sin \beta L\nonumber \\ c_{1} & =c_{2}\frac {\left ( 1-\cos \beta L\right ) }{\sin \beta L} \tag {3}\end{align}

and to satisfy \(y^{\prime }\left ( 0\right ) =y^{\prime }\left ( L\right ) \) we must have, since

\[ y^{\prime }\left ( x\right ) =c_{1}\beta \cos \beta x-c_{2}\beta \sin \beta x \]

that

\begin{equation} c_{1}\beta =c_{1}\beta \cos \beta L-c_{2}\beta \sin \beta L \tag {4}\end{equation}

Substitute (3) into (4) we have

\begin{multline*} c_{2}\frac {\left ( 1-\cos \beta L\right ) }{\sin \beta L}\beta =c_{2}\frac {\left ( 1-\cos \beta L\right ) }{\sin \beta L}\beta \cos \beta L-c_{2}\beta \sin \beta L\\ c_{2}\left ( \frac {\left ( 1-\cos \beta L\right ) }{\sin \beta L}\sqrt {\lambda }-\frac {\left ( 1-\cos \beta L\right ) }{\sin \beta L}\beta \cos \beta L+\beta \sin \beta L\right ) =0 \end{multline*}

Since \(\sqrt {\lambda }\neq 0\) the above becomes

\[ c_{2}\left ( \left ( 1-\cos \beta L\right ) -\left ( 1-\cos \beta L\right ) \cos \beta L+\sin ^{2}\beta L\right ) =0 \]

Now \(c_{2}\neq 0\) else this makes \(c_{1}=0\) also and we obtain trivial solution. Hence we must have

\begin{align*} \left ( 1-\cos \beta L\right ) -\left ( 1-\cos \beta L\right ) \cos \beta L+\sin ^{2}\beta L & =0\\ \left ( 1-\cos \beta L\right ) -\left ( \cos \beta L-\cos ^{2}\beta L\right ) +\sin ^{2}\beta L & =0\\ 1-\cos \beta L-\cos \beta L+\cos ^{2}\beta L+\sin ^{2}\beta L & =0\\ 1-\cos \beta L-\cos \beta L\overset {1}{\overbrace {+\left ( \cos ^{2}\beta L+\sin ^{2}\beta L\right ) }} & =0\\ 2-2\cos \beta L & =0 \end{align*}

Hence

\[ \cos \beta L=1 \]

or

\[ \beta L=2n\pi \ \ \ \ \ \ n=1,2,3,\ldots \]

Hence

\[ \lambda _{n}=\left ( \frac {2n\pi }{L}\right ) ^{2}\ \ \ \ \ n=1,2,3,\ldots \]

Hence the eigenfunctions are \(\,v_{n}\left ( x\right ) =\sin \beta _{n}x\) and \(u_{n}=\cos \beta _{n}x\)

For \(\lambda _{0}=0\), \(v_{1}\left ( x\right ) =0\) and \(u_{n}=1\rightarrow \)\(y_{0}\left ( x\right ) =1\)

For \(\lambda _{1}=1,2,3,\cdots \) \(\rightarrow v_{1}\left ( x\right ) =\sin \frac {2n\pi }{L}x\) and \(u_{n}=\cos \frac {2n\pi }{L}x\rightarrow \)\(y_{n}\left ( x\right ) =c_{1}\sin \frac {2n\pi }{L}x+c_{2}\cos \frac {2n\pi }{L}x\)

this is a plot of few eigenfunctions \(v_{n},u_{n}\) and the complete solution \(y_{n}=u_{n}+v_{n}\) for first few eigenvalues

PIC