Internal
problem
ID
[18664]
Book
:
Introductory
Course
On
Differential
Equations
by
Daniel
A
Murray.
Longmans
Green
and
Co.
NY.
1924
Section
:
Chapter
II.
Equations
of
the
first
order
and
of
the
first
degree.
Exercises
at
page
22
Problem
number
:
Ex.
2
Date
solved
:
Thursday, March 13, 2025 at 12:31:40 PM
CAS
classification
:
[[_homogeneous, `class G`], _rational, [_Abel, `2nd type`, `class B`]]
ode:=(1+x*y(x))*y(x)-(1-x*y(x))*x*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=(1+x*y[x])*y[x]-(1-x*y[x])*x*D[y[x],x]==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x*(-x*y(x) + 1)*Derivative(y(x), x) + (x*y(x) + 1)*y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)