1.395 problem 396

Internal problem ID [8732]

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

CAS Maple gives this as type [_separable]

\[ \boxed {{y^{\prime }}^{2}+y \left (y-x \right ) y^{\prime }-y^{3} x=0} \]

Solution by Maple

Time used: 0.016 (sec). Leaf size: 20

dsolve(diff(y(x),x)^2+y(x)*(y(x)-x)*diff(y(x),x)-x*y(x)^3 = 0,y(x), singsol=all)
 

\begin{align*} y \left (x \right ) &= {\mathrm e}^{\frac {x^{2}}{2}} c_{1} \\ y \left (x \right ) &= \frac {1}{x +c_{1}} \\ \end{align*}

Solution by Mathematica

Time used: 0.13 (sec). Leaf size: 34

DSolve[-(x*y[x]^3) + y[x]*(-x + y[x])*y'[x] + y'[x]^2==0,y[x],x,IncludeSingularSolutions -> True]
                                                                                    
                                                                                    
 

\begin{align*} y(x)\to \frac {1}{x-c_1} \\ y(x)\to c_1 e^{\frac {x^2}{2}} \\ y(x)\to 0 \\ \end{align*}