50.1.51 problem 51

Internal problem ID [10049]
Book : Own collection of miscellaneous problems
Section : section 1.0
Problem number : 51
Date solved : Tuesday, September 30, 2025 at 06:51:02 PM
CAS classification : [[_2nd_order, _missing_y]]

\begin{align*} t^{2} y^{\prime \prime }-2 y^{\prime }&=0 \end{align*}
Maple. Time used: 0.002 (sec). Leaf size: 25
ode:=t^2*diff(diff(y(t),t),t)-2*diff(y(t),t) = 0; 
dsolve(ode,y(t), singsol=all);
 
\[ y = {\mathrm e}^{-\frac {2}{t}} c_2 t -2 \,\operatorname {Ei}_{1}\left (\frac {2}{t}\right ) c_2 +c_1 \]
Mathematica. Time used: 0.01 (sec). Leaf size: 26
ode=t^2*D[y[t],{t,2}]-2*D[y[t],t]==0; 
ic={}; 
DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
 
\begin{align*} y(t)&\to \int _1^te^{-\frac {2}{K[1]}} c_1dK[1]+c_2 \end{align*}
Sympy. Time used: 0.479 (sec). Leaf size: 26
from sympy import * 
t = symbols("t") 
y = Function("y") 
ode = Eq(t**2*Derivative(y(t), (t, 2)) - 2*Derivative(y(t), t),0) 
ics = {} 
dsolve(ode,func=y(t),ics=ics)
 
\[ y{\left (t \right )} = C_{1} - C_{2} t e^{- \frac {2}{t}} - 2 C_{2} \operatorname {Ei}{\left (\frac {2 e^{i \pi }}{t} \right )} \]