Internal
problem
ID
[21578]
Book
:
The
Differential
Equations
Problem
Solver.
VOL.
I.
M.
Fogiel
director.
REA,
NY.
1978.
ISBN
78-63609
Section
:
Chapter
8.
Riccati
Equation.
Page
124.
Problem
number
:
8-3
Date
solved
:
Thursday, October 02, 2025 at 07:52:56 PM
CAS
classification
:
[_rational, _Riccati]
ode:=diff(y(x),x) = -(x+2)/x/(1+x)^2-(-x^2+x+2)/x/(1+x)*y(x)+(1+x)*y(x)^2; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==- (2+x)/(x*(1+x)^2) - ( 2+x-x^2)/( x*(1+x))*y[x] + (1+x)*y[x]^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((-x - 1)*y(x)**2 + Derivative(y(x), x) + (-x**2 + x + 2)*y(x)/(x*(x + 1)) + (x + 2)/(x*(x + 1)**2),0) ics = {} dsolve(ode,func=y(x),ics=ics)