Internal
problem
ID
[729]
Book
:
Differential
equations
and
linear
algebra,
3rd
ed.,
Edwards
and
Penney
Section
:
Section
1.6,
Substitution
methods
and
exact
equations.
Page
74
Problem
number
:
1
Date
solved
:
Saturday, March 29, 2025 at 10:16:15 PM
CAS
classification
:
[[_homogeneous, `class A`], _exact, _rational, [_Abel, `2nd type`, `class A`]]
ode:=(x+y(x))*diff(y(x),x) = x-y(x); dsolve(ode,y(x), singsol=all);
ode=(x+y[x])*D[y[x],x]== x-y[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)