7.10.19 problem 19

Internal problem ID [289]
Book : Elementary Differential Equations. By C. Henry Edwards, David E. Penney and David Calvis. 6th edition. 2008
Section : Chapter 2. Linear Equations of Higher Order. Section 2.3 (Homogeneous equations with constant coefficients). Problems at page 134
Problem number : 19
Date solved : Tuesday, March 04, 2025 at 11:07:16 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 = \left (x c_3 +c_2 \right ) {\mathrm e}^{-x}+{\mathrm e}^{x} c_1 \]
Mathematica. Time used: 0.003 (sec). Leaf size: 26
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]
 
\[ y(x)\to e^{-x} \left (c_2 x+c_3 e^{2 x}+c_1\right ) \]
Sympy. Time used: 0.157 (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} \]