Internal
problem
ID
[13291]
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
:
Wednesday, March 05, 2025 at 09:34:49 PM
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,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)