Internal
problem
ID
[5178]
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
:
561
Date
solved
:
Tuesday, September 30, 2025 at 11:50:05 AM
CAS
classification
:
[[_homogeneous, `class A`], _rational, _Bernoulli]
ode:=a*x*y(x)*diff(y(x),x) = x^2+y(x)^2; dsolve(ode,y(x), singsol=all);
ode=a*x*y[x]*D[y[x],x]==x^2+y[x]^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") y = Function("y") ode = Eq(a*x*y(x)*Derivative(y(x), x) - x**2 - y(x)**2,0) ics = {} dsolve(ode,func=y(x),ics=ics)