Internal problem ID [2816]
Book: Ordinary differential equations and their solutions. By George Moseley Murphy.
1960
Section: Various 3
Problem number: 61.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_Riccati]
\[ \boxed {y^{\prime }-1-a \left (x -y\right ) y=0} \]
✓ Solution by Maple
Time used: 0.015 (sec). Leaf size: 71
dsolve(diff(y(x),x) = 1+a*(x-y(x))*y(x),y(x), singsol=all)
\[ y \left (x \right ) = \frac {\sqrt {2}\, \operatorname {erf}\left (\frac {\sqrt {2}\, \sqrt {a}\, x}{2}\right ) \sqrt {\pi }\, a x +2 a^{\frac {3}{2}} c_{1} x +2 \sqrt {a}\, {\mathrm e}^{-\frac {a \,x^{2}}{2}}}{\sqrt {2}\, \operatorname {erf}\left (\frac {\sqrt {2}\, \sqrt {a}\, x}{2}\right ) \sqrt {\pi }\, a +2 a^{\frac {3}{2}} c_{1}} \]
✓ Solution by Mathematica
Time used: 3.193 (sec). Leaf size: 59
DSolve[y'[x]==1+a(x-y[x])y[x],y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to x+\frac {2 c_1 e^{-\frac {a x^2}{2}}}{\sqrt {a} \left (2 \sqrt {a}+\sqrt {2 \pi } c_1 \text {erf}\left (\frac {\sqrt {a} x}{\sqrt {2}}\right )\right )} \\ \end{align*}