Internal
problem
ID
[5053]
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
:
436
Date
solved
:
Tuesday, September 30, 2025 at 11:30:31 AM
CAS
classification
:
[_separable]
ode:=(1+y(x))*diff(y(x),x) = x^2*(1-y(x)); dsolve(ode,y(x), singsol=all);
ode=(1+y[x])*D[y[x],x]==x^2*(1-y[x]); ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x**2*(1 - y(x)) + (y(x) + 1)*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)