Internal
problem
ID
[21920]
Book
:
Differential
Equations
By
Kaj
L.
Nielsen.
Second
edition
1966.
Barnes
and
nobel.
66-28306
Section
:
Chapter
III.
First
order
differential
equations
of
the
first
degree.
Ex.
IV
at
page
38
Problem
number
:
1
(a)
Date
solved
:
Thursday, October 02, 2025 at 08:09:40 PM
CAS
classification
:
[_quadrature]
ode:=(x-y(x))*diff(y(x),x) = y(x)-x; dsolve(ode,y(x), singsol=all);
ode=(x-y[x])*D[y[x],x]==y[x]-x ; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x + (x - y(x))*Derivative(y(x), x) - y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)