1.27 problem 27

Internal problem ID [8364]

Book: Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section: Chapter 1, linear first order
Problem number: 27.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_Riccati]

\[ \boxed {y^{\prime }+a y \left (-x +y\right )=1} \]

Solution by Maple

Time used: 0.047 (sec). Leaf size: 71

dsolve(diff(y(x),x) + a*y(x)*(y(x)-x) - 1=0,y(x), singsol=all)
 

\[ y \left (x \right ) = \frac {\sqrt {\pi }\, \sqrt {2}\, \operatorname {erf}\left (\frac {\sqrt {2}\, \sqrt {a}\, x}{2}\right ) a x +2 a^{\frac {3}{2}} c_{1} x +2 \sqrt {a}\, {\mathrm e}^{-\frac {a \,x^{2}}{2}}}{\sqrt {\pi }\, \sqrt {2}\, \operatorname {erf}\left (\frac {\sqrt {2}\, \sqrt {a}\, x}{2}\right ) a +2 a^{\frac {3}{2}} c_{1}} \]

Solution by Mathematica

Time used: 2.078 (sec). Leaf size: 93

DSolve[y'[x] + a*y[x]*(y[x]-x) - 1==0,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \frac {\sqrt {2 \pi } c_1 x \text {erf}\left (\frac {\sqrt {a} x}{\sqrt {2}}\right )+\frac {2 \left (a x+c_1 e^{-\frac {a x^2}{2}}\right )}{\sqrt {a}}}{2 \sqrt {a}+\sqrt {2 \pi } c_1 \text {erf}\left (\frac {\sqrt {a} x}{\sqrt {2}}\right )} y(x)\to x \end{align*}