Internal
problem
ID
[12093]
Book
:
Handbook
of
exact
solutions
for
ordinary
differential
equations.
By
Polyanin
and
Zaitsev.
Second
edition
Section
:
Chapter
1,
section
1.2.
Riccati
Equation.
subsection
1.2.5-2
Problem
number
:
21
Date
solved
:
Sunday, March 30, 2025 at 10:40:51 PM
CAS
classification
:
[_Riccati]
ode:=x^2*diff(y(x),x) = y(x)^2*a^2*x^2-x*y(x)+b^2*ln(x)^n; dsolve(ode,y(x), singsol=all);
ode=x^2*D[y[x],x]==a^2*x^2*y[x]^2-x*y[x]+b^2*(Log[x])^n; 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**2*x**2*y(x)**2 - b**2*log(x)**n + x**2*Derivative(y(x), x) + x*y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : The given ODE -a**2*y(x)**2 - b**2*log(x)**n/x**2 + Derivative(y(x), x) + y(x)/x cannot be solved by the factorable group method