1.705 problem 720

Internal problem ID [8195]

Book: Collection of Kovacic problems
Section: section 1
Problem number: 720.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _with_linear_symmetries]]

\[ \boxed {y^{\prime \prime }+n^{2} y-\frac {6 y}{x^{2}}=0} \]

Solution by Maple

Time used: 0.016 (sec). Leaf size: 67

dsolve(diff(y(x),x$2)+n^2*y(x)=6*y(x)/x^2,y(x), singsol=all)
 

\[ y \left (x \right ) = \frac {c_{1} \left (\cos \left (n x \right ) x^{2} n^{2}-3 \sin \left (n x \right ) n x -3 \cos \left (n x \right )\right )}{x^{2}}+\frac {c_{2} \left (\sin \left (n x \right ) x^{2} n^{2}+3 \cos \left (n x \right ) n x -3 \sin \left (n x \right )\right )}{x^{2}} \]

Solution by Mathematica

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

DSolve[y''[x]+n^2*y[x]==6*y[x]/x^2,y[x],x,IncludeSingularSolutions -> True]
                                                                                    
                                                                                    
 

\[ y(x)\to -\frac {\sqrt {\frac {2}{\pi }} \sqrt {x} \left (\left (c_2 \left (-n^2\right ) x^2+3 c_1 n x+3 c_2\right ) \cos (n x)+\left (c_1 \left (n^2 x^2-3\right )+3 c_2 n x\right ) \sin (n x)\right )}{(n x)^{5/2}} \]