Internal
problem
ID
[6228]
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
:
21
Date
solved
:
Sunday, March 30, 2025 at 10:43:59 AM
CAS
classification
:
[_separable]
ode:=diff(y(x),x)+x*y(x) = x/y(x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+x*y[x]==x/y[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*y(x) - x/y(x) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)