Internal
problem
ID
[13220]
Book
:
Differential
Equations
by
Shepley
L.
Ross.
Third
edition.
John
Willey.
New
Delhi.
2004.
Section
:
Chapter
2,
section
2.2
(Separable
equations).
Exercises
page
47
Problem
number
:
2
Date
solved
:
Monday, March 31, 2025 at 07:39:50 AM
CAS
classification
:
[_separable]
ode:=x*y(x)+2*x+y(x)+2+(x^2+2*x)*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=(x*y[x]+2*x+y[x]+2)+(x^2+2*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*y(x) + 2*x + (x**2 + 2*x)*Derivative(y(x), x) + y(x) + 2,0) ics = {} dsolve(ode,func=y(x),ics=ics)