64.22.1 problem 1 (a)

Internal problem ID [13587]
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.8, Exercises page 583
Problem number : 1 (a)
Date solved : Wednesday, March 05, 2025 at 10:04:18 PM
CAS classification : [[_Emden, _Fowler]]

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

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