Internal
problem
ID
[24075]
Book
:
Elementary
Differential
Equations.
By
Lee
Roy
Wilcox
and
Herbert
J.
Curtis.
1961
first
edition.
International
texbook
company.
Scranton,
Penn.
USA.
CAT
number
61-15976
Section
:
Chapter
2.
Differential
equations
of
first
order.
Miscellaneous
Exercises
at
page
55
Problem
number
:
21
Date
solved
:
Thursday, October 02, 2025 at 09:57:13 PM
CAS
classification
:
[[_homogeneous, `class G`], _exact, _rational, _Bernoulli]
ode:=x*y(x)*diff(y(x),x)+2*x+1/2*y(x)^2 = 0; dsolve(ode,y(x), singsol=all);
ode=(x*y[x])*D[y[x],x]+(2*x+y[x]^2/2)==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*y(x)*Derivative(y(x), x) + 2*x + y(x)**2/2,0) ics = {} dsolve(ode,func=y(x),ics=ics)