Internal
problem
ID
[4239]
Book
:
Advanced
Mathematica,
Book2,
Perkin
and
Perkin,
1992
Section
:
Chapter
11.3,
page
316
Problem
number
:
27
Date
solved
:
Tuesday, September 30, 2025 at 07:08:13 AM
CAS
classification
:
[[_homogeneous, `class C`], _exact, _rational, [_Abel, `2nd type`, `class A`]]
ode:=(-1+x+y(x))*diff(y(x),x) = x-y(x)+1; dsolve(ode,y(x), singsol=all);
ode=(x+y[x]-1)*D[y[x],x]==(x-y[x]+1); ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x + (x + y(x) - 1)*Derivative(y(x), x) + y(x) - 1,0) ics = {} dsolve(ode,func=y(x),ics=ics)