3.1 HW1

  3.1.1 problem 3.3 (page 138)
  3.1.2 problem 3.4
  3.1.3 Problem 3.6
  3.1.4 Problem 3.7
  3.1.5 Problem 3.8
  3.1.6 Problem 3.24
  3.1.7 key solution of selected problems
PDF (letter size)
PDF (legal size)

3.1.1 problem 3.3 (page 138)

   3.1.1.1 Part c
   3.1.1.2 Part (d)

3.1.1.1 Part c

problem Classify all the singular points (finite and infinite) of the following

\[ x\left ( 1-x\right ) y^{\prime \prime }+\left ( c-\left ( a+b+1\right ) x\right ) y^{\prime }-aby=0 \] Answer

Writing the DE in standard form\begin{align*} y^{\prime \prime }+p\left ( x\right ) y^{\prime }+q\left ( x\right ) y & =0\\ y^{\prime \prime }+\frac{c-\left ( a+b+1\right ) x}{x\left ( 1-x\right ) }y^{\prime }-\frac{ab}{x\left ( 1-x\right ) }y & =0\\ y^{\prime \prime }+\overset{p\left ( x\right ) }{\overbrace{\left ( \frac{c}{x\left ( 1-x\right ) }-\frac{\left ( a+b+1\right ) }{\left ( 1-x\right ) }\right ) }}y^{\prime }-\overset{q\left ( x\right ) }{\overbrace{\frac{ab}{x\left ( 1-x\right ) }}}y & =0 \end{align*}

\(x=0,1\) are singular points for \(p\left ( x\right ) \) as well as for \(q\left ( x\right ) \). Now we classify what type of singularity each point is. For \(p\left ( x\right ) \)\begin{align*} \lim _{x\rightarrow 0}xp\left ( x\right ) & =\lim _{x\rightarrow 0}x\left ( \frac{c}{x\left ( 1-x\right ) }-\frac{\left ( a+b+1\right ) }{\left ( 1-x\right ) }\right ) \\ & =\lim _{x\rightarrow 0}\left ( \frac{c}{\left ( 1-x\right ) }-\frac{x\left ( a+b+1\right ) }{\left ( 1-x\right ) }\right ) \\ & =c \end{align*}

Hence \(xp\left ( x\right ) \) is analytic at \(x=0\). Therefore \(x=0\) is regular singularity point. Now we check for \(q\left ( x\right ) \)\begin{align*} \lim _{x\rightarrow 0}x^{2}q\left ( x\right ) & =\lim _{x\rightarrow 0}x^{2}\frac{-ab}{x\left ( 1-x\right ) }\\ & =\lim _{x\rightarrow 0}\frac{-xab}{\left ( 1-x\right ) }\\ & =0 \end{align*}

Hence \(x^{2}q\left ( x\right ) \) is also analytic at \(x=0\). Therefore \(x=0\) is regular singularity point.  Now we look at \(x=1\) and classify it. For \(p\left ( x\right ) \)\begin{align*} \lim _{x\rightarrow 1}\left ( x-1\right ) p\left ( x\right ) & =\lim _{x\rightarrow 1}\left ( x-1\right ) \left ( \frac{c}{x\left ( 1-x\right ) }-\frac{\left ( a+b+1\right ) }{\left ( 1-x\right ) }\right ) \\ & =\lim _{x\rightarrow 1}\left ( x-1\right ) \left ( \frac{-c}{x\left ( x-1\right ) }+\frac{\left ( a+b+1\right ) }{\left ( x-1\right ) }\right ) \\ & =\lim _{x\rightarrow 1}\left ( \frac{-c}{x}+\left ( a+b+1\right ) \right ) \\ & =-c+\left ( a+b+1\right ) \end{align*}

Hence \(\left ( x-1\right ) p\left ( x\right ) \) is analytic at \(x=1\). Therefore \(x=1\) is regular singularity point. Now we check for \(q\left ( x\right ) \)\begin{align*} \lim _{x\rightarrow 1}\left ( x-1\right ) ^{2}q\left ( x\right ) & =\lim _{x\rightarrow 1}\left ( x-1\right ) ^{2}\left ( \frac{-ab}{x\left ( 1-x\right ) }\right ) \\ & =\lim _{x\rightarrow 1}\left ( x-1\right ) ^{2}\left ( \frac{ab}{x\left ( x-1\right ) }\right ) \\ & =\lim _{x\rightarrow 1}\left ( x-1\right ) \left ( \frac{ab}{x}\right ) \\ & =0 \end{align*}

Hence \(\left ( x-1\right ) ^{2}q\left ( x\right ) \) is analytic also at \(x=1\). Therefore \(x=1\) is regular singularity point. Therefore \(x=0,1\) are regular singular points for the ODE. Now we check for \(x\) at \(\infty \). To check the type of singularity, if any, at \(x=\infty \), the DE is first transformed using \begin{equation} x=\frac{1}{t} \tag{1} \end{equation} This transformation will always results in 1 new ODE in \(t\) of this form\begin{equation} \frac{d^{2}y}{dt^{2}}+\frac{\left ( -p\left ( t\right ) +2t\right ) }{t^{2}}+\frac{q\left ( t\right ) }{t^{4}}y=0 \tag{2} \end{equation} But \begin{align} p\left ( t\right ) & =\left . p\left ( x\right ) \right \vert _{x=\frac{1}{t}}=\left ( \frac{c-\left ( a+b+1\right ) x}{x\left ( 1-x\right ) }\right ) _{x=\frac{1}{t}}\nonumber \\ & =\left ( \frac{c-\left ( a+b+1\right ) \frac{1}{t}}{\frac{1}{t}\left ( 1-\frac{1}{t}\right ) }\right ) \nonumber \\ & =\frac{ct^{2}-t\left ( a+b+1\right ) }{\left ( t-1\right ) } \tag{3} \end{align}

And\begin{align} q\left ( t\right ) & =\left . q\left ( x\right ) \right \vert _{x=\frac{1}{t}}=\left ( -\frac{ab}{x\left ( 1-x\right ) }\right ) _{x=\frac{1}{t}}\nonumber \\ & =-\frac{ab}{\frac{1}{t}\left ( 1-\frac{1}{t}\right ) }\nonumber \\ & =-\frac{abt^{2}}{\left ( t-1\right ) } \tag{4} \end{align}

Substituting equations (3,4) into (2) gives\begin{align*} y^{\prime \prime }+\frac{\left ( -\left ( \frac{ct^{2}-t\left ( a+b+1\right ) }{\left ( t-1\right ) }\right ) +2t\right ) }{t^{2}}+\frac{\left ( -\frac{abt^{2}}{\left ( t-1\right ) }\right ) }{t^{4}}y & =0\\ y^{\prime \prime }+\frac{\left ( 2t\left ( t-1\right ) -t^{2}c+\left ( a+b+1\right ) t\right ) }{t^{2}\left ( t-1\right ) }y^{\prime }-\frac{ab}{t^{2}\left ( t-1\right ) }y & =0 \end{align*}

Expanding\[ y^{\prime \prime }+\overset{p\left ( t\right ) }{\overbrace{\left ( \frac{2t-1-tc+a+b}{t\left ( t-1\right ) }\right ) }}y^{\prime }-\overset{q\left ( t\right ) }{\overbrace{\frac{ab}{t^{2}\left ( t-1\right ) }}}y=0 \] We see that \(t=0\) (this means \(x=\infty \)) is singular point for both \(p\left ( x\right ) ,q\left ( x\right ) \). Now we check what type it is. For \(p\left ( t\right ) \)\begin{align*} \lim _{t\rightarrow 0}tp\left ( t\right ) & =\lim _{t\rightarrow 0}t\left ( \frac{2}{t}-\frac{c}{\left ( t-1\right ) }+\frac{\left ( a+b+1\right ) }{t\left ( t-1\right ) }\right ) \\ & =\lim _{t\rightarrow 0}\left ( 2-\frac{tc}{\left ( t-1\right ) }+\frac{\left ( a+b+1\right ) }{\left ( t-1\right ) }\right ) \\ & =1-a-b \end{align*}

\(tp\left ( t\right ) \) is therefore analytic at \(t=0\). Hence \(t=0\) is regular singular point. Now we check for \(q\left ( t\right ) \)\begin{align*} \lim _{t\rightarrow 0}t^{2}q\left ( t\right ) & =\lim _{t\rightarrow 0}t^{2}\left ( -\frac{ab}{t^{2}\left ( t-1\right ) }\right ) \\ & =\lim _{t\rightarrow 0}\left ( \frac{-ab}{\left ( t-1\right ) }\right ) \\ & =ab \end{align*}

\(t^{2}q\left ( t\right ) \) is therefore analytic at \(t=0\). Hence \(t=0\) is regular singular point for \(q\left ( t\right ) \). Therefore \(t=0\) is regular singular point which mean that \(x\rightarrow \infty \) is a regular singular point for the ODE.

Summary

Singular points are \(x=0,1\). Both are regular singular points. Also \(x=\infty \) is regular singular point.

3.1.1.2 Part (d)

Problem Classify all the singular points (finite and infinite) of the following\[ xy^{\prime \prime }+\left ( b-x\right ) y^{\prime }-ay=0 \] solution

Writing the ODE in standard for\[ y^{\prime \prime }+\frac{\left ( b-x\right ) }{x}y^{\prime }-\frac{a}{x}y=0 \] We see that \(x=0\) is singularity point for both \(p\left ( x\right ) \) and \(q\left ( x\right ) \). Now we check its type. For \(p\left ( x\right ) \)\begin{align*} \lim _{x\rightarrow 0}xp\left ( x\right ) & =\lim _{x\rightarrow 0}x\frac{\left ( b-x\right ) }{x}\\ & =b \end{align*}

Hence \(xp\left ( x\right ) \) is analytic at \(x=0\). Therefore \(x=0\) is regular singularity point for \(p\left ( x\right ) \). For \(q\left ( x\right ) \)\begin{align*} \lim _{x\rightarrow 0}x^{2}q\left ( x\right ) & =\lim _{x\rightarrow 0}x^{2}\left ( \frac{-a}{x}\right ) \\ & =\lim _{x\rightarrow 0}\left ( -ax\right ) \\ & =0 \end{align*}

Hence \(x^{2}q\left ( x\right ) \) is analytic at \(x=0\). Therefore \(x=0\) is regular singularity point for \(q\left ( x\right ) \).

