Internal
problem
ID
[13556]
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.2.
Problem
number
:
3
Date
solved
:
Friday, December 19, 2025 at 06:51:59 AM
CAS
classification
:
[_rational, [_Abel, `2nd type`, `class B`]]
ode:=y(x)*diff(y(x),x) = (a-1/a/x)*y(x)+1; dsolve(ode,y(x), singsol=all);
Maple trace
Methods for first order ODEs: --- Trying classification methods --- trying a quadrature trying 1st order linear trying Bernoulli trying separable trying inverse linear trying homogeneous types: trying Chini differential order: 1; looking for linear symmetries trying exact trying Abel <- Abel successful
Maple step by step
ode=y[x]*D[y[x],x]==(a-1/(a*x))*y[x]+1; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") y = Function("y") ode = Eq((-a + 1/(a*x))*y(x) + y(x)*Derivative(y(x), x) - 1,0) ics = {} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : The given ODE -a + Derivative(y(x), x) - 1/y(x) + 1/(a*x) cannot be solved by
Python version: 3.12.3 (main, Aug 14 2025, 17:47:21) [GCC 13.3.0] Sympy version 1.14.0
classify_ode(ode,func=y(x)) ('factorable', 'lie_group')