3.10 problem 1010

3.10.1 Solving as second order bessel ode ode
3.10.2 Maple step by step solution

Internal problem ID [9343]
Internal file name [OUTPUT/8279_Monday_June_06_2022_02_37_14_AM_11747107/index.tex]

Book: Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section: Chapter 2, linear second order
Problem number: 1010.
ODE order: 2.
ODE degree: 1.

The type(s) of ODE detected by this program : "second_order_bessel_ode"

Maple gives the following as the ode type

[[_2nd_order, _with_linear_symmetries]]

\[ \boxed {y^{\prime \prime }+\left (a x +b \right ) y=0} \]

3.10.1 Solving as second order bessel ode ode

Writing the ode as \begin {align*} x^{2} y^{\prime \prime }+\left (a \,x^{3}+b \,x^{2}\right ) y = 0\tag {1} \end {align*}

Bessel ode has the form \begin {align*} x^{2} y^{\prime \prime }+y^{\prime } x +\left (-n^{2}+x^{2}\right ) y = 0\tag {2} \end {align*}

The generalized form of Bessel ode is given by Bowman (1958) as the following \begin {align*} x^{2} y^{\prime \prime }+\left (1-2 \alpha \right ) x y^{\prime }+\left (\beta ^{2} \gamma ^{2} x^{2 \gamma }-n^{2} \gamma ^{2}+\alpha ^{2}\right ) y = 0\tag {3} \end {align*}

With the standard solution \begin {align*} y&=x^{\alpha } \left (c_{1} \operatorname {BesselJ}\left (n , \beta \,x^{\gamma }\right )+c_{2} \operatorname {BesselY}\left (n , \beta \,x^{\gamma }\right )\right )\tag {4} \end {align*}

Comparing (3) to (1) and solving for \(\alpha ,\beta ,n,\gamma \) gives \begin {align*} \alpha &= {\frac {1}{2}}\\ \beta &= 2\\ n &= -1\\ \gamma &= {\frac {1}{2}} \end {align*}

Substituting all the above into (4) gives the solution as \begin {align*} y = -c_{1} \sqrt {x}\, \operatorname {BesselJ}\left (1, 2 \sqrt {x}\right )-c_{2} \sqrt {x}\, \operatorname {BesselY}\left (1, 2 \sqrt {x}\right ) \end {align*}

Summary

The solution(s) found are the following \begin{align*} \tag{1} y &= -c_{1} \sqrt {x}\, \operatorname {BesselJ}\left (1, 2 \sqrt {x}\right )-c_{2} \sqrt {x}\, \operatorname {BesselY}\left (1, 2 \sqrt {x}\right ) \\ \end{align*}

Verification of solutions

\[ y = -c_{1} \sqrt {x}\, \operatorname {BesselJ}\left (1, 2 \sqrt {x}\right )-c_{2} \sqrt {x}\, \operatorname {BesselY}\left (1, 2 \sqrt {x}\right ) \] Verified OK.

3.10.2 Maple step by step solution

\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & \frac {d}{d x}y^{\prime }+\left (a x +b \right ) y=0 \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 2 \\ {} & {} & \frac {d}{d x}y^{\prime } \\ \bullet & {} & \textrm {Assume series solution for}\hspace {3pt} y \\ {} & {} & y=\moverset {\infty }{\munderset {k =0}{\sum }}a_{k} x^{k} \\ \square & {} & \textrm {Rewrite ODE with series expansions}\hspace {3pt} \\ {} & \circ & \textrm {Convert}\hspace {3pt} x^{m}\cdot y\hspace {3pt}\textrm {to series expansion for}\hspace {3pt} m =0..1 \\ {} & {} & x^{m}\cdot y=\moverset {\infty }{\munderset {k =\max \left (0, -m \right )}{\sum }}a_{k} x^{k +m} \\ {} & \circ & \textrm {Shift index using}\hspace {3pt} k \mathrm {->}k -m \\ {} & {} & x^{m}\cdot y=\moverset {\infty }{\munderset {k =\max \left (0, -m \right )+m}{\sum }}a_{k -m} x^{k} \\ {} & \circ & \textrm {Convert}\hspace {3pt} \frac {d}{d x}y^{\prime }\hspace {3pt}\textrm {to series expansion}\hspace {3pt} \\ {} & {} & \frac {d}{d x}y^{\prime }=\moverset {\infty }{\munderset {k =2}{\sum }}a_{k} k \left (k -1\right ) x^{k -2} \\ {} & \circ & \textrm {Shift index using}\hspace {3pt} k \mathrm {->}k +2 \\ {} & {} & \frac {d}{d x}y^{\prime }=\moverset {\infty }{\munderset {k =0}{\sum }}a_{k +2} \left (k +2\right ) \left (k +1\right ) x^{k} \\ & {} & \textrm {Rewrite ODE with series expansions}\hspace {3pt} \\ {} & {} & a_{0} b +2 a_{2}+\left (\moverset {\infty }{\munderset {k =1}{\sum }}\left (a_{k +2} \left (k +2\right ) \left (k +1\right )+a_{k} b +a_{k -1} a \right ) x^{k}\right )=0 \\ \bullet & {} & \textrm {Each term must be 0}\hspace {3pt} \\ {} & {} & a_{0} b +2 a_{2}=0 \\ \bullet & {} & \textrm {Each term in the series must be 0, giving the recursion relation}\hspace {3pt} \\ {} & {} & \left (k^{2}+3 k +2\right ) a_{k +2}+a_{k -1} a +a_{k} b =0 \\ \bullet & {} & \textrm {Shift index using}\hspace {3pt} k \mathrm {->}k +1 \\ {} & {} & \left (\left (k +1\right )^{2}+3 k +5\right ) a_{k +3}+a_{k} a +a_{k +1} b =0 \\ \bullet & {} & \textrm {Recursion relation that defines the series solution to the ODE}\hspace {3pt} \\ {} & {} & \left [y=\moverset {\infty }{\munderset {k =0}{\sum }}a_{k} x^{k}, a_{k +3}=-\frac {a_{k} a +a_{k +1} b}{k^{2}+5 k +6}, a_{0} b +2 a_{2}=0\right ] \end {array} \]

Maple trace

`Methods for second order ODEs: 
--- Trying classification methods --- 
trying a quadrature 
checking if the LODE has constant coefficients 
checking if the LODE is of Euler type 
trying a symmetry of the form [xi=0, eta=F(x)] 
checking if the LODE is missing y 
-> Trying a Liouvillian solution using Kovacics algorithm 
<- No Liouvillian solutions exists 
-> Trying a solution in terms of special functions: 
   -> Bessel 
   <- Bessel successful 
<- special function solution successful`
 

Solution by Maple

Time used: 0.016 (sec). Leaf size: 31

dsolve(diff(diff(y(x),x),x)+(a*x+b)*y(x)=0,y(x), singsol=all)
 

\[ y \left (x \right ) = c_{1} \operatorname {AiryAi}\left (-\frac {a x +b}{a^{\frac {2}{3}}}\right )+c_{2} \operatorname {AiryBi}\left (-\frac {a x +b}{a^{\frac {2}{3}}}\right ) \]

Solution by Mathematica

Time used: 0.024 (sec). Leaf size: 42

DSolve[(b + a*x)*y[x] + y''[x] == 0,y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to c_1 \operatorname {AiryAi}\left (-\frac {b+a x}{(-a)^{2/3}}\right )+c_2 \operatorname {AiryBi}\left (-\frac {b+a x}{(-a)^{2/3}}\right ) \]