23.3.7 problem 7

Internal problem ID [5721]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Part II. Chapter 3. THE DIFFERENTIAL EQUATION IS LINEAR AND OF SECOND ORDER, page 311
Problem number : 7
Date solved : Tuesday, September 30, 2025 at 02:02:05 PM
CAS classification : [[_2nd_order, _missing_x]]

\begin{align*} -y+y^{\prime \prime }&=0 \end{align*}
Maple. Time used: 0.001 (sec). Leaf size: 15
ode:=-y(x)+diff(diff(y(x),x),x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = c_1 \,{\mathrm e}^{-x}+c_2 \,{\mathrm e}^{x} \]
Mathematica. Time used: 0.006 (sec). Leaf size: 20
ode=-y[x] + D[y[x],{x,2}] == 0; 
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.034 (sec). Leaf size: 12
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-y(x) + Derivative(y(x), (x, 2)),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = C_{1} e^{- x} + C_{2} e^{x} \]