29.11 problem 120

29.11.1 Solving as second order bessel ode ode

Internal problem ID [10943]
Internal file name [OUTPUT/10200_Sunday_December_31_2023_11_06_58_AM_48794329/index.tex]

Book: Handbook of exact solutions for ordinary differential equations. By Polyanin and Zaitsev. Second edition
Section: Chapter 2, Second-Order Differential Equations. section 2.1.2-4 Equation of form \(x^2 y''+f(x)y'+g(x)y=0\)
Problem number: 120.
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 {x^{2} y^{\prime \prime }+\left (x^{2 n} a +b \,x^{n}+c \right ) y=0} \]

29.11.1 Solving as second order bessel ode ode

Writing the ode as \begin {align*} x^{2} y^{\prime \prime }+\left (x^{2 n} a +b \,x^{n}+c \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 &= \sqrt {-4 c +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 (\sqrt {-4 c +1}, 2 \sqrt {x}\right )+c_{2} \sqrt {x}\, \operatorname {BesselY}\left (\sqrt {-4 c +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 (\sqrt {-4 c +1}, 2 \sqrt {x}\right )+c_{2} \sqrt {x}\, \operatorname {BesselY}\left (\sqrt {-4 c +1}, 2 \sqrt {x}\right ) \\ \end{align*}

Verification of solutions

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

Maple trace

`Methods for second order ODEs: 
--- Trying classification methods --- 
trying a symmetry of the form [xi=0, eta=F(x)] 
checking if the LODE is missing y 
-> Trying an equivalence, under non-integer power transformations, 
   to LODEs admitting Liouvillian solutions. 
   -> Trying a Liouvillian solution using Kovacics algorithm 
   <- No Liouvillian solutions exists 
-> Trying a solution in terms of special functions: 
   -> Bessel 
   -> elliptic 
   -> Legendre 
   -> Whittaker 
      -> hyper3: Equivalence to 1F1 under a power @ Moebius 
      <- hyper3 successful: received ODE is equivalent to the 1F1 ODE 
   <- Whittaker successful 
<- special function solution successful`
 

Solution by Maple

Time used: 0.172 (sec). Leaf size: 90

dsolve(x^2*diff(y(x),x$2)+(a*x^(2*n)+b*x^n+c)*y(x)=0,y(x), singsol=all)
 

\[ y \left (x \right ) = x^{-\frac {n}{2}} \sqrt {x}\, \left (\operatorname {WhittakerW}\left (-\frac {i b}{2 \sqrt {a}\, n}, \frac {i \sqrt {4 c -1}}{2 n}, \frac {2 i \sqrt {a}\, x^{n}}{n}\right ) c_{2} +\operatorname {WhittakerM}\left (-\frac {i b}{2 \sqrt {a}\, n}, \frac {i \sqrt {4 c -1}}{2 n}, \frac {2 i \sqrt {a}\, x^{n}}{n}\right ) c_{1} \right ) \]

Solution by Mathematica

Time used: 0.313 (sec). Leaf size: 236

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

\[ y(x)\to 2^{\frac {\sqrt {(1-4 c) n^2}+n^2}{2 n^2}} x^{\frac {1}{2}-\frac {n}{2}} e^{\frac {i \sqrt {a} x^n}{n}} \left (x^n\right )^{\frac {\sqrt {(1-4 c) n^2}+n^2}{2 n^2}} \left (c_1 \operatorname {HypergeometricU}\left (\frac {1}{2} \left (-\frac {i b}{\sqrt {a} n}+\frac {\sqrt {(1-4 c) n^2}}{n^2}+1\right ),\frac {\sqrt {(1-4 c) n^2}}{n^2}+1,-\frac {2 i \sqrt {a} x^n}{n}\right )+c_2 L_{\frac {1}{2} \left (\frac {i b}{\sqrt {a} n}-\frac {\sqrt {(1-4 c) n^2}}{n^2}-1\right )}^{\frac {\sqrt {(1-4 c) n^2}}{n^2}}\left (-\frac {2 i \sqrt {a} x^n}{n}\right )\right ) \]