Internal problem ID [4926]
Book: Fundamentals of Differential Equations. By Nagle, Saff and Snider. 9th edition. Boston.
Pearson 2018.
Section: Chapter 2, First order differential equations. Section 2.2, Separable Equations. Exercises.
page 46
Problem number: 15.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_separable]
\[ \boxed {x y^{2}+y \,{\mathrm e}^{x^{2}} y^{\prime }=-x} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 35
dsolve((x+x*y(x)^2)+exp(x^2)*y(x)*diff(y(x),x)=0,y(x), singsol=all)
\begin{align*} y \left (x \right ) = \sqrt {{\mathrm e}^{{\mathrm e}^{-x^{2}}} c_{1} -1} y \left (x \right ) = -\sqrt {{\mathrm e}^{{\mathrm e}^{-x^{2}}} c_{1} -1} \end{align*}
✓ Solution by Mathematica
Time used: 4.151 (sec). Leaf size: 65
DSolve[(x+x*y[x]^2)+Exp[x^2]*y[x]*y'[x]==0,y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to -\sqrt {-1+e^{e^{-x^2}+2 c_1}} y(x)\to \sqrt {-1+e^{e^{-x^2}+2 c_1}} y(x)\to -i y(x)\to i \end{align*}