Now we check for \(x\) at \(\infty \). To check the type of singularity, if any, at \(x=\infty \), the DE is first transformed using \begin{equation} x=\frac{1}{t} \tag{1} \end{equation} This results in (as was done in above part)\[ \frac{d^{2}y}{dt^{2}}+\frac{\left ( -p\left ( t\right ) +2t\right ) }{t^{2}}+\frac{q\left ( t\right ) }{t^{4}}y=0 \] Where \begin{align*} p\left ( t\right ) & =\left . \frac{\left ( b-x\right ) }{x}\right \vert _{x=\frac{1}{t}}\\ & =\frac{\left ( b-\frac{1}{t}\right ) }{\frac{1}{t}}\\ & =\left ( bt-1\right ) \end{align*}

And \(q\left ( t\right ) =-\frac{a}{x}=-at\) Hence the new ODE is\begin{align*} \frac{d^{2}y}{dt^{2}}+\frac{\left ( -\left ( bt-1\right ) +2t\right ) }{t^{2}}-\frac{at}{t^{4}}y & =0\\ \frac{d^{2}y}{dt^{2}}+\frac{-bt+1+2t}{t^{2}}-\frac{a}{t^{3}}y & =0 \end{align*}

Therefore \(t=0\) (or \(x=\infty \)) is singular point. Now we will find the singularity type\begin{align*} \lim _{t\rightarrow 0}tp\left ( t\right ) & =\lim _{t\rightarrow 0}t\left ( \frac{-bt+1+2t}{t^{2}}\right ) \\ & =\lim _{t\rightarrow 0}\left ( \frac{-bt+1+2t}{t}\right ) \\ & =\infty \end{align*}

Hence \(tp\left ( t\right ) \) is not analytic, since the limit do not exist, which means \(t=0\) is an irregular singular point for \(p\left ( t\right ) \,.\) We can stop here, but will also check for \(q\left ( t\right ) \)\begin{align*} \lim _{t\rightarrow 0}t^{2}q\left ( t\right ) & =\lim _{t\rightarrow 0}t^{2}\left ( -\frac{a}{t^{3}}\right ) \\ & =\lim _{t\rightarrow 0}\left ( -\frac{a}{t}\right ) \\ & =\infty \end{align*}

Therefore, \(t=0\) is irregular singular point, which means \(x=\infty \) is an irregular singular point.

Summary

\(x=0\) is regular singular point. \(x=\infty \) is an irregular singular point.

3.1.2 problem 3.4

   3.1.2.1 part d
   3.1.2.2 Part e

3.1.2.1 part d

problem Classify \(x=0\) and \(x=\infty \) of the following\[ x^{2}y^{\prime \prime }=ye^{\frac{1}{x}}\] Answer

In standard form\[ y^{\prime \prime }-\frac{e^{\frac{1}{x}}}{x^{2}}y=0 \] Hence \(p\left ( x\right ) =0,q\left ( x\right ) =-\frac{e^{\frac{1}{x}}}{x^{2}}\). The singularity is \(x=0\). We need to check on \(q\left ( x\right ) \) only.\begin{align*} \lim _{x\rightarrow 0}x^{2}q\left ( x\right ) & =\lim _{x\rightarrow 0}x^{2}\left ( -\frac{e^{\frac{1}{x}}}{x^{2}}\right ) \\ & =\lim _{x\rightarrow 0}\left ( -e^{\frac{1}{x}}\right ) \end{align*}

The above is not analytic, since \(\lim _{x\rightarrow 0^{+}}\left ( -e^{\frac{1}{x}}\right ) =\infty \) while \(\lim _{x\rightarrow 0^{-}}\left ( -e^{\frac{1}{x}}\right ) =0\). This means \(e^{\frac{1}{x}}\) is not differentiable at \(x=0\). Here is plot \(e^{\frac{1}{x}}\) near \(x=0\)

pict

Therefore \(x=0\) is an irregular singular point. We now convert the ODE using \(x=\frac{1}{t}\) in order to check what happens at \(x=\infty \). This results in (as was done in above part)\[ \frac{d^{2}y}{dt^{2}}+\frac{q\left ( t\right ) }{t^{4}}y=0 \] But \begin{align*} q\left ( t\right ) & =\left . q\left ( x\right ) \right \vert _{x=\frac{1}{t}}\\ & =\left ( -\frac{e^{\frac{1}{x}}}{x^{2}}\right ) _{x=\frac{1}{t}}\\ & =-t^{2}e^{t} \end{align*}

Hence the ODE becomes\begin{align*} y^{\prime \prime }-\frac{-t^{2}e^{t}}{t^{4}}y & =0\\ y^{\prime \prime }+\frac{e^{t}}{t^{2}}y & =0 \end{align*}

We now check \(q\left ( t\right ) \).\begin{align*} \lim _{t\rightarrow 0}t^{2}q\left ( t\right ) & =\lim _{t\rightarrow 0}t^{2}\frac{e^{t}}{t^{2}}\\ & =\lim _{t\rightarrow 0}e^{t}\\ & =1 \end{align*}

This is analytic. Hence \(t=0\) is regular singular point, which means \(x=\infty \) is regular singular point.

Summary \(x=0\) is irregular singular point, \(x=\infty \) is regular singular point.

3.1.2.2 Part e

problem

Classify \(x=0\) and \(x=\infty \) of the following\[ \left ( \tan x\right ) y^{\prime }=y \] Answer\[ y^{\prime }-\frac{1}{\tan x}y=0 \] The function \(\tan x\) looks like

pict

Therefore, \(\tan \left ( x\right ) \) is not analytic at \(x=\left ( n-\frac{1}{2}\right ) \pi \) for \(n\in \mathbb{Z} \). Hence the function \(\frac{1}{\tan \left ( x\right ) }\) is not analytic at \(x=n\pi \) as seen in this plot

pict

Hence singular points are \(x=\left \{ \cdots ,-2\pi ,-\pi ,0,\pi ,2\pi ,\cdots \right \} \). Looking at \(x=0\)\begin{align*} \lim _{x\rightarrow 0}xp\left ( x\right ) & =\lim _{x\rightarrow 0}\left ( x\frac{1}{\tan \left ( x\right ) }\right ) \\ & =\lim _{x\rightarrow 0}\left ( \frac{\frac{dx}{dx}}{\frac{d\tan \left ( x\right ) }{dx}}\right ) \\ & =\lim _{x\rightarrow 0}\frac{1}{\sec ^{2}x}\\ & =\lim _{x\rightarrow 0}\cos ^{2}x\\ & =1 \end{align*}

Therefore the point \(x=0\) is regular singular point. To classify \(x=\infty \), we use \(x=\frac{1}{t}\) substitution. \(\frac{d}{dx}=\frac{d}{dt}\frac{dt}{dx}=-t^{2}\frac{d}{dt}\) and the ODE becomes\begin{align*} \left ( -t^{2}\frac{d}{dt}\right ) y-\frac{1}{\tan \left ( \frac{1}{t}\right ) }y & =0\\ -t^{2}y^{\prime }-\frac{1}{\tan \left ( \frac{1}{t}\right ) }y & =0\\ y^{\prime }+\frac{1}{t^{2}\tan \left ( \frac{1}{t}\right ) }y & =0 \end{align*}

