Internal
problem
ID
[5013]
Book
:
Ordinary
differential
equations
and
their
solutions.
By
George
Moseley
Murphy.
1960
Section
:
Various
15
Problem
number
:
415
Date
solved
:
Tuesday, March 04, 2025 at 07:43:15 PM
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)