Internal
problem
ID
[15674]
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
:
Thursday, October 02, 2025 at 10:22:49 AM
CAS
classification
:
[_quadrature]
With initial conditions
ode:=diff(y(x),x) = a*y(x)+b; ic:=[y(c) = d]; dsolve([ode,op(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)