Internal
problem
ID
[109]
Book
:
Elementary
Differential
Equations.
By
C.
Henry
Edwards,
David
E.
Penney
and
David
Calvis.
6th
edition.
2008
Section
:
Chapter
1.
First
order
differential
equations.
Section
1.6
(substitution
and
exact
equations).
Problems
at
page
72
Problem
number
:
5
Date
solved
:
Tuesday, September 30, 2025 at 03:43:43 AM
CAS
classification
:
[[_homogeneous, `class A`], _rational, [_Abel, `2nd type`, `class B`]]
ode:=x*(x+y(x))*diff(y(x),x) = y(x)*(x-y(x)); dsolve(ode,y(x), singsol=all);
ode=x*(x+y[x])*D[y[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(x*(x + y(x))*Derivative(y(x), x) - (x - y(x))*y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)