55.26.18 problem 18

Internal problem ID [13765]
Book : Handbook of exact solutions for ordinary differential equations. By Polyanin and Zaitsev. Second edition
Section : Chapter 1, section 1.4. Equations Containing Polynomial Functions of y. subsection 1.4.1-2 Abel equations of the first kind.
Problem number : 18
Date solved : Thursday, October 02, 2025 at 08:00:04 AM
CAS classification : [_Abel]

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

Not solved

Sympy
from sympy import * 
x = symbols("x") 
a = symbols("a") 
b = symbols("b") 
m = symbols("m") 
y = Function("y") 
ode = Eq((a*x + b*x**m)*y(x)**3 - y(x)**2 + Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
NotImplementedError : The given ODE -(-a*x*y(x) - b*x**m*y(x) + 1)*y(x)**2 + Derivative(y(x), x) cannot be solved by the factorable group method