Internal
problem
ID
[4800]
Book
:
Ordinary
differential
equations
and
their
solutions.
By
George
Moseley
Murphy.
1960
Section
:
Part
II.
Chapter
1.
THE
DIFFERENTIAL
EQUATION
IS
OF
FIRST
ORDER
AND
OF
FIRST
DEGREE,
page
223
Problem
number
:
192
(b)
Date
solved
:
Tuesday, September 30, 2025 at 08:40:58 AM
CAS
classification
:
[_rational, _Bernoulli]
ode:=x*diff(y(x),x)+y(x) = a*(-x^2+1)*y(x)^3; dsolve(ode,y(x), singsol=all);
ode=x*D[y[x],x]+y[x]==a*(1-x^2)*y[x]^3; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") y = Function("y") ode = Eq(-a*(1 - x**2)*y(x)**3 + x*Derivative(y(x), x) + y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)