Internal
problem
ID
[18733]
Book
:
Differential
equations.
An
introduction
to
modern
methods
and
applications.
James
Brannan,
William
E.
Boyce.
Third
edition.
Wiley
2015
Section
:
Chapter
2.
First
order
differential
equations.
Section
2.7
(Substitution
Methods).
Problems
at
page
108
Problem
number
:
27
Date
solved
:
Thursday, October 02, 2025 at 03:29:22 PM
CAS
classification
:
[_linear]
ode:=x*diff(y(x),x)+(1+x)*y(x) = x; dsolve(ode,y(x), singsol=all);
ode=x*D[y[x],x]+(x+1)*y[x]==x; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*Derivative(y(x), x) - x + (x + 1)*y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)