24.10 problem 750

24.10.1 Solving as second order bessel ode ode
24.10.2 Maple step by step solution

Internal problem ID [15491]
Internal file name [OUTPUT/15492_Friday_May_10_2024_05_47_28_PM_80826676/index.tex]

Book: A book of problems in ordinary differential equations. M.L. KRASNOV, A.L. KISELYOV, G.I. MARKARENKO. MIR, MOSCOW. 1983
Section: Chapter 2 (Higher order ODE’s). Section 18.2. Expanding a solution in generalized power series. Bessels equation. Exercises page 177
Problem number: 750.
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

[_Lienard]

\[ \boxed {y^{\prime \prime }+\frac {5 y^{\prime }}{x}+y=0} \]

24.10.1 Solving as second order bessel ode ode

Writing the ode as \begin {align*} x^{2} y^{\prime \prime }+5 x y^{\prime }+y x^{2} = 0\tag {1} \end {align*}

Bessel ode has the form \begin {align*} x^{2} y^{\prime \prime }+x y^{\prime }+\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 &= -2\\ \beta &= 1\\ n &= 2\\ \gamma &= 1 \end {align*}

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

Summary

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

Verification of solutions

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

24.10.2 Maple step by step solution

\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & y^{\prime \prime } x +y x +5 y^{\prime }=0 \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 2 \\ {} & {} & y^{\prime \prime } \\ \bullet & {} & \textrm {Isolate 2nd derivative}\hspace {3pt} \\ {} & {} & y^{\prime \prime }=-\frac {5 y^{\prime }}{x}-y \\ \bullet & {} & \textrm {Group terms with}\hspace {3pt} y\hspace {3pt}\textrm {on the lhs of the ODE and the rest on the rhs of the ODE; ODE is linear}\hspace {3pt} \\ {} & {} & y^{\prime \prime }+\frac {5 y^{\prime }}{x}+y=0 \\ \bullet & {} & \textrm {Simplify ODE}\hspace {3pt} \\ {} & {} & x^{2} y^{\prime \prime }+5 x y^{\prime }+y x^{2}=0 \\ \bullet & {} & \textrm {Make a change of variables}\hspace {3pt} \\ {} & {} & y=\frac {u \left (x \right )}{x^{2}} \\ \bullet & {} & \textrm {Compute}\hspace {3pt} y^{\prime } \\ {} & {} & y^{\prime }=-\frac {2 u \left (x \right )}{x^{3}}+\frac {u^{\prime }\left (x \right )}{x^{2}} \\ \bullet & {} & \textrm {Compute}\hspace {3pt} y^{\prime \prime } \\ {} & {} & y^{\prime \prime }=\frac {6 u \left (x \right )}{x^{4}}-\frac {4 u^{\prime }\left (x \right )}{x^{3}}+\frac {u^{\prime \prime }\left (x \right )}{x^{2}} \\ \bullet & {} & \textrm {Apply change of variables to the ODE}\hspace {3pt} \\ {} & {} & u \left (x \right ) x^{2}+u^{\prime \prime }\left (x \right ) x^{2}+u^{\prime }\left (x \right ) x -4 u \left (x \right )=0 \\ \bullet & {} & \textrm {ODE is now of the Bessel form}\hspace {3pt} \\ \bullet & {} & \textrm {Solution to Bessel ODE}\hspace {3pt} \\ {} & {} & u \left (x \right )=c_{1} \mathit {BesselJ}\left (2, x\right )+c_{2} \mathit {BesselY}\left (2, x\right ) \\ \bullet & {} & \textrm {Make the change from}\hspace {3pt} y\hspace {3pt}\textrm {back to}\hspace {3pt} y \\ {} & {} & y=\frac {c_{1} \mathit {BesselJ}\left (2, x\right )+c_{2} \mathit {BesselY}\left (2, x\right )}{x^{2}} \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.0 (sec). Leaf size: 35

dsolve(diff(y(x),x$2)+5/x*diff(y(x),x)+y(x)=0,y(x), singsol=all)
 

\[ y = \frac {-\operatorname {BesselY}\left (0, x\right ) c_{2} x -\operatorname {BesselJ}\left (0, x\right ) c_{1} x +2 \operatorname {BesselY}\left (1, x\right ) c_{2} +2 \operatorname {BesselJ}\left (1, x\right ) c_{1}}{x^{3}} \]

Solution by Mathematica

Time used: 0.015 (sec). Leaf size: 22

DSolve[y''[x]+5/x*y'[x]+y[x]==0,y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to \frac {c_1 \operatorname {BesselJ}(2,x)+c_2 \operatorname {BesselY}(2,x)}{x^2} \]