85.42.6 problem 1 (f)

Internal problem ID [22775]
Book : Applied Differential Equations. By Murray R. Spiegel. 3rd edition. 1980. Pearson. ISBN 978-0130400970
Section : Chapter 4. Linear differential equations. A Exercises at page 180
Problem number : 1 (f)
Date solved : Thursday, October 02, 2025 at 09:14:33 PM
CAS classification : [[_3rd_order, _missing_x]]

\begin{align*} y^{\prime \prime \prime }+y^{\prime \prime }-2 y&=0 \end{align*}
Maple. Time used: 0.002 (sec). Leaf size: 24
ode:=diff(diff(diff(y(x),x),x),x)+diff(diff(y(x),x),x)-2*y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = \left (c_1 \,{\mathrm e}^{2 x}+c_2 \sin \left (x \right )+c_3 \cos \left (x \right )\right ) {\mathrm e}^{-x} \]
Mathematica. Time used: 0.002 (sec). Leaf size: 30
ode=D[y[x],{x,3}]+D[y[x],{x,2}]-2*y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to e^{-x} \left (c_3 e^{2 x}+c_2 \cos (x)+c_1 \sin (x)\right ) \end{align*}
Sympy. Time used: 0.064 (sec). Leaf size: 20
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-2*y(x) + Derivative(y(x), (x, 2)) + Derivative(y(x), (x, 3)),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = C_{3} e^{x} + \left (C_{1} \sin {\left (x \right )} + C_{2} \cos {\left (x \right )}\right ) e^{- x} \]