Internal
problem
ID
[19057]
Book
:
A
Text
book
for
differentional
equations
for
postgraduate
students
by
Ray
and
Chaturvedi.
First
edition,
1958.
BHASKAR
press.
INDIA
Section
:
Chapter
II.
Equations
of
first
order
and
first
degree.
Misc
examples
on
chapter
II
at
page
25
Problem
number
:
2
Date
solved
:
Monday, March 31, 2025 at 06:42:11 PM
CAS
classification
:
[[_homogeneous, `class C`], _rational, _dAlembert]
ode:=(x+y(x)-a)/(x+y(x)-b)*diff(y(x),x) = (x+y(x)+a)/(x+y(x)+b); dsolve(ode,y(x), singsol=all);
ode=(x+y[x]-a)/(x+y[x]-b)*D[y[x],x]==(x+y[x]+a)/(x+y[x]+b); ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") b = symbols("b") y = Function("y") ode = Eq((-a + x + y(x))*Derivative(y(x), x)/(-b + x + y(x)) - (a + x + y(x))/(b + x + y(x)),0) ics = {} dsolve(ode,func=y(x),ics=ics)