Internal
problem
ID
[13233]
Book
:
Handbook
of
exact
solutions
for
ordinary
differential
equations.
By
Polyanin
and
Zaitsev.
Second
edition
Section
:
Chapter
1,
section
1.2.
Riccati
Equation.
1.2.2.
Equations
Containing
Power
Functions
Problem
number
:
7
Date
solved
:
Wednesday, October 01, 2025 at 03:44:33 AM
CAS
classification
:
[[_homogeneous, `class G`], _Riccati]
ode:=diff(y(x),x) = a*x^n*y(x)^2+b*x^(-n-2); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==a*x^n*y[x]^2+b*x^(-n-2); ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") b = symbols("b") n = symbols("n") y = Function("y") ode = Eq(-a*x**n*y(x)**2 - b*x**(-n - 2) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : Cannot solve the partial differential equation due to inability of constantsim