Internal
problem
ID
[4655]
Book
:
Ordinary
differential
equations
and
their
solutions.
By
George
Moseley
Murphy.
1960
Section
:
Part
II.
Chapter
1.
THE
DIFFERENTIAL
EQUATION
IS
OF
FIRST
ORDER
AND
OF
FIRST
DEGREE,
page
223
Problem
number
:
42
Date
solved
:
Tuesday, September 30, 2025 at 07:38:19 AM
CAS
classification
:
[_Riccati]
ode:=diff(y(x),x)+1-x = (x+y(x))*y(x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+1-x==(x+y[x])*y[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x - (x + y(x))*y(x) + Derivative(y(x), x) + 1,0) ics = {} dsolve(ode,func=y(x),ics=ics)
TypeError : bad operand type for unary -: list