1.22 problem 22

Internal problem ID [7338]

Book: First order enumerated odes
Section: section 1
Problem number: 22.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_rational, _Riccati]

\[ \boxed {y^{\prime } c -\frac {x a +b y^{2}}{r \,x^{2}}=0} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 106

dsolve(c*diff(y(x),x)=(a*x+b*y(x)^2)/(r*x^2),y(x), singsol=all)
 

\[ y \left (x \right ) = \frac {a \left (\operatorname {BesselY}\left (0, 2 \sqrt {\frac {b a}{c^{2} r^{2} x}}\right ) c_{1} +\operatorname {BesselJ}\left (0, 2 \sqrt {\frac {b a}{c^{2} r^{2} x}}\right )\right )}{c r \sqrt {\frac {b a}{c^{2} r^{2} x}}\, \left (c_{1} \operatorname {BesselY}\left (1, 2 \sqrt {\frac {b a}{c^{2} r^{2} x}}\right )+\operatorname {BesselJ}\left (1, 2 \sqrt {\frac {b a}{c^{2} r^{2} x}}\right )\right )} \]

Solution by Mathematica

Time used: 0.358 (sec). Leaf size: 492

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

\begin{align*} y(x)\to \frac {2 \sqrt {a} \sqrt {b} \operatorname {BesselY}\left (0,\frac {2 \sqrt {a} \sqrt {b} \sqrt {\frac {1}{x}}}{c r}\right )+\frac {2 c r \operatorname {BesselY}\left (1,\frac {2 \sqrt {a} \sqrt {b} \sqrt {\frac {1}{x}}}{c r}\right )}{\sqrt {\frac {1}{x}}}-2 \sqrt {a} \sqrt {b} \operatorname {BesselY}\left (2,\frac {2 \sqrt {a} \sqrt {b} \sqrt {\frac {1}{x}}}{c r}\right )-i \sqrt {a} \sqrt {b} c_1 \operatorname {BesselJ}\left (0,\frac {2 \sqrt {a} \sqrt {b} \sqrt {\frac {1}{x}}}{c r}\right )-\frac {i c c_1 r \operatorname {BesselJ}\left (1,\frac {2 \sqrt {a} \sqrt {b} \sqrt {\frac {1}{x}}}{c r}\right )}{\sqrt {\frac {1}{x}}}+i \sqrt {a} \sqrt {b} c_1 \operatorname {BesselJ}\left (2,\frac {2 \sqrt {a} \sqrt {b} \sqrt {\frac {1}{x}}}{c r}\right )}{2 b \sqrt {\frac {1}{x}} \left (2 \operatorname {BesselY}\left (1,\frac {2 \sqrt {a} \sqrt {b} \sqrt {\frac {1}{x}}}{c r}\right )-i c_1 \operatorname {BesselJ}\left (1,\frac {2 \sqrt {a} \sqrt {b} \sqrt {\frac {1}{x}}}{c r}\right )\right )} \\ y(x)\to \frac {x \left (\sqrt {a} \sqrt {b} \sqrt {\frac {1}{x}} \operatorname {BesselJ}\left (0,\frac {2 \sqrt {a} \sqrt {b} \sqrt {\frac {1}{x}}}{c r}\right )+c r \operatorname {BesselJ}\left (1,\frac {2 \sqrt {a} \sqrt {b} \sqrt {\frac {1}{x}}}{c r}\right )-\sqrt {a} \sqrt {b} \sqrt {\frac {1}{x}} \operatorname {BesselJ}\left (2,\frac {2 \sqrt {a} \sqrt {b} \sqrt {\frac {1}{x}}}{c r}\right )\right )}{2 b \operatorname {BesselJ}\left (1,\frac {2 \sqrt {a} \sqrt {b} \sqrt {\frac {1}{x}}}{c r}\right )} \\ \end{align*}