29.1.1 problem 1

Internal problem ID [7227]
Book : Mathematical Methods in the Physical Sciences. third edition. Mary L. Boas. John Wiley. 2006
Section : Chapter 8, Ordinary differential equations. Section 1. Introduction. page 394
Problem number : 1
Date solved : Tuesday, September 30, 2025 at 04:25:45 PM
CAS classification : [_quadrature]

\begin{align*} y^{\prime }&=y \end{align*}
Maple. Time used: 0.001 (sec). Leaf size: 8
ode:=diff(y(x),x) = y(x); 
dsolve(ode,y(x), singsol=all);
 
\[ y = c_1 \,{\mathrm e}^{x} \]
Mathematica. Time used: 0.008 (sec). Leaf size: 20
ode=D[y[x],{x,2}]==y[x]; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to c_1 e^x+c_2 e^{-x} \end{align*}
Sympy. Time used: 0.017 (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} \]