28.2.3 problem 3

Internal problem ID [4446]
Book : Differential equations for engineers by Wei-Chau XIE, Cambridge Press 2010
Section : Chapter 4. Linear Differential Equations. Page 183
Problem number : 3
Date solved : Tuesday, March 04, 2025 at 06:44:17 PM
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 \right ) = \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} \]