60.3.367 problem 1384

Internal problem ID [11363]
Book : Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section : Chapter 2, linear second order
Problem number : 1384
Date solved : Thursday, March 13, 2025 at 08:51:08 PM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

\begin{align*} y^{\prime \prime }&=-\frac {\left (-x^{2} \left (a^{2}-1\right )+2 \left (a +3\right ) b x -b^{2}\right ) y}{4 x^{2}} \end{align*}

Maple. Time used: 0.145 (sec). Leaf size: 73
ode:=diff(diff(y(x),x),x) = -1/4*(-x^2*(a^2-1)+2*(a+3)*b*x-b^2)/x^2*y(x); 
dsolve(ode,y(x), singsol=all);
 
\[ y = c_{1} \operatorname {WhittakerM}\left (\frac {b \left (a +3\right )}{2 \sqrt {a^{2}-1}}, \frac {\sqrt {b^{2}+1}}{2}, \sqrt {a^{2}-1}\, x \right )+c_{2} \operatorname {WhittakerW}\left (\frac {b \left (a +3\right )}{2 \sqrt {a^{2}-1}}, \frac {\sqrt {b^{2}+1}}{2}, \sqrt {a^{2}-1}\, x \right ) \]
Mathematica. Time used: 0.051 (sec). Leaf size: 106
ode=D[y[x],{x,2}] == -1/4*((-b^2 + 2*(3 + a)*b*x - (-1 + a^2)*x^2)*y[x])/x^2; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to c_1 M_{\frac {(a+3) b}{2 \sqrt {a^2-1}},\frac {\sqrt {b^3+b}}{2 \sqrt {b}}}\left (\sqrt {a^2-1} x\right )+c_2 W_{\frac {(a+3) b}{2 \sqrt {a^2-1}},\frac {\sqrt {b^3+b}}{2 \sqrt {b}}}\left (\sqrt {a^2-1} x\right ) \]
Sympy
from sympy import * 
x = symbols("x") 
a = symbols("a") 
b = symbols("b") 
y = Function("y") 
ode = Eq(Derivative(y(x), (x, 2)) + (-b**2 + b*x*(2*a + 6) - x**2*(a**2 - 1))*y(x)/(4*x**2),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
ValueError : Expected Expr or iterable but got None