Internal
problem
ID
[758]
Book
:
Differential
equations
and
linear
algebra,
3rd
ed.,
Edwards
and
Penney
Section
:
Section
1.6,
Substitution
methods
and
exact
equations.
Page
74
Problem
number
:
30
Date
solved
:
Saturday, March 29, 2025 at 10:20:03 PM
CAS
classification
:
[[_1st_order, _with_linear_symmetries]]
ode:=(exp(y(x))+x)*diff(y(x),x) = -1+x/exp(y(x)); dsolve(ode,y(x), singsol=all);
ode=(Exp[y[x]]+x)*D[y[x],x]== -1+x/Exp[y[x]]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x*exp(-y(x)) + (x + exp(y(x)))*Derivative(y(x), x) + 1,0) ics = {} dsolve(ode,func=y(x),ics=ics)