15.9.1 problem 15

Internal problem ID [3058]
Book : Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath. Boston. 1964
Section : Exercise 17, page 78
Problem number : 15
Date solved : Sunday, March 30, 2025 at 01:17:40 AM
CAS classification : [_quadrature]

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

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