Internal problem ID [99]
Book: Differential equations and linear algebra, 3rd ed., Edwards and Penney
Section: Section 1.6, Substitution methods and exact equations. Page 74
Problem number: 21.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_quadrature]
\[ \boxed {y^{\prime }-y^{3}-y=0} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 29
dsolve(diff(y(x),x) = y(x)+y(x)^3,y(x), singsol=all)
\begin{align*} y \left (x \right ) &= \frac {1}{\sqrt {{\mathrm e}^{-2 x} c_{1} -1}} \\ y \left (x \right ) &= -\frac {1}{\sqrt {{\mathrm e}^{-2 x} c_{1} -1}} \\ \end{align*}
✓ Solution by Mathematica
Time used: 60.06 (sec). Leaf size: 57
DSolve[y'[x] == y[x]+y[x]^3,y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to -\frac {i e^{x+c_1}}{\sqrt {-1+e^{2 (x+c_1)}}} \\ y(x)\to \frac {i e^{x+c_1}}{\sqrt {-1+e^{2 (x+c_1)}}} \\ \end{align*}