Internal
problem
ID
[5309]
Book
:
Ordinary
differential
equations
and
their
solutions.
By
George
Moseley
Murphy.
1960
Section
:
Various
25
Problem
number
:
719
Date
solved
:
Sunday, March 30, 2025 at 07:53:21 AM
CAS
classification
:
[[_homogeneous, `class G`], _rational]
ode:=x*(a+x*y(x)^n)*diff(y(x),x)+b*y(x) = 0; dsolve(ode,y(x), singsol=all);
ode=x(a+x y[x]^n)D[y[x],x]+b y[x]==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") b = symbols("b") n = symbols("n") y = Function("y") ode = Eq(b*y(x) + x*(a + x*y(x)**n)*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)