68.4.68 problem 65

Internal problem ID [17248]
Book : INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section : Chapter 2. First Order Equations. Exercises 2.2, page 39
Problem number : 65
Date solved : Thursday, October 02, 2025 at 01:59:53 PM
CAS classification : [_quadrature]

\begin{align*} y^{\prime }&=y^{2}-y \end{align*}
Maple. Time used: 0.002 (sec). Leaf size: 12
ode:=diff(y(t),t) = y(t)^2-y(t); 
dsolve(ode,y(t), singsol=all);
 
\[ y = \frac {1}{1+{\mathrm e}^{t} c_1} \]
Mathematica. Time used: 0.154 (sec). Leaf size: 40
ode=D[y[t],t]==y[t]^2-y[t]; 
ic={}; 
DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
 
\begin{align*} y(t)&\to \text {InverseFunction}\left [\int _1^{\text {$\#$1}}\frac {1}{(K[1]-1) K[1]}dK[1]\&\right ][t+c_1]\\ y(t)&\to 0\\ y(t)&\to 1 \end{align*}
Sympy. Time used: 0.163 (sec). Leaf size: 8
from sympy import * 
t = symbols("t") 
y = Function("y") 
ode = Eq(-y(t)**2 + y(t) + Derivative(y(t), t),0) 
ics = {} 
dsolve(ode,func=y(t),ics=ics)
 
\[ y{\left (t \right )} = \frac {C_{1}}{C_{1} - e^{t}} \]