69.1.86 problem 131

Internal problem ID [14160]
Book : DIFFERENTIAL and INTEGRAL CALCULUS. VOL I. by N. PISKUNOV. MIR PUBLISHERS, Moscow 1969.
Section : Chapter 8. Differential equations. Exercises page 595
Problem number : 131
Date solved : Wednesday, March 05, 2025 at 10:37:13 PM
CAS classification : [[_2nd_order, _missing_x]]

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

Maple. Time used: 0.003 (sec). Leaf size: 15
ode:=diff(diff(y(x),x),x)-y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = c_{1} {\mathrm e}^{-x}+{\mathrm e}^{x} c_{2} \]
Mathematica. Time used: 0.013 (sec). Leaf size: 20
ode=D[y[x],{x,2}]-y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to c_1 e^x+c_2 e^{-x} \]
Sympy. Time used: 0.053 (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} \]