59.1.618 problem 634

Internal problem ID [9790]
Book : Collection of Kovacic problems
Section : section 1
Problem number : 634
Date solved : Monday, January 27, 2025 at 06:14:18 PM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

\begin{align*} t^{2} y^{\prime \prime }+t y^{\prime }+\left (t^{2}-\frac {1}{4}\right ) y&=0 \end{align*}

Solution by Maple

Time used: 0.040 (sec). Leaf size: 17

dsolve(t^2*diff(y(t),t$2)+t*diff(y(t),t)+(t^2-1/4)*y(t)=0,y(t), singsol=all)
 
\[ y = \frac {c_{2} \cos \left (t \right )+c_{1} \sin \left (t \right )}{\sqrt {t}} \]

Solution by Mathematica

Time used: 0.034 (sec). Leaf size: 39

DSolve[t^2*D[y[t],{t,2}]+t*D[y[t],t]+(t^2-1/4)*y[t]==0,y[t],t,IncludeSingularSolutions -> True]
 
\[ y(t)\to \frac {e^{-i t} \left (2 c_1-i c_2 e^{2 i t}\right )}{2 \sqrt {t}} \]