Internal problem ID [12623]
Book: Ordinary Differential Equations by Charles E. Roberts, Jr. CRC Press. 2010
Section: Chapter 2. The Initial Value Problem. Exercises 2.1, page 40
Problem number: 5 (I).
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_Riccati]
\[ \boxed {y^{\prime }+y^{2}=x^{2}} \]
✓ Solution by Maple
Time used: 0.016 (sec). Leaf size: 44
dsolve(diff(y(x),x)=x^2-y(x)^2,y(x), singsol=all)
\[ y \left (x \right ) = \frac {x \left (\operatorname {BesselI}\left (-\frac {3}{4}, \frac {x^{2}}{2}\right ) c_{1} -\operatorname {BesselK}\left (\frac {3}{4}, \frac {x^{2}}{2}\right )\right )}{\operatorname {BesselI}\left (\frac {1}{4}, \frac {x^{2}}{2}\right ) c_{1} +\operatorname {BesselK}\left (\frac {1}{4}, \frac {x^{2}}{2}\right )} \]
✓ Solution by Mathematica
Time used: 0.184 (sec). Leaf size: 197
DSolve[y'[x]==x^2-y[x]^2,y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to -\frac {-i x^2 \left (2 \operatorname {BesselJ}\left (-\frac {3}{4},\frac {i x^2}{2}\right )+c_1 \left (\operatorname {BesselJ}\left (-\frac {5}{4},\frac {i x^2}{2}\right )-\operatorname {BesselJ}\left (\frac {3}{4},\frac {i x^2}{2}\right )\right )\right )-c_1 \operatorname {BesselJ}\left (-\frac {1}{4},\frac {i x^2}{2}\right )}{2 x \left (\operatorname {BesselJ}\left (\frac {1}{4},\frac {i x^2}{2}\right )+c_1 \operatorname {BesselJ}\left (-\frac {1}{4},\frac {i x^2}{2}\right )\right )} \\ y(x)\to \frac {i x^2 \operatorname {BesselJ}\left (-\frac {5}{4},\frac {i x^2}{2}\right )-i x^2 \operatorname {BesselJ}\left (\frac {3}{4},\frac {i x^2}{2}\right )+\operatorname {BesselJ}\left (-\frac {1}{4},\frac {i x^2}{2}\right )}{2 x \operatorname {BesselJ}\left (-\frac {1}{4},\frac {i x^2}{2}\right )} \\ \end{align*}