Internal
problem
ID
[23090]
Book
:
An
introduction
to
Differential
Equations.
By
Howard
Frederick
Cleaves.
1969.
Oliver
and
Boyd
publisher.
ISBN
0050015044
Section
:
Chapter
3.
Some
standard
types
of
differential
equations.
Exercise
3c
at
page
50
Problem
number
:
16
Date
solved
:
Thursday, October 02, 2025 at 09:19:58 PM
CAS
classification
:
[_linear]
ode:=diff(y(x),x) = (x-y(x)+2)/(1+x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==(x-y[x]+2)/(x+1); ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(Derivative(y(x), x) - (x - y(x) + 2)/(x + 1),0) ics = {} dsolve(ode,func=y(x),ics=ics)