78.15.22 problem 22 (c)

Internal problem ID [18307]
Book : DIFFERENTIAL EQUATIONS WITH APPLICATIONS AND HISTORICAL NOTES by George F. Simmons. 3rd edition. 2017. CRC press, Boca Raton FL.
Section : Chapter 3. Second order linear equations. Section 22. Higher Order Linear Equations. Coupled Harmonic Oscillators. Problems at page 160
Problem number : 22 (c)
Date solved : Monday, March 31, 2025 at 05:25:14 PM
CAS classification : [[_3rd_order, _with_linear_symmetries]]

\begin{align*} x^{3} y^{\prime \prime \prime }+2 x^{2} y^{\prime \prime }+x y^{\prime }-y&=0 \end{align*}

Maple. Time used: 0.002 (sec). Leaf size: 18
ode:=x^3*diff(diff(diff(y(x),x),x),x)+2*x^2*diff(diff(y(x),x),x)+x*diff(y(x),x)-y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = c_1 x +c_2 \sin \left (\ln \left (x \right )\right )+c_3 \cos \left (\ln \left (x \right )\right ) \]
Mathematica. Time used: 0.004 (sec). Leaf size: 22
ode=x^3*D[y[x],{x,3}]+2*x^2*D[y[x],{x,2}]+x*D[y[x],x]-y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to c_3 x+c_1 \cos (\log (x))+c_2 \sin (\log (x)) \]
Sympy. Time used: 0.221 (sec). Leaf size: 19
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(x**3*Derivative(y(x), (x, 3)) + 2*x**2*Derivative(y(x), (x, 2)) + x*Derivative(y(x), x) - y(x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = C_{1} x + C_{2} \sin {\left (\log {\left (x \right )} \right )} + C_{3} \cos {\left (\log {\left (x \right )} \right )} \]