55.29.15 problem 75

Internal problem ID [13848]
Book : Handbook of exact solutions for ordinary differential equations. By Polyanin and Zaitsev. Second edition
Section : Chapter 2, Second-Order Differential Equations. section 2.1.2-3
Problem number : 75
Date solved : Thursday, October 02, 2025 at 08:07:44 AM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

\begin{align*} x y^{\prime \prime }-\left (a x +1\right ) y^{\prime }-b \,x^{2} \left (b x +a \right ) y&=0 \end{align*}
Maple. Time used: 0.006 (sec). Leaf size: 61
ode:=x*diff(diff(y(x),x),x)-(a*x+1)*diff(y(x),x)-b*x^2*(b*x+a)*y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = \left (-2 \sqrt {\pi }\, \sqrt {-b}\, c_2 \,{\mathrm e}^{x \left (b x +a \right )}-{\mathrm e}^{-\frac {a^{2}}{4 b}} \operatorname {erf}\left (\frac {2 b x +a}{2 \sqrt {-b}}\right ) \pi c_2 a +c_1 \right ) {\mathrm e}^{-\frac {b \,x^{2}}{2}} \]
Mathematica. Time used: 0.186 (sec). Leaf size: 88
ode=x*D[y[x],{x,2}]-(a*x+1)*D[y[x],x]-b*x^2*(b*x+a)*y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to \frac {e^{-\frac {b x^2}{2}} \left (2 \sqrt {b} \left (c_2 e^{x (a+b x)}+2 b c_1\right )-\sqrt {\pi } a c_2 e^{-\frac {a^2}{4 b}} \text {erfi}\left (\frac {a+2 b x}{2 \sqrt {b}}\right )\right )}{4 b^{3/2}} \end{align*}
Sympy
from sympy import * 
x = symbols("x") 
a = symbols("a") 
b = symbols("b") 
y = Function("y") 
ode = Eq(-b*x**2*(a + b*x)*y(x) + x*Derivative(y(x), (x, 2)) - (a*x + 1)*Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
False