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