Internal
problem
ID
[12192]
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
:
2
Date
solved
:
Wednesday, March 05, 2025 at 05:33:34 PM
CAS
classification
:
[_Riccati]
ode:=diff(y(x),x) = f(x)*y(x)^2-a*y(x)-a*b-b^2*f(x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==f[x]*y[x]^2-a*y[x]-a*b-b^2*f[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") b = symbols("b") y = Function("y") f = Function("f") ode = Eq(a*b + a*y(x) + b**2*f(x) - f(x)*y(x)**2 + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)