Internal
problem
ID
[15015]
Book
:
AN
INTRODUCTION
TO
ORDINARY
DIFFERENTIAL
EQUATIONS
by
JAMES
C.
ROBINSON.
Cambridge
University
Press
2004
Section
:
Chapter
9,
First
order
linear
equations
and
the
integrating
factor.
Exercises
page
86
Problem
number
:
9.1
(iv)
Date
solved
:
Thursday, October 02, 2025 at 10:01:08 AM
CAS
classification
:
[_linear]
With initial conditions
ode:=diff(y(x),x)+exp(-x)*y(x) = 1; ic:=[y(0) = exp(1)]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=D[y[x],x]+Exp[-x]*y[x]==1; ic={y[0]==Exp[1]}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x)*exp(-x) + Derivative(y(x), x) - 1,0) ics = {y(0): E} dsolve(ode,func=y(x),ics=ics)