72.1.4 problem 1 (d)

Internal problem ID [19345]
Book : DIFFERENTIAL EQUATIONS WITH APPLICATIONS AND HISTORICAL NOTES by George F. Simmons. 3rd edition. 2017. CRC press, Boca Raton FL.
Section : Chapter 1. The Nature of Differential Equations. Separable Equations. Section 2. Problems at page 9
Problem number : 1 (d)
Date solved : Thursday, October 02, 2025 at 04:19:08 PM
CAS classification : [_quadrature]

\begin{align*} y^{\prime }&=k y \end{align*}
Maple. Time used: 0.001 (sec). Leaf size: 10
ode:=diff(y(x),x) = k*y(x); 
dsolve(ode,y(x), singsol=all);
 
\[ y = c_1 \,{\mathrm e}^{k x} \]
Mathematica. Time used: 0.021 (sec). Leaf size: 18
ode=D[y[x],x]==k*y[x]; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to c_1 e^{k x}\\ y(x)&\to 0 \end{align*}
Sympy. Time used: 0.058 (sec). Leaf size: 8
from sympy import * 
x = symbols("x") 
k = symbols("k") 
y = Function("y") 
ode = Eq(-k*y(x) + Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = C_{1} e^{k x} \]