Internal
problem
ID
[2970]
Book
:
Differential
Equations
by
Alfred
L.
Nelson,
Karl
W.
Folley,
Max
Coral.
3rd
ed.
DC
heath.
Boston.
1964
Section
:
Exercise
10,
page
41
Problem
number
:
13
Date
solved
:
Sunday, March 30, 2025 at 01:02:36 AM
CAS
classification
:
[_linear]
ode:=(1+x)*diff(y(x),x)+2*y(x) = exp(x)/(1+x); dsolve(ode,y(x), singsol=all);
ode=(x+1)*D[y[x],x]+2*y[x]==Exp[x]/(1+x); ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((x + 1)*Derivative(y(x), x) + 2*y(x) - exp(x)/(x + 1),0) ics = {} dsolve(ode,func=y(x),ics=ics)