Internal
problem
ID
[4824]
Book
:
Ordinary
differential
equations
and
their
solutions.
By
George
Moseley
Murphy.
1960
Section
:
Various
8
Problem
number
:
224
Date
solved
:
Sunday, March 30, 2025 at 04:02:23 AM
CAS
classification
:
[_rational, _Bernoulli]
ode:=(1+x)*diff(y(x),x) = a*y(x)+b*x*y(x)^2; dsolve(ode,y(x), singsol=all);
ode=(1+x) D[y[x],x]==a y[x]+b x y[x]^2; ic={}; 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*x*y(x)**2 + (x + 1)*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)