59.1.195 problem 197

Internal problem ID [9367]
Book : Collection of Kovacic problems
Section : section 1
Problem number : 197
Date solved : Monday, January 27, 2025 at 06:01:58 PM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

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

Solution by Maple

Time used: 0.003 (sec). Leaf size: 16

dsolve((1+t^2)*diff(y(t),t$2)-2*t*diff(y(t),t)+2*y(t)=0,y(t), singsol=all)
 
\[ y = c_{2} t^{2}+c_{1} t -c_{2} \]

Solution by Mathematica

Time used: 0.329 (sec). Leaf size: 79

DSolve[(1+t^2)*D[y[t],{t,2}]-2*t*D[y[t],t]+2*y[t]==0,y[t],t,IncludeSingularSolutions -> True]
 
\[ y(t)\to \sqrt {t^2+1} \exp \left (\int _1^t\frac {K[1]+2 i}{K[1]^2+1}dK[1]\right ) \left (c_2 \int _1^t\exp \left (-2 \int _1^{K[2]}\frac {K[1]+2 i}{K[1]^2+1}dK[1]\right )dK[2]+c_1\right ) \]