Internal
problem
ID
[23265]
Book
:
Ordinary
differential
equations
with
modern
applications.
Ladas,
G.
E.
and
Finizio,
N.
Wadsworth
Publishing.
California.
1978.
ISBN
0-534-00552-7.
QA372.F56
Section
:
Chapter
1.
Elementary
methods.
First
order
differential
equations.
Exercise
at
page
26
Problem
number
:
20
Date
solved
:
Thursday, October 02, 2025 at 09:27:34 PM
CAS
classification
:
[_quadrature]
ode:=diff(x(t),t) = k*(a-x(t))*(b-x(t)); dsolve(ode,x(t), singsol=all);
ode=D[x[t],t]== k*(a-x[t])*(b-x[t]); ic={}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") k = symbols("k") a = symbols("a") b = symbols("b") x = Function("x") ode = Eq(-k*(a - x(t))*(b - x(t)) + Derivative(x(t), t),0) ics = {} dsolve(ode,func=x(t),ics=ics)