Internal problem ID [5107]
Book: Engineering Mathematics. By K. A. Stroud. 5th edition. Industrial press Inc. NY.
2001
Section: Program 24. First order differential equations. Further problems 24. page
1068
Problem number: 21.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_Bernoulli]
\[ \boxed {y^{\prime }+y-x y^{3}=0} \]
✓ Solution by Maple
Time used: 0.016 (sec). Leaf size: 39
dsolve(diff(y(x),x)+y(x)=x*y(x)^3,y(x), singsol=all)
\begin{align*} y \left (x \right ) = -\frac {2}{\sqrt {2+4 \,{\mathrm e}^{2 x} c_{1} +4 x}} y \left (x \right ) = \frac {2}{\sqrt {2+4 \,{\mathrm e}^{2 x} c_{1} +4 x}} \end{align*}
✓ Solution by Mathematica
Time used: 2.704 (sec). Leaf size: 50
DSolve[y'[x]+y[x]==x*y[x]^3,y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to -\frac {1}{\sqrt {x+c_1 e^{2 x}+\frac {1}{2}}} y(x)\to \frac {1}{\sqrt {x+c_1 e^{2 x}+\frac {1}{2}}} y(x)\to 0 \end{align*}