Internal
problem
ID
[17835]
Book
:
V.V.
Stepanov,
A
course
of
differential
equations
(in
Russian),
GIFML.
Moscow
(1958)
Section
:
All
content
Problem
number
:
40
(page
41)
Date
solved
:
Thursday, March 13, 2025 at 10:58:51 AM
CAS
classification
:
[[_homogeneous, `class G`], _rational, _Bernoulli]
ode:=x-y(x)^2+2*x*y(x)*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=(x-y[x]^2)+2*x*y[x]*D[y[x],x]==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)*Derivative(y(x), x) + x - y(x)**2,0) ics = {} dsolve(ode,func=y(x),ics=ics)