Internal
problem
ID
[1246]
Book
:
Elementary
differential
equations
and
boundary
value
problems,
10th
ed.,
Boyce
and
DiPrima
Section
:
Miscellaneous
problems,
end
of
chapter
2.
Page
133
Problem
number
:
29
Date
solved
:
Saturday, March 29, 2025 at 10:49:58 PM
CAS
classification
:
[[_homogeneous, `class A`], _rational, [_Abel, `2nd type`, `class A`]]
ode:=diff(y(x),x) = (x+y(x))/(x-y(x)); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x] == (x+y[x])/(x-y[x]); ic={}; 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 = {} dsolve(ode,func=y(x),ics=ics)