Internal problem ID [7482]
Book: Second order enumerated odes
Section: section 2
Problem number: 41.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [[_Riccati, _special]]
\[ \boxed {y^{\prime }+y^{2}=x} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 23
dsolve(diff(y(x),x)=x-y(x)^2,y(x), singsol=all)
\[ y \left (x \right ) = \frac {c_{1} \operatorname {AiryAi}\left (1, x\right )+\operatorname {AiryBi}\left (1, x\right )}{c_{1} \operatorname {AiryAi}\left (x \right )+\operatorname {AiryBi}\left (x \right )} \]
✓ Solution by Mathematica
Time used: 0.118 (sec). Leaf size: 223
DSolve[y'[x]==x-y[x]^2,y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to -\frac {-i x^{3/2} \left (2 \operatorname {BesselJ}\left (-\frac {2}{3},\frac {2}{3} i x^{3/2}\right )+c_1 \left (\operatorname {BesselJ}\left (-\frac {4}{3},\frac {2}{3} i x^{3/2}\right )-\operatorname {BesselJ}\left (\frac {2}{3},\frac {2}{3} i x^{3/2}\right )\right )\right )-c_1 \operatorname {BesselJ}\left (-\frac {1}{3},\frac {2}{3} i x^{3/2}\right )}{2 x \left (\operatorname {BesselJ}\left (\frac {1}{3},\frac {2}{3} i x^{3/2}\right )+c_1 \operatorname {BesselJ}\left (-\frac {1}{3},\frac {2}{3} i x^{3/2}\right )\right )} \\ y(x)\to \frac {i x^{3/2} \operatorname {BesselJ}\left (-\frac {4}{3},\frac {2}{3} i x^{3/2}\right )-i x^{3/2} \operatorname {BesselJ}\left (\frac {2}{3},\frac {2}{3} i x^{3/2}\right )+\operatorname {BesselJ}\left (-\frac {1}{3},\frac {2}{3} i x^{3/2}\right )}{2 x \operatorname {BesselJ}\left (-\frac {1}{3},\frac {2}{3} i x^{3/2}\right )} \\ \end{align*}