55.25.26 problem 26

Internal problem ID [13735]
Book : Handbook of exact solutions for ordinary differential equations. By Polyanin and Zaitsev. Second edition
Section : Chapter 1, section 1.3. Abel Equations of the Second Kind. subsection 1.3.4-2.
Problem number : 26
Date solved : Thursday, October 02, 2025 at 06:06:45 AM
CAS classification : [_rational, [_Abel, `2nd type`, `class B`]]

\begin{align*} \left (2 A x y+B \,x^{2}+a y-a k x +b \right ) y^{\prime }&=A y^{2}+k \left (A k +B \right ) x^{2}+m y-m k x +s \end{align*}
Maple
ode:=(2*A*x*y(x)+B*x^2+a*y(x)-a*k*x+b)*diff(y(x),x) = A*y(x)^2+k*(A*k+B)*x^2+m*y(x)-m*k*x+s; 
dsolve(ode,y(x), singsol=all);
 
\[ \text {No solution found} \]
Mathematica
ode=(2*A*x*y[x]+B*x^2+a*y[x]-a*k*x+b)*D[y[x],x]==A*y[x]^2+k*(A*k+B)*x^2+m*y[x]-m*k*x+s; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 

Timed out

Sympy
from sympy import * 
x = symbols("x") 
A = symbols("A") 
B = symbols("B") 
a = symbols("a") 
b = symbols("b") 
k = symbols("k") 
m = symbols("m") 
s = symbols("s") 
y = Function("y") 
ode = Eq(-A*y(x)**2 + k*m*x - k*x**2*(A*k + B) - m*y(x) - s + (2*A*x*y(x) + B*x**2 - a*k*x + a*y(x) + b)*Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
Timed Out