Internal
problem
ID
[14667]
Book
:
Differential
Equations
by
Shepley
L.
Ross.
Third
edition.
John
Willey.
New
Delhi.
2004.
Section
:
Chapter
2,
Section
2.4.
Special
integrating
factors
and
transformations.
Exercises
page
67
Problem
number
:
12
Date
solved
:
Thursday, October 02, 2025 at 09:49:29 AM
CAS
classification
:
[[_homogeneous, `class C`], _rational, [_Abel, `2nd type`, `class A`]]
With initial conditions
ode:=3*x-y(x)-6+(x+y(x)+2)*diff(y(x),x) = 0; ic:=[y(2) = -2]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=(3*x-y[x]-6)+(x+y[x]+2)*D[y[x],x]==0; ic={y[2]==-2}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(3*x + (x + y(x) + 2)*Derivative(y(x), x) - y(x) - 6,0) ics = {y(2): -2} dsolve(ode,func=y(x),ics=ics)