23.5.32 problem 32

Internal problem ID [6641]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Part II. Chapter 5. THE EQUATION IS LINEAR AND OF ORDER GREATER THAN TWO, page 410
Problem number : 32
Date solved : Tuesday, September 30, 2025 at 03:50:27 PM
CAS classification : [[_3rd_order, _missing_x]]

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