Internal
problem
ID
[14316]
Book
:
Ordinary
Differential
Equations
by
Charles
E.
Roberts,
Jr.
CRC
Press.
2010
Section
:
Chapter
2.
The
Initial
Value
Problem.
Exercises
2.2,
page
53
Problem
number
:
15
Date
solved
:
Monday, March 31, 2025 at 12:17:23 PM
CAS
classification
:
[_quadrature]
With initial conditions
ode:=diff(y(x),x) = a*y(x)+b; ic:=y(c) = d; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],x]==a*y[x]+b; ic={y[c]==d}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") b = symbols("b") y = Function("y") ode = Eq(-a*y(x) - b + Derivative(y(x), x),0) ics = {y(c): d} dsolve(ode,func=y(x),ics=ics)