54.3.138 problem 1152

Internal problem ID [12433]
Book : Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section : Chapter 2, linear second order
Problem number : 1152
Date solved : Wednesday, October 01, 2025 at 01:44:57 AM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

\begin{align*} x^{2} y^{\prime \prime }+\left (a^{2} x^{2}-6\right ) y&=0 \end{align*}
Maple. Time used: 0.012 (sec). Leaf size: 53
ode:=x^2*diff(diff(y(x),x),x)+(a^2*x^2-6)*y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = \frac {\left (c_1 \,a^{2} x^{2}+3 c_2 a x -3 c_1 \right ) \cos \left (a x \right )+\sin \left (a x \right ) \left (c_2 \,a^{2} x^{2}-3 c_1 a x -3 c_2 \right )}{x^{2}} \]
Mathematica. Time used: 0.06 (sec). Leaf size: 79
ode=(-6 + a^2*x^2)*y[x] + x^2*D[y[x],{x,2}] == 0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to -\frac {\sqrt {\frac {2}{\pi }} \sqrt {x} \left (\left (-a^2 c_2 x^2+3 a c_1 x+3 c_2\right ) \cos (a x)+\left (c_1 \left (a^2 x^2-3\right )+3 a c_2 x\right ) \sin (a x)\right )}{(a x)^{5/2}} \end{align*}
Sympy. Time used: 0.049 (sec). Leaf size: 24
from sympy import * 
x = symbols("x") 
a = symbols("a") 
y = Function("y") 
ode = Eq(x**2*Derivative(y(x), (x, 2)) + (a**2*x**2 - 6)*y(x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = \sqrt {x} \left (C_{1} J_{\frac {5}{2}}\left (a x\right ) + C_{2} Y_{\frac {5}{2}}\left (a x\right )\right ) \]