Internal
problem
ID
[2846]
Book
:
Differential
Equations
by
Alfred
L.
Nelson,
Karl
W.
Folley,
Max
Coral.
3rd
ed.
DC
heath.
Boston.
1964
Section
:
Exercise
5,
page
21
Problem
number
:
6
Date
solved
:
Sunday, March 30, 2025 at 12:33:59 AM
CAS
classification
:
[_separable]
ode:=x*y(x)^2+x+(x^2*y(x)-y(x))*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=(x*y[x]^2+x)+(x^2*y[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(x*y(x)**2 + x + (x**2*y(x) - y(x))*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)