Internal
problem
ID
[707]
Book
:
Differential
equations
and
linear
algebra,
3rd
ed.,
Edwards
and
Penney
Section
:
Section
1.5.
Linear
first
order
equations.
Page
56
Problem
number
:
4
Date
solved
:
Tuesday, March 04, 2025 at 11:33:26 AM
CAS
classification
:
[_linear]
ode:=-2*x*y(x)+diff(y(x),x) = exp(x^2); dsolve(ode,y(x), singsol=all);
ode=-2*x*y[x]+D[y[x],x] == Exp[x^2]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-2*x*y(x) - exp(x**2) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)