5.2.7 problem 14

Internal problem ID [1478]
Book : Elementary differential equations and boundary value problems, 11th ed., Boyce, DiPrima, Meade
Section : Chapter 4.2, Higher order linear differential equations. Constant coefficients. page 180
Problem number : 14
Date solved : Tuesday, September 30, 2025 at 04:34:30 AM
CAS classification : [[_high_order, _missing_x]]

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