54.3.104 problem 1118

Internal problem ID [12399]
Book : Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section : Chapter 2, linear second order
Problem number : 1118
Date solved : Friday, October 03, 2025 at 03:18:56 AM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

\begin{align*} x y^{\prime \prime }+\left (\left (a +b \right ) x +m +n \right ) y^{\prime }+\left (a b x +a n +b m \right ) y&=0 \end{align*}
Maple. Time used: 0.048 (sec). Leaf size: 39
ode:=x*diff(diff(y(x),x),x)+(x*(a+b)+m+n)*diff(y(x),x)+(a*b*x+a*n+b*m)*y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = {\mathrm e}^{-x a} \left (\operatorname {KummerM}\left (m , m +n , \left (a -b \right ) x \right ) c_1 +\operatorname {KummerU}\left (m , m +n , \left (a -b \right ) x \right ) c_2 \right ) \]
Mathematica. Time used: 0.045 (sec). Leaf size: 46
ode=(b*m + a*n + a*b*x)*y[x] + (m + n + (a + b)*x)*D[y[x],x] + x*D[y[x],{x,2}] == 0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to e^{-a x} (c_1 \operatorname {HypergeometricU}(m,m+n,(a-b) x)+c_2 L_{-m}^{m+n-1}((a-b) x)) \end{align*}
Sympy
from sympy import * 
x = symbols("x") 
a = symbols("a") 
b = symbols("b") 
m = symbols("m") 
n = symbols("n") 
y = Function("y") 
ode = Eq(x*Derivative(y(x), (x, 2)) + (m + n + x*(a + b))*Derivative(y(x), x) + (a*b*x + a*n + b*m)*y(x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
ValueError : Expected Expr or iterable but got None