Internal
problem
ID
[13783]
Book
:
Differential
equations
and
the
calculus
of
variations
by
L.
ElSGOLTS.
MIR
PUBLISHERS,
MOSCOW,
Third
printing
1977.
Section
:
Chapter
1,
First-Order
Differential
Equations.
Problems
page
88
Problem
number
:
Problem
15
Date
solved
:
Wednesday, March 05, 2025 at 10:16:19 PM
CAS
classification
:
[_separable]
ode:=y(x) = x*diff(y(x),x)+1/y(x); dsolve(ode,y(x), singsol=all);
ode=y[x]==x*D[y[x],x]+1/y[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) + y(x) - 1/y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)