Internal
problem
ID
[18177]
Book
:
A
book
of
problems
in
ordinary
differential
equations.
M.L.
KRASNOV,
A.L.
KISELYOV,
G.I.
MARKARENKO.
MIR,
MOSCOW.
1983
Section
:
Section
12.
Miscellaneous
problems.
Exercises
page
93
Problem
number
:
298
Date
solved
:
Thursday, October 02, 2025 at 03:07:11 PM
CAS
classification
:
[_rational, [_1st_order, `_with_symmetry_[F(x)*G(y),0]`]]
ode:=(x-2*x*y(x)-y(x)^2)*diff(y(x),x)+y(x)^2 = 0; dsolve(ode,y(x), singsol=all);
ode=(x-2*x*y[x]-y[x]^2)*D[y[x],x]+y[x]^2==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((-2*x*y(x) + x - y(x)**2)*Derivative(y(x), x) + y(x)**2,0) ics = {} dsolve(ode,func=y(x),ics=ics)