Internal problem ID [5724]
Book: Ordinary differential equations and calculus of variations. Makarets and Reshetnyak. Wold
Scientific. Singapore. 1995
Section: Chapter 1. First order differential equations. Section 1.1 Separable equations problems.
page 7
Problem number: 11.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_separable]
\[ \boxed {y^{\prime }-x y^{2}-2 y x=0} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 19
dsolve(diff(y(x),x)-x*y(x)^2=2*x*y(x),y(x), singsol=all)
\[ y \left (x \right ) = \frac {2}{-1+2 c_{1} {\mathrm e}^{-x^{2}}} \]
✓ Solution by Mathematica
Time used: 0.276 (sec). Leaf size: 37
DSolve[y'[x]-2*x*y[x]^2==2*x*y[x],y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to -\frac {e^{x^2+c_1}}{-1+e^{x^2+c_1}} y(x)\to -1 y(x)\to 0 \end{align*}