Internal
problem
ID
[21092]
Book
:
Ordinary
Differential
Equations.
By
Wolfgang
Walter.
Graduate
texts
in
Mathematics.
Springer.
NY.
QA372.W224
1998
Section
:
Chapter
1.
First
order
equations:
Some
integrable
cases.
Excercises
VII
at
page
33
Problem
number
:
(a)
Date
solved
:
Thursday, October 02, 2025 at 07:07:26 PM
CAS
classification
:
[[_1st_order, _with_linear_symmetries], _Riccati]
With initial conditions
ode:=diff(y(x),x)-y(x)+exp(x)*y(x)^2+5*exp(-x) = 0; ic:=[y(0) = eta]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=D[y[x],x]-y[x]+Exp[x]*y[x]^2+5*Exp[-x]==0; ic={y[0]==\[Eta]}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") y = Function("y") ode = Eq(y(x)**2*exp(x) - y(x) + Derivative(y(x), x) + 5*exp(-x),0) ics = {y(0): a} dsolve(ode,func=y(x),ics=ics)