Internal
problem
ID
[12198]
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.8-1.
Equations
containing
arbitrary
functions
(but
not
containing
their
derivatives).
Problem
number
:
8
Date
solved
:
Friday, March 14, 2025 at 04:37:04 AM
CAS
classification
:
[_Riccati]
ode:=x*diff(y(x),x) = x^(2*n)*f(x)*y(x)^2+(a*x^n*f(x)-n)*y(x)+b*f(x); dsolve(ode,y(x), singsol=all);
ode=x*D[y[x],x]==x^(2*n)*f[x]*y[x]^2+(a*x^n*f[x]-n)*y[x]+b*f[x]; 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") f = Function("f") ode = Eq(-b*f(x) + x*Derivative(y(x), x) - x**(2*n)*f(x)*y(x)**2 - (a*x**n*f(x) - n)*y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
Timed Out