Internal
problem
ID
[4939]
Book
:
Ordinary
differential
equations
and
their
solutions.
By
George
Moseley
Murphy.
1960
Section
:
Various
12
Problem
number
:
339
Date
solved
:
Sunday, March 30, 2025 at 04:17:12 AM
CAS
classification
:
[_separable]
ode:=(b*x^2+a)*diff(y(x),x) = A+B*y(x)^2; dsolve(ode,y(x), singsol=all);
ode=(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 + (a + b*x**2)*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)