Internal
problem
ID
[7479]
Book
:
Fundamentals
of
Differential
Equations.
By
Nagle,
Saff
and
Snider.
9th
edition.
Boston.
Pearson
2018.
Section
:
Chapter
2,
First
order
differential
equations.
Section
2.4,
Exact
equations.
Exercises.
page
64
Problem
number
:
24
Date
solved
:
Tuesday, September 30, 2025 at 04:38:11 PM
CAS
classification
:
[_linear]
With initial conditions
ode:=exp(t)*x(t)+1+(exp(t)-1)*diff(x(t),t) = 0; ic:=[x(1) = 1]; dsolve([ode,op(ic)],x(t), singsol=all);
ode=( Exp[t]*x[t]+1 )+( Exp[t]-1 )*D[x[t],t]==0; ic={x[1]==1}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq((exp(t) - 1)*Derivative(x(t), t) + x(t)*exp(t) + 1,0) ics = {x(1): 1} dsolve(ode,func=x(t),ics=ics)