Internal
problem
ID
[6218]
Book
:
Mathematical
Methods
in
the
Physical
Sciences.
third
edition.
Mary
L.
Boas.
John
Wiley.
2006
Section
:
Chapter
8,
Ordinary
differential
equations.
Section
13.
Miscellaneous
problems.
page
466
Problem
number
:
11
Date
solved
:
Wednesday, March 05, 2025 at 12:25:19 AM
CAS
classification
:
[_linear]
ode:=y(x)+2*x-x*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=(y[x]+2*x)-x*D[y[x],x]==0; 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) + 2*x + y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)