Internal
problem
ID
[2897]
Book
:
Differential
Equations
by
Alfred
L.
Nelson,
Karl
W.
Folley,
Max
Coral.
3rd
ed.
DC
heath.
Boston.
1964
Section
:
Exercise
7,
page
28
Problem
number
:
4
Date
solved
:
Sunday, March 30, 2025 at 12:48:40 AM
CAS
classification
:
[[_homogeneous, `class C`], _rational, [_Abel, `2nd type`, `class A`]]
ode:=x-y(x)+2+(-1+x+y(x))*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=(x-y[x]+2)+(x+y[x]-1)*D[y[x],x]==0; 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) + 2,0) ics = {} dsolve(ode,func=y(x),ics=ics)