Internal
problem
ID
[716]
Book
:
Differential
equations
and
linear
algebra,
3rd
ed.,
Edwards
and
Penney
Section
:
Section
1.5.
Linear
first
order
equations.
Page
56
Problem
number
:
13
Date
solved
:
Tuesday, March 04, 2025 at 11:33:55 AM
CAS
classification
:
[[_linear, `class A`]]
With initial conditions
ode:=y(x)+diff(y(x),x) = exp(x); ic:=y(0) = 1; dsolve([ode,ic],y(x), singsol=all);
ode=y[x]+D[y[x],x] == Exp[x]; ic=y[0]==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),0) ics = {y(0): 1} dsolve(ode,func=y(x),ics=ics)