Hence\[ p\left ( t\right ) =\frac{1}{t^{2}\tan \left ( \frac{1}{t}\right ) }\] This function has singularity at \(t=0\) and at \(t=\frac{1}{n\pi }\) for \(n\in \mathbb{Z} \). We just need to consider \(t=0\) since this maps to \(x=\infty \). Hence \begin{align*} \lim _{t\rightarrow 0}tp\left ( t\right ) & =\lim _{t\rightarrow 0}\left ( t\frac{1}{t^{2}\tan \left ( \frac{1}{t}\right ) }\right ) \\ & =\lim _{t\rightarrow 0}\left ( \frac{1}{t\tan \left ( \frac{1}{t}\right ) }\right ) \\ & =\lim _{t\rightarrow 0}\left ( \frac{\frac{1}{t}}{\tan \left ( \frac{1}{t}\right ) }\right ) \underset{\text{L'hopitals}}{\rightarrow }\lim _{t\rightarrow 0}\left ( \frac{-\frac{1}{t^{2}}}{-\frac{\sec ^{2}\left ( \frac{1}{t}\right ) }{t^{2}}}\right ) \\ & =\lim _{t\rightarrow 0}\left ( \frac{1}{\sec ^{2}\left ( \frac{1}{t}\right ) }\right ) \\ & =\lim _{t\rightarrow 0}\left ( \cos ^{2}\left ( \frac{1}{t}\right ) \right ) \end{align*}

The following is a plot of \(\cos ^{2}\left ( \frac{1}{t}\right ) \) as \(t\) goes to zero.

pict

This is the same as asking for \(\lim _{x\rightarrow \infty }\cos ^{2}\left ( x\right ) \) which does not exist, since \(\cos \left ( x\right ) \) keeps oscillating, hence it has no limit. Therefore, we conclude that \(tp\left ( t\right ) \) is not analytic at \(t=0\), hence \(t\) is irregular singular point, which means \(x=\infty \) is an irregular singular point.

Summary

\(x=0\) is regular singular point and \(x=\infty \) is an irregular singular point

3.1.3 Problem 3.6

   3.1.3.1 part b

3.1.3.1 part b

Problem Find the Taylor series expansion about \(x=0\) of the solution to the initial value problem\begin{align*} y^{\prime \prime }-2xy^{\prime }+8y & =0\\ y\left ( 0\right ) & =0\\ y^{\prime }\left ( 0\right ) & =4 \end{align*}

solution

Since \(x=0\) is ordinary point, then we can use power series solution\[ y\left ( x\right ) =\sum _{n=0}^{\infty }a_{n}x^{n}\] Hence\begin{align*} y^{\prime }\left ( x\right ) & =\sum _{n=0}^{\infty }na_{n}x^{n-1}=\sum _{n=1}^{\infty }na_{n}x^{n-1}=\sum _{n=0}^{\infty }\left ( n+1\right ) a_{n+1}x^{n}\\ y^{\prime \prime }\left ( x\right ) & =\sum _{n=0}^{\infty }n\left ( n+1\right ) a_{n+1}x^{n-1}=\sum _{n=1}^{\infty }n\left ( n+1\right ) a_{n+1}x^{n-1}=\sum _{n=0}^{\infty }\left ( n+1\right ) \left ( n+2\right ) a_{n+2}x^{n} \end{align*}

Therefore the ODE becomes\begin{align*} \sum _{n=0}^{\infty }\left ( n+1\right ) \left ( n+2\right ) a_{n+2}x^{n}-2x\sum _{n=0}^{\infty }\left ( n+1\right ) a_{n+1}x^{n}+8\sum _{n=0}^{\infty }a_{n}x^{n} & =0\\ \sum _{n=0}^{\infty }\left ( n+1\right ) \left ( n+2\right ) a_{n+2}x^{n}-\sum _{n=0}^{\infty }2\left ( n+1\right ) a_{n+1}x^{n+1}+\sum _{n=0}^{\infty }8a_{n}x^{n} & =0\\ \sum _{n=0}^{\infty }\left ( n+1\right ) \left ( n+2\right ) a_{n+2}x^{n}-\sum _{n=1}^{\infty }2na_{n}x^{n}+\sum _{n=0}^{\infty }8a_{n}x^{n} & =0 \end{align*}

Hence, for \(n=0\) we obtain\begin{align*} \left ( n+1\right ) \left ( n+2\right ) a_{n+2}x^{n}+8a_{n}x^{n} & =0\\ 2a_{2}+8a_{0} & =0\\ a_{2} & =-4a_{0} \end{align*}

For \(n\geq 1\)\begin{align*} \left ( n+1\right ) \left ( n+2\right ) a_{n+2}-2na_{n}+8a_{n} & =0\\ a_{n+2} & =\frac{2na_{n}-8a_{n}}{\left ( n+1\right ) \left ( n+2\right ) }\\ & =\frac{a_{n}\left ( 2n-8\right ) }{\left ( n+1\right ) \left ( n+2\right ) } \end{align*}

Hence for \(n=1\)\[ a_{3}=\frac{a_{1}\left ( 2-8\right ) }{\left ( 1+1\right ) \left ( 1+2\right ) }=-a_{1}\] For \(n=2\)\[ a_{4}=\frac{a_{2}\left ( 2\left ( 2\right ) -8\right ) }{\left ( 2+1\right ) \left ( 2+2\right ) }=-\frac{1}{3}a_{2}=-\frac{1}{3}\left ( -4a_{0}\right ) =\frac{4}{3}a_{0}\] For \(n=3\)\[ a_{5}=\frac{a_{3}\left ( 2\left ( 3\right ) -8\right ) }{\left ( 3+1\right ) \left ( 3+2\right ) }=-\frac{1}{10}a_{3}=-\frac{1}{10}\left ( -a_{1}\right ) =\frac{1}{10}a_{1}\] For \(n=4\)\[ a_{6}=\frac{a_{4}\left ( 2\left ( 4\right ) -8\right ) }{\left ( 4+1\right ) \left ( 4+2\right ) }=0 \] For \(n=5\)\[ a_{7}=\frac{a_{5}\left ( 2\left ( 5\right ) -8\right ) }{\left ( 5+1\right ) \left ( 5+2\right ) }=\frac{1}{21}a_{5}=\frac{1}{21}\left ( \frac{1}{10}a_{1}\right ) =\frac{1}{210}a_{1}\] For \(n=6\)\[ a_{8}=\frac{a_{6}\left ( 2\left ( 6\right ) -8\right ) }{\left ( 6+1\right ) \left ( 6+2\right ) }=\frac{1}{14}a_{6}=0 \] For \(n=7\)\[ a_{9}=\frac{a_{7}\left ( 2\left ( 7\right ) -8\right ) }{\left ( 7+1\right ) \left ( 7+2\right ) }=\frac{1}{12}a_{7}=\frac{1}{12}\left ( \frac{1}{210}a_{1}\right ) =\frac{1}{2520}a_{1}\] Writing now few terms\begin{align} y\left ( x\right ) & =\sum _{n=0}^{\infty }a_{n}x^{n}\nonumber \\ & =a_{0}x^{0}+a_{1}x^{1}+a_{2}x^{2}+a_{3}x^{3}+a_{4}x^{4}+a_{5}x^{5}+a_{6}x^{6}+a_{7}x^{7}+a_{8}x^{8}+a_{9}x^{9}+\cdots \nonumber \\ & =a_{0}+a_{1}x+\left ( -4a_{0}\right ) x^{2}+\left ( -a_{1}\right ) x^{3}+\frac{4}{3}a_{0}x^{4}+\frac{1}{10}a_{1}x^{5}+0+\frac{1}{210}a_{1}x^{7}+0+\frac{1}{2520}a_{1}x^{9}+\cdots \nonumber \\ & =a_{0}+a_{1}x-4a_{0}x^{2}-a_{1}x^{3}+\frac{4}{3}a_{0}x^{4}+\frac{1}{10}a_{1}x^{5}+\frac{1}{210}a_{1}x^{7}+\frac{1}{2520}a_{1}x^{9}+\cdots \nonumber \\ & =a_{0}\left ( 1-4x^{2}+\frac{4}{3}x^{4}\right ) +a_{1}\left ( x-x^{3}+\frac{1}{10}x^{5}+\frac{1}{210}x^{7}+\frac{1}{2520}x^{9}+\cdots \right ) \tag{1} \end{align}

We notice that \(a_{0}\) terms terminates at \(\frac{4}{3}x^{4}\) but the \(a_{1}\) terms do not terminate. Now we need to find \(a_{0},a_{1}\) from initial conditions. At \(x=0,y\left ( 0\right ) =0\). Hence from (1)\[ 0=a_{0}\] Hence the solution becomes\begin{equation} y\left ( x\right ) =a_{1}\left ( x-x^{3}+\frac{1}{10}x^{5}+\frac{1}{210}x^{7}+\frac{1}{2520}x^{9}+\cdots \right ) \tag{2} \end{equation} Taking derivative of (2), term by term\[ y^{\prime }\left ( x\right ) =a_{1}\left ( 1-3x^{2}+\frac{5}{10}x^{4}+\frac{7}{210}x^{6}+\frac{9}{2520}x^{8}+\cdots \right ) \] Using \(y^{\prime }\left ( 0\right ) =4\) the above becomes\[ 4=a_{1}\] Hence the solution is\[ y\left ( x\right ) =4\left ( x-x^{3}+\frac{1}{10}x^{5}+\frac{1}{210}x^{7}+\frac{1}{2520}x^{9}+\cdots \right ) \] Or

\[ \fbox{$y\left ( x\right ) =4x-4x^3+\frac{2}{5}x^5+\frac{2}{105}x^7+\frac{1}{630}x^9+\cdots $}\] The above is the Taylor series of the solution expanded around \(x=0\).

3.1.4 Problem 3.7

   3.1.4.1 AiryAI series
   3.1.4.2 AiryBI series

Problem: Estimate the number of terms in the Taylor series (3.2.1) and (3.2.2) at page 68 of the text, that are necessary to compute

\(\mathrm{Ai}(x)\) and \(\mathrm{Bi}(x)\) correct to three decimal places at \(x=\pm 1,\pm 100,\pm 10000\)

Answer:\begin{equation} \mathrm{Ai}\left ( x\right ) =3^{\frac{-2}{3}}\sum _{n=0}^{\infty }\frac{x^{3n}}{9^{n}n!\Gamma \left ( n+\frac{2}{3}\right ) }-3^{\frac{-4}{3}}\sum _{n=0}^{\infty }\frac{x^{3n+1}}{9^{n}n!\Gamma \left ( n+\frac{4}{3}\right ) }\tag{3.2.1} \end{equation} \begin{equation} \mathrm{Bi}\left ( x\right ) =3^{\frac{-1}{6}}\sum _{n=0}^{\infty }\frac{x^{3n}}{9^{n}n!\Gamma \left ( n+\frac{2}{3}\right ) }-3^{\frac{-5}{6}}\sum _{n=0}^{\infty }\frac{x^{3n+1}}{9^{n}n!\Gamma \left ( n+\frac{4}{3}\right ) }\tag{3.2.2} \end{equation} The radius of convergence of these series extends from \(x=0\) to \(\pm \infty \) so we know this will converge to the correct value of \(\mathrm{Ai}\left ( x\right ) ,\mathrm{Bi}\left ( x\right ) \) for all \(x\), even though we might need large number of terms to achieve this, as will be shown below. The following is a plot of \(\mathrm{Ai}\left ( x\right ) \) and \(\mathrm{Bi}\left ( x\right ) \)

pict
3.1.4.1 AiryAI series

For \(\mathrm{Ai}\left ( x\right ) \) looking at the \(\frac{\left ( N+1\right ) ^{th}}{N^{th}}\) term\[ \Delta =\frac{3^{\frac{-2}{3}}\frac{x^{3\left ( N+1\right ) }}{9^{N+1}\left ( N+1\right ) !\Gamma \left ( N+1+\frac{2}{3}\right ) }-3^{\frac{-4}{3}}\frac{x^{3N+2}}{9^{N+1}\left ( N+1\right ) !\Gamma \left ( N+1+\frac{4}{3}\right ) }}{3^{\frac{-2}{3}}\frac{x^{3N}}{9^{N}N!\Gamma \left ( N+\frac{2}{3}\right ) }-3^{\frac{-4}{3}}\frac{x^{3N+1}}{9^{N}N!\Gamma \left ( N+\frac{4}{3}\right ) }}\] This can be simplified using \(\Gamma \left ( N+1\right ) =N\Gamma \left ( N\right ) \) giving\begin{align*} \Gamma \left ( \left ( N+\frac{2}{3}\right ) +1\right ) & =\left ( N+\frac{2}{3}\right ) \Gamma \left ( N+\frac{2}{3}\right ) \\ \Gamma \left ( \left ( N+\frac{4}{3}\right ) +1\right ) & =\left ( N+\frac{4}{3}\right ) \Gamma \left ( N+\frac{4}{3}\right ) \end{align*}

Hence \(\Delta \) becomes\[ \Delta =\frac{\frac{3^{\frac{-2}{3}}x^{3\left ( N+1\right ) }}{9^{N+1}\left ( N+1\right ) !\left ( N+\frac{2}{3}\right ) \Gamma \left ( N+\frac{2}{3}\right ) }-\frac{3^{\frac{-4}{3}}x^{3N+2}}{9^{N+1}\left ( N+1\right ) !\left ( N+\frac{4}{3}\right ) \Gamma \left ( N+\frac{4}{3}\right ) }}{\frac{3^{\frac{-2}{3}}x^{3N}}{9^{N}N!\Gamma \left ( N+\frac{2}{3}\right ) }-\frac{3^{\frac{-4}{3}}x^{3N+1}}{9^{N}N!\Gamma \left ( N+\frac{4}{3}\right ) }}\] Or\[ \Delta =\frac{\frac{3^{\frac{-2}{3}}x^{3\left ( N+1\right ) }}{9\left ( N+1\right ) \left ( N+\frac{2}{3}\right ) \Gamma \left ( N+\frac{2}{3}\right ) }-\frac{3^{\frac{-4}{3}}x^{3N+2}}{9\left ( N+1\right ) \left ( N+\frac{4}{3}\right ) \Gamma \left ( N+\frac{4}{3}\right ) }}{\frac{3^{\frac{-2}{3}}x^{3N}}{\Gamma \left ( N+\frac{2}{3}\right ) }-\frac{3^{\frac{-4}{3}}x^{3N+1}}{\Gamma \left ( N+\frac{4}{3}\right ) }}\] Or\[ \Delta =\frac{\frac{3^{\frac{-2}{3}}x^{3\left ( N+1\right ) }\left ( N+\frac{4}{3}\right ) \Gamma \left ( N+\frac{4}{3}\right ) -3^{\frac{-4}{3}}x^{3N+2}\left ( N+\frac{2}{3}\right ) \Gamma \left ( N+\frac{2}{3}\right ) }{9\left ( N+1\right ) \left ( N+\frac{2}{3}\right ) \Gamma \left ( N+\frac{2}{3}\right ) \left ( N+\frac{4}{3}\right ) \Gamma \left ( N+\frac{4}{3}\right ) }}{\frac{3^{\frac{-2}{3}}x^{3N}\Gamma \left ( N+\frac{4}{3}\right ) -3^{\frac{-4}{3}}x^{3N+1}\Gamma \left ( N+\frac{2}{3}\right ) }{\Gamma \left ( N+\frac{2}{3}\right ) \Gamma \left ( N+\frac{4}{3}\right ) }}\] Or\[ \Delta =\frac{\frac{3^{\frac{-2}{3}}x^{3\left ( N+1\right ) }\left ( N+\frac{4}{3}\right ) \Gamma \left ( N+\frac{4}{3}\right ) -3^{\frac{-4}{3}}x^{3N+2}\left ( N+\frac{2}{3}\right ) \Gamma \left ( N+\frac{2}{3}\right ) }{9\left ( N+1\right ) \left ( N+\frac{2}{3}\right ) \left ( N+\frac{4}{3}\right ) }}{3^{\frac{-2}{3}}x^{3N}\Gamma \left ( N+\frac{4}{3}\right ) -3^{\frac{-4}{3}}x^{3N+1}\Gamma \left ( N+\frac{2}{3}\right ) }\] For large \(N\), we can approximate \(\left ( N+\frac{2}{3}\right ) ,\left ( N+\frac{4}{3}\right ) ,\left ( N+1\right ) \) to just \(N+1\) and the above becomes\[ \Delta =\frac{\frac{3^{\frac{-2}{3}}x^{3\left ( N+1\right ) }\Gamma \left ( N+\frac{4}{3}\right ) -3^{\frac{-4}{3}}x^{3N+2}\Gamma \left ( N+\frac{2}{3}\right ) }{9\left ( N+1\right ) ^{2}}}{3^{\frac{-2}{3}}x^{3N}\Gamma \left ( N+\frac{4}{3}\right ) -3^{\frac{-4}{3}}x^{3N+1}\Gamma \left ( N+\frac{2}{3}\right ) }\] Or\[ \Delta =\frac{3^{\frac{-2}{3}}x^{3N}x^{3}\Gamma \left ( N+\frac{4}{3}\right ) -3^{\frac{-4}{3}}x^{3N}x^{2}\Gamma \left ( N+\frac{2}{3}\right ) }{9\left ( N+1\right ) ^{2}\left ( 3^{\frac{-2}{3}}x^{3N}\Gamma \left ( N+\frac{4}{3}\right ) -3^{\frac{-4}{3}}x^{3N}x\Gamma \left ( N+\frac{2}{3}\right ) \right ) }\] Or\begin{align*} \Delta & =\frac{0.488x^{3N}x^{2}\left ( x\Gamma \left ( N+\frac{4}{3}\right ) -0.488\Gamma \left ( N+\frac{2}{3}\right ) \right ) }{\left ( 0.488\right ) 9\left ( N+1\right ) ^{2}x^{3N}\left ( \Gamma \left ( N+\frac{4}{3}\right ) -0.488x\Gamma \left ( N+\frac{2}{3}\right ) \right ) }\\ & =\frac{x^{2}}{9\left ( N+1\right ) ^{2}}\left ( \frac{x\Gamma \left ( N+\frac{4}{3}\right ) -0.488\Gamma \left ( N+\frac{2}{3}\right ) }{\Gamma \left ( N+\frac{4}{3}\right ) -0.488x\Gamma \left ( N+\frac{2}{3}\right ) }\right ) \end{align*}

We want to solve for \(N\) s.t. \(\left \vert \frac{x^{2}}{9\left ( N+1\right ) ^{2}}\left ( \frac{x\Gamma \left ( N+\frac{4}{3}\right ) -0.488\Gamma \left ( N+\frac{2}{3}\right ) }{\Gamma \left ( N+\frac{4}{3}\right ) -0.488x\Gamma \left ( N+\frac{2}{3}\right ) }\right ) \right \vert <0.001\).

For \(x=1\)\begin{align*} \frac{1}{9\left ( N+1\right ) ^{2}}\left ( \frac{\Gamma \left ( N+\frac{4}{3}\right ) -0.488\Gamma \left ( N+\frac{2}{3}\right ) }{\Gamma \left ( N+\frac{4}{3}\right ) -0.488\Gamma \left ( N+\frac{2}{3}\right ) }\right ) & <0.001\\ \frac{1}{9\left ( N+1\right ) ^{2}} & <0.001\\ 9\left ( N+1\right ) ^{2} & >1000\\ \left ( N+1\right ) ^{2} & >\frac{1000}{9}\\ N+1 & >\sqrt{\frac{1000}{9}}\\ N & >9.541\\ N & =10 \end{align*}

For \(x=100\)\[ \left \vert \frac{100^{2}}{9\left ( N+1\right ) ^{2}}\left ( \frac{100\Gamma \left ( N+\frac{4}{3}\right ) -0.488\Gamma \left ( N+\frac{2}{3}\right ) }{\Gamma \left ( N+\frac{4}{3}\right ) -0.488\left ( 100\right ) \Gamma \left ( N+\frac{2}{3}\right ) }\right ) \right \vert <0.001 \] I could not simplify away the Gamma terms above any more. Is there a way? So wrote small function (in Mathematica, which can compute this) which increments \(N\) and evaluate the above, until the value became smaller than \(0.001.\) At \(N=11,500\) this was achieved.

For \(x=10000\)\[ \left \vert \frac{10000^{2}}{9\left ( N+1\right ) ^{2}}\left ( \frac{100\Gamma \left ( N+\frac{4}{3}\right ) -0.488\Gamma \left ( N+\frac{2}{3}\right ) }{\Gamma \left ( N+\frac{4}{3}\right ) -0.488\left ( 10000\right ) \Gamma \left ( N+\frac{2}{3}\right ) }\right ) \right \vert <0.001 \] Using the same program, found that \(N=11,500,000\) was needed to obtain the result below \(0.001\).

For \(=-1\) also \(N=10\). For \(x=-100\), \(N=10,030\), which is little less than \(x=+100\). For \(x=-10000\), \(N=10,030,000\)

Summary table for AiryAI(x)



\(x\) \(N\)


\(1\) \(10\)


\(-1\) \(10\)


\(100\) \(11,500\)


\(-100\) \(10,030\)


\(10000\) \(11,500,000\)


\(-10000\) \(10,030,000\)


The Mathematica function which did the estimate is the following

estimateAiryAi[x_, n_] := (x^2/(9*(n + 1)^2))*((x*Gamma[n + 4/3] -
0.488*Gamma[n + 2/3])/(Gamma[n + 4/3] - 0.488*x*Gamma[n + 2/3]))
estimateAiryAi[-10000, 10030000] // N
-0.0009995904
estimateAiryAi[100, 11500] // N
0.000928983646707407
estimateAiryAi[10000, 11500000] // N
0.000929156800155198

3.1.4.2 AiryBI series

For \(\mathrm{Bi}\left ( x\right ) \) the difference is the coefficients. Hence using the result from above, and just replace the coefficients \begin{align*} \Delta & =\frac{3^{\frac{-1}{6}}x^{3N}x^{3}\Gamma \left ( N+\frac{4}{3}\right ) -3^{\frac{-5}{8}}x^{3N}x^{2}\Gamma \left ( N+\frac{2}{3}\right ) }{9\left ( N+1\right ) ^{2}\left ( 3^{\frac{-1}{6}}x^{3N}\Gamma \left ( N+\frac{4}{3}\right ) -3^{\frac{-5}{8}}x^{3N}x\Gamma \left ( N+\frac{2}{3}\right ) \right ) }\\ & =\frac{x^{2}\left ( x\Gamma \left ( N+\frac{4}{3}\right ) -0.604\,39\Gamma \left ( N+\frac{2}{3}\right ) \right ) }{9\left ( N+1\right ) ^{2}\left ( \Gamma \left ( N+\frac{4}{3}\right ) -0.604\,39x\Gamma \left ( N+\frac{2}{3}\right ) \right ) } \end{align*}

Hence for \(x=1\), using the above reduces to \[ \frac{1}{9\left ( N+1\right ) ^{2}}<0.001 \] Which is the same as AiryAI, therefore \(N=10\). For \(x=100\), using the same small function in Mathematica to calculate the above, here are the result.

Summary table for AiryBI(x)



\(x\) \(N\)


\(1\) \(10\)


\(-1\) \(10\)


\(100\) \(11,290\)


\(-100\) \(9,900\)


\(10000\) \(10,900,000\)


\(-10000\) \(9,950,000\)


The result between AiryAi and AiryBi are similar. AiryBi needs a slightly less number of terms in the series to obtain same accuracy.

The Mathematica function which did the estimate for the larger \(N\) value for the above table is the following

estimateAiryBI[x_, n_] :=  Abs[(x^2/(9*(n + 1)^2))*((x*Gamma[n + 4/3] -
0.60439*Gamma[n + 2/3])/(Gamma[n + 4/3] - 0.6439*x*Gamma[n + 2/3]))]

3.1.5 Problem 3.8

Problem How many terms in the Taylor series solution to \(y^{\prime \prime \prime }=x^{3}y\) with \(y\left ( 0\right ) =1,y^{\prime }\left ( 0\right ) =y^{\prime \prime }\left ( 0\right ) =0\) are needed to evaluate \(\int _{0}^{1}y\left ( x\right ) dx\) correct to three decimal places?

Answer

\[ y^{\prime \prime \prime }-x^{3}y=0 \] Since \(x\) is an ordinary point, we use\begin{align*} y & =\sum _{n=0}^{\infty }a_{n}x^{n}\\ y^{\prime } & =\sum _{n=0}^{\infty }na_{n}x^{n-1}=\sum _{n=1}^{\infty }na_{n}x^{n-1}=\sum _{n=0}^{\infty }\left ( n+1\right ) a_{n+1}x^{n}\\ y^{\prime \prime } & =\sum _{n=0}^{\infty }n\left ( n+1\right ) a_{n+1}x^{n-1}=\sum _{n=1}^{\infty }n\left ( n+1\right ) a_{n+1}x^{n-1}=\sum _{n=0}^{\infty }\left ( n+1\right ) \left ( n+2\right ) a_{n+2}x^{n}\\ y^{\prime \prime \prime } & =\sum _{n=0}^{\infty }n\left ( n+1\right ) \left ( n+2\right ) a_{n+2}x^{n-1}=\sum _{n=1}^{\infty }n\left ( n+1\right ) \left ( n+2\right ) a_{n+2}x^{n-1}\\ & =\sum _{n=0}^{\infty }\left ( n+1\right ) \left ( n+2\right ) \left ( n+3\right ) a_{n+3}x^{n} \end{align*}

Hence the ODE becomes\begin{align*} \sum _{n=0}^{\infty }\left ( n+1\right ) \left ( n+2\right ) \left ( n+3\right ) a_{n+3}x^{n}-x^{3}\sum _{n=0}^{\infty }a_{n}x^{n} & =0\\ \sum _{n=0}^{\infty }\left ( n+1\right ) \left ( n+2\right ) \left ( n+3\right ) a_{n+3}x^{n}-\sum _{n=0}^{\infty }a_{n}x^{n+3} & =0\\ \sum _{n=0}^{\infty }\left ( n+1\right ) \left ( n+2\right ) \left ( n+3\right ) a_{n+3}x^{n}-\sum _{n=3}^{\infty }a_{n-3}x^{n} & =0 \end{align*}

For \(n=0\)\begin{align*} \left ( 1\right ) \left ( 2\right ) \left ( 3\right ) a_{3} & =0\\ a_{3} & =0 \end{align*}

For \(n=1\)\begin{align*} \left ( 2\right ) \left ( 3\right ) \left ( 4\right ) a_{4} & =0\\ a_{4} & =0 \end{align*}

For \(n=2\)\[ a_{5}=0 \] For \(n\geq 3\), recursive equation is used\begin{align*} \left ( n+1\right ) \left ( n+2\right ) \left ( n+3\right ) a_{n+3}-a_{n-3} & =0\\ a_{n+3} & =\frac{a_{n-3}}{\left ( n+1\right ) \left ( n+2\right ) \left ( n+3\right ) } \end{align*}

Or, for \(n=3\)\[ a_{6}=\frac{a_{0}}{\left ( 4\right ) \left ( 5\right ) \left ( 6\right ) }\] For \(n=4\)\[ a_{7}=\frac{a_{1}}{\left ( 4+1\right ) \left ( 4+2\right ) \left ( 4+3\right ) }=\frac{a_{1}}{\left ( 5\right ) \left ( 6\right ) \left ( 7\right ) }\] For \(n=5\)\[ a_{8}=\frac{a_{2}}{\left ( 5+1\right ) \left ( 5+2\right ) \left ( 5+3\right ) }=\frac{a_{2}}{\left ( 6\right ) \left ( 7\right ) \left ( 8\right ) }\] For \(n=6\)\[ a_{9}=\frac{a_{3}}{\left ( 6+1\right ) \left ( 6+2\right ) \left ( 6+3\right ) }=0 \] For \(n=7\)\[ a_{10}=\frac{a_{4}}{\left ( n+1\right ) \left ( n+2\right ) \left ( n+3\right ) }=0 \] For \(n=8\)\[ a_{11}=\frac{a_{5}}{\left ( 8+1\right ) \left ( 8+2\right ) \left ( 8+3\right ) }=0 \] For \(n=9\)\[ a_{12}=\frac{a_{6}}{\left ( 9+1\right ) \left ( 9+2\right ) \left ( 9+3\right ) }=\frac{a_{6}}{\left ( 10\right ) \left ( 11\right ) \left ( 12\right ) }=\frac{a_{0}}{\left ( 4\right ) \left ( 5\right ) \left ( 6\right ) \left ( 10\right ) \left ( 11\right ) \left ( 12\right ) }\] For \(n=10\)\[ a_{13}=\frac{a_{7}}{\left ( 10+1\right ) \left ( 10+2\right ) \left ( 10+3\right ) }=\frac{a_{7}}{\left ( 11\right ) \left ( 12\right ) \left ( 13\right ) }=\frac{a_{1}}{\left ( 5\right ) \left ( 6\right ) \left ( 7\right ) \left ( 11\right ) \left ( 12\right ) \left ( 13\right ) }\] For \(n=11\)\[ a_{14}=\frac{a_{8}}{\left ( 11+1\right ) \left ( 11+2\right ) \left ( 11+3\right ) }=\frac{a_{8}}{\left ( 12\right ) \left ( 13\right ) \left ( 14\right ) }=\frac{a_{2}}{\left ( 6\right ) \left ( 7\right ) \left ( 8\right ) \left ( 12\right ) \left ( 13\right ) \left ( 14\right ) }\] And so on. Hence the series is\begin{align*} y & =\sum _{n=0}^{\infty }a_{n}x^{n}\\ & =a_{0}+a_{1}x+a_{2}x^{2}+0x^{3}+0x^{4}+0x^{5}+\frac{a_{0}}{\left ( 4\right ) \left ( 5\right ) \left ( 6\right ) }x^{6}+\frac{a_{1}}{\left ( 5\right ) \left ( 6\right ) \left ( 7\right ) }x^{7}+\frac{a_{2}}{\left ( 6\right ) \left ( 7\right ) \left ( 8\right ) }x^{8}\\ & +0+0+0+\frac{a_{0}}{\left ( 4\right ) \left ( 5\right ) \left ( 6\right ) \left ( 10\right ) \left ( 11\right ) \left ( 12\right ) }x^{12}+\frac{a_{1}}{\left ( 5\right ) \left ( 6\right ) \left ( 7\right ) \left ( 11\right ) \left ( 12\right ) \left ( 13\right ) }x^{13}\\ & +\frac{a_{2}}{\left ( 6\right ) \left ( 7\right ) \left ( 8\right ) \left ( 12\right ) \left ( 13\right ) \left ( 14\right ) }x^{14}+0+0+0+\cdots \end{align*}

Or\begin{align*} y\left ( x\right ) & =a_{0}+a_{1}x+a_{2}x^{2}+\frac{a_{0}}{\left ( 4\right ) \left ( 5\right ) \left ( 6\right ) }x^{6}+\frac{a_{1}}{\left ( 5\right ) \left ( 6\right ) \left ( 7\right ) }x^{7}+\frac{a_{2}}{\left ( 6\right ) \left ( 7\right ) \left ( 8\right ) }x^{8}+\\ & \frac{a_{0}}{\left ( 4\right ) \left ( 5\right ) \left ( 6\right ) \left ( 10\right ) \left ( 11\right ) \left ( 12\right ) }x^{12}+\frac{a_{1}}{\left ( 5\right ) \left ( 6\right ) \left ( 7\right ) \left ( 11\right ) \left ( 12\right ) \left ( 13\right ) }x^{13}+\frac{a_{2}}{\left ( 6\right ) \left ( 7\right ) \left ( 8\right ) \left ( 12\right ) \left ( 13\right ) \left ( 14\right ) }x^{14}+\cdots \end{align*}

Or\begin{align*} y\left ( x\right ) & =a_{0}\left ( 1+\frac{x^{6}}{\left ( 4\right ) \left ( 5\right ) \left ( 6\right ) }+\frac{x^{12}}{\left ( 4\right ) \left ( 5\right ) \left ( 6\right ) \left ( 10\right ) \left ( 11\right ) \left ( 12\right ) }+\cdots \right ) \\ & +a_{1}\left ( x+\frac{x^{7}}{\left ( 5\right ) \left ( 6\right ) \left ( 7\right ) }+\frac{x^{13}}{\left ( 5\right ) \left ( 6\right ) \left ( 7\right ) \left ( 11\right ) \left ( 12\right ) \left ( 13\right ) }+\cdots \right ) \\ & +a_{2}\left ( x^{2}+\frac{x^{8}}{\left ( 6\right ) \left ( 7\right ) \left ( 8\right ) }+\frac{x^{14}}{\left ( 6\right ) \left ( 7\right ) \left ( 8\right ) \left ( 12\right ) \left ( 13\right ) \left ( 14\right ) }+\cdots \right ) \end{align*}

\begin{align*} y\left ( x\right ) & =a_{0}\left ( 1+\frac{1}{120}x^{6}+\frac{1}{158400}x^{12}+\cdots \right ) \\ & +a_{1}\left ( x+\frac{1}{210}x^{7}+\frac{1}{360360}x^{13}+\cdots \right ) \\ & +a_{2}\left ( x^{2}+\frac{1}{336}x^{8}+\frac{1}{733\,824}x^{14}+\cdots \right ) \end{align*}

We now apply initial conditions \(y\left ( 0\right ) =1,y^{\prime }\left ( 0\right ) =y^{\prime \prime }\left ( 0\right ) =0\,\). When \(y\left ( 0\right ) =1\)\[ 1=a_{0}\] Hence solution becomes\begin{align*} y\left ( x\right ) & =\left ( 1+\frac{1}{120}x^{6}+\frac{1}{158400}x^{12}+\cdots \right ) \\ & +a_{1}\left ( x+\frac{1}{210}x^{7}+\frac{1}{360360}x^{13}+\cdots \right ) \\ & +a_{2}\left ( x^{2}+\frac{1}{336}x^{8}+\frac{1}{733\,824}x^{14}+\cdots \right ) \end{align*}

Taking derivative\begin{align*} y^{\prime }\left ( x\right ) & =\left ( \frac{6}{120}x^{5}+\frac{12}{158400}x^{11}+\cdots \right ) \\ & +a_{1}\left ( 1+\frac{7}{210}x^{6}+\frac{13}{360360}x^{12}+\cdots \right ) \\ & +a_{2}\left ( 2x+\frac{8}{336}x^{7}+\frac{12}{733\,824}x^{13}+\cdots \right ) \end{align*}

Applying \(y^{\prime }\left ( 0\right ) =0\) gives\[ 0=a_{1}\] And similarly, Applying \(y^{\prime \prime }\left ( 0\right ) =0\) gives \(a_{2}=0\). Hence the solution is\begin{align*} y\left ( x\right ) & =a_{0}\left ( 1+\frac{x^{6}}{\left ( 4\right ) \left ( 5\right ) \left ( 6\right ) }+\frac{x^{12}}{\left ( 4\right ) \left ( 5\right ) \left ( 6\right ) \left ( 10\right ) \left ( 11\right ) \left ( 12\right ) }+\cdots \right ) \\ & =1+\frac{x^{6}}{\left ( 4\right ) \left ( 5\right ) \left ( 6\right ) }+\frac{x^{12}}{\left ( 4\right ) \left ( 5\right ) \left ( 6\right ) \left ( 10\right ) \left ( 11\right ) \left ( 12\right ) }+\frac{x^{18}}{\left ( 4\right ) \left ( 5\right ) \left ( 6\right ) \left ( 10\right ) \left ( 11\right ) \left ( 12\right ) \left ( 16\right ) \left ( 17\right ) \left ( 18\right ) }+\cdots \\ & =1+\frac{x^{6}}{120}+\frac{x^{12}}{158\,400}+\frac{x^{18}}{775\,526\,400}+\cdots \end{align*}

We are now ready to answer the question. We will do the integration by increasing the number of terms by one each time. When the absolute difference between each increment becomes less than \(0.001\) we stop. When using one term For \begin{align*} \int _{0}^{1}y\left ( x\right ) dx & =\int _{0}^{1}dx\\ & =1 \end{align*}

When using two terms\begin{align*} \int _{0}^{1}1+\frac{x^{6}}{120}dx & =\left ( x+\frac{x^{7}}{120\left ( 7\right ) }\right ) _{0}^{1}\\ & =1+\frac{1}{840}\\ & =\frac{841}{840}\\ & =1.001190476 \end{align*}

Difference between one term and two terms is \(0.001190476\). When using three terms\begin{align*} \int _{0}^{1}1+\frac{x^{6}}{120}+\frac{x^{12}}{158\,400}dx & =\left ( x+\frac{x^{7}}{840}+\frac{x^{13}}{2059\,200}\right ) _{0}^{1}\\ & =1+\frac{1}{840}+\frac{1}{2059\,200}\\ & =\frac{14\,431\,567}{14\,414\,400}\\ & =1.001190962 \end{align*}

Comparing the above result, with the result using two terms, we see that only two terms are needed since the change in accuracy did not affect the first three decimal points. Hence we need only this solution with two terms only\[ y\left ( x\right ) =1+\frac{1}{120}x^{6}\]

3.1.6 Problem 3.24

   3.1.6.1 part e
   3.1.6.2 part f

3.1.6.1 part e

Problem Find series expansion of all the solutions to the following differential equation about \(x=0\). Try to sum in closed form any infinite series that appear.\[ 2xy^{\prime \prime }-y^{\prime }+x^{2}y=0 \] Solution

\[ y^{\prime \prime }-\frac{1}{2x}y^{\prime }+\frac{x}{2}y=0 \] The only singularity is in \(p\left ( x\right ) \) is \(x=0\). We will now check if it is removable. (i.e. regular)\[ \lim _{x\rightarrow 0}xp\left ( x\right ) =\lim _{x\rightarrow 0}x\frac{1}{2x}=\frac{1}{2}\] Therefore \(x=0\) is regular singular point. Hence we try Frobenius series\begin{align*} y\left ( x\right ) & =\sum _{n=0}^{\infty }a_{n}x^{n+r}\\ y^{\prime }\left ( x\right ) & =\sum _{n=0}^{\infty }\left ( n+r\right ) a_{n}x^{n+r-1}\\ y^{\prime \prime }\left ( x\right ) & =\sum _{n=0}^{\infty }\left ( n+r\right ) \left ( n+r-1\right ) a_{n}x^{n+r-2} \end{align*}

Substituting the above in \(2x^{2}y^{\prime \prime }-xy^{\prime }+x^{3}y=0\) results in\begin{align} 2x^{2}\sum _{n=0}^{\infty }\left ( n+r\right ) \left ( n+r-1\right ) a_{n}x^{n+r-2}-x\sum _{n=0}^{\infty }\left ( n+r\right ) a_{n}x^{n+r-1}+x^{3}\sum _{n=0}^{\infty }a_{n}x^{n+r} & =0\nonumber \\ \sum _{n=0}^{\infty }2\left ( n+r\right ) \left ( n+r-1\right ) a_{n}x^{n+r}-\sum _{n=0}^{\infty }\left ( n+r\right ) a_{n}x^{n+r}+\sum _{n=0}^{\infty }a_{n}x^{n+r+3} & =0\nonumber \\ \sum _{n=0}^{\infty }2\left ( n+r\right ) \left ( n+r-1\right ) a_{n}x^{n+r}-\sum _{n=0}^{\infty }\left ( n+r\right ) a_{n}x^{n+r}+\sum _{n=3}^{\infty }a_{n-3}x^{n+r} & =0 \tag{1} \end{align}

The first step is to obtain the indicial equation. As the nature of the roots will tell us how to proceed. The indicial equation is obtained from setting \(n=0\) in (1) with the assumption that \(a_{0}\neq 0\). Setting \(n=0\) in (1) gives\begin{align*} 2\left ( n+r\right ) \left ( n+r-1\right ) a_{n}-\left ( n+r\right ) a_{n} & =0\\ 2\left ( r\right ) \left ( r-1\right ) a_{0}-ra_{0} & =0 \end{align*}

Since \(a_{0}\neq 0\) then we obtain the indicial equation (quadratic in \(r\))\begin{align*} 2\left ( r\right ) \left ( r-1\right ) -r & =0\\ r\left ( 2\left ( r-1\right ) -1\right ) & =0\\ r\left ( 2r-3\right ) & =0 \end{align*}

Hence roots are\begin{align*} r_{1} & =0\\ r_{2} & =\frac{3}{2} \end{align*}

Since \(r_{1}-r_{2}\) is not an integer, then we know we can now construct two linearly independent solutions \begin{align*} y_{1}\left ( x\right ) & =x^{r_{1}}{\displaystyle \sum \limits _{n=0}} a_{n}x^{n}\\ y_{2}\left ( x\right ) & =x^{r_{2}}{\displaystyle \sum \limits _{n=0}} b_{n}x^{n} \end{align*}

Or

\begin{align*} y_{1}\left ( x\right ) & ={\displaystyle \sum \limits _{n=0}} a_{n}x^{n}\\ y_{2}\left ( x\right ) & ={\displaystyle \sum \limits _{n=0}} b_{n}x^{n+\frac{3}{2}} \end{align*}

Notice that the coefficients are not the same. Since we now know \(r_{1},r_{2}\), we will use the above series solution to obtain \(y_{1}\left ( x\right ) \) and \(y_{2}\left ( x\right ) \).

For \(y_{1}\left ( x\right ) \) where \(r_{1}=0\) \begin{align*} y_{1}\left ( x\right ) & ={\displaystyle \sum \limits _{n=0}} a_{n}x^{n}\\ y^{\prime }\left ( x\right ) & ={\displaystyle \sum \limits _{n=0}} na_{n}x^{n-1}={\displaystyle \sum \limits _{n=1}} na_{n}x^{n-1}={\displaystyle \sum \limits _{n=0}} \left ( n+1\right ) a_{n+1}x^{n}\\ y^{\prime \prime }\left ( x\right ) & ={\displaystyle \sum \limits _{n=0}} n\left ( n+1\right ) a_{n+1}x^{n-1}={\displaystyle \sum \limits _{n=1}} n\left ( n+1\right ) a_{n+1}x^{n-1}={\displaystyle \sum \limits _{n=0}} \left ( n+1\right ) \left ( n+2\right ) a_{n+2}x^{n} \end{align*}

Substituting the above in \(2x^{2}y^{\prime \prime }-xy^{\prime }+x^{3}y=0\) results in \begin{align*} 2x^{2}{\displaystyle \sum \limits _{n=0}} \left ( n+1\right ) \left ( n+2\right ) a_{n+2}x^{n}-x{\displaystyle \sum \limits _{n=0}} \left ( n+1\right ) a_{n+1}x^{n}+x^{3}{\displaystyle \sum \limits _{n=0}} a_{n}x^{n} & =0\\{\displaystyle \sum \limits _{n=0}} 2\left ( n+1\right ) \left ( n+2\right ) a_{n+2}x^{n+2}-{\displaystyle \sum \limits _{n=0}} \left ( n+1\right ) a_{n+1}x^{n+1}+{\displaystyle \sum \limits _{n=0}} a_{n}x^{n+3} & =0\\{\displaystyle \sum \limits _{n=2}} 2\left ( n-1\right ) \left ( n\right ) a_{n}x^{n}-{\displaystyle \sum \limits _{n=1}} na_{n}x^{n}+{\displaystyle \sum \limits _{n=3}} a_{n-3}x^{n} & =0 \end{align*}

For \(n=1\) (index starts at \(n=1\)).\begin{align*} -na_{n}x^{n} & =0\\ -a_{1} & =0\\ a_{1} & =0 \end{align*}

For \(n=2\)\begin{align*} 2\left ( n-1\right ) \left ( n\right ) a_{n}x^{n}-na_{n}x^{n} & =0\\ 2\left ( 2-1\right ) \left ( 2\right ) a_{2}-2a_{2} & =0\\ 2a_{2} & =0\\ a_{2} & =0 \end{align*}

For \(n\geq 3\) we have recursive formula\begin{align*} 2\left ( n-1\right ) \left ( n\right ) a_{n}-na_{n}+a_{n-3} & =0\\ a_{n} & =\frac{-a_{n-3}}{n\left ( 2n-3\right ) } \end{align*}

Hence, for \(n=3\)\[ a_{3}=\frac{-a_{0}}{\left ( 3\right ) \left ( 6-3\right ) }=\frac{-a_{0}}{9}\] For \(n=4\)\[ a_{4}=\frac{-a_{1}}{n\left ( 2n-3\right ) }=0 \] For \(n=5\)\[ a_{5}=\frac{-a_{2}}{n\left ( 2n-3\right ) }=0 \] For \(n=6\)\[ a_{6}=\frac{-a_{3}}{n\left ( 2n-3\right ) }=\frac{-a_{3}}{\left ( 6\right ) \left ( 12-3\right ) }=\frac{-a_{3}}{54}=\frac{a_{0}}{\left ( 54\right ) \left ( 9\right ) }=\frac{1}{486}a_{0}\] And for \(n=7,8\) we also obtain \(a_{7}=0,a_{8}=0\), but for \(a_{9}\)\[ a_{9}=\frac{-a_{6}}{9\left ( 2\left ( 9\right ) -3\right ) }=\frac{-a_{6}}{135}=\frac{-a_{0}}{\left ( 135\right ) \left ( 486\right ) }=-\frac{1}{65\,610}a_{0}\] And so on. Hence from \({\displaystyle \sum \limits _{n=0}} a_{n}x^{n}\) we obtain\begin{align*} y_{1}\left ( x\right ) & =a_{0}-\frac{-a_{0}}{9}x^{3}+\frac{1}{486}a_{0}x^{6}-\frac{1}{65\,610}a_{0}x^{9}+\cdots \\ & =a_{0}\left ( 1-\frac{1}{9}x^{3}+\frac{1}{486}x^{6}-\frac{1}{65\,610}x^{9}+\cdots \right ) \end{align*}

Now that we found \(y_{1}\left ( x\right ) \).

For \(y_{2}\left ( x\right ) \) with \(r_{2}=\frac{3}{2}\). \begin{align*} y\left ( x\right ) & ={\displaystyle \sum \limits _{n=0}} b_{n}x^{n+\frac{3}{2}}\\ y^{\prime }\left ( x\right ) & ={\displaystyle \sum \limits _{n=0}} \left ( n+\frac{3}{2}\right ) b_{n}x^{n+\frac{1}{2}}\\ y^{\prime \prime }\left ( x\right ) & ={\displaystyle \sum \limits _{n=0}} \left ( n+\frac{1}{2}\right ) \left ( n+\frac{3}{2}\right ) b_{n}x^{n-\frac{1}{2}} \end{align*}

Substituting this into \(2x^{2}y^{\prime \prime }-xy^{\prime }+x^{3}y=0\) gives\begin{align*} 2x^{2}{\displaystyle \sum \limits _{n=0}} \left ( n+\frac{1}{2}\right ) \left ( n+\frac{3}{2}\right ) b_{n}x^{n-\frac{1}{2}}-x{\displaystyle \sum \limits _{n=0}} \left ( n+\frac{3}{2}\right ) b_{n}x^{n+\frac{1}{2}}+x^{3}{\displaystyle \sum \limits _{n=0}} b_{n}x^{n+\frac{3}{2}} & =0\\{\displaystyle \sum \limits _{n=0}} 2\left ( n+\frac{1}{2}\right ) \left ( n+\frac{3}{2}\right ) b_{n}x^{n-\frac{1}{2}+2}-{\displaystyle \sum \limits _{n=0}} \left ( n+\frac{3}{2}\right ) b_{n}x^{n+\frac{1}{2}+1}+{\displaystyle \sum \limits _{n=0}} b_{n}x^{n+\frac{3}{2}+3} & =0\\{\displaystyle \sum \limits _{n=0}} 2\left ( n+\frac{1}{2}\right ) \left ( n+\frac{3}{2}\right ) b_{n}x^{n+\frac{3}{2}}-{\displaystyle \sum \limits _{n=0}} \left ( n+\frac{3}{2}\right ) b_{n}x^{n+\frac{3}{2}}+{\displaystyle \sum \limits _{n=0}} b_{n}x^{n+\frac{9}{2}} & =0\\{\displaystyle \sum \limits _{n=0}} 2\left ( n+\frac{1}{2}\right ) \left ( n+\frac{3}{2}\right ) b_{n}x^{n+\frac{3}{2}}-{\displaystyle \sum \limits _{n=0}} \left ( n+\frac{3}{2}\right ) b_{n}x^{n+\frac{3}{2}}+{\displaystyle \sum \limits _{n=3}} b_{n-3}x^{n+\frac{9}{2}-3} & =0\\{\displaystyle \sum \limits _{n=0}} 2\left ( n+\frac{1}{2}\right ) \left ( n+\frac{3}{2}\right ) b_{n}x^{n+\frac{3}{2}}-{\displaystyle \sum \limits _{n=0}} \left ( n+\frac{3}{2}\right ) b_{n}x^{n+\frac{3}{2}}+{\displaystyle \sum \limits _{n=3}} b_{n-3}x^{n+\frac{3}{2}} & =0 \end{align*}

Now that all the \(x\) terms have the same exponents, we can continue.

For \(n=0\)

\begin{align*} 2\left ( n+\frac{1}{2}\right ) \left ( n+\frac{3}{2}\right ) b_{0}x^{\frac{3}{2}}-\left ( n+\frac{3}{2}\right ) b_{0}x^{\frac{3}{2}} & =0\\ 2\left ( \frac{1}{2}\right ) \left ( \frac{3}{2}\right ) b_{0}x^{\frac{3}{2}}-\left ( \frac{3}{2}\right ) b_{0}x^{\frac{3}{2}} & =0\\ \frac{3}{2}b_{0}x^{\frac{3}{2}}-\left ( \frac{3}{2}\right ) b_{0}x^{\frac{3}{2}} & =0\\ 0b_{0} & =0 \end{align*}

Hence \(b_{0}\) is arbitrary.

For \(n=1\)\begin{align*} 2\left ( n+\frac{1}{2}\right ) \left ( n+\frac{3}{2}\right ) b_{n}x^{n+\frac{3}{2}}-\left ( n+\frac{3}{2}\right ) b_{n}x^{n+\frac{3}{2}} & =0\\ 2\left ( 1+\frac{1}{2}\right ) \left ( 1+\frac{3}{2}\right ) b_{1}-\left ( 1+\frac{3}{2}\right ) b_{1} & =0\\ 5b_{1} & =0\\ b_{1} & =0 \end{align*}

For \(n=2\)\begin{align*} 2\left ( n+\frac{1}{2}\right ) \left ( n+\frac{3}{2}\right ) b_{n}x^{n+\frac{3}{2}}-\left ( n+\frac{3}{2}\right ) b_{n}x^{n+\frac{3}{2}} & =0\\ 2\left ( 2+\frac{1}{2}\right ) \left ( 2+\frac{3}{2}\right ) b_{2}-\left ( 2+\frac{3}{2}\right ) b_{2} & =0\\ 14b_{2} & =0\\ b_{2} & =0 \end{align*}

For \(n\geq 3\) we use the recursive formula\begin{align*} 2\left ( n+\frac{1}{2}\right ) \left ( n+\frac{3}{2}\right ) b_{n}-\left ( n+\frac{3}{2}\right ) b_{n}+b_{n-3} & =0\\ b_{n} & =\frac{-b_{n-3}}{n\left ( 2n+3\right ) } \end{align*}

Hence for \(n=3\)\[ b_{3}=\frac{-b_{0}}{3\left ( 9\right ) }=\frac{-b_{0}}{27}\] For \(n=4,n=5\) we will get \(b_{4}=0\) and \(b_{5}=0\) since \(b_{1}=0\) and \(b_{2}=0.\)

For \(n=6\)\[ b_{6}=\frac{-b_{3}}{6\left ( 12+3\right ) }=\frac{-b_{3}}{90}=\frac{b_{0}}{27\left ( 90\right ) }=\frac{b_{0}}{2430}\] For \(n=7,n=8\) we will get \(b_{7}=0\) and \(b_{8}=0\) since \(b_{4}=0\) and \(b_{5}=0\)

For \(n=9\)\[ a_{9}=\frac{-b_{6}}{n\left ( 2n+3\right ) }=\frac{-b_{6}}{9\left ( 18+3\right ) }=\frac{-b_{6}}{189}=\frac{-b_{0}}{2430\left ( 189\right ) }=\frac{-b_{0}}{459270}\] And so on. Hence, from \(y_{2}\left ( x\right ) ={\displaystyle \sum \limits _{n=0}} b_{n}x^{n+\frac{3}{2}}\) the series is\begin{align*} y_{2}\left ( x\right ) & =b_{0}x^{\frac{3}{2}}-\frac{b_{0}}{27}x^{3+\frac{3}{2}}+\frac{b_{0}}{2430}x^{6+\frac{3}{2}}-\frac{b_{0}}{459\,270}x^{9+\frac{3}{2}}+\cdots \\ & =b_{0}x^{\frac{3}{2}}\left ( 1-\frac{x^{3}}{27}+\frac{x^{6}}{2430}-\frac{x^{9}}{459270}+\cdots \right ) \end{align*}

The final solution is\begin{equation} y\left ( x\right ) =y_{1}\left ( x\right ) +y_{2}\left ( x\right ) \nonumber \end{equation} Or

\begin{equation} \fbox{$y\left ( x\right ) =a_0\left ( 1-\frac{1}{9}x^3+\frac{1}{486}x^6-\frac{1}{65\,610}x^9+\cdots \right ) +b_0x^\frac{3}{2}\left ( 1-\frac{x^3}{27}+\frac{x^6}{2430}-\frac{x^9}{459270}+\cdots \right ) $} \tag{2} \end{equation} Now comes the hard part. Finding closed form solution.

The Taylor series of \(\cos \left ( \frac{1}{3}x^{\frac{3}{2}}\sqrt{2}\right ) \) is (using CAS) \begin{equation} \cos \left ( \frac{1}{3}x^{\frac{3}{2}}\sqrt{2}\right ) \approx 1-\frac{1}{9}x^{3}+\frac{1}{486}x^{6}-\frac{1}{65610}x^{9}+\cdots \tag{3} \end{equation} And the Taylor series for \(\sin \left ( \frac{1}{3}x^{\frac{3}{2}}\sqrt{2}\right ) \) is (Using CAS)\begin{align} \sin \left ( \frac{1}{3}x^{\frac{3}{2}}\sqrt{2}\right ) & \approx \frac{1}{3}x^{\frac{3}{2}}\sqrt{2}-\frac{1}{81}x^{\frac{9}{2}}\sqrt{2}+\frac{1}{7290}x^{\frac{15}{2}}\sqrt{2}-\cdots \nonumber \\ & =x^{\frac{3}{2}}\left ( \frac{1}{3}\sqrt{2}-\frac{1}{81}x^{3}\sqrt{2}+\frac{1}{7290}x^{6}\sqrt{2}-\cdots \right ) \nonumber \\ & =\frac{1}{3}\sqrt{2}x^{\frac{3}{2}}\left ( 1-\frac{1}{27}x^{3}+\frac{1}{2430}x^{6}-\cdots \right ) \tag{4} \end{align}

Comparing (3,4) with (2) we see that (2) can now be written as\[ y\left ( x\right ) =a_{0}\cos \left ( \frac{1}{3}x^{\frac{3}{2}}\sqrt{2}\right ) +\frac{b_{0}}{\frac{1}{3}\sqrt{2}}\sin \left ( \frac{1}{3}x^{\frac{3}{2}}\sqrt{2}\right ) \] Or letting \(c=\frac{b_{0}}{\frac{1}{3}\sqrt{2}}\)\[ \fbox{$y\left ( x\right ) =a_0\cos \left ( \frac{1}{3}x^\frac{3}{2}\sqrt{2}\right ) +c_0\sin \left ( \frac{1}{3}x^\frac{3}{2}\sqrt{2}\right ) $}\] This is the closed form solution. The constants \(a_{0},c_{0}\) can be found from initial conditions.

3.1.6.2 part f

Problem Find series expansion of all the solutions to the following differential equation about \(x=0\). Try to sum in closed form any infinite series that appear.

\[ \left ( \sin x\right ) y^{\prime \prime }-2\left ( \cos x\right ) y^{\prime }-\left ( \sin x\right ) y=0 \] Solution

In standard form\[ y^{\prime \prime }-2\left ( \frac{\cos x}{\sin x}\right ) y^{\prime }-y=0 \] Hence the singularities are in \(p\left ( x\right ) \) only and they occur when \(\sin x=0\) or \(x=0,\pm \pi ,\pm 2\pi ,\cdots \) but we just need to consider \(x=0\). Let us check if the singularity is removable.\[ \lim _{x\rightarrow 0}xp\left ( x\right ) =2\lim _{x\rightarrow 0}x\frac{\cos x}{\sin x}=2\lim _{x\rightarrow 0}x\frac{1-\frac{x^{2}}{2}+\frac{x^{4}}{4!}-\cdots }{x-\frac{x^{3}}{3!}+\frac{x^{5}}{5!}-\cdots }=2\lim _{x\rightarrow 0}\frac{1-\frac{x^{2}}{2}+\frac{x^{4}}{4!}-\cdots }{1-\frac{x^{2}}{3!}+\frac{x^{4}}{5!}-\cdots }=2 \] Hence the singularity is regular. So we can use Frobenius series\begin{align*} y\left ( x\right ) & =\sum _{n=0}^{\infty }a_{n}x^{n+r}\\ y^{\prime }\left ( x\right ) & =\sum _{n=0}^{\infty }\left ( n+r\right ) a_{n}x^{n+r-1}\\ y^{\prime \prime }\left ( x\right ) & =\sum _{n=0}^{\infty }\left ( n+r\right ) \left ( n+r-1\right ) a_{n}x^{n+r-2} \end{align*}

Substituting the above in \(\sin \left ( x\right ) y^{\prime \prime }-2\cos \left ( x\right ) y^{\prime }-\sin \left ( x\right ) y=0\) results in\[ \sin \left ( x\right ) \sum _{n=0}^{\infty }\left ( n+r\right ) \left ( n+r-1\right ) a_{n}x^{n+r-2}-2\cos \left ( x\right ) \sum _{n=0}^{\infty }\left ( n+r\right ) a_{n}x^{n+r-1}-\sin \left ( x\right ) \sum _{n=0}^{\infty }a_{n}x^{n+r}=0 \] Now using Taylor series for \(\sin x,\cos x\) expanded around \(0\), the above becomes

We need now to evaluate products of power series. Using what is called Cauchy product rule, where\begin{equation} f\left ( x\right ) g\left ( x\right ) =\left ( \sum _{m=0}^{\infty }b_{m}x^{m}\right ) \left ( \sum _{n=0}^{\infty }a_{n}x^{n}\right ) =\sum _{m=0}^{\infty }\sum _{n=0}^{\infty }b_{m}a_{n}x^{m+n} \tag{2} \end{equation} Applying (2) to first term in (1) gives\begin{equation} \sum _{m=0}^{\infty }\left ( -1\right ) ^{m}\frac{x^{2m+1}}{\left ( 2m+1\right ) !}\sum _{n=0}^{\infty }\left ( n+r\right ) \left ( n+r-1\right ) a_{n}x^{n+r-2}=\sum _{m=0}^{\infty }\sum _{n=0}^{\infty }\frac{\left ( -1\right ) ^{m}\left ( n+r\right ) \left ( n+r-1\right ) }{\left ( 2m+1\right ) !}a_{n}x^{2m+n+r-1} \tag{3} \end{equation} Applying (2) to second term in (1) gives\begin{equation} \sum _{m=0}^{\infty }\left ( -1\right ) ^{m}\frac{x^{2m}}{\left ( 2m\right ) !}\sum _{n=0}^{\infty }\left ( n+r\right ) a_{n}x^{n+r-1}=\sum _{m=0}^{\infty }\sum _{n=0}^{\infty }\frac{\left ( -1\right ) ^{m}\left ( n+r\right ) }{\left ( 2m\right ) !}a_{n}x^{2m+n+r-1} \tag{4} \end{equation} Applying (2) to the last term in (1) gives\begin{equation} \sum _{m=0}^{\infty }\left ( -1\right ) ^{m}\frac{x^{2m+1}}{\left ( 2m+1\right ) !}\sum _{n=0}^{\infty }a_{n}x^{n+r}=\sum _{m=0}^{\infty }\sum _{n=0}^{\infty }\frac{\left ( -1\right ) ^{m}a_{n}}{\left ( 2m+1\right ) !}x^{2m+n+r+1} \tag{5} \end{equation} Substituting (3,4,5) back into (1) gives
We now need to make all \(x\) exponents the same. This gives
The first step is to obtain the indicial equation. As the nature of the roots will tell us how to proceed. The indicial equation is obtained from setting \(n=m=0\) in (6) with the assumption that \(a_{0}\neq 0\). This results in\begin{align*} \frac{\left ( -1\right ) ^{m}\left ( n+r\right ) \left ( n+r-1\right ) }{\left ( 2m+1\right ) !}a_{n}x^{2m+n+r-1}-2\frac{\left ( -1\right ) ^{m}\left ( n+r\right ) }{\left ( 2m\right ) !}a_{n}x^{2m+n+r-1} & =0\\ \left ( r\right ) \left ( r-1\right ) a_{0}-2ra_{0} & =0\\ a_{0}\left ( r^{2}-r-2r\right ) & =0 \end{align*}

Since \(a_{0}\neq 0\) then we obtain the indicial equation (quadratic in \(r\))\begin{align*} r^{2}-3r & =0\\ r\left ( r-3\right ) & =0 \end{align*}

Hence roots are\begin{align*} r_{1} & =3\\ r_{2} & =0 \end{align*}

(it is always easier to make \(r_{1}>r_{2}\)). Since \(r_{1}-r_{2}=3\) is now an integer, then this is case II part (b) in textbook, page 72.  In this case, the two linearly independent solutions are \begin{align*} y_{1}\left ( x\right ) & =x^{3}{\displaystyle \sum \limits _{n=0}} a_{n}x^{n}={\displaystyle \sum \limits _{n=0}} a_{n}x^{n+3}\\ y_{2}\left ( x\right ) & =ky_{1}\left ( x\right ) \ln \left ( x\right ) +x^{r_{2}}{\displaystyle \sum \limits _{n=0}} b_{n}x^{n}=ky_{1}\left ( x\right ) \ln \left ( x\right ) +{\displaystyle \sum \limits _{n=0}} b_{n}x^{n} \end{align*}

Where \(k\) is some constant. Now we will find \(y_{1}\). From (6), where now we set \(r=3\)

For \(m=0,n=1\)\begin{align*} \frac{\left ( -1\right ) ^{m}\left ( n+3\right ) \left ( n+2\right ) }{\left ( 2m+1\right ) !}a_{n}-2\left ( \frac{\left ( -1\right ) ^{m}\left ( n+3\right ) }{\left ( 2m\right ) !}a_{n}\right ) & =0\\ \left ( 4\right ) \left ( 3\right ) a_{1}-2\left ( 4a_{1}\right ) & =0\\ a_{1} & =0 \end{align*}

For \(m=0,n\geq 2\) we obtain recursive equation\begin{align*} \left ( n+3\right ) \left ( n+2\right ) a_{n}-2\left ( n+3\right ) a_{n}-a_{n-2} & =0\\ a_{n} & =\frac{-a_{n-2}}{\left ( n+3\right ) \left ( n+2\right ) -2\left ( n+3\right ) }=\frac{-a_{n-2}}{n\left ( n+3\right ) } \end{align*}

Hence, for \(m=0,n=2\) \[ a_{2}=\frac{-a_{0}}{10}\] For \(m=0,n=3\)\[ a_{3}=\frac{-a_{1}}{n\left ( n+3\right ) }=0 \] For \(m=0,n=4\)\[ a_{4}=\frac{-a_{2}}{4\left ( 7\right ) }=\frac{a_{0}}{280}\] For \(m=0,n=5\,\)\[ a_{5}=0 \] For \(m=0,n=6\)\[ a_{6}=\frac{-a_{4}}{6\left ( 6+3\right ) }=\frac{-a_{0}}{6\left ( 6+3\right ) \left ( 280\right ) }=\frac{-a_{0}}{15120}\] For \(m=0,n=7\), \(a_{7}=0\) and for \(m=0,n=8\)\[ a_{8}=\frac{-a_{6}}{8\left ( 8+3\right ) }=\frac{1}{1330560}a_{0}\] And so on. Since \(y_{1}\left ( x\right ) ={\displaystyle \sum \limits _{n=0}} a_{n}x^{n+3}\), then the first solution is now found. It is \begin{align} y_{1}\left ( x\right ) & =a_{0}x^{3}+a_{1}x^{4}+a_{2}x^{5}+a_{3}x^{6}+a_{4}x^{7}+a_{5}x^{8}+a_{6}x^{9}+a_{7}x^{10}+a_{8}x^{11}+\cdots \nonumber \\ & =a_{0}x^{3}+0-\frac{a_{0}}{10}x^{5}+0+\frac{a_{0}}{280}x^{7}+0-\frac{a_{0}}{15\,120}x^{9}+0+\frac{1}{1330560}a_{0}x^{11}+\cdots \nonumber \\ & =a_{0}x^{3}\left ( 1-\frac{x^{2}}{10}+\frac{x^{5}}{280}-\frac{x^{6}}{15120}+\frac{x^{8}}{1330560}-\cdots \right ) \tag{7} \end{align}

The second solution can now be found from\[ y_{2}=ky_{1}\left ( x\right ) \ln \left ( x\right ) +{\displaystyle \sum \limits _{n=0}} b_{n}x^{n}\] I could not find a way to convert the complete solution to closed form solution, or even find closed form for \(y_{1}\left ( x\right ) \). The computer claims that the closed form final solution is\begin{align*} y\left ( x\right ) & =y_{1}\left ( x\right ) +y_{2}\left ( x\right ) \\ & =a_{0}\cos \left ( x\right ) +b_{0}\left ( -\sqrt{\cos ^{2}x-1}+\cos x\ln \left ( \cos \left ( x\right ) +\sqrt{\cos ^{2}x-1}\right ) \right ) \end{align*}

Which appears to imply that (7) is \(\cos \left ( x\right ) \) series. But it is not. Converting series solution to closed form solution is hard. Is this something we are supposed to know how to do? Other by inspection, is there a formal process to do it?

3.1.7 key solution of selected problems

   3.1.7.1 section 3 problem 8
   3.1.7.2 section 3 problem 6
   3.1.7.3 section 3 problem 4
   3.1.7.4 section 3 problem 24

3.1.7.1 section 3 problem 8

PDF

3.1.7.2 section 3 problem 6

PDF

3.1.7.3 section 3 problem 4

PDF

3.1.7.4 section 3 problem 24

PDF