Internal
problem
ID
[4834]
Book
:
Ordinary
differential
equations
and
their
solutions.
By
George
Moseley
Murphy.
1960
Section
:
Various
8
Problem
number
:
234
Date
solved
:
Tuesday, March 04, 2025 at 07:21:41 PM
CAS
classification
:
[_separable]
ode:=(x+a)*diff(y(x),x) = y(x)*(1-a*y(x)); dsolve(ode,y(x), singsol=all);
ode=(a+x) D[y[x],x]==y[x](1-a y[x]); ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") y = Function("y") ode = Eq((a + x)*Derivative(y(x), x) - (-a*y(x) + 1)*y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)