Internal
problem
ID
[14585]
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
:
15
Date
solved
:
Thursday, October 02, 2025 at 09:43:08 AM
CAS
classification
:
[_separable]
With initial conditions
ode:=y(x)+2+y(x)*(x+4)*diff(y(x),x) = 0; ic:=[y(-3) = -1]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=(y[x]+2)+(y[x]*(x+4))*D[y[x],x]==0; ic={y[-3]==-1}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((x + 4)*y(x)*Derivative(y(x), x) + y(x) + 2,0) ics = {y(-3): -1} dsolve(ode,func=y(x),ics=ics)