2.41 problem 41

Internal problem ID [6725]

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 }-x +y^{2}=0} \]

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.114 (sec). Leaf size: 118

DSolve[y'[x]==x-y[x]^2,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \frac {i \sqrt {x} \left (\operatorname {BesselJ}\left (-\frac {2}{3},\frac {2}{3} i x^{3/2}\right )-c_1 \operatorname {BesselJ}\left (\frac {2}{3},\frac {2}{3} i x^{3/2}\right )\right )}{\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 )} \\ y(x)\to \frac {3 \operatorname {AiryAiPrime}(x)+\sqrt {3} \operatorname {AiryBiPrime}(x)}{3 \operatorname {AiryAi}(x)+\sqrt {3} \operatorname {AiryBi}(x)} \\ \end{align*}