Internal
problem
ID
[698]
Book
:
Differential
equations
and
linear
algebra,
3rd
ed.,
Edwards
and
Penney
Section
:
Section
1.4.
Separable
equations.
Page
43
Problem
number
:
23
Date
solved
:
Tuesday, March 04, 2025 at 11:33:01 AM
CAS
classification
:
[_quadrature]
With initial conditions
ode:=1+diff(y(x),x) = 2*y(x); ic:=y(1) = 1; dsolve([ode,ic],y(x), singsol=all);
ode=1+D[y[x],x] == 2*y[x]; ic=y[1]==1; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-2*y(x) + Derivative(y(x), x) + 1,0) ics = {y(1): 1} dsolve(ode,func=y(x),ics=ics)