Internal
problem
ID
[5035]
Book
:
Ordinary
differential
equations
and
their
solutions.
By
George
Moseley
Murphy.
1960
Section
:
Part
II.
Chapter
1.
THE
DIFFERENTIAL
EQUATION
IS
OF
FIRST
ORDER
AND
OF
FIRST
DEGREE,
page
223
Problem
number
:
418
Date
solved
:
Tuesday, September 30, 2025 at 11:28:20 AM
CAS
classification
:
[_linear]
ode:=(x-exp(x))*diff(y(x),x)+x*exp(x)+(1-exp(x))*y(x) = 0; dsolve(ode,y(x), singsol=all);
ode=(x-Exp[x])*D[y[x],x]+x*Exp[x]+(1-Exp[x])*y[x]==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*exp(x) + (1 - exp(x))*y(x) + (x - exp(x))*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)