Internal
problem
ID
[14651]
Book
:
Differential
Equations
by
Shepley
L.
Ross.
Third
edition.
John
Willey.
New
Delhi.
2004.
Section
:
Chapter
2,
Miscellaneous
Review.
Exercises
page
60
Problem
number
:
20
Date
solved
:
Thursday, October 02, 2025 at 09:46:09 AM
CAS
classification
:
[[_homogeneous, `class A`], _rational, [_Abel, `2nd type`, `class A`]]
With initial conditions
ode:=diff(y(x),x) = (2*x+7*y(x))/(2*x-2*y(x)); ic:=[y(1) = 2]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=D[y[x],x]==(2*x+7*y[x])/(2*x-2*y[x]); ic={y[1]==2}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(Derivative(y(x), x) - (2*x + 7*y(x))/(2*x - 2*y(x)),0) ics = {y(1): 2} dsolve(ode,func=y(x),ics=ics)