Internal
problem
ID
[13511]
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
:
26
Date
solved
:
Sunday, October 12, 2025 at 03:36:00 AM
CAS
classification
:
[[_1st_order, `_with_symmetry_[F(x),G(x)]`], _Riccati]
ode:=x*diff(y(x),x) = f(x)*(y(x)+a*ln(x))^2-a; dsolve(ode,y(x), singsol=all);
ode=x*D[y[x],x]==f[x]*(y[x]+a*Log[x])^2-a; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") y = Function("y") f = Function("f") ode = Eq(a + x*Derivative(y(x), x) - (a*log(x) + y(x))**2*f(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
IndexError : Index out of range: a[1]