85.2.1 problem 2 (a)

Internal problem ID [22428]
Book : Applied Differential Equations. By Murray R. Spiegel. 3rd edition. 1980. Pearson. ISBN 978-0130400970
Section : Chapter 1. Differential equations in general. B Exercises at page 14
Problem number : 2 (a)
Date solved : Thursday, October 02, 2025 at 08:39:15 PM
CAS classification : [_quadrature]

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