58.21.4 problem 6

Internal problem ID [14946]
Book : Differential Equations by Shepley L. Ross. Third edition. John Willey. New Delhi. 2004.
Section : Chapter 11, The nth order homogeneous linear differential equation. Section 11.6, Exercises page 567
Problem number : 6
Date solved : Friday, October 03, 2025 at 07:29:44 AM
CAS classification : [[_3rd_order, _with_linear_symmetries]]

\begin{align*} t^{3} x^{\prime \prime \prime }-\left (t +3\right ) t^{2} x^{\prime \prime }+2 t \left (t +3\right ) x^{\prime }-2 \left (t +3\right ) x&=0 \end{align*}
Maple. Time used: 0.004 (sec). Leaf size: 15
ode:=t^3*diff(diff(diff(x(t),t),t),t)-(t+3)*t^2*diff(diff(x(t),t),t)+2*t*(t+3)*diff(x(t),t)-2*(t+3)*x(t) = 0; 
dsolve(ode,x(t), singsol=all);
 
\[ x = t \left ({\mathrm e}^{t} c_1 +c_3 t +c_2 \right ) \]
Mathematica. Time used: 0.041 (sec). Leaf size: 23
ode=t^3*D[x[t],{t,3}]-(t+3)*t^2*D[x[t],{t,2}]+2*t*(t+3)*D[x[t],t]-2*(t+3)*x[t]==0; 
ic={}; 
DSolve[{ode,ic},{x[t]},t,IncludeSingularSolutions->True]
 
\begin{align*} x(t)&\to t \left (c_2 e^t-c_3 (t+1)+c_1\right ) \end{align*}
Sympy
from sympy import * 
t = symbols("t") 
x = Function("x") 
ode = Eq(t**3*Derivative(x(t), (t, 3)) - t**2*(t + 3)*Derivative(x(t), (t, 2)) + 2*t*(t + 3)*Derivative(x(t), t) - (2*t + 6)*x(t),0) 
ics = {} 
dsolve(ode,func=x(t),ics=ics)
 
NotImplementedError : The given ODE Derivative(x(t), t) - (t**3*Derivative(x(t), (t, 2)) - t**3*Derivative(x(t), (t, 3)) + 3*t**2*Derivative(x(t), (t, 2)) + 2*t*x(t) + 6*x(t))/(2*t*(t + 3)) cannot be solved by the factorable group method