Internal
problem
ID
[1232]
Book
:
Elementary
differential
equations
and
boundary
value
problems,
10th
ed.,
Boyce
and
DiPrima
Section
:
Miscellaneous
problems,
end
of
chapter
2.
Page
133
Problem
number
:
15
Date
solved
:
Saturday, March 29, 2025 at 10:48:34 PM
CAS
classification
:
[_separable]
ode:=(1+exp(x))*diff(y(x),x) = y(x)-exp(x)*y(x); dsolve(ode,y(x), singsol=all);
ode=(1+Exp[x])*D[y[x],x]== y[x]-Exp[x]*y[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((exp(x) + 1)*Derivative(y(x), x) + y(x)*exp(x) - y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)