Internal
problem
ID
[16813]
Book
:
A
book
of
problems
in
ordinary
differential
equations.
M.L.
KRASNOV,
A.L.
KISELYOV,
G.I.
MARKARENKO.
MIR,
MOSCOW.
1983
Section
:
Section
12.
Miscellaneous
problems.
Exercises
page
93
Problem
number
:
292
Date
solved
:
Monday, March 31, 2025 at 03:22:33 PM
CAS
classification
:
[[_homogeneous, `class A`], _exact, _dAlembert]
With initial conditions
ode:=1+exp(x/y(x))+exp(x/y(x))*(1-x/y(x))*diff(y(x),x) = 0; ic:=y(1) = 1; dsolve([ode,ic],y(x), singsol=all);
ode=(1+Exp[x/y[x]])+(Exp[x/y[x]]*(1-x/y[x]))*D[y[x],x]==0; ic={y[1]==1}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((-x/y(x) + 1)*exp(x/y(x))*Derivative(y(x), x) + exp(x/y(x)) + 1,0) ics = {y(1): 1} dsolve(ode,func=y(x),ics=ics)