Internal
problem
ID
[2888]
Book
:
Differential
Equations
by
Alfred
L.
Nelson,
Karl
W.
Folley,
Max
Coral.
3rd
ed.
DC
heath.
Boston.
1964
Section
:
Exercise
6,
page
25
Problem
number
:
18
Date
solved
:
Tuesday, September 30, 2025 at 05:58:25 AM
CAS
classification
:
[[_homogeneous, `class A`], _rational, [_Abel, `2nd type`, `class A`]]
With initial conditions
ode:=diff(y(x),x) = (x+y(x))/(x-y(x)); ic:=[y(1) = 0]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=D[y[x],x]==(x+y[x])/(x-y[x]); ic=y[1]==0; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(Derivative(y(x), x) - (x + y(x))/(x - y(x)),0) ics = {y(1): 0} dsolve(ode,func=y(x),ics=ics)