56.22.2 problem Ex 2

Internal problem ID [14205]
Book : An elementary treatise on differential equations by Abraham Cohen. DC heath publishers. 1906
Section : Chapter VII, Linear differential equations with constant coefficients. Article 44. Roots of auxiliary equation repeated. Page 94
Problem number : Ex 2
Date solved : Thursday, October 02, 2025 at 09:26:42 AM
CAS classification : [[_3rd_order, _missing_x]]

\begin{align*} y^{\prime \prime \prime }-y^{\prime \prime }-y^{\prime }+y&=0 \end{align*}
Maple. Time used: 0.003 (sec). Leaf size: 19
ode:=diff(diff(diff(y(x),x),x),x)-diff(diff(y(x),x),x)-diff(y(x),x)+y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = {\mathrm e}^{x} \left (c_3 x +c_2 \right )+c_1 \,{\mathrm e}^{-x} \]
Mathematica. Time used: 0.002 (sec). Leaf size: 25
ode=D[y[x],{x,3}]-D[y[x],{x,2}]-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}+e^x (c_3 x+c_2) \end{align*}
Sympy. Time used: 0.102 (sec). Leaf size: 15
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(y(x) - Derivative(y(x), 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} + C_{2} x\right ) e^{x} \]