Internal
problem
ID
[17957]
Book
:
A
book
of
problems
in
ordinary
differential
equations.
M.L.
KRASNOV,
A.L.
KISELYOV,
G.I.
MARKARENKO.
MIR,
MOSCOW.
1983
Section
:
Section
1.
Basic
concepts
and
definitions.
Exercises
page
18
Problem
number
:
8
Date
solved
:
Thursday, October 02, 2025 at 02:31:20 PM
CAS
classification
:
[[_homogeneous, `class C`], _rational, [_Abel, `2nd type`, `class A`]]
ode:=diff(y(x),x) = (1+y(x))/(x-y(x)); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==(y[x]+1)/(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) - (y(x) + 1)/(x - y(x)),0) ics = {} dsolve(ode,func=y(x),ics=ics)