44.5.53 problem 47 (c)

Internal problem ID [7115]
Book : A First Course in Differential Equations with Modeling Applications by Dennis G. Zill. 12 ed. Metric version. 2024. Cengage learning.
Section : Chapter 2. First order differential equations. Section 2.2 Separable equations. Exercises 2.2 at page 53
Problem number : 47 (c)
Date solved : Tuesday, February 04, 2025 at 12:15:14 AM
CAS classification : [_quadrature]

\begin{align*} y^{\prime }&=y-y^{3} \end{align*}

With initial conditions

\begin{align*} y \left (0\right )&=-{\frac {1}{2}} \end{align*}

Solution by Maple

Time used: 0.023 (sec). Leaf size: 16

dsolve([diff(y(x),x)=y(x)-y(x)^3,y(0) = -1/2],y(x), singsol=all)
 
\[ y = -\frac {1}{\sqrt {3 \,{\mathrm e}^{-2 x}+1}} \]

Solution by Mathematica

Time used: 0.009 (sec). Leaf size: 21

DSolve[{D[y[x],x]==y[x]-y[x]^3,{y[0]==-1/2}},y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to -\frac {e^x}{\sqrt {e^{2 x}+3}} \]