Internal
problem
ID
[2871]
Book
:
Differential
Equations
by
Alfred
L.
Nelson,
Karl
W.
Folley,
Max
Coral.
3rd
ed.
DC
heath.
Boston.
1964
Section
:
Exercise
6,
page
25
Problem
number
:
1
Date
solved
:
Tuesday, March 04, 2025 at 02:52:43 PM
CAS
classification
:
[_linear]
ode:=x+y(x) = x*diff(y(x),x); dsolve(ode,y(x), singsol=all);
ode=x+y[x]==x*D[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 + y